:root {
  --color-primary: #64748B;
  --color-secondary: #94A3B8;
  --color-accent: #F97316;
  --color-neutral-dark: #334155;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(51, 65, 85, 0.12);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --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 80px -30px rgba(15, 23, 42, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset & base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
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-neutral-dark); text-decoration: none; transition: color .2s var(--ease-hover); }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); letter-spacing: -0.015em; margin: 0 0 .75em; line-height: 1.2; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 780px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover), color .2s var(--ease-hover);
  text-align: center;
  line-height: 1.2;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 30px -10px rgba(51, 65, 85, 0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(51, 65, 85, 0.55); color: var(--color-neutral-light); }
.btn-accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(249, 115, 22, 0.55);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(249, 115, 22, 0.65); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--color-neutral-dark);
  border-color: var(--color-border);
}
.btn-ghost:hover { background: rgba(51, 65, 85, 0.06); color: var(--color-neutral-dark); }
.btn-link { background: none; color: var(--color-neutral-dark); padding: .5rem .75rem; }
.btn-link:hover { color: var(--color-accent); }
.btn-sm { padding: .55rem 1rem; font-size: .88rem; }

/* === Header (glass nav) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(51, 65, 85, 0.08);
  transition: background .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.site-header.scrolled { background: rgba(248, 250, 252, 0.92); box-shadow: 0 10px 30px -20px rgba(15, 23, 42, 0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding-block: .9rem; gap: 1rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 64px; }
.primary-nav { display: none; align-items: center; gap: 1.5rem; }
.primary-nav a { font-weight: 500; font-size: .95rem; position: relative; padding: .35rem 0; }
.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 .25s var(--ease-hover);
}
.primary-nav a:hover::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.primary-nav a.is-current { color: var(--color-neutral-dark); }
.primary-nav .nav-cta {
  padding: .55rem 1.1rem; border-radius: 999px;
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-accent); color: #fff; }

.nav-toggle {
  background: none; border: none; cursor: pointer;
  width: 44px; height: 44px; padding: 0;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; transition: transform .25s var(--ease-hover), 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; align-items: stretch; gap: 0;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}
.primary-nav.is-open a { padding: .85rem 0; border-bottom: 1px solid var(--color-border); }
.primary-nav.is-open a:last-child { border-bottom: none; }
.primary-nav.is-open .nav-cta { margin-top: .75rem; text-align: center; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; background: none; box-shadow: none; border: none; }
  .primary-nav a { padding: .35rem 0; border-bottom: none; }
  .logo img { height: 96px; }
  .logo--footer img { height: 72px; }
}

/* === Hero card === */
.hero {
  position: relative;
  padding-block: 3rem 4rem;
  background:
    radial-gradient(circle at 15% 10%, rgba(249, 115, 22, 0.12), transparent 55%),
    radial-gradient(circle at 85% 90%, rgba(100, 116, 139, 0.18), transparent 60%),
    var(--color-neutral-light);
  overflow: hidden;
}
.hero-card__panel {
  max-width: 880px; margin-inline: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  text-align: left;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.12em; font-size: .78rem;
  color: var(--color-primary); font-weight: 600; margin: 0 0 1rem;
}
.hero-card__panel h1 { margin-bottom: 1rem; }
.lead { font-size: 1.1rem; color: var(--color-primary); margin-bottom: 1.5rem; max-width: 56ch; }
.hero-card__ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-card__image { margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-card__image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
@media (min-width: 768px) {
  .hero { padding-block: 5rem 6rem; }
  .hero-card__panel { padding: 3.5rem; }
  .lead { font-size: 1.2rem; }
}

/* === Sections === */
.section { padding-block: 3.5rem; }
@media (min-width: 768px) { .section { padding-block: 5rem; } }
.section-head { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--color-primary); font-size: 1.05rem; }
.intro { text-align: left; }
.intro h2 { margin-bottom: 1rem; }
.intro p { font-size: 1.05rem; color: var(--color-neutral-dark); }

/* === Grid === */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .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-hover), box-shadow .25s var(--ease-hover), border-color .25s var(--ease-hover);
  display: flex; flex-direction: column; gap: .5rem;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(249, 115, 22, 0.35); }
.card h3 { margin: 0; }
.card p { color: var(--color-primary); font-size: .98rem; margin: 0; }
.card-link { text-decoration: none; color: inherit; }
.card-link:hover { color: inherit; }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(100, 116, 139, 0.12));
  color: var(--color-accent);
  margin-bottom: .5rem;
}

