:root {
  --color-primary: #0369A1;
  --color-secondary: #0EA5E9;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 20px rgba(12, 74, 110, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(12, 74, 110, 0.18);
  --shadow-lg: 0 24px 60px -20px rgba(12, 74, 110, 0.28);
}

/* === Base === */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; 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.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 760px; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { color: var(--color-neutral-dark); opacity: 0.75; font-size: 1.05rem; margin-bottom: 1.25rem; }

/* === Header / glass nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(240, 249, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(12, 74, 110, 0.08);
  transition: background .3s var(--ease), box-shadow .3s var(--ease);
}
.site-header.scrolled { background: rgba(240, 249, 255, 0.92); box-shadow: 0 6px 24px -18px rgba(12, 74, 110, 0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 1.25rem; }
.logo img { height: 72px; width: auto; display: block; }
.footer-logo img { height: 60px; }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: 0; padding: 0.5rem; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .2s; }

.primary-nav { display: none; gap: 1.75rem; align-items: center; }
.primary-nav a { position: relative; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: 0.98rem; padding: 0.25rem 0; }
.primary-nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }

.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; padding: 1.25rem 1.5rem; background: rgba(240, 249, 255, 0.98); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(12, 74, 110, 0.08); gap: 1rem; align-items: flex-start; }

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

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.5rem; font-family: var(--font-heading); font-weight: 500; border-radius: 999px; border: 1px solid transparent; cursor: pointer; font-size: 1rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; text-align: center; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: #ffffff; box-shadow: 0 10px 30px -10px rgba(3, 105, 161, 0.55); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(3, 105, 161, 0.7); }
.btn-ghost { background: transparent; border-color: rgba(12, 74, 110, 0.2); color: var(--color-neutral-dark); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); transform: translateY(-2px); }
:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero split === */
.hero { position: relative; overflow: hidden; padding: 3rem 0 4rem; background: linear-gradient(135deg, rgba(3, 105, 161, 0.06), rgba(14, 165, 233, 0.04)); }
.hero::before { content: ''; position: absolute; top: -20%; right: -10%; width: 500px; height: 500px; background: radial-gradient(circle, rgba(34, 197, 94, 0.10), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; position: relative; }
.hero-copy { order: 1; }
.hero-visual { order: 2; }
.hero-visual img { aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-sub { font-size: 1.15rem; opacity: 0.8; max-width: 48ch; margin-bottom: 1.75rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

@media (min-width: 900px) {
  .hero { padding: 5rem 0 6rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
  .hero-visual { order: 2; }
}

.thank-you-hero { text-align: center; padding: 4rem 0 3rem; }
.thank-you-hero .eyebrow { justify-content: center; }

/* === Sections === */
.section { padding: 4rem 0; }
@media (min-width: 900px) { .section { padding: 6rem 0; } }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }

/* === Cards grid === */
.cards-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 700px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(4, 1fr); } }
.cards-grid--3 { }
@media (min-width: 1000px) { .cards-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: #ffffff; border: 1px solid rgba(12, 74, 110, 0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.97rem; opacity: 0.85; margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(3, 105, 161, 0.10), rgba(14, 165, 233, 0.12)); color: var(--color-primary); margin-bottom: 1rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.testimonial { text-align: center; margin: 0; padding: 2rem 1rem; }
.testimonial-portrait { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; margin: 0 auto 1.5rem; box-shadow: var(--shadow-md); }
.testimonial blockquote { margin: 0; }
.testimonial blockquote p { font-family: var(--font-heading); font-size: 1.35rem; line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; opacity: 0.7; font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #ffffff; padding: 4rem 0; text-align: center; }
.cta-band h2 { color: #ffffff; }
.cta-band p { opacity: 0.88; max-width: 52ch; margin-left: auto; margin-right: auto; margin-bottom: 1.75rem; }
.cta-band .btn-primary { background: #ffffff; color: var(--color-primary); }
.cta-band .btn-primary:hover { color: var(--color-neutral-dark); background: #ffffff; }

/* === FAQ === */
.faq-list details { border: 1px solid rgba(12, 74, 110, 0.1); border-radius: 12px; padding: 1.1rem 1.25rem; margin-bottom: 0.75rem; background: #ffffff; transition: box-shadow .2s; }
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; color: var(--color-neutral-dark); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; float: right; color: var(--color-primary); font-weight: 400; transition: transform .2s; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list details p { margin: 0.75rem 0 0; opacity: 0.85; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-card { background: #ffffff; border: 1px solid rgba(12, 74, 110, 0.08); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); }
.contact-card address { font-style: normal; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.4rem 0; font-weight: 400; border-bottom: 1px solid rgba(12, 74, 110, 0.06); font-size: 0.95rem; }
.hours th { color: var(--color-neutral-dark); font-family: var(--font-heading); font-weight: 500; }

.contact-form { display: grid; gap: 0.9rem; }
.contact-form label { display: block; font-family: var(--font-heading); font-size: 0.9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { width: 100%; padding: 0.7rem 0.85rem; border: 1px solid rgba(12, 74, 110, 0.2); border-radius: 10px; font-family: inherit; font-size: 1rem; margin-top: 0.35rem; background: var(--color-neutral-light); transition: border .2s, background .2s; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-primary); background: #ffffff; outline: none; }
.contact-form textarea { resize: vertical; }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-family: var(--font-body); font-size: 0.85rem; font-weight: 400; opacity: 0.85; }
.form-consent input { margin-top: 0.2rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: #E0F2FE; padding: 4rem 0 1.5rem; margin-top: 2rem; }
.site-footer a { color: #E0F2FE; }
.site-footer a:hover { color: #ffffff; }
.site-footer h4 { color: #ffffff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer .tagline { opacity: 0.75; font-size: 0.95rem; margin-top: 0.5rem; }
.site-footer .footer-logo img { filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; line-height: 1.7; opacity: 0.85; font-size: 0.95rem; }
.legal-links { margin-top: 1.25rem; font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.5rem; font-size: 0.85rem; opacity: 0.7; }

/* === 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: 0 auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { border: 1px solid rgba(240, 249, 255, 0.25); background: transparent; color: var(--color-neutral-light); padding: 0.5rem 0.9rem; border-radius: 999px; font-family: var(--font-heading); font-size: 0.88rem; cursor: pointer; transition: background .15s, color .15s; }
.cookie-banner button:hover { background: rgba(240, 249, 255, 0.1); }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); color: #ffffff; border-color: var(--color-accent); }
.cookie-banner button[data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { margin-top: 0.5rem; align-self: flex-start; }

/* === 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; } }
