/* === Tokens === */
:root {
  --color-primary: #1E3A8A;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E40AF;
  --color-neutral-light: #EFF6FF;
  --color-ink: #0B1E4A;
  --color-muted: #4B5A82;
  --color-line: rgba(30, 58, 138, 0.12);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 20px rgba(15, 30, 74, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(15, 30, 74, 0.25);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--color-ink); background: #ffffff; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-ink); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 0.75rem; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section__head { text-align: center; margin-bottom: 2.5rem; }
.section__head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.section__head p { color: var(--color-muted); max-width: 55ch; margin-inline: auto; }
.eyebrow { font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }

/* === Header (glass nav) === */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(239, 246, 255, 0.72); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid transparent; transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.site-header.scrolled { background: rgba(239, 246, 255, 0.92); box-shadow: 0 6px 24px -18px rgba(15, 30, 74, 0.35); border-bottom-color: var(--color-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; max-width: 1240px; margin-inline: auto; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 1px solid var(--color-line); border-radius: 10px; padding: 0.4rem; color: var(--color-primary); cursor: pointer; display: inline-flex; }
.primary-nav { display: none; gap: 1.25rem; align-items: center; }
.primary-nav a { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--color-ink); position: relative; padding: 0.35rem 0; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-secondary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.primary-nav a:hover { text-decoration: none; }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav .nav-cta { background: var(--color-primary); color: #fff; padding: 0.55rem 1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav.is-open { display: flex; flex-direction: column; align-items: stretch; padding: 1rem 1.25rem 1.25rem; background: rgba(239, 246, 255, 0.98); position: absolute; top: 100%; left: 0; right: 0; border-bottom: 1px solid var(--color-line); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; }
  .logo img { height: 96px; }
}

/* === Hero (spotlight) === */
.hero { position: relative; overflow: hidden; padding-block: 4rem 3rem; background: linear-gradient(135deg, var(--color-neutral-light) 0%, #ffffff 60%, #e6f0ff 100%); }
.hero--compact { padding-block: 3.5rem 2rem; }
.hero__glow { position: absolute; inset: -10% -10% auto -10%; height: 480px; background: radial-gradient(closest-side, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0) 70%), radial-gradient(closest-side, rgba(59, 130, 246, 0.22), rgba(59, 130, 246, 0) 70%); background-position: 20% 30%, 80% 20%; background-repeat: no-repeat; filter: blur(10px); pointer-events: none; z-index: 0; }
.hero__inner { position: relative; z-index: 1; text-align: center; }
.hero h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; max-width: 22ch; margin-inline: auto; letter-spacing: -0.025em; }
.hero__sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--color-muted); max-width: 52ch; margin: 1rem auto 1.75rem; }
.hero__ctas { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero__visual { max-width: 960px; margin: 0 auto; }
.hero__visual img { border-radius: 20px; box-shadow: var(--shadow-md); aspect-ratio: 16/10; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.85rem 1.5rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; font-size: 1rem; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); text-decoration: none; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: 0 12px 30px -12px rgba(30, 58, 138, 0.55); }
.btn--primary:hover { box-shadow: 0 18px 40px -14px rgba(30, 58, 138, 0.7); }
.btn--ghost { background: rgba(255, 255, 255, 0.7); color: var(--color-primary); border-color: var(--color-line); }
.btn--ghost:hover { background: #fff; }
.btn--accent { background: var(--color-accent); color: #fff; box-shadow: 0 12px 30px -12px rgba(249, 115, 22, 0.55); }
.btn--accent:hover { background: #ea6a12; }

/* === Intro sections === */
.intro h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); text-align: center; }
.intro p { color: var(--color-muted); font-size: 1.05rem; text-align: center; max-width: 62ch; margin-inline: auto; }

/* === Grid + cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-line); border-radius: 18px; padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); display: block; color: inherit; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); text-decoration: none; }
.card .icon { color: var(--color-secondary); margin-bottom: 0.75rem; }
.card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.card p { color: var(--color-muted); font-size: 0.98rem; margin: 0; }
.card-link { cursor: pointer; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, #ffffff, var(--color-neutral-light)); }
.testimonial { margin: 0; padding: 2.5rem; background: #fff; border-radius: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--color-line); text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; color: var(--color-ink); font-weight: 500; }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-secondary); font-weight: 600; font-family: var(--font-heading); }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 55ch; margin: 0 auto 1.5rem; }

/* === Stats === */
.stats { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat { background: #fff; border: 1px solid var(--color-line); border-radius: 18px; padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat__num { display: block; font-family: var(--font-heading); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--color-accent); letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.stat p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card { position: relative; padding: 2.25rem; border-radius: 16px; border: 1px solid var(--color-line); background: #fff; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.pricing-card--featured { border-color: var(--color-accent); border-width: 2px; box-shadow: var(--shadow-md); }
.pricing-card__badge { position: absolute; top: -12px; right: 1.5rem; background: var(--color-accent); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.35rem 0.75rem; border-radius: 999px; }
.pricing-card__plan { font-size: 1.35rem; margin-bottom: 0.25rem; color: var(--color-secondary); }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-ink); margin: 0 0 0.75rem; letter-spacing: -0.02em; }
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: 0.98rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.55rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; font-size: 0.98rem; color: var(--color-ink); align-items: flex-start; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq details { border: 1px solid var(--color-line); border-radius: 14px; padding: 1rem 1.25rem; margin-bottom: 0.75rem; background: #fff; transition: box-shadow .2s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; color: var(--color-ink); padding: 0.25rem 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-secondary); font-size: 1.4rem; line-height: 1; transition: transform .2s var(--ease); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-lede { color: var(--color-muted); text-align: center; max-width: 60ch; margin: 0 auto 2rem; }
.contact-form { display: grid; gap: 1rem; background: #fff; padding: 2rem; border-radius: 18px; border: 1px solid var(--color-line); box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.35rem; }
.form-row label { font-family: var(--font-heading); font-weight: 600; font-size: 0.95rem; color: var(--color-ink); }
.form-row input, .form-row textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-line); border-radius: 10px; background: #fff; color: var(--color-ink); }
.form-row input:focus, .form-row textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 1px; border-color: var(--color-secondary); }
.map-block { margin-top: 1.5rem; border-radius: 16px; overflow: hidden; border: 1px solid var(--color-line); background: var(--color-neutral-light); }
.map-block img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Footer === */
.site-footer { background: #0B1E4A; color: #cfd8ee; padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.site-footer a { color: #cfd8ee; }
.site-footer a:hover { color: #fff; }
.site-footer__tag { color: #9db0d8; max-width: 30ch; margin-top: 0.75rem; }
.site-footer .logo img { height: 64px; filter: brightness(0) invert(1); }
.site-footer__nav { display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer__legal { margin-top: 0.75rem; font-size: 0.9rem; }
.site-footer__copy { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #9db0d8; }
@media (min-width: 800px) { .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }

/* === Reveal motion === */
.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; }
  * { scroll-behavior: auto !important; }
}

/* === Cookie banner === */
.cookie-banner { position: fixed; left: 1rem; right: 1rem; bottom: 1rem; display: none; z-index: 9999; background: #0B1E4A; color: var(--color-neutral-light); padding: 1.25rem; border-radius: 16px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.95rem; color: #dbe4f7; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button { font-family: var(--font-heading); font-weight: 600; font-size: 0.9rem; padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); color: #fff; }
.cookie-banner__actions button[data-cookie-reject] { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cookie-banner__actions button[data-cookie-settings] { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; }
.cookie-banner__prefs button { align-self: flex-start; background: var(--color-accent); color: #fff; border: none; padding: 0.55rem 1rem; border-radius: 999px; font-family: var(--font-heading); font-weight: 600; cursor: pointer; }
