/* === Tokens === */
:root {
  --color-primary: #4F46E5;
  --color-secondary: #818CF8;
  --color-accent: #F97316;
  --color-neutral-dark: #1E1B4B;
  --color-neutral-light: #EEF2FF;
  --color-text: #1E1B4B;
  --color-muted: #4B5077;
  --color-border: rgba(30, 27, 75, 0.12);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(30, 27, 75, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(30, 27, 75, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, 0.28);
}

/* === Base === */
* { 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; height: auto; }
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.15;
  margin: 0 0 1rem;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; 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; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}
.lede { font-size: 1.15rem; color: var(--color-muted); }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 10px 30px -10px rgba(79, 70, 229, 0.55);
}
.btn-primary:hover { box-shadow: 0 18px 40px -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); }

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

@media (min-width: 900px) {
  .logo img { height: 96px; }
  .nav-toggle { display: none; }
  .primary-nav { display: flex !important; position: static; flex-direction: row; padding: 0; background: transparent; border: 0; box-shadow: none; align-items: center; gap: 0.25rem; }
  .primary-nav a { padding: 0.5rem 0.9rem; }
  .primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0.9rem; right: 0.9rem;
    bottom: 0.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"]:not(.nav-cta)::after { transform: scaleX(1); }
}

/* === Hero === */
.hero {
  position: relative;
  padding-block: 4rem 3rem;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, rgba(129, 140, 248, 0.18), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(249, 115, 22, 0.10), transparent 70%),
    linear-gradient(180deg, var(--color-neutral-light), #fff);
  overflow: hidden;
}
.hero-inner { max-width: 900px; margin-inline: auto; }
.hero h1 { max-width: 28ch; margin-inline: auto; }
.hero-sub {
  max-width: 52ch;
  margin: 1rem auto 2rem;
  color: var(--color-muted);
  font-size: 1.15rem;
}
.hero-ctas {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.hero-visual {
  margin-top: 2rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.hero-visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-block: 6rem 4rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section.alt { background: var(--color-neutral-light); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.section-intro { text-align: center; }
.section-intro .container { max-width: 780px; }
.section-intro p:not(.lede) { color: var(--color-text); text-align: left; }
@media (min-width: 700px) {
  .section-intro p:not(.lede) { text-align: center; }
}

/* === Grid cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
  display: block;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--color-muted); font-size: 0.97rem; margin: 0; }
a.card-link { color: inherit; text-decoration: none; }
a.card-link:hover { text-decoration: none; }
.card-icon {
  display: inline-flex;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.12), rgba(129, 140, 248, 0.2));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Quote === */
.section-quote { padding-block: 4rem; background: var(--color-neutral-light); text-align: center; }
.section-quote h2 { margin-bottom: 1.5rem; }
.section-quote blockquote {
  margin: 0 auto;
  max-width: 720px;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--color-neutral-dark);
}
.section-quote cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  color: var(--color-muted);
  font-size: 0.95rem;
}

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: #fff;
  text-align: center;
  padding-block: 3.5rem;
  border-radius: 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 60ch; margin-inline: auto; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--color-primary);
  margin-top: 0.5rem;
  box-shadow: 0 10px 30px -10px rgba(0,0,0,0.4);
}
.cta-band .btn-primary:hover { background: var(--color-neutral-light); }

/* === Pricing === */
.section-pricing { padding-block: 4rem; }
.pricing-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
.pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pricing-card--featured {
  border-color: var(--color-accent);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.pricing-card__badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--color-accent);
  color: #fff;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pricing-card__plan { font-size: 1.35rem; margin-bottom: 0.5rem; }
.pricing-card__price {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--color-neutral-dark);
  margin: 0.25rem 0 1rem;
  letter-spacing: -0.02em;
}
.pricing-card__lede { color: var(--color-muted); margin-bottom: 1.25rem; font-size: 0.98rem; }
.pricing-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  flex: 1;
}
.pricing-card__features li {
  display: flex;
  gap: 0.5rem;
  padding: 0.4rem 0;
  color: var(--color-text);
  font-size: 0.95rem;
  border-bottom: 1px dashed var(--color-border);
}
.pricing-card__features li:last-child { border-bottom: 0; }
.pricing-card__cta { align-self: stretch; text-align: center; }

/* === FAQ === */
.section-faq { padding-block: 3rem 4rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s;
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: -0.1rem;
  font-size: 1.4rem;
  color: var(--color-primary);
  transition: transform .2s;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: 0.75rem; color: var(--color-muted); }

/* === Contact === */
.section-contact { padding-block: 3rem 4rem; }
.contact-layout { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-layout { grid-template-columns: 1fr 1.2fr; } }
.contact-info address { font-style: normal; margin-bottom: 1.5rem; line-height: 1.7; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.hours-table caption {
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--color-neutral-dark);
  padding-bottom: 0.5rem;
}
.hours-table th, .hours-table td { padding: 0.5rem 0; border-bottom: 1px dashed var(--color-border); text-align: left; }
.hours-table td { color: var(--color-muted); }
.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin-bottom: 1rem; }
.form-row { margin-bottom: 1rem; }
.form-row label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--color-neutral-dark);
  margin-bottom: 0.35rem;
}
.form-row input, .form-row textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row 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.88rem;
  color: var(--color-muted);
  margin: 0.5rem 0 1.5rem;
  line-height: 1.5;
}
.form-consent input { margin-top: 0.2rem; }

/* === Contact band (about page) === */
.section-contact-band { padding-block: 3rem 4rem; text-align: center; }
.section-contact-band .lede { max-width: 60ch; margin-inline: auto; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(238, 242, 255, 0.85);
  padding-block: 3rem 1.5rem;
  margin-top: 4rem;
}
.site-footer .logo img { height: 72px; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 1rem;
}
.site-footer nav a {
  display: block;
  color: rgba(238, 242, 255, 0.8);
  padding: 0.25rem 0;
  font-size: 0.95rem;
}
.site-footer nav a:hover { color: #fff; text-decoration: underline; }
.footer-tagline { color: rgba(238, 242, 255, 0.7); margin-top: 0.75rem; font-size: 0.95rem; }
.site-footer address {
  font-style: normal;
  color: rgba(238, 242, 255, 0.8);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.7;
}
.site-footer address a { color: rgba(238, 242, 255, 0.9); }
.legal-links a { display: inline-block; margin-right: 0.75rem; font-size: 0.9rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 242, 255, 0.12);
  font-size: 0.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: 14px;
  box-shadow: 0 20px 60px -10px rgba(0,0,0,0.4);
  max-width: 620px;
  margin-inline: auto;
  font-size: 0.92rem;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.9rem; color: rgba(238, 242, 255, 0.9); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner__actions button {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(238, 242, 255, 0.3);
  background: transparent;
  color: var(--color-neutral-light);
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .15s;
}
.cookie-banner__actions button:hover { background: rgba(238, 242, 255, 0.1); }
.cookie-banner__actions button[data-cookie-accept] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.cookie-banner__actions button[data-cookie-accept]:hover { background: #ea6a10; }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(238, 242, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cookie-banner__prefs label { display: flex; gap: 0.5rem; align-items: center; font-size: 0.92rem; }
.cookie-banner__prefs button {
  align-self: flex-start;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border: 0;
  background: var(--color-accent);
  color: #fff;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
}

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