:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #F5F3FF;
  --color-text: #1E1B4B;
  --color-muted: #4b4776;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 30px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 60px -30px rgba(30, 27, 75, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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-neutral-dark); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.015em; line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.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 .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.site-header.scrolled { background: rgba(255, 255, 255, 0.9); border-bottom-color: var(--color-border); box-shadow: 0 6px 24px -18px rgba(30,27,75,0.4); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.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; width: 44px; height: 44px; border: 1px solid var(--color-border); background: #fff; color: var(--color-neutral-dark); border-radius: 12px; cursor: pointer; }
.primary-nav { display: none; }
.primary-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: .5rem .25rem; position: relative; }
.primary-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); border-radius: 2px; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav.is-open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; border-bottom: 1px solid var(--color-border); box-shadow: var(--shadow-md); gap: .5rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; gap: 1.75rem; padding: 0; background: transparent; box-shadow: none; border-bottom: 0; }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.4rem; font-family: var(--font-body); font-weight: 600; font-size: 1rem; border-radius: 999px; border: 1px solid transparent; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease); text-decoration: none; line-height: 1.2; }
.btn:focus-visible { outline: 3px solid var(--color-secondary); outline-offset: 2px; }
.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.6); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(99,102,241,0.7); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-neutral-dark); border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--color-neutral-light); color: var(--color-neutral-dark); }
.btn-accent { background: var(--color-accent); color: #fff; }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(16,185,129,0.5); color: #fff; }

/* === Sections === */
.section { padding-block: 4rem; }
@media (min-width: 768px) { .section { padding-block: 6rem; } }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head .lede { color: var(--color-muted); font-size: 1.125rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 1rem; }
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Hero split === */
.hero { position: relative; padding-block: 3rem 3rem; overflow: hidden; background: radial-gradient(1200px 500px at 85% -10%, rgba(129,140,248,0.18), transparent 60%), radial-gradient(700px 400px at 0% 20%, rgba(16,185,129,0.10), transparent 60%), linear-gradient(180deg, var(--color-neutral-light), #ffffff 90%); }
@media (min-width: 768px) { .hero { padding-block: 5rem 5rem; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }
.hero-copy h1 { margin-top: 0; }
.hero-copy .lede { max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.hero-proof { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; color: var(--color-muted); font-size: .95rem; }
.hero-proof strong { display: block; color: var(--color-neutral-dark); font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; }
.hero-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
@media (max-width: 899px) { .hero-media img { aspect-ratio: 4/3; } }

/* === Grids & cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 640px) { .grid.grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .grid.grid-3 { grid-template-columns: repeat(3, 1fr); } .grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }
.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), border-color .25s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(99,102,241,0.35); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; }
.icon-badge { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, rgba(99,102,241,0.14), rgba(16,185,129,0.14)); color: var(--color-primary); margin-bottom: 1rem; }
.icon-badge--large { width: 68px; height: 68px; border-radius: 20px; }

/* === Intro & split === */
.intro .container.narrow { text-align: center; }
.intro p { color: var(--color-muted); font-size: 1.05rem; }
.split-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .split-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.split-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-copy p { color: var(--color-muted); }

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, #ffffff, var(--color-neutral-light)); }
.testimonial { position: relative; text-align: center; padding: 2rem 1rem; margin: 0; }
.testimonial .quote-mark { color: var(--color-primary); opacity: .35; margin-inline: auto; margin-bottom: .5rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; max-width: 60ch; margin-inline: auto; }
.testimonial cite { display: block; margin-top: 1.25rem; font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(245,243,255,0.85); max-width: 60ch; margin-inline: auto; }
.cta-band .btn { margin-top: 1rem; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-list details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.1rem 1.25rem; transition: box-shadow .2s var(--ease), border-color .2s var(--ease); }
.faq-list details[open] { box-shadow: var(--shadow-sm); border-color: rgba(99,102,241,0.3); }
.faq-list summary { cursor: pointer; font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark); list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s var(--ease); line-height: 1; }
.faq-list details[open] summary::after { content: '−'; }
.faq-list p { color: var(--color-muted); margin: .75rem 0 0; }

/* === Contact === */
.contact-card address, .contact-hours { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); font-style: normal; }
.contact-card address p { color: var(--color-muted); }
.contact-card address strong { color: var(--color-neutral-dark); }
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table th, .hours-table td { padding: .55rem 0; border-bottom: 1px solid var(--color-border); text-align: left; font-size: .95rem; }
.hours-table th { color: var(--color-neutral-dark); font-weight: 600; }
.hours-table td { color: var(--color-muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }

/* === Contact form === */
.contact-form { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: flex; flex-direction: column; gap: .35rem; }
.form-row label { font-weight: 500; color: var(--color-neutral-dark); font-size: .95rem; }
.form-row input, .form-row textarea { font: inherit; padding: .8rem 1rem; border: 1px solid var(--color-border); border-radius: 12px; background: #fff; color: var(--color-neutral-dark); 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-primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.15); }
.form-row textarea { resize: vertical; min-height: 120px; }
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-muted); }
.form-consent input { margin-top: .2rem; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Thank you === */
.thank-you-hero { text-align: center; padding-block: 5rem 4rem; }
.thank-you-hero .icon-badge { background: rgba(16,185,129,0.15); color: var(--color-accent); margin-inline: auto; margin-bottom: 1.25rem; }

/* === Contact band section (about page) === */
.contact-band-section { text-align: center; }
.contact-band-section p { color: var(--color-muted); max-width: 60ch; margin-inline: auto; }
.contact-band-section .hero-actions { justify-content: center; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(245,243,255,0.8); padding-block: 3.5rem 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; }
.site-footer a { color: rgba(245,243,255,0.8); }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { margin-top: 1rem; font-size: .9rem; }
.footer-logo img { height: 60px; margin-bottom: .75rem; filter: brightness(0) invert(1); }
.copyright { border-top: 1px solid rgba(245,243,255,0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .85rem; color: rgba(245,243,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; margin-inline: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; color: rgba(245,243,255,0.9); }
.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(245,243,255,0.3); }
.cookie-banner__actions .btn-ghost:hover { background: rgba(245,243,255,0.1); color: #fff; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs .btn { align-self: flex-start; margin-top: .5rem; }

/* === 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; } .site-header { transition: none; } }
