:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #F5F3FF;
  --color-text: #1E1B4B;
  --color-muted: #4F46E5;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Space Grotesk', 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 20px 60px -20px rgba(49, 46, 129, 0.25);
  --shadow-lg: 0 30px 60px -30px rgba(49, 46, 129, 0.35);
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
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; transition: color .2s ease; }
a:hover { color: var(--color-neutral-dark); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.eyebrow { font-family: var(--font-heading); text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; color: var(--color-primary); font-weight: 600; margin: 0 0 1rem; }

/* === Header / nav === */
.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: background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled { background: rgba(255, 255, 255, 0.92); box-shadow: var(--shadow-sm); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle {
  background: none; border: 1px solid var(--color-border); color: var(--color-neutral-dark);
  border-radius: 10px; padding: .5rem; cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; }
.primary-nav a {
  position: relative; display: inline-block; padding: .5rem .25rem;
  color: var(--color-neutral-dark); font-weight: 500;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .2s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav.is-open {
  display: flex; flex-direction: column; gap: .5rem;
  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-sm);
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; font-family: var(--font-body); font-weight: 600;
  border-radius: 999px; border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
  font-size: 1rem; line-height: 1;
}
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  box-shadow: 0 8px 24px -8px rgba(99, 102, 241, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -8px rgba(99, 102, 241, 0.7); color: #fff; }
.btn-ghost {
  color: var(--color-neutral-dark); background: transparent; border-color: var(--color-border);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); color: var(--color-primary); }
:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 6px; }

/* === Layout === */
main { display: block; }
.section {
  max-width: 1120px; margin: 0 auto;
  padding: 4rem 1.25rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.125rem; }
.prose { max-width: 780px; }
.prose p { font-size: 1.075rem; line-height: 1.75; color: var(--color-text); }

/* === Hero (card archetype) === */
.hero {
  padding: 3rem 1.25rem 2rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(129, 140, 248, 0.25), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(16, 185, 129, 0.15), transparent 55%),
    var(--color-neutral-light);
}
.hero-card__inner {
  max-width: 900px; margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  text-align: center;
  border: 1px solid var(--color-border);
}
.hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin: 0 auto 1.75rem; }
.hero-cta { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.hero-figure {
  margin: 2rem 0 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-figure img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* === Cards / grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  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-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(16, 185, 129, 0.12));
  color: var(--color-primary);
  margin-bottom: 1rem;
}
.card p { color: var(--color-text); margin: 0; }
a.card-link { display: block; color: inherit; text-decoration: none; }

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 780px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--color-neutral-light), #ffffff);
  border: 1px solid var(--color-border);
  position: relative;
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: 1.35rem; line-height: 1.55;
  color: var(--color-neutral-dark);
  font-weight: 500;
}
.testimonial cite {
  display: block; margin-top: 1rem; font-style: normal;
  color: var(--color-muted); font-size: .95rem; font-weight: 500;
}

/* === CTA band === */
.cta-band {
  max-width: 1120px; margin: 2rem auto 4rem;
  padding: 0 1.25rem;
}
.cta-band__inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff;
  padding: 3rem 1.75rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band__inner h2 { color: #fff; }
.cta-band__inner p { color: rgba(255, 255, 255, 0.9); max-width: 60ch; margin: 0 auto 1.5rem; }
.cta-band .btn-primary {
  background: #fff; color: var(--color-neutral-dark);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
}
.cta-band .btn-primary:hover { color: var(--color-primary); }

/* === FAQ === */
.faq-section h2 { text-align: center; margin-bottom: 2rem; }
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600;
  color: var(--color-neutral-dark); cursor: pointer;
  list-style: none; position: relative; padding-right: 1.75rem;
}
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 0;
  font-size: 1.4rem; color: var(--color-primary); line-height: 1;
  transition: transform .2s ease;
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-text); }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
.pricing-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  display: flex; flex-direction: column;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border: 2px solid var(--color-accent);
  background: #fff;
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute; top: -.75rem; right: 1.5rem;
  background: var(--color-accent); color: var(--color-neutral-light);
  padding: .35rem .75rem; font-size: .78rem; font-weight: 600;
  border-radius: 999px; letter-spacing: .04em;
}
.pricing-card__plan { font-size: 1.35rem; margin: 0; }
.pricing-card__price {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--color-neutral-dark);
  margin: .5rem 0 1rem;
}
.pricing-card__lede { color: var(--color-muted); font-size: .95rem; margin-bottom: 1rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; flex-grow: 1; }
.pricing-card__features li {
  display: flex; gap: .5rem; align-items: flex-start;
  padding: .4rem 0; font-size: .95rem;
  color: var(--color-text);
}
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === Contact === */
.contact-layout { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.contact-info address { font-style: normal; line-height: 1.7; margin-bottom: 1.5rem; }
.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 1.5rem; }
.hours-table th, .hours-table td { padding: .55rem .5rem; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours-table th { font-weight: 600; color: var(--color-neutral-dark); width: 40%; }
.map-figure { border-radius: 16px; overflow: hidden; border: 1px solid var(--color-border); }
.contact-form {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--color-neutral-dark); font-size: .95rem; }
.field input, .field textarea {
  width: 100%; padding: .75rem .9rem;
  border: 1px solid var(--color-border); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem;
  background: #fff; color: var(--color-text);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: .5rem;
  font-size: .88rem; color: var(--color-muted);
  margin: 1rem 0 1.25rem; line-height: 1.5;
}
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.contact-band {
  max-width: 1120px; margin: 0 auto;
  padding: 3rem 1.25rem; text-align: center;
}
.contact-band p { font-size: 1.05rem; color: var(--color-muted); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: var(--color-neutral-light);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  max-width: 1120px; margin: 0 auto;
  display: grid; gap: 2rem; grid-template-columns: 1fr;
}
.site-footer h3 {
  color: #fff; font-size: 1rem;
  margin-bottom: .75rem;
}
.site-footer p, .site-footer address { color: rgba(245, 243, 255, 0.75); font-style: normal; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4rem; }
.site-footer a { color: rgba(245, 243, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.legal-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.legal-links li { margin: 0; }
.copyright {
  max-width: 1120px; margin: 2.5rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(245, 243, 255, 0.15);
  font-size: .85rem; color: rgba(245, 243, 255, 0.6);
  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: 16px;
  box-shadow: var(--shadow-lg);
  max-width: 620px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(245, 243, 255, 0.9); }
.cookie-banner__actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.cookie-banner__actions button {
  padding: .6rem 1rem; font-family: var(--font-body); font-weight: 600;
  border-radius: 999px; border: 1px solid rgba(245, 243, 255, 0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
  font-size: .9rem;
}
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent); color: var(--color-neutral-light); border-color: var(--color-accent);
}
.cookie-banner__actions button:hover { background: rgba(245, 243, 255, 0.08); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #0ea570; }
.cookie-banner__prefs {
  margin-top: 1rem; padding-top: 1rem;
  border-top: 1px solid rgba(245, 243, 255, 0.15);
  display: flex; flex-direction: column; gap: .5rem;
}
.cookie-banner__prefs label { display: flex; gap: .5rem; align-items: center; font-size: .9rem; }
.cookie-banner__prefs button {
  align-self: flex-start; margin-top: .5rem;
  padding: .5rem 1rem; border-radius: 999px;
  border: none; background: var(--color-primary); color: #fff;
  cursor: pointer; font-weight: 600; font-family: var(--font-body);
}

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

/* === Responsive === */
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-card__inner { padding: 3.5rem 3rem; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
  .site-footer .logo img { height: 72px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex; gap: 1.75rem; align-items: center; }
  .primary-nav.is-open { position: static; flex-direction: row; padding: 0; box-shadow: none; border: none; }
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-card__inner { padding: 4rem; }
  .section { padding: 5rem 1.5rem; }
  .contact-layout { grid-template-columns: 1fr 1.15fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.25fr; gap: 3rem; }
  .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .hero { padding: 6rem 1.5rem 4rem; }
}
