:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #6B7280;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 18px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 20px 60px -20px rgba(49, 46, 129, 0.25);
}

/* === Reset === */
*, *::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%; 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); line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  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(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; padding: 0.5rem; background: transparent; border: 1px solid var(--color-border); border-radius: 10px; color: var(--color-neutral-dark); cursor: pointer; }
.primary-nav { display: none; flex-direction: column; gap: 0.25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-sm); }
.primary-nav a { padding: 0.6rem 0; color: var(--color-neutral-dark); font-weight: 500; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav .nav-cta { color: #fff; background: var(--color-primary); border-radius: 999px; padding: 0.55rem 1.1rem; text-align: center; margin-top: 0.5rem; }
.primary-nav .nav-cta:hover { text-decoration: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.6rem; position: static; padding: 0; background: transparent; border: none; box-shadow: none; }
  .primary-nav a { padding: 0.25rem 0; position: relative; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover { text-decoration: none; }
  .primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
  .primary-nav .nav-cta { margin-top: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-body); font-weight: 600; font-size: 1rem; padding: 0.85rem 1.5rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease); }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.6); }
.btn-primary:hover { box-shadow: 0 16px 32px -12px rgba(79, 70, 229, 0.7); }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-neutral-light); }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -12px rgba(34, 197, 94, 0.6); }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 3px; }

/* === Hero split === */
.hero { padding: 3rem 0 4rem; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: -20% -10% auto auto; width: 60%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.10), transparent 65%);
  pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }
.hero-copy .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual img { border-radius: 20px; box-shadow: var(--shadow-md); aspect-ratio: 4/5; object-fit: cover; width: 100%; }

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

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

.intro .narrow { text-align: center; }
.intro h2 { margin-bottom: 1.25rem; }
.intro p { font-size: 1.1rem; color: var(--color-text); }

/* === Cards === */
.cards { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.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);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { color: var(--color-neutral-dark); }
.card p { color: var(--color-muted); margin: 0; }
.card-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; background: var(--color-neutral-light); color: var(--color-primary); margin-bottom: 1rem; }
.card-link { color: inherit; }
.card-link:hover { text-decoration: none; }

@media (min-width: 640px) {
  .cards-3, .cards-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards-3 { grid-template-columns: repeat(3, 1fr); }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
}

/* === Testimonial === */
.testimonial-band { background: var(--color-neutral-light); }
.testimonial { margin: 0; text-align: center; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); color: var(--color-neutral-dark); font-weight: 500; line-height: 1.4; margin-bottom: 1.25rem; }
.testimonial cite { display: block; color: var(--color-muted); font-style: normal; font-size: 0.95rem; }

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

/* === FAQ === */
.faq h2 { text-align: center; margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-list details { background: #fff; border: 1px solid var(--color-border); border-radius: 14px; padding: 1rem 1.25rem; box-shadow: var(--shadow-sm); }
.faq-list summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); font-size: 1.05rem; list-style: none; position: relative; padding-right: 2rem; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s var(--ease); }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list p { margin: 0.75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-band { background: var(--color-neutral-light); text-align: center; }
.contact-band__body { font-style: normal; font-size: 1.05rem; color: var(--color-text); line-height: 1.9; }
.contact-band__body a { color: var(--color-primary); }

.contact-form-section h2 { margin-bottom: 0.75rem; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; color: var(--color-text); transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(79,70,229,0.15); }
.form-consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.9rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }
.contact-form .btn { align-self: flex-start; }

.hours-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--color-border); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { padding: 0.85rem 1.1rem; text-align: left; }
.hours-table th { font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); background: var(--color-neutral-light); width: 45%; }
.hours-table tr + tr { border-top: 1px solid var(--color-border); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.85); padding: 3.5rem 0 1.5rem; margin-top: 2rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.85); display: block; padding: 0.2rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .tagline { color: rgba(255,255,255,0.7); font-style: italic; margin-top: 0.5rem; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-nav a { font-size: 0.9rem; }
.copyright { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.logo-footer img { height: 60px; }

@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; gap: 3rem; }
}

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

/* === 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: 16px; box-shadow: 0 20px 50px -10px rgba(0,0,0,0.4); max-width: 720px; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.95rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { font-family: var(--font-body); font-size: 0.9rem; font-weight: 600; padding: 0.6rem 1.1rem; border-radius: 999px; border: 1px solid rgba(255,255,255,0.25); background: transparent; color: var(--color-neutral-light); cursor: pointer; }
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner button:hover { background: rgba(255,255,255,0.1); }
.cookie-banner button[data-cookie-accept]:hover { background: #16a34a; }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; }
.cookie-banner__prefs button { margin-top: 0.5rem; align-self: flex-start; }
