:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(49, 46, 129, 0.22);
  --shadow-lg: 0 30px 60px -25px rgba(49, 46, 129, 0.35);
}

/* === Reset === */
*, *::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-neutral-dark); background: #fff; }
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-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; margin-bottom: 1rem; }
p { margin: 0 0 1rem; }

.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; backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); background: rgba(238, 242, 255, 0.7); border-bottom: 1px solid rgba(49, 46, 129, 0.08); transition: background .3s, box-shadow .3s; }
.site-header.scrolled { background: rgba(255, 255, 255, 0.88); box-shadow: 0 6px 24px -18px rgba(49, 46, 129, 0.35); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: .75rem 1.25rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { background: transparent; border: 0; color: var(--color-neutral-dark); cursor: pointer; padding: .5rem; display: inline-flex; }
.primary-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); padding: 1rem 1.25rem; border-bottom: 1px solid rgba(49, 46, 129, 0.08); gap: .25rem; }
.primary-nav.open { display: flex; }
.primary-nav a { padding: .75rem .5rem; color: var(--color-neutral-dark); font-weight: 500; position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }
.primary-nav a.nav-cta { background: var(--color-primary); color: #fff; border-radius: 999px; padding: .6rem 1.1rem; text-align: center; }
.primary-nav a.nav-cta:hover { background: var(--color-neutral-dark); color: #fff; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; position: static; background: transparent; padding: 0; border: 0; align-items: center; gap: .25rem; }
  .primary-nav a { padding: .5rem .9rem; }
  .primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:not(.nav-cta):hover::after,
  .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600; font-family: var(--font-body); font-size: 1rem; border: 0; cursor: pointer; 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: #fff; box-shadow: 0 10px 24px -12px rgba(99, 102, 241, 0.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(99, 102, 241, 0.8); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border: 1px solid rgba(49, 46, 129, 0.2); }
.btn-ghost:hover { background: var(--color-neutral-light); color: var(--color-neutral-dark); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* === Hero === */
.hero { position: relative; padding: 3rem 0 2rem; overflow: hidden; background: linear-gradient(180deg, var(--color-neutral-light) 0%, #ffffff 100%); }
.hero-inner-page { padding-top: 2.5rem; }
.hero-glow { position: absolute; inset: -20% -10% auto -10%; height: 70%; background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.18), transparent 60%), radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.12), transparent 55%); pointer-events: none; z-index: 0; }
.hero-inner { position: relative; z-index: 1; text-align: center; }
.eyebrow { display: inline-block; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--color-primary); background: rgba(99, 102, 241, 0.1); padding: .4rem .9rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero h1 { max-width: 22ch; margin-inline: auto; }
.hero-sub { max-width: 56ch; margin: 1rem auto 1.75rem; font-size: 1.15rem; color: rgba(49, 46, 129, 0.75); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 2.5rem; }
.hero-visual { max-width: 1000px; margin: 0 auto; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.hero-visual img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }

@media (min-width: 768px) {
  .hero { padding: 5rem 0 3rem; }
  .hero-sub { font-size: 1.25rem; }
}

/* === Sections === */
.section { padding: 4rem 0; }
.section-tint { background: linear-gradient(180deg, #fff 0%, var(--color-neutral-light) 100%); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section-head p { color: rgba(49, 46, 129, 0.7); font-size: 1.05rem; }

/* === Split === */
.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.split-media img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; box-shadow: var(--shadow-md); }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}

/* === Grid === */
.grid { display: grid; gap: 1.5rem; 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); } }

/* === Cards === */
.card { background: #fff; border: 1px solid rgba(49, 46, 129, 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-icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 12px; background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(129,140,248,0.15)); color: var(--color-primary); margin-bottom: 1rem; }
.card p { color: rgba(49, 46, 129, 0.78); font-size: .98rem; margin-bottom: 0; }

/* === Stats === */
.stats .stat { background: #fff; border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow-sm); }
.stat-num { font-family: var(--font-heading); font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--color-accent); margin: 0 0 .25rem; line-height: 1; }
.stat h3 { font-size: 1.05rem; color: var(--color-neutral-dark); margin-bottom: .5rem; }
.stat p { color: rgba(49, 46, 129, 0.7); font-size: .95rem; margin: 0; }

/* === Testimonial === */
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; padding: 2.5rem 1.5rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.45; font-weight: 500; color: var(--color-neutral-dark); margin-bottom: 1.25rem; }
.testimonial cite { font-style: normal; font-weight: 500; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band { margin: 3rem 0; }
.cta-inner { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; border-radius: 24px; padding: 2.5rem; display: grid; gap: 1.5rem; align-items: center; box-shadow: var(--shadow-lg); }
.cta-inner h2 { color: #fff; margin-bottom: .5rem; }
.cta-inner p { color: rgba(255,255,255,0.85); margin: 0; }
.cta-inner .btn-primary { background: #fff; color: var(--color-primary); box-shadow: none; }
.cta-inner .btn-primary:hover { background: var(--color-accent); color: #fff; }
@media (min-width: 768px) {
  .cta-inner { grid-template-columns: 1fr auto; padding: 3rem; }
}

/* === FAQ === */
.faq details { border: 1px solid rgba(49, 46, 129, 0.1); border-radius: 12px; background: #fff; padding: 1.1rem 1.25rem; margin-bottom: .75rem; transition: box-shadow .2s; }
.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-neutral-dark); padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.4rem; color: var(--color-primary); transition: transform .2s; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: .75rem; color: rgba(49, 46, 129, 0.78); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; } }
.contact-form { display: grid; gap: 1rem; background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow-md); border: 1px solid rgba(49, 46, 129, 0.08); }
.contact-form label { display: grid; gap: .4rem; font-size: .9rem; font-weight: 500; color: var(--color-neutral-dark); }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 1rem; padding: .8rem 1rem; border: 1px solid rgba(49, 46, 129, 0.15); border-radius: 10px; background: #fff; color: var(--color-neutral-dark); transition: border-color .2s, box-shadow .2s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15); }
.contact-form button { justify-self: start; }

.hours-table { background: #fff; border-radius: var(--radius); padding: 1.5rem 1.75rem; margin-top: 2rem; box-shadow: var(--shadow-sm); }
.hours-table h3 { margin-top: 0; }
.hours-table table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { text-align: left; padding: .55rem 0; border-bottom: 1px solid rgba(49, 46, 129, 0.08); font-weight: 500; }
.hours-table td { color: rgba(49, 46, 129, 0.75); text-align: right; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(238, 242, 255, 0.85); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer .logo img { filter: brightness(0) invert(1); height: 72px; }
.site-footer h4 { color: #fff; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.site-footer nav a, .site-footer address a { color: rgba(238, 242, 255, 0.75); display: block; padding: .25rem 0; font-style: normal; }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer a:hover { color: var(--color-accent); }
.tagline { color: rgba(238, 242, 255, 0.7); font-style: italic; }
.legal-links { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.legal-links a { font-size: .85rem; }
.copyright { padding-top: 1.5rem; border-top: 1px solid rgba(238, 242, 255, 0.12); font-size: .85rem; color: rgba(238, 242, 255, 0.55); text-align: center; }

/* === 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 { color: rgba(238, 242, 255, 0.9); font-size: .92rem; margin-bottom: 1rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn { padding: .55rem 1rem; font-size: .9rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(238, 242, 255, 0.25); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(238, 242, 255, 0.1); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(238, 242, 255, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { justify-self: start; margin-top: .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; } }
