:root {
  --color-primary: #475569;
  --color-secondary: #64748B;
  --color-accent: #2563EB;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-card: #FFFFFF;
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-lift: 0 20px 60px -20px rgba(15, 23, 42, 0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-neutral-dark);
  background: var(--color-neutral-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--color-border);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 4px 20px rgba(15,23,42,0.06); }
.site-header__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; }
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 26px;
  padding: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }
.site-nav { display: none; flex-direction: column; gap: 0.5rem; }
.site-nav.is-open { display: flex; position: absolute; left: 0; right: 0; top: 100%; padding: 1rem 1.25rem 1.5rem; background: var(--color-neutral-light); border-bottom: 1px solid var(--color-border); }
.site-nav a { color: var(--color-neutral-dark); font-weight: 500; padding: 0.5rem 0; position: relative; }
.site-nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover { text-decoration: none; }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav .nav-cta { background: linear-gradient(135deg, var(--color-accent), #1d4ed8); color: #fff; padding: 0.55rem 1.1rem; border-radius: 999px; }
.site-nav .nav-cta::after { display: none; }

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.4); outline-offset: 2px; }
.btn--primary { background: linear-gradient(135deg, var(--color-accent), #1d4ed8); color: #fff; box-shadow: 0 10px 24px -10px rgba(37,99,235,0.55); }
.btn--primary:hover { box-shadow: 0 16px 30px -10px rgba(37,99,235,0.65); }
.btn--ghost { background: transparent; color: var(--color-neutral-dark); border: 1.5px solid var(--color-border); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); }

/* === Hero card === */
.hero { padding: 3rem 1.25rem 2rem; position: relative; }
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 50% 0%, rgba(37,99,235,0.10), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-card__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  border: 1px solid var(--color-border);
  text-align: center;
}
.eyebrow { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-accent); margin: 0 0 1rem; }
.hero__sub { font-size: 1.125rem; color: var(--color-secondary); max-width: 56ch; margin: 0 auto 1.75rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-bottom: 2rem; }
.hero__visual { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.hero__visual img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

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

/* === Sections === */
.section { padding: 3.5rem 1.25rem; max-width: 1200px; margin: 0 auto; }
.section--narrow { max-width: 760px; text-align: left; }
.section__title { text-align: center; margin-bottom: 2.5rem; }

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

/* === Grids & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.1);
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card p { color: var(--color-secondary); margin: 0; }

/* === Stats === */
.stats .stat { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem 1.5rem; text-align: center; box-shadow: var(--shadow-soft); }
.stat__num { font-family: var(--font-heading); font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 700; color: var(--color-accent); margin-bottom: 0.5rem; line-height: 1.1; }
.stat p { color: var(--color-secondary); margin: 0; font-size: 0.95rem; }

/* === Testimonial === */
.testimonial { max-width: 820px; margin: 0 auto; text-align: center; }
.testimonial blockquote { margin: 0; padding: 2rem 1rem; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 500; color: var(--color-neutral-dark); line-height: 1.5; margin-bottom: 1.25rem; }
.testimonial cite { display: block; font-style: normal; color: var(--color-secondary); font-size: 0.95rem; font-weight: 500; }

/* === CTA band === */
.cta-band { margin: 3rem 1.25rem; }
.cta-band__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-accent), #1e3a8a);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lift);
}
.cta-band__inner h2 { color: #fff; }
.cta-band__inner p { color: rgba(248,250,252,0.85); max-width: 56ch; margin: 0 auto 1.5rem; }
.cta-band__inner .btn--primary { background: #fff; color: var(--color-accent); }
.cta-band__inner .btn--primary:hover { background: var(--color-neutral-light); }

@media (min-width: 768px) {
  .cta-band__inner { padding: 4rem 3rem; }
}

/* === Pricing === */
.pricing-grid { align-items: stretch; }
.pricing-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.pricing-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.pricing-card--featured { border: 2px solid var(--color-accent); }
.pricing-card__badge { position: absolute; top: 1rem; right: 1rem; background: var(--color-accent); color: var(--color-neutral-light); font-size: 0.75rem; font-weight: 600; padding: 0.3rem 0.7rem; border-radius: 999px; letter-spacing: 0.04em; }
.pricing-card__plan { font-size: 1.1rem; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.08em; 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-bottom: 0.75rem; line-height: 1.1; }
.pricing-card__lede { color: var(--color-secondary); font-size: 0.95rem; margin-bottom: 1.25rem; }
.pricing-card__features { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; flex-grow: 1; }
.pricing-card__features li { display: flex; gap: 0.5rem; align-items: flex-start; color: var(--color-neutral-dark); font-size: 0.95rem; }
.pricing-card__cta { width: 100%; }

/* === FAQ === */
.faq { max-width: 780px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq details { background: var(--color-card); border: 1px solid var(--color-border); border-radius: 12px; padding: 1rem 1.25rem; box-shadow: var(--shadow-soft); }
.faq summary { font-family: var(--font-heading); font-weight: 600; cursor: pointer; list-style: none; position: relative; padding-right: 2rem; color: var(--color-neutral-dark); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 0; font-size: 1.5rem; color: var(--color-accent); transition: transform .2s ease; line-height: 1; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 1rem 0 0; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-info h3, .contact-hours h3 { margin-top: 1.25rem; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-secondary); }
.contact-info h3:first-of-type, .contact-hours h3:first-of-type { margin-top: 0; }
.contact-info address { font-style: normal; color: var(--color-neutral-dark); }
.contact-hours table { width: 100%; border-collapse: collapse; background: var(--color-card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); }
.contact-hours th, .contact-hours td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--color-border); }
.contact-hours th { font-weight: 500; color: var(--color-neutral-dark); background: rgba(37,99,235,0.04); }
.contact-hours tr:last-child th, .contact-hours tr:last-child td { border-bottom: 0; }

.contact-form { max-width: 680px; margin: 0 auto; display: flex; flex-direction: column; gap: 1rem; background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 2rem 1.5rem; box-shadow: var(--shadow-soft); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 500; font-size: 0.9rem; color: var(--color-neutral-dark); }
.field input, .field textarea { font-family: var(--font-body); font-size: 1rem; padding: 0.75rem 0.9rem; border: 1px solid var(--color-border); border-radius: 10px; background: var(--color-neutral-light); color: var(--color-neutral-dark); transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(37,99,235,0.18); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248,250,252,0.85); padding: 3rem 1.25rem 1.5rem; margin-top: 4rem; }
.site-footer__grid { max-width: 1200px; margin: 0 auto; display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }
.site-footer a { color: rgba(248,250,252,0.85); }
.site-footer a:hover { color: #fff; }
.footer-nav, .legal-nav { display: flex; flex-direction: column; gap: 0.5rem; }
.legal-nav { flex-direction: row; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: 0.9rem; }
.site-footer address { font-style: normal; line-height: 1.7; }
.logo--footer img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.site-footer__copy { text-align: center; margin-top: 2.5rem; font-size: 0.85rem; color: rgba(248,250,252,0.6); border-top: 1px solid rgba(248,250,252,0.1); padding-top: 1.5rem; }

/* === 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); border-radius: var(--radius); padding: 1.25rem 1.5rem; box-shadow: var(--shadow-lift); max-width: 560px; margin-left: auto; }
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions .btn { padding: 0.55rem 1rem; font-size: 0.85rem; }
.cookie-banner__actions .btn--ghost { color: var(--color-neutral-light); border-color: rgba(248,250,252,0.3); }
.cookie-banner__actions .btn--ghost:hover { border-color: var(--color-accent); color: var(--color-neutral-light); }
.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; }

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