:root {
  --color-primary: #6366F1;
  --color-secondary: #818CF8;
  --color-accent: #10B981;
  --color-neutral-dark: #312E81;
  --color-neutral-light: #F5F3FF;
  --color-text: #1F2033;
  --color-muted: #6B7280;
  --color-border: rgba(49, 46, 129, 0.12);
  --font-heading: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-sm: 0 2px 20px rgba(49, 46, 129, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(49, 46, 129, 0.2);
  --shadow-lg: 0 24px 60px -20px rgba(49, 46, 129, 0.3);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; 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%; height: auto; 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.15; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 780px; margin-inline: auto; }
.center { text-align: center; }
.section { padding-block: 3.5rem; }
.section-tint { background: linear-gradient(180deg, var(--color-neutral-light), #ffffff); }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-sub { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem; font-weight: 600; color: var(--color-primary); margin: 0 0 0.75rem; }

@media (min-width: 768px) {
  .section { padding-block: 5.5rem; }
}

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.75);
  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.95); 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; }
@media (min-width: 768px) { .logo img { height: 96px; } }

/* === Nav === */
.primary-nav { display: flex; align-items: center; }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: space-between; width: 40px; height: 32px; padding: 6px; background: transparent; border: 1px solid var(--color-border); border-radius: 8px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.nav-menu { list-style: none; margin: 0; padding: 1rem; display: none; position: absolute; top: 100%; right: 1rem; left: 1rem; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); box-shadow: var(--shadow-md); flex-direction: column; gap: 0.25rem; }
.nav-menu.is-open { display: flex; }
.nav-menu a { display: block; padding: 0.6rem 0.75rem; color: var(--color-neutral-dark); font-weight: 500; border-radius: 8px; text-decoration: none; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--color-neutral-light); color: var(--color-primary); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-menu { display: flex; position: static; flex-direction: row; background: transparent; border: none; box-shadow: none; padding: 0; gap: 0.25rem; }
  .nav-menu a { position: relative; padding: 0.5rem 0.9rem; }
  .nav-menu a::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); }
  .nav-menu a:hover::after, .nav-menu a[aria-current="page"]::after { transform: scaleX(1); }
  .nav-menu a:hover { background: transparent; text-decoration: none; }
}

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

/* === Hero split === */
.hero { padding-block: 3rem; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% 40% auto -20%; height: 480px;
  background: radial-gradient(closest-side, rgba(16, 185, 129, 0.15), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .hero-sub { font-size: 1.15rem; color: var(--color-muted); max-width: 52ch; margin-bottom: 1.75rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-visual img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-thank { padding-block: 5rem; text-align: center; }

@media (min-width: 900px) {
  .hero { padding-block: 5rem; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 4rem; }
}

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

/* === Cards grid === */
.cards-grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .cards-grid.grid-3, .cards-grid.grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards-grid.grid-3 { grid-template-columns: repeat(3, 1fr); } .cards-grid.grid-4 { grid-template-columns: repeat(4, 1fr); } }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); 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 h3 { margin-top: 0.75rem; }
.card p { color: var(--color-text); margin-bottom: 0; font-size: 0.98rem; }
.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.14), rgba(129,140,248,0.14)); color: var(--color-primary); }

/* === Testimonial === */
.testimonial { margin: 0; padding: 2rem; text-align: center; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--color-border); box-shadow: var(--shadow-sm); position: relative; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--color-neutral-dark); font-weight: 500; }
.testimonial 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-primary), var(--color-neutral-dark)); color: #fff; padding-block: 4rem; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 60ch; margin-inline: auto; }
.cta-band .contact-line { font-size: 0.95rem; margin-bottom: 1.5rem; }
.cta-band a { color: #fff; }

/* === Pricing === */
.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; padding: 2.25rem; border-radius: 16px; border: 1px solid var(--color-border); 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; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.75rem; border-radius: 999px; letter-spacing: 0.04em; text-transform: uppercase; }
.pricing-card__plan { margin: 0 0 0.25rem; font-size: 1.1rem; color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.08em; }
.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 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; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; font-size: 0.96rem; color: var(--color-text); }
.pricing-card__cta { display: block; text-align: center; }
.pricing-card__cta:hover { text-decoration: none; }

/* === FAQ === */
.faq { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 2rem; }
.faq details { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: 1rem 1.25rem; transition: box-shadow .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); color: var(--color-neutral-dark); list-style: none; padding-right: 1.5rem; position: relative; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-primary); }
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 0.75rem 0 0; color: var(--color-text); }

/* === Contact === */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 3.5rem; } }
.contact-details p { margin: 0.35rem 0; }
.hours { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours th, .hours td { text-align: left; padding: 0.5rem 0.75rem; border-bottom: 1px solid var(--color-border); font-weight: 400; font-size: 0.95rem; }
.hours th { color: var(--color-neutral-dark); font-weight: 600; }
.contact-form { background: #fff; padding: 2rem; border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field 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; background: #fff; transition: border-color .2s, box-shadow .2s; }
.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: 0.5rem; font-size: 0.88rem; color: var(--color-muted); }
.form-consent input { margin-top: 3px; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255, 255, 255, 0.85); padding-top: 3.5rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.75rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.4rem; }
.site-footer a { color: rgba(255, 255, 255, 0.85); }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin-bottom: 1rem; line-height: 1.7; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; margin-top: 0.5rem !important; font-size: 0.9rem; }
.footer-tag { color: rgba(255, 255, 255, 0.7); margin-top: 0.75rem; }
.logo-footer img { filter: brightness(0) invert(1); }
.copyright { padding-block: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); text-align: center; }

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

/* === 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-md); box-shadow: var(--shadow-lg);
  max-width: 560px; margin-left: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 0.75rem; font-size: 0.92rem; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner button { padding: 0.55rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: transparent; color: var(--color-neutral-light); font-family: var(--font-body); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: background .2s; }
.cookie-banner button:hover { background: rgba(255, 255, 255, 0.1); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); color: #fff; }
.cookie-banner [data-cookie-accept]:hover { background: #0ea371; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 0.5rem; }