/* === Testimonial === */
.testimonial { background: linear-gradient(180deg, transparent, rgba(100, 116, 139, 0.06)); }
.testimonial blockquote {
  margin: 0; padding: 0; text-align: center;
  position: relative;
}
.testimonial blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.5;
  color: var(--color-neutral-dark);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.testimonial cite { font-style: normal; color: var(--color-primary); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary));
  color: var(--color-neutral-light);
  padding-block: 3.5rem;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.28), transparent 55%);
  pointer-events: none;
}
.cta-band__inner { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; }
.cta-band h2 { color: #fff; margin-bottom: .5rem; }
.cta-band p { color: rgba(248, 250, 252, 0.85); margin: 0; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; }
  .cta-band__inner > div { max-width: 60%; }
}

/* === Stats === */
.stats-grid .stat {
  background: #fff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  text-align: left;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: var(--color-accent);
  font-weight: 700;
  margin: 0 0 .25rem;
  line-height: 1;
}
.stat-label { font-weight: 600; margin: 0 0 .75rem; font-size: 1.05rem; }
.stat-body { color: var(--color-primary); font-size: .95rem; margin: 0; }

/* === Contact band === */
.contact-band .contact-inline {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1.75rem; font-style: normal; box-shadow: var(--shadow-sm);
  line-height: 1.9;
}

/* === Forms === */
.form-section .contact-form {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-lg);
  padding: 2rem 1.5rem; box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 1rem;
}
@media (min-width: 768px) { .form-section .contact-form { padding: 2.5rem; } }
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 500; font-size: .93rem; color: var(--color-neutral-dark); }
.form-row input, .form-row textarea {
  font-family: inherit; font-size: 1rem;
  padding: .8rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  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 4px rgba(249, 115, 22, 0.14);
}
.form-row textarea { resize: vertical; min-height: 140px; }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; color: var(--color-primary); }
.form-consent input { margin-top: .25rem; flex: none; }
.form-consent a { color: var(--color-neutral-dark); text-decoration: underline; }
.form-consent a:hover { color: var(--color-accent); }
.contact-form .btn { align-self: flex-start; }

/* === FAQ === */
.faq details {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-md);
  padding: 1rem 1.25rem; margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease-hover), border-color .2s var(--ease-hover);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(249, 115, 22, 0.35); }
.faq summary {
  font-family: var(--font-heading); font-weight: 600; font-size: 1.05rem;
  cursor: pointer; list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  color: var(--color-accent); font-size: 1.4rem; font-weight: 500;
  transition: transform .25s var(--ease-hover);
}
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { margin: .75rem 0 0; color: var(--color-primary); }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(248, 250, 252, 0.85); padding: 3.5rem 0 2rem; margin-top: 2rem; }
.footer-grid { display: grid; gap: 2.25rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1.2fr 1fr 1.2fr; gap: 3rem; } }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer .muted { color: rgba(248, 250, 252, 0.65); font-size: .95rem; }
.site-footer nav { display: flex; flex-direction: column; gap: .5rem; }
.site-footer nav a { color: rgba(248, 250, 252, 0.78); font-size: .95rem; }
.site-footer nav a:hover { color: var(--color-accent); }
.site-footer address { font-style: normal; line-height: 1.7; color: rgba(248, 250, 252, 0.78); font-size: .95rem; }
.site-footer address a { color: rgba(248, 250, 252, 0.85); }
.site-footer address a:hover { color: var(--color-accent); }
.legal-nav { flex-direction: row; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; }
.legal-nav a { font-size: .88rem; }
.copyright { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(248, 250, 252, 0.12); font-size: .85rem; color: rgba(248, 250, 252, 0.55); }

/* === 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;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .93rem; line-height: 1.55; color: rgba(248, 250, 252, 0.9); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner .btn-ghost { color: var(--color-neutral-light); border-color: rgba(248, 250, 252, 0.3); }
.cookie-banner .btn-ghost:hover { background: rgba(248, 250, 252, 0.1); color: var(--color-neutral-light); }
.cookie-banner .btn-link { color: rgba(248, 250, 252, 0.85); }
.cookie-banner .btn-link:hover { color: var(--color-accent); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .55rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: .9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .5rem; }

/* === Reveal on scroll === */
.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; }
}
