:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #22C55E;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #EEF2FF;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', 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 12px 32px -12px rgba(49,46,129,0.20);
  --shadow-lg: 0 30px 60px -30px rgba(49,46,129,0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: #fff;
  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); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 700; margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin: 0 0 1rem; }
h3 { font-size: 1.25rem; font-weight: 600; margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 .75rem; }
.lede { font-size: 1.125rem; color: #4c4a83; }
.muted { color: #6b6a99; font-size: .95rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(238, 242, 255, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(49,46,129,0.08);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(238,242,255,0.92); box-shadow: 0 8px 24px -18px rgba(49,46,129,.4); }
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  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: none; border: 0; padding: .5rem;
  color: var(--color-neutral-dark); cursor: pointer;
  display: inline-flex;
}
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav.is-open { display: flex; position: absolute; top: 100%; left: 0; right: 0; background: #fff; padding: 1rem 1.25rem; box-shadow: var(--shadow-md); }
.primary-nav a {
  font-family: var(--font-heading); font-weight: 600; color: var(--color-neutral-dark);
  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 .25s var(--ease);
}
.primary-nav a:hover, .primary-nav a[aria-current="page"] { text-decoration: none; }
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }

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

/* === Buttons === */
.btn {
  display: inline-block;
  font-family: var(--font-heading); font-weight: 600;
  padding: .85rem 1.5rem; border-radius: 999px;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  border: 0; cursor: pointer;
  font-size: 1rem;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff; box-shadow: 0 10px 24px -10px rgba(99,102,241,.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(99,102,241,.6); text-decoration: none; }
.btn-accent { background: var(--color-accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(34,197,94,.55); }
.btn-accent:hover { transform: translateY(-2px); text-decoration: none; box-shadow: 0 16px 32px -12px rgba(34,197,94,.6); }
.btn-ghost {
  background: transparent; color: var(--color-neutral-dark);
  border: 1.5px solid rgba(49,46,129,.2);
}
.btn-ghost:hover { border-color: var(--color-primary); color: var(--color-primary); text-decoration: none; transform: translateY(-2px); }
:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 3px; border-radius: 6px; }

/* === Hero card === */
.hero-wrap {
  padding: 2.5rem 1.25rem 3rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(34,197,94,.10), transparent 55%),
    radial-gradient(circle at 85% 30%, rgba(129,140,248,.20), transparent 55%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
}
.hero-card {
  max-width: 880px; margin: 0 auto;
  padding: 2.5rem 1.75rem;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(49,46,129,.06);
  text-align: center;
}
.hero-card h1 { margin-inline: auto; max-width: 22ch; }
.hero-card .lede { max-width: 52ch; margin-inline: auto; }
.hero-cta { margin-top: 1.5rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }
.hero-card__img {
  margin-top: 2rem;
  border-radius: 16px;
  aspect-ratio: 16/9; object-fit: cover;
  box-shadow: var(--shadow-md);
  width: 100%;
}
@media (min-width: 768px) {
  .hero-wrap { padding: 5rem 2rem 5rem; }
  .hero-card { padding: 4rem 3rem; }
}

/* === Sections === */
.section { max-width: 1200px; margin: 0 auto; padding: 4rem 1.25rem; }
.section.narrow { max-width: 760px; }
.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-head .lede { max-width: 52ch; margin-inline: auto; }
.section-figure { width: 100%; aspect-ratio: 16/8; object-fit: cover; border-radius: 16px; margin: 0 0 2.5rem; box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .section { padding: 5.5rem 2rem; } }

/* === Grid + Cards === */
.grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: #fff;
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(49,46,129,.08);
  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; margin-bottom: 1rem;
  border-radius: 12px;
  background: var(--color-neutral-light);
  color: var(--color-primary);
}

/* === Testimonial === */
.testimonial-section { text-align: center; }
.testimonial {
  max-width: 720px; margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, rgba(99,102,241,.06), rgba(129,140,248,.10));
  border-radius: var(--radius);
  border-left: 4px solid var(--color-accent);
}
.testimonial p { font-size: 1.15rem; font-style: italic; color: var(--color-neutral-dark); margin-bottom: 1rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--color-primary); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: #fff; margin: 0;
}
.cta-inner { max-width: 720px; margin: 0 auto; padding: 4rem 1.25rem; text-align: center; }
.cta-inner h2 { color: #fff; }
.cta-inner p { color: rgba(255,255,255,.9); }

/* === Pricing === */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 900px) { .pricing-3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  padding: 2.25rem 1.75rem;
  border-radius: 16px;
  border: 1px solid rgba(49,46,129,.12);
  background: #fff;
  box-shadow: var(--shadow-sm);
  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); box-shadow: var(--shadow-md); }
.pricing-card__badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--color-accent); color: #fff;
  padding: .3rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
}
.pricing-card__plan { font-size: 1.15rem; color: var(--color-primary); margin-bottom: .25rem; }
.pricing-card__price { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; font-family: var(--font-heading); color: var(--color-neutral-dark); margin: 0 0 .5rem; }
.pricing-card__lede { color: #4c4a83; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; flex: 1; }
.pricing-card__features li { display: flex; gap: .5rem; padding: .4rem 0; border-bottom: 1px dashed rgba(49,46,129,.1); color: var(--color-neutral-dark); }
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__cta { text-align: center; }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-card, .contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius);
  border: 1px solid rgba(49,46,129,.08); box-shadow: var(--shadow-sm);
}
.contact-card address { font-style: normal; margin-bottom: 1.25rem; line-height: 1.8; }
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { text-align: left; padding: .5rem .25rem; border-bottom: 1px dashed rgba(49,46,129,.1); }
.hours th { font-weight: 600; }
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 500; font-size: .95rem; }
.contact-form input, .contact-form textarea {
  display: block; width: 100%; margin-top: .35rem;
  padding: .7rem .85rem; border: 1.5px solid rgba(49,46,129,.15);
  border-radius: 10px; font: inherit; color: inherit; background: #fff;
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--color-primary); outline: 0; }
.form-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .85rem; font-weight: 400; margin: .5rem 0 1.25rem; }
.form-consent input { width: auto; margin-top: .2rem; }

/* === FAQ === */
details { border-bottom: 1px solid rgba(49,46,129,.1); padding: 1rem 0; }
summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.05rem; list-style: none; padding-right: 1.5rem; position: relative; }
summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-primary); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: .75rem; color: #4c4a83; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,.85); margin-top: 4rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 3.5rem 1.25rem 2rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 800px) { .footer-inner { grid-template-columns: 1.2fr 1fr 1.3fr; padding: 4rem 2rem 2rem; } }
.site-footer h4 { color: #fff; margin: 0 0 1rem; font-size: 1rem; }
.site-footer a { color: rgba(255,255,255,.85); display: inline-block; padding: .15rem 0; }
.site-footer a:hover { color: #fff; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 64px; }
.site-footer nav a { display: block; }
.site-footer address { font-style: normal; line-height: 1.8; margin-bottom: 1rem; }
.site-footer .muted { color: rgba(255,255,255,.65); }
.footer-legal a { display: inline-block; }
.copyright { text-align: center; padding: 1.5rem 1.25rem; margin: 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.65); font-size: .9rem; }

/* === 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; border-radius: 16px;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,.5);
  max-width: 640px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .85rem; font-size: .92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  border: 0; padding: .55rem 1rem; border-radius: 999px;
  font-family: var(--font-heading); font-weight: 600; cursor: pointer;
  background: rgba(255,255,255,.12); color: #fff; font-size: .9rem;
}
.cookie-banner button[data-cookie-accept] { background: var(--color-accent); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,.15); }
.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; background: var(--color-primary); }

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