:root {
  --color-primary: #1E293B;
  --color-secondary: #334155;
  --color-accent: #DC2626;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius: 16px;
  --shadow-sm: 0 2px 20px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 40px -12px rgba(15, 23, 42, 0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15, 23, 42, 0.28);
}

/* === 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-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-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.02em; line-height: 1.2; margin: 0 0 1rem; font-weight: 700; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section-tinted { background: linear-gradient(180deg, rgba(30, 41, 59, 0.03), rgba(220, 38, 38, 0.04)); }
.section-title { text-align: center; font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 2.5rem; }
.section-lede { text-align: center; max-width: 62ch; margin: 0 auto 2.5rem; color: var(--color-secondary); font-size: 1.05rem; }

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

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: 0.75rem; gap: 1rem; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }

.primary-nav { display: none; }
.primary-nav a {
  position: relative; padding: 0.5rem 0; font-weight: 500; font-size: 0.95rem;
  color: var(--color-secondary);
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--color-accent); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--color-primary); }

.nav-toggle {
  display: flex; flex-direction: column; gap: 5px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--color-primary); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1.5rem 1.25rem; gap: 1rem;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: var(--shadow-md);
}

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

/* === Hero (split) === */
.hero { position: relative; padding-block: 3.5rem; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 15% 20%, rgba(220, 38, 38, 0.08), transparent 55%),
    radial-gradient(circle at 85% 80%, rgba(30, 41, 59, 0.06), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
.hero-copy .eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.8rem;
  color: var(--color-accent); font-weight: 600; margin-bottom: 1rem;
}
.hero-copy h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero-copy .lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 52ch; margin-bottom: 2rem; }
.hero-ctas { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.hero-visual img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover;
  border-radius: 20px; box-shadow: var(--shadow-lg);
}

.hero-thankyou { text-align: center; padding-block: 5rem; }
.hero-thankyou .eyebrow { display: inline-block; }

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

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: 0.98rem;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  box-shadow: 0 8px 20px -6px rgba(30, 41, 59, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(30, 41, 59, 0.55); color: var(--color-neutral-light); }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border-color: rgba(30, 41, 59, 0.2);
}
.btn-ghost:hover { background: rgba(30, 41, 59, 0.05); transform: translateY(-2px); }
.btn-accent {
  background: var(--color-accent); color: #fff;
  box-shadow: 0 8px 20px -6px rgba(220, 38, 38, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(220, 38, 38, 0.65); color: #fff; }
.btn:focus-visible { outline: 3px solid rgba(220, 38, 38, 0.4); outline-offset: 3px; }

/* === Cards grid === */
.card-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
@media (min-width: 640px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .card-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
@media (min-width: 960px) { .card-grid.three { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--color-neutral-light);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  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 { font-size: 1.2rem; margin-bottom: 0.6rem; }
.card p { color: var(--color-secondary); font-size: 0.98rem; margin: 0; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(30, 41, 59, 0.08));
  color: var(--color-accent);
  margin-bottom: 1rem;
}

/* === Testimonial === */
.testimonial {
  margin: 0; padding: 2.5rem 1.5rem;
  text-align: center; position: relative;
}
.testimonial p {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.5;
  color: var(--color-primary); max-width: 60ch; margin: 0 auto 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-secondary); font-size: 0.95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  padding-block: 4rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(220, 38, 38, 0.28), transparent 55%);
  pointer-events: none;
}
.cta-band-inner {
  display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start;
  position: relative;
}
.cta-band h2 { color: var(--color-neutral-light); font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin-bottom: 0.6rem; }
.cta-band p { color: rgba(248, 250, 252, 0.78); margin: 0; max-width: 55ch; }
@media (min-width: 800px) {
  .cta-band-inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq details {
  background: var(--color-neutral-light);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600; font-family: var(--font-heading);
  color: var(--color-primary); font-size: 1.05rem;
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::after { content: '+'; font-size: 1.4rem; color: var(--color-accent); font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: 0.75rem; color: var(--color-secondary); }

/* === Contact form === */
.contact-form { display: flex; flex-direction: column; gap: 1.1rem; margin-top: 1.5rem; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label { font-weight: 500; font-size: 0.95rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font-family: var(--font-body); font-size: 1rem;
  padding: 0.8rem 1rem;
  border: 1.5px solid rgba(15, 23, 42, 0.15);
  border-radius: 10px;
  background: var(--color-neutral-light);
  color: var(--color-neutral-dark);
  transition: border-color .2s, box-shadow .2s;
}
.form-row input:focus, .form-row textarea:focus {
  outline: none; border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}
.form-consent {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.9rem; color: var(--color-secondary);
}
.form-consent input { margin-top: 0.2rem; flex-shrink: 0; }
.contact-form .btn { align-self: flex-start; margin-top: 0.5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.8);
  padding-block: 3.5rem 1.5rem;
  margin-top: 4rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(248, 250, 252, 0.08);
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.3fr; gap: 3rem; } }
.footer-logo img { height: 64px; filter: brightness(1.1); }
.footer-tagline { color: rgba(248, 250, 252, 0.65); margin-top: 0.75rem; font-size: 0.95rem; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; letter-spacing: 0.02em; }
.footer-nav { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a, .footer-contact a { color: rgba(248, 250, 252, 0.75); font-size: 0.95rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-neutral-light); }
.footer-contact p { margin: 0 0 0.5rem; font-size: 0.95rem; }
.legal-links { margin-top: 1rem !important; font-size: 0.88rem; color: rgba(248, 250, 252, 0.55); }
.copyright { padding-top: 1.5rem; font-size: 0.85rem; color: rgba(248, 250, 252, 0.5); }
.copyright p { margin: 0; }

/* === 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: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 620px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: 0.92rem; line-height: 1.55; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.cookie-banner__actions button {
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer;
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
  background: rgba(248, 250, 252, 0.1); color: var(--color-neutral-light);
  transition: background .2s;
}
.cookie-banner__actions button:hover { background: rgba(248, 250, 252, 0.2); }
.cookie-banner__actions button[data-cookie-accept] { background: var(--color-accent); }
.cookie-banner__actions button[data-cookie-accept]:hover { background: #b91c1c; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; }
.cookie-banner__prefs button[data-cookie-save] {
  align-self: flex-start; margin-top: 0.5rem;
  padding: 0.55rem 1.1rem; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--color-neutral-light); color: var(--color-neutral-dark);
  font-family: var(--font-body); font-weight: 600; font-size: 0.88rem;
}
