/* === Tokens === */
:root {
  --color-primary: #1E293B;
  --color-secondary: #334155;
  --color-accent: #DC2626;
  --color-neutral-dark: #0F172A;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(15, 23, 42, 0.10);
  --color-muted: #64748B;
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 20px;
  --radius-md: 14px;
  --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 -30px rgba(15, 23, 42, 0.35);
}

/* === Base === */
*, *::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-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  font-weight: 600;
}
h1 { font-size: clamp(2.25rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 780px; margin: 0 auto; }

/* === Header / 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 transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(248, 250, 252, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(15, 23, 42, 0.15);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border);
  padding: .5rem; border-radius: 10px; color: var(--color-primary);
  cursor: pointer; display: inline-flex;
}
.primary-nav { display: none; flex-direction: column; gap: .25rem; }
.primary-nav a { padding: .6rem .25rem; font-weight: 500; color: var(--color-secondary); position: relative; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: .35rem; height: 2px;
  background: var(--color-accent); transition: right .25s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { right: 0; }
.primary-nav a[aria-current="page"] { color: var(--color-neutral-dark); }
.primary-nav.is-open { display: flex; padding: 1rem 0 1.25rem; }
.nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light) !important;
  border-radius: 999px; padding: .55rem 1.1rem !important; text-align: center;
}
.nav-cta::after { display: none; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; flex-direction: row; align-items: center; gap: 1.5rem; }
  .primary-nav a { padding: .25rem 0; }
}
@media (min-width: 768px) {
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-block; font-family: var(--font-heading); font-weight: 600;
  padding: .95rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  font-size: 1rem; text-align: center;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light);
  box-shadow: 0 12px 30px -12px rgba(15, 23, 42, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--color-neutral-light); box-shadow: 0 18px 40px -14px rgba(220, 38, 38, 0.5); background: linear-gradient(135deg, var(--color-primary), var(--color-accent)); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-border); }
.btn--ghost:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.btn:focus-visible { outline: 3px solid rgba(220, 38, 38, 0.35); outline-offset: 3px; }

/* === Hero === */
.hero { position: relative; padding: 3.5rem 0 2rem; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70%; z-index: 0;
  background: radial-gradient(ellipse at 50% 20%, rgba(220, 38, 38, 0.10), transparent 60%),
              radial-gradient(ellipse at 20% 80%, rgba(30, 41, 59, 0.10), transparent 55%);
  pointer-events: none;
}
.hero__inner { position: relative; text-align: center; z-index: 1; }
.eyebrow {
  display: inline-block; font-family: var(--font-heading); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; font-size: .78rem;
  color: var(--color-accent); margin-bottom: 1rem;
}
.hero h1 { max-width: 22ch; margin-inline: auto; font-weight: 700; }
.hero__sub { max-width: 52ch; margin: 1.25rem auto 2rem; color: var(--color-secondary); font-size: 1.15rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; margin-bottom: 3rem; }
.hero__figure {
  margin: 0; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.hero__figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 768px) { .hero { padding: 5.5rem 0 3rem; } }

/* === Sections === */
.section { padding: 4rem 0; }
.section--tinted {
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.04), rgba(30, 41, 59, 0.00));
}
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-secondary); }
.narrow h2 { text-align: center; }
.lede { font-size: 1.125rem; color: var(--color-secondary); text-align: center; }

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

/* === Cards === */
.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), border-color .25s var(--ease);
  display: block; color: inherit;
}
.card-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(220, 38, 38, 0.35); color: inherit; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--color-secondary); margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.08), rgba(220, 38, 38, 0.10));
  color: var(--color-primary); margin-bottom: 1rem;
}

/* === Stats === */
.stats .stat { text-align: center; padding: 1.5rem; }
.stat__num {
  font-family: var(--font-heading); font-weight: 700;
  font-size: clamp(1.75rem, 3vw, 2.25rem); color: var(--color-accent);
  margin: 0 0 .5rem;
}
.stat p { color: var(--color-secondary); }

/* === Testimonial === */
.section--quote { padding: 3rem 0; }
.testimonial {
  margin: 0; padding: 2rem 1.5rem; text-align: center;
  border-left: 3px solid var(--color-accent);
  background: #fff; border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-family: var(--font-heading); font-weight: 500;
  font-size: 1.2rem; line-height: 1.55; color: var(--color-primary);
}
.testimonial cite { font-style: normal; font-size: .95rem; color: var(--color-muted); }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-neutral-dark));
  color: var(--color-neutral-light); padding: 3.5rem 0;
}
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .5rem; }
.cta-band p { color: rgba(248, 250, 252, 0.75); margin: 0; }
@media (min-width: 780px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 2.5rem; } }

/* === Split === */
.split { display: grid; gap: 2.5rem; align-items: center; }
.split__figure { margin: 0; border-radius: var(--radius-lg); 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: 1fr 1fr; gap: 4rem; } }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; margin-bottom: .75rem; background: #fff;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-family: var(--font-heading); font-weight: 600;
  list-style: none; color: var(--color-neutral-dark);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--color-accent); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin-top: .75rem; color: var(--color-secondary); }

/* === Contact === */
.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.contact-card {
  margin-top: 1.5rem; padding: 1.5rem; background: #fff;
  border: 1px solid var(--color-border); border-radius: var(--radius-md);
}
.contact-card address { font-style: normal; margin-bottom: 1rem; color: var(--color-secondary); }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: .35rem 0; border-bottom: 1px solid var(--color-border); font-size: .95rem; }
.hours li:last-child { border-bottom: none; }
.contact-form {
  background: #fff; padding: 2rem; border-radius: var(--radius-md);
  border: 1px solid var(--color-border); box-shadow: var(--shadow-sm);
}
.contact-form label { display: block; margin-bottom: 1rem; font-weight: 500; font-size: .95rem; }
.contact-form label span { display: block; margin-bottom: .4rem; color: var(--color-secondary); }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .75rem .9rem; border: 1px solid var(--color-border);
  border-radius: 10px; font-family: inherit; font-size: 1rem;
  background: var(--color-neutral-light); color: var(--color-neutral-dark);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.12);
}
.contact-form button { width: 100%; margin-top: .5rem; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.75);
  padding: 3rem 0 1.5rem; margin-top: 2rem;
}
.site-footer h4 { color: var(--color-neutral-light); margin-bottom: 1rem; font-size: 1rem; }
.site-footer a { color: rgba(248, 250, 252, 0.75); display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-neutral-light); }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 780px) { .footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.logo--footer img { height: 64px; margin-bottom: .5rem; filter: brightness(0) invert(1); }
.site-footer address { font-style: normal; margin-bottom: 1rem; }
.legal-links a { display: inline; padding: 0; }
.footer__base { border-top: 1px solid rgba(248, 250, 252, 0.12); margin-top: 2rem; padding-top: 1.5rem; font-size: .85rem; text-align: center; }
.footer__base 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; }
  html { scroll-behavior: auto; }
}

/* === 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: 0 20px 60px -20px rgba(0,0,0,0.6);
  max-width: 640px; margin: 0 auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .95rem; line-height: 1.5; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font-family: var(--font-heading); font-weight: 600; font-size: .9rem;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(248, 250, 252, 0.25);
  background: transparent; color: var(--color-neutral-light); cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.cookie-banner button:hover { background: rgba(248, 250, 252, 0.08); }
.cookie-banner [data-cookie-accept] { background: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #b91c1c; border-color: #b91c1c; }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .5rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { margin-top: .5rem; align-self: flex-start; }
