:root {
  --color-primary: #2563EB;
  --color-secondary: #3B82F6;
  --color-accent: #F97316;
  --color-neutral-dark: #1E293B;
  --color-neutral-light: #F8FAFC;
  --color-border: rgba(30, 41, 59, 0.12);
  --color-muted: rgba(30, 41, 59, 0.65);
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --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);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* === 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;
}
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; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
h4 { font-size: 1rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--color-primary); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; display: block; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; border-radius: 4px; }

/* === Header === */
.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: var(--shadow-sm);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 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; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }

/* === Nav === */
.primary-nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex; gap: 1.75rem;
}
.primary-nav__list a {
  color: var(--color-neutral-dark);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}
.primary-nav__list a::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--color-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.primary-nav__list a:hover { color: var(--color-primary); }
.primary-nav__list a:hover::after { transform: scaleX(1); }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-border);
  width: 44px; height: 44px;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  flex-direction: column; justify-content: center; align-items: center; gap: 4px;
}
.nav-toggle__bar { display: block; width: 20px; height: 2px; background: var(--color-neutral-dark); border-radius: 2px; }

@media (max-width: 767px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav__list {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--color-neutral-light);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .primary-nav__list.is-open { display: flex; }
  .primary-nav { position: static; }
  .primary-nav__list a { padding: 0.6rem 0; font-size: 1rem; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.btn--sm { padding: 0.55rem 1rem; font-size: 0.85rem; }
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(37, 99, 235, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(37, 99, 235, 0.65); color: #fff; }
.btn--accent {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(249, 115, 22, 0.5);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px 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 { transform: translateY(-2px); background: rgba(30, 41, 59, 0.04); color: var(--color-neutral-dark); }

/* === Layout helpers === */
.section { max-width: 1200px; margin: 0 auto; padding: 5rem 1.25rem; }
.section__head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section__sub { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary);
  margin: 0 0 1.25rem;
}

/* === Hero (hero-card archetype) === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 5rem;
  background:
    radial-gradient(1200px 500px at 15% 10%, rgba(59, 130, 246, 0.14), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(249, 115, 22, 0.10), transparent 60%),
    linear-gradient(180deg, #EEF2FF 0%, var(--color-neutral-light) 100%);
  overflow: hidden;
}
.hero__glow {
  position: absolute; inset: auto -10% -30% -10%;
  height: 60%;
  background: radial-gradient(closest-side, rgba(37, 99, 235, 0.14), transparent);
  pointer-events: none;
}
.hero__card {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 2.75rem 1.75rem;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
}
@media (min-width: 768px) {
  .hero { padding: 4.5rem 1.25rem 6rem; }
  .hero__card { padding: 4rem 3.5rem; }
}
.hero h1 { margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.15rem;
  color: var(--color-muted);
  max-width: 58ch;
  margin: 0 auto 2rem;
}
.hero__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 2.75rem; }
.hero__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
}
.hero__image img { width: 100%; height: 100%; object-fit: cover; }

/* === Intro === */
.intro { max-width: 780px; text-align: center; }
.intro p { color: var(--color-muted); font-size: 1.08rem; line-height: 1.75; }

/* === Grid & Cards === */
.grid { display: grid; gap: 1.5rem; }
.grid--4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .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), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(37, 99, 235, 0.25); }
.card__icon {
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.06));
  color: var(--color-primary);
  border-radius: 12px;
  margin-bottom: 1.1rem;
}
.card p { color: var(--color-muted); font-size: 0.97rem; margin: 0; }

/* === Testimonial === */
.testimonial { max-width: 820px; text-align: center; }
.testimonial blockquote {
  margin: 0;
  padding: 2.5rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.testimonial p {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--color-neutral-dark);
  margin: 0 0 1.5rem;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.9rem;
  color: var(--color-muted);
  letter-spacing: 0.02em;
}
.quote-mark { color: var(--color-accent); margin-bottom: 0.5rem; }

/* === Process === */
.process__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) { .process__grid { grid-template-columns: 1.1fr 0.9fr; gap: 4rem; } }
.process__text p { color: var(--color-muted); font-size: 1.02rem; line-height: 1.75; }
.process__image { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4 / 5; }
.process__image img { width: 100%; height: 100%; object-fit: cover; }

/* === CTA band === */
.cta-band {
  margin: 0 1.25rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(255,255,255,0.15), transparent),
    linear-gradient(135deg, var(--color-primary), #1D4ED8);
  color: #fff;
  padding: 4rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 1200px;
}
@media (min-width: 1240px) { .cta-band { margin: 0 auto; } }
.cta-band__inner { max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.75rem; font-size: 1.05rem; }

/* === FAQ === */
.faq { max-width: 820px; }
.faq h2 { text-align: center; margin-bottom: 2.5rem; }
.faq__list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq details {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); border-color: rgba(37, 99, 235, 0.25); }
.faq summary {
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 0.4rem 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  color: var(--color-accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0.75rem 0 0.25rem; color: var(--color-muted); font-size: 0.97rem; line-height: 1.7; }

/* === Contact === */
.contact__grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; } }
.contact__lede { font-size: 1.05rem; color: var(--color-muted); }
.contact__list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.5rem; }
.contact__list li { display: flex; flex-direction: column; gap: 0.15rem; }
.contact__list strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: 0.94rem; }
.hours caption { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--color-muted); font-weight: 600; margin-bottom: 0.5rem; }
.hours th, .hours td { padding: 0.55rem 0; border-bottom: 1px solid var(--color-border); text-align: left; }
.hours th { font-weight: 500; color: var(--color-neutral-dark); }
.hours td { color: var(--color-muted); text-align: right; }

.contact__form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1rem;
}
.contact__form h3 { margin-top: 0; }
.contact__form label { display: flex; flex-direction: column; gap: 0.35rem; font-size: 0.88rem; font-weight: 500; }
.contact__form input, .contact__form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.75rem 0.9rem;
  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 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(37, 99, 235, 0.18);
}
.contact__form textarea { resize: vertical; min-height: 120px; }
.form-consent { flex-direction: row !important; align-items: flex-start; gap: 0.6rem; font-weight: 400; font-size: 0.85rem; color: var(--color-muted); line-height: 1.5; }
.form-consent input { margin-top: 0.2rem; }
.form-success {
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.25);
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  margin: 0;
}

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(248, 250, 252, 0.75);
  margin-top: 4rem;
}
.site-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.25rem 2rem;
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .site-footer__inner { grid-template-columns: 1.4fr 1fr 1.2fr; } }
.site-footer h4 { color: #fff; margin-bottom: 1rem; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; }
.site-footer p, .site-footer address { color: rgba(248, 250, 252, 0.72); font-style: normal; line-height: 1.7; font-size: 0.94rem; }
.site-footer a { color: rgba(248, 250, 252, 0.85); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; font-size: 0.94rem; }
.legal-links { flex-direction: row !important; flex-wrap: wrap; gap: 1rem !important; margin-top: 1rem !important; font-size: 0.88rem !important; }
.logo--footer { display: inline-block; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.site-footer__bottom {
  border-top: 1px solid rgba(248, 250, 252, 0.1);
  padding: 1.25rem 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(248, 250, 252, 0.55);
}
.site-footer__bottom p { margin: 0; }

/* === 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-left: 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__prefs { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(248, 250, 252, 0.15); font-size: 0.9rem; }
.cookie-banner__prefs label { display: flex; align-items: center; gap: 0.5rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: 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; }
  html { scroll-behavior: auto; }
}
