/* === Tokens === */
:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #CA8A04;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #F8FAFC;
  --color-text: #0F172A;
  --color-muted: #475569;
  --color-border: rgba(30, 58, 138, 0.14);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 58, 138, 0.28);
  --shadow-lg: 0 30px 60px -25px rgba(30, 58, 138, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-heading: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --container: 1180px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-secondary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.25rem, 4.5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(30,58,138,0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 6px 24px -12px rgba(30,58,138,0.18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; }
.primary-nav.is-open { display: flex; }
.nav-toggle { border: 0; background: transparent; width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-primary); border-radius: 2px; transition: transform .2s var(--ease); }

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; align-items: center; gap: 1.75rem; position: static; padding: 0; background: transparent; box-shadow: none; }
  .primary-nav a { position: relative; font-weight: 500; color: var(--color-text); font-size: .95rem; padding: .25rem 0; }
  .primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--color-secondary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .primary-nav .nav-cta { background: var(--color-primary); color: var(--color-neutral-light); padding: .6rem 1.1rem; border-radius: 999px; }
  .primary-nav .nav-cta::after { display: none; }
  .primary-nav .nav-cta:hover { background: var(--color-secondary); color: #fff; }
}

@media (max-width: 899px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--color-neutral-light); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); gap: .25rem; box-shadow: var(--shadow-sm); }
  .primary-nav a { padding: .75rem 0; color: var(--color-text); font-weight: 500; border-bottom: 1px solid rgba(30,58,138,0.06); }
  .primary-nav .nav-cta { color: var(--color-primary); font-weight: 600; }
}

/* === Hero (split) === */
.hero { position: relative; padding-block: 3.5rem 3rem; background: linear-gradient(180deg, rgba(59,130,246,0.06), rgba(248,250,252,0) 70%); overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -20% 30% auto auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(202,138,4,0.10), transparent 70%); z-index: 0; pointer-events: none; }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-media img { border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lg); }

@media (min-width: 900px) {
  .hero { padding-block: 6rem 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-media img { aspect-ratio: 4/5; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; font-family: var(--font-body); font-weight: 600; font-size: .95rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: rgba(30,58,138,0.24); }
.btn-ghost:hover { background: rgba(59,130,246,0.08); transform: translateY(-2px); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { background: #a76f03; color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid rgba(59,130,246,0.4); outline-offset: 2px; }

/* === Sections === */
.section { padding-block: 4rem; }
.section-tint { background: linear-gradient(180deg, rgba(59,130,246,0.05), rgba(59,130,246,0.02)); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); display: flex; flex-direction: column; gap: .5rem; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(59,130,246,0.3); }
.card p { color: var(--color-muted); margin: 0; }
.card h3 { color: var(--color-primary); margin-bottom: .25rem; }
.card-link { color: inherit; text-decoration: none; }
.card-link:hover { color: inherit; }
.card-icon { display: inline-flex; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(59,130,246,0.12), rgba(202,138,4,0.10)); color: var(--color-primary); margin-bottom: .5rem; }

/* === Testimonial === */
.testimonial-section { }
.testimonial { margin: 0; padding: 2.5rem; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border-left: 4px solid var(--color-accent); }
.testimonial p { font-size: 1.15rem; color: var(--color-text); font-style: italic; margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: -50% 60% auto auto; width: 480px; height: 480px; background: radial-gradient(circle, rgba(202,138,4,0.22), transparent 70%); }
.cta-band-inner { display: grid; gap: 1.5rem; align-items: center; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
@media (min-width: 720px) { .cta-band-inner { grid-template-columns: 1fr auto; } }

/* === FAQ === */
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: .75rem; box-shadow: var(--shadow-sm); transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary { cursor: pointer; font-weight: 600; color: var(--color-primary); font-family: var(--font-heading); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-secondary); transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: '−'; }
.faq p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured { border: 2px solid var(--color-accent); box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -14px; right: 20px; background: var(--color-accent); color: #fff; padding: .3rem .8rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__plan { color: var(--color-primary); font-size: 1.1rem; margin: 0 0 .35rem; letter-spacing: .04em; text-transform: uppercase; }
.pricing-card__price { font-family: var(--font-heading); font-weight: 700; color: var(--color-primary); font-size: clamp(2rem, 4vw, 2.75rem); margin: 0 0 .5rem; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: .95rem; }
.pricing-card__features { list-style: none; margin: 0 0 1.75rem; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.pricing-card__features li { display: flex; gap: .5rem; align-items: flex-start; color: var(--color-text); font-size: .95rem; }
.pricing-card__features li span { color: var(--color-secondary); font-weight: 700; flex-shrink: 0; }
.pricing-card__cta { align-self: stretch; margin-top: auto; text-align: center; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; } }
.contact-card, .contact-form-wrap { background: #fff; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow-sm); border: 1px solid var(--color-border); }
.hours { width: 100%; border-collapse: collapse; margin-top: .5rem; font-size: .95rem; }
.hours th, .hours td { padding: .55rem .25rem; text-align: left; border-bottom: 1px solid rgba(30,58,138,0.08); }
.hours th { font-weight: 500; color: var(--color-primary); }
.hours td { color: var(--color-muted); text-align: right; }

/* === Forms === */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; font-weight: 500; color: var(--color-primary); }
.contact-form input, .contact-form textarea { font: inherit; padding: .75rem .9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-text); transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(59,130,246,0.15); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: .6rem; font-weight: 400 !important; font-size: .85rem; color: var(--color-muted) !important; }
.form-consent input { margin-top: .2rem; }

/* === Footer === */
.site-footer { background: var(--color-primary); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding: .2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-logo img { height: 64px; filter: brightness(0) invert(1); margin-bottom: .5rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; font-size: .85rem; }
.legal-links a { display: inline; padding: 0; }
.copyright { padding-top: 2rem; margin-top: 2rem; border-top: 1px solid rgba(255,255,255,0.14); color: rgba(255,255,255,0.6); font-size: .85rem; }

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: var(--color-neutral-dark); color: var(--color-neutral-light); padding: 1.25rem 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow-lg); max-width: 640px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(248,250,252,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font: inherit; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(248,250,252,0.3); background: transparent; color: var(--color-neutral-light); cursor: pointer; font-size: .85rem; font-weight: 500; }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #a76f03; border-color: #a76f03; }
.cookie-banner button:hover { background: rgba(248,250,252,0.12); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(248,250,252,0.2); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .88rem; }

/* === Reveal === */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .btn, .card { transition: none; } }
