/* === Tokens === */
:root {
  --color-primary: #18181B;
  --color-secondary: #3F3F46;
  --color-accent: #2563EB;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-border: rgba(9, 9, 11, 0.10);
  --color-muted: #52525B;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-md: 0 10px 30px -10px rgba(0,0,0,0.15);
  --shadow-lg: 0 30px 60px -30px rgba(0,0,0,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 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-primary);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* === Layout helpers === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section-head { text-align: center; margin-bottom: 2.5rem; max-width: 62ch; margin-inline: auto; }
.section-head p { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--color-accent); margin: 0 0 1rem; }

/* === Header / Nav === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.scrolled { background: rgba(250, 250, 250, 0.92); box-shadow: 0 4px 20px -10px rgba(0,0,0,0.12); border-bottom-color: var(--color-border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; max-width: 1180px; margin-inline: auto; padding: 0.75rem 1.25rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.nav-toggle { display: inline-flex; border: 1px solid var(--color-border); background: var(--color-surface); border-radius: var(--radius-sm); padding: .5rem; cursor: pointer; color: var(--color-primary); }
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav a { color: var(--color-primary); font-weight: 500; padding: .6rem .9rem; border-radius: var(--radius-sm); position: relative; }
.primary-nav a.is-active { color: var(--color-accent); }
.site-header[data-open="true"] .primary-nav {
  display: flex; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-surface); padding: 1rem 1.25rem; border-top: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: .25rem; position: static; padding: 0; background: transparent; box-shadow: none; }
  .primary-nav a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Hero card === */
.hero { position: relative; padding: 3rem 1.25rem 4rem; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 15% 10%, rgba(37, 99, 235, 0.10), transparent 60%),
    radial-gradient(60% 50% at 90% 90%, rgba(37, 99, 235, 0.08), transparent 60%),
    linear-gradient(180deg, #F4F4F5 0%, #FAFAFA 100%);
  z-index: -1;
}
.hero-card__inner {
  max-width: 880px; margin-inline: auto;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
.hero-card__inner h1 { max-width: 22ch; }
.hero-card__inner .sub { color: var(--color-secondary); font-size: 1.1rem; max-width: 55ch; }
.hero-card__figure { margin: 2rem 0 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: 0 20px 60px -25px rgba(0,0,0,0.35); }
.hero-card__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

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

/* === Buttons === */
.cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  font-family: var(--font-body); font-size: 0.98rem;
  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;
}
.btn-primary { background: linear-gradient(135deg, var(--color-accent), #1D4ED8); color: #fff; box-shadow: 0 8px 20px -8px rgba(37,99,235,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -10px rgba(37,99,235,0.6); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn-ghost:hover { transform: translateY(-2px); background: var(--color-surface); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--color-neutral-light); color: var(--color-primary); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 3px; }

/* === Cards / Grid === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .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: var(--color-surface); padding: 1.75rem;
  border-radius: var(--radius-md); border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .25s 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: rgba(37, 99, 235, 0.10); color: var(--color-accent);
  margin-bottom: 1rem;
}
.card p { color: var(--color-secondary); margin-bottom: 0; }

/* === Intro / split === */
.intro h2 { font-size: clamp(1.7rem, 3vw, 2.25rem); }
.intro p { color: var(--color-secondary); }
.split { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
.split__figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.split__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 4rem; } }

/* === Testimonial === */
.testimonial-section .quote {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  margin: 0;
  position: relative;
}
.quote p { font-size: 1.2rem; font-family: var(--font-heading); line-height: 1.5; color: var(--color-primary); }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--color-muted); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  color: #fff;
  padding: 4rem 1.25rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-neutral-dark) 0%, #1F1F23 60%, var(--color-accent) 200%);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 60% at 80% 30%, rgba(37,99,235,0.35), transparent 65%);
  z-index: 0;
}
.cta-band .container { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 55ch; margin-inline: auto; }

/* === Stats === */
.stat { text-align: center; padding: 1rem; }
.stat__num { font-family: var(--font-heading); font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--color-accent); margin-bottom: .5rem; letter-spacing: -0.02em; }
.stat__body { color: var(--color-secondary); margin: 0; }

/* === Pricing === */
.pricing-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .pricing-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pricing-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.pricing-card {
  position: relative;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform .2s 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: 0 20px 40px -20px rgba(37,99,235,0.35); }
.pricing-card__badge {
  position: absolute; top: -14px; right: 1.5rem;
  background: var(--color-accent); color: #fff;
  padding: .35rem .75rem; border-radius: 999px;
  font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}
.pricing-card__plan { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--color-muted); margin: 0 0 .5rem; }
.pricing-card__price { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; letter-spacing: -0.02em; color: var(--color-primary); margin: 0 0 .75rem; }
.pricing-card__lede { color: var(--color-secondary); margin: 0 0 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.pricing-card__features li { display: flex; gap: .5rem; color: var(--color-secondary); }
.pricing-card__cta { margin-top: auto; }

/* === FAQ === */
.faq-section details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq-section details[open] { box-shadow: var(--shadow-sm); }
.faq-section summary {
  cursor: pointer; font-weight: 600; color: var(--color-primary);
  font-family: var(--font-heading); list-style: none;
  padding: .25rem 0; display: flex; justify-content: space-between; align-items: center;
}
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; font-size: 1.5rem; color: var(--color-accent); font-weight: 300; margin-left: 1rem; transition: transform .2s var(--ease); }
.faq-section details[open] summary::after { content: "−"; }
.faq-section details p { margin: .75rem 0 0; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; } }
.contact-details address { font-style: normal; margin: 1rem 0; }
.hours table { width: 100%; border-collapse: collapse; margin-top: .5rem; }
.hours th, .hours td { text-align: left; padding: .5rem .25rem; border-bottom: 1px solid var(--color-border); font-weight: 500; }
.hours th { color: var(--color-muted); font-weight: 500; }
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form h2 { margin-top: 0; }
.field { margin-bottom: 1rem; display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 500; font-size: .95rem; color: var(--color-primary); }
.field input, .field textarea {
  font-family: inherit; font-size: 1rem;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-neutral-light);
  color: var(--color-primary);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .9rem; color: var(--color-secondary); margin: 1rem 0 1.25rem; }
.form-consent input { margin-top: .25rem; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(255,255,255,0.75); padding: 3.5rem 0 1.5rem; margin-top: 4rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.footer-tagline { color: rgba(255,255,255,0.65); }
.site-footer h3 { color: #fff; font-size: .9rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,0.8); }
.site-footer a:hover { color: #fff; }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-contact address { font-style: normal; line-height: 1.7; margin-bottom: 1rem; }
.legal-links { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .9rem; margin-top: 1rem; }
.copyright { text-align: center; margin: 2.5rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.55); font-size: .85rem; }
.logo--footer img { height: 60px; }

/* === 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: 640px; margin-inline: auto;
  border: 1px solid rgba(255,255,255,0.08);
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; color: rgba(250,250,250,0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  padding: .55rem 1rem; border-radius: 999px; font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff;
  cursor: pointer; font-family: var(--font-body); font-size: .9rem;
  transition: background .2s var(--ease), transform .2s var(--ease);
}
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.1); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }

/* === Scroll 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; }
  html { scroll-behavior: auto; }
}
