:root {
  --color-primary: #0369A1;
  --color-secondary: #38BDF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #0C4A6E;
  --color-neutral-light: #F0F9FF;
  --color-text: #0C1F2E;
  --color-muted: #4B6A82;
  --color-border: rgba(12, 74, 110, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --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 30px 60px -20px rgba(12, 74, 110, 0.28);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
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 0.6em; font-weight: 600; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.section { padding-block: 4rem; }
.section-tinted { background: var(--color-neutral-light); }
.section-sub { color: var(--color-muted); font-size: 1.05rem; margin-bottom: 1.25rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .section-sub { max-width: 60ch; margin-inline: auto; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { background: rgba(255,255,255,0.92); box-shadow: 0 4px 20px rgba(12,74,110,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; color: var(--color-neutral-dark); }
.site-nav { display: none; }
.site-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(16px); padding: 1rem 1.25rem 1.5rem; gap: 0.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); }
.site-nav a { padding: 0.75rem 0.25rem; font-weight: 500; color: var(--color-neutral-dark); position: relative; }
.site-nav a.is-active { color: var(--color-primary); }
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav, .site-nav.is-open { display: flex; flex-direction: row; align-items: center; position: static; gap: 1.75rem; padding: 0; background: none; box-shadow: none; border: 0; }
  .site-nav a { padding: 0.5rem 0; }
  .site-nav a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
  }
  .site-nav a:not(.btn):hover::after,
  .site-nav a.is-active::after { transform: scaleX(1); }
  .site-nav a:hover { text-decoration: none; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-heading); font-weight: 500; font-size: 1rem; padding: 0.85rem 1.6rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s; line-height: 1; }
.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.92rem; }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 8px 24px -8px rgba(3,105,161,0.5); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(3,105,161,0.55); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 8px 24px -8px rgba(34,197,94,0.5); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(34,197,94,0.55); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero (split) === */
.hero { position: relative; padding-block: 3rem 4rem; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 90% 10%, rgba(56,189,248,0.18), transparent 60%),
    radial-gradient(500px 400px at 5% 90%, rgba(34,197,94,0.10), transparent 60%),
    linear-gradient(180deg, var(--color-neutral-light), #ffffff 80%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .lede { font-size: 1.2rem; color: var(--color-muted); max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.hero-thanks { text-align: center; padding-block: 5rem 3rem; }
.thanks-check { display: inline-flex; color: var(--color-accent); margin-bottom: 1rem; }

/* === Intro / narrow sections === */
.intro { text-align: left; }
.split-section .split-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.split-visual img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .split-section .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.grid-3, .grid-4 { 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-border); border-radius: var(--radius-md); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin: 0.25rem 0 0.5rem; }
.card p { color: var(--color-muted); margin: 0; font-size: 0.98rem; }
.card-icon { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(56,189,248,0.2), rgba(3,105,161,0.12)); color: var(--color-primary); border-radius: 12px; margin-bottom: 0.25rem; }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(135deg, var(--color-neutral-light), #ffffff); }
.testimonial { margin: 0; text-align: center; padding: 2rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.2rem, 2.2vw, 1.6rem); line-height: 1.4; color: var(--color-neutral-dark); font-weight: 500; margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; color: var(--color-primary); font-weight: 500; letter-spacing: 0.02em; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 3.5rem; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(240,249,255,0.85); margin: 0; }
.cta-band a { color: #fff; }
.cta-band-inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 800px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
}

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

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.1fr 1fr; gap: 3rem; } }
.contact-block { font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours caption { text-align: left; font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); margin-bottom: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); font-weight: 400; }
.hours th { color: var(--color-muted); font-weight: 500; }
.contact-map-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

.contact-form { max-width: 640px; margin-inline: auto; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.form-row label { font-family: var(--font-heading); font-weight: 500; color: var(--color-neutral-dark); font-size: 0.95rem; }
.form-row input, .form-row textarea { font: inherit; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: #fff; color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(56,189,248,0.25); }
.form-consent { display: flex; align-items: flex-start; gap: 0.6rem; font-size: 0.9rem; color: var(--color-muted); margin: 0.5rem 0 1.25rem; }
.form-consent input { margin-top: 0.25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(240,249,255,0.85); padding-block: 3.5rem 1.5rem; margin-top: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 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; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 0.5rem; }
.footer-grid address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.footer-tag { color: rgba(240,249,255,0.7); font-size: 0.95rem; max-width: 30ch; }
.logo-footer img { filter: brightness(0) invert(1); height: 64px; }
@media (min-width: 768px) { .logo-footer img { height: 80px; } }
.legal-links { margin-top: 1rem !important; }
.legal-links li { margin-bottom: 0.35rem !important; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid rgba(240,249,255,0.15); margin-top: 2.5rem; padding-top: 1.5rem; font-size: 0.88rem; color: rgba(240,249,255,0.6); }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; } }

/* === 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.35rem; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  max-width: 560px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.94rem; line-height: 1.5; }
.cookie-banner a { color: var(--color-secondary); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(240,249,255,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.92rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: 0.5rem; }

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