/* === Tokens === */
:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C4A6E;
  --color-muted: #475569;
  --color-line: rgba(12, 74, 110, 0.12);
  --font-heading: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(3, 105, 161, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(3, 105, 161, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(3, 105, 161, 0.35);
}

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

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.15em; font-size: .8rem; font-weight: 600; color: var(--color-secondary); margin: 0 0 1rem; }
.lede { font-size: 1.125rem; color: var(--color-muted); max-width: 52ch; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-line);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: 0 4px 24px -12px rgba(3, 105, 161, 0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.primary-nav { display: none; gap: 1.5rem; align-items: center; }
.primary-nav a { position: relative; color: var(--color-neutral-dark); font-weight: 500; padding: .5rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--color-primary); 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: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; padding: .55rem 1.1rem; border-radius: 999px; }
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

@media (max-width: 899px) {
  .primary-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1rem 1.25rem 1.5rem; gap: .5rem; border-bottom: 1px solid var(--color-line); box-shadow: var(--shadow-md); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform .2s var(--ease), opacity .2s var(--ease); }
  .primary-nav.is-open { display: flex; transform: none; opacity: 1; pointer-events: auto; }
  .primary-nav a { padding: .75rem 0; border-bottom: 1px solid var(--color-line); }
  .primary-nav a::after { display: none; }
  .primary-nav .nav-cta { text-align: center; border-bottom: 0; margin-top: .5rem; }
}

/* === Hero (split) === */
.hero {
  position: relative;
  padding: 3rem 0 4rem;
  background: linear-gradient(160deg, #F0F9FF 0%, #E0F2FE 60%, #ffffff 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: -20% -10% auto auto;
  width: 60vw; height: 60vw; max-width: 700px; max-height: 700px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.14), transparent 60%);
  pointer-events: none;
}
.hero-split__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
.hero-split__media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-split__text h1 { margin-bottom: 1.25rem; }
.hero-thankyou { padding: 5rem 0 4rem; text-align: center; }

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

.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; cursor: pointer; border: 1px solid transparent; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn--primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #fff; box-shadow: var(--shadow-md); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: rgba(3, 105, 161, 0.25); }
.btn--ghost:hover { background: rgba(14, 165, 233, 0.08); border-color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; }

/* === Sections === */
.section { padding: 4rem 0; }
.section--muted { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Grid & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@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 {
  display: block;
  background: #fff;
  border: 1px solid var(--color-line);
  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);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(14, 165, 233, 0.35); }
.card__icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, rgba(14, 165, 233, 0.15), rgba(34, 197, 94, 0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: .97rem; }
.card-link { color: inherit; }
.card-link:hover { color: inherit; }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2.25rem; background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(34, 197, 94, 0.08)); border-radius: var(--radius-lg); border-left: 4px solid var(--color-accent); }
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); line-height: 1.6; 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: 3.5rem 0; position: relative; overflow: hidden; }
.cta-band::before { content: ''; position: absolute; inset: auto -10% -50% auto; width: 500px; height: 500px; background: radial-gradient(circle, rgba(34, 197, 94, 0.35), transparent 60%); pointer-events: none; }
.cta-band__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; position: relative; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(240, 249, 255, 0.88); margin: 0; max-width: 55ch; }
.cta-band .btn--primary { background: #fff; color: var(--color-primary); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: #fff; }
@media (min-width: 780px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }

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

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { margin-bottom: 1.25rem; }
.form-row label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea { width: 100%; padding: .75rem 1rem; border: 1px solid var(--color-line); border-radius: 10px; font-family: var(--font-body); font-size: 1rem; color: var(--color-text); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-secondary); box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .88rem; color: var(--color-muted); margin-bottom: 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }

.contact-band { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; background: #fff; border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
@media (min-width: 780px) { .contact-band { flex-direction: row; align-items: center; justify-content: space-between; } }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240, 249, 255, 0.85); padding: 4rem 0 1.5rem; margin-top: 2rem; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(240, 249, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
@media (min-width: 780px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.logo--footer img { height: 72px; filter: brightness(0) invert(1); opacity: .95; }
.footer-tagline { margin-top: 1rem; color: rgba(240, 249, 255, 0.7); max-width: 32ch; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .88rem; margin-top: 1rem; }
.footer-copy { padding-top: 1.5rem; font-size: .85rem; color: rgba(240, 249, 255, 0.6); }

/* === 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; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button { font-family: var(--font-body); font-size: .88rem; padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(240, 249, 255, 0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; transition: background .2s var(--ease); }
.cookie-banner button:hover { background: rgba(240, 249, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; font-weight: 600; }
.cookie-banner [data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(240, 249, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; background: var(--color-primary); border-color: var(--color-primary); color: #fff; margin-top: .5rem; }

/* === Scroll 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; }
  html { scroll-behavior: auto; }
}
