/* === Tokens === */
:root {
  --color-primary: #18181B;
  --color-secondary: #27272A;
  --color-accent: #F8FAFC;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-line: rgba(9, 9, 11, 0.10);
  --color-muted: rgba(9, 9, 11, 0.62);
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 2px 20px rgba(0,0,0,0.06);
  --shadow-lift: 0 20px 50px -20px rgba(0,0,0,0.25);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hover: cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1200px;
}

/* === 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%; display: block; height: auto; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-secondary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-neutral-dark); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.container.narrow { max-width: 760px; }
.section { padding-block: 4rem; }
.section--muted { background: #F4F4F5; }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.78rem; font-weight: 600; color: var(--color-muted); margin: 0 0 1rem; }

/* === Header (glass) === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 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(--hover), box-shadow .3s var(--hover), border-color .3s var(--hover);
}
.site-header.scrolled { background: rgba(250,250,250,0.92); box-shadow: 0 6px 24px -18px rgba(0,0,0,0.25); border-bottom-color: var(--color-line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 0.75rem; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo--footer img { height: 64px; }
.site-nav { display: none; align-items: center; gap: 1.75rem; }
.site-nav a { position: relative; font-weight: 500; font-size: 0.95rem; color: var(--color-secondary); padding: 0.25rem 0; }
.site-nav a::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 2px; width: 100%; background: var(--color-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--hover); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }
.site-nav .nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: .6rem 1.1rem; border-radius: 999px;
}
.site-nav .nav-cta::after { display: none; }
.site-nav .nav-cta:hover { background: var(--color-secondary); color: var(--color-neutral-light); }

.nav-toggle { display: inline-flex; flex-direction: column; gap: 5px; background: transparent; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-primary); transition: transform .25s var(--hover), opacity .25s; }
.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); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav { display: flex; }
}
@media (max-width: 899px) {
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--color-neutral-light);
    flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.5rem; gap: 0.75rem;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,0.2);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: .6rem 0; border-bottom: 1px solid var(--color-line); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { text-align: center; border-bottom: 0; margin-top: .5rem; }
}

/* === 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: 0.98rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--hover), box-shadow .2s var(--hover), background .2s var(--hover), color .2s var(--hover);
}
.btn--primary { background: var(--color-primary); color: var(--color-neutral-light); }
.btn--primary:hover { background: var(--color-secondary); color: var(--color-neutral-light); transform: translateY(-2px); box-shadow: 0 12px 30px -12px rgba(0,0,0,0.35); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: var(--color-line); }
.btn--ghost:hover { border-color: var(--color-primary); transform: translateY(-2px); }
.btn:focus-visible { outline: 3px solid rgba(24,24,27,0.35); outline-offset: 3px; }

/* === Hero card === */
.hero { position: relative; padding-block: 3.5rem 4rem; overflow: hidden; background: linear-gradient(180deg, #F4F4F5 0%, var(--color-neutral-light) 100%); }
.hero__glow { position: absolute; inset: -20% -10% auto -10%; height: 60%; background: radial-gradient(60% 60% at 50% 40%, rgba(24,24,27,0.10), transparent 70%); pointer-events: none; z-index: 0; }
.hero-card__inner {
  position: relative; z-index: 1;
  max-width: 880px; margin-inline: auto;
  background: var(--color-neutral-light);
  border: 1px solid var(--color-line);
  border-radius: 24px;
  padding: 2.25rem 1.5rem;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25);
  text-align: center;
}
@media (min-width: 768px) {
  .hero-card__inner { padding: 3.5rem 3rem; }
  .hero { padding-block: 5rem 5.5rem; }
}
.hero__sub { font-size: 1.15rem; color: var(--color-muted); max-width: 56ch; margin-inline: auto; margin-bottom: 1.75rem; }
.hero__actions { display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-card__figure { margin: 0; }
.hero-card__figure img { width: 100%; border-radius: 16px; aspect-ratio: 16/9; object-fit: cover; box-shadow: 0 20px 60px -25px rgba(0,0,0,0.35); }

/* === Grids === */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: 1fr; }
.grid--2 { grid-template-columns: 1fr; }
.grid--split { grid-template-columns: 1fr; align-items: center; gap: 2.5rem; }
.grid--contact { grid-template-columns: 1fr; gap: 2.5rem; }
.grid--footer { grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--split { grid-template-columns: 1.05fr 0.95fr; }
  .grid--contact { grid-template-columns: 1fr 1.1fr; }
  .grid--footer { grid-template-columns: 1.2fr 1fr 1.3fr; }
}

/* === Cards === */
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--hover), box-shadow .25s var(--hover);
}
.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: var(--color-primary); color: var(--color-neutral-light);
  margin-bottom: 1rem;
}
.card p { color: var(--color-muted); margin-bottom: 0; }

.stat-card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: transform .25s var(--hover), box-shadow .25s var(--hover);
}
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.stat-card__num { display: block; font-family: var(--font-heading); font-size: clamp(2.4rem, 5vw, 3.25rem); font-weight: 700; color: var(--color-primary); line-height: 1; margin-bottom: .75rem; letter-spacing: -0.03em; }
.stat-card p { color: var(--color-muted); margin-bottom: 0; }

/* === Split figure === */
.split-figure { margin: 0; }
.split-figure img { border-radius: 16px; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow-lift); }
@media (min-width: 900px) { .split-figure img { aspect-ratio: 4/5; } }

/* === Testimonial === */
.section--testimonial { padding-block: 4rem; }
.testimonial { max-width: 780px; margin: 0 auto; text-align: center; position: relative; padding: 2rem 1.25rem; }
.testimonial::before { content: '"'; font-family: var(--font-heading); font-size: 6rem; line-height: 1; position: absolute; top: -1rem; left: 50%; transform: translateX(-50%); color: rgba(24,24,27,0.08); }
.testimonial p { font-size: 1.2rem; font-style: italic; color: var(--color-secondary); }
.testimonial cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 600; color: var(--color-neutral-dark); font-size: 0.95rem; }

/* === CTA band === */
.cta-band { background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); color: var(--color-neutral-light); padding-block: 3rem; }
.cta-band__inner { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }
@media (min-width: 800px) { .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; } }
.cta-band h2 { color: var(--color-neutral-light); margin-bottom: .5rem; }
.cta-band p { color: rgba(250,250,250,0.75); margin-bottom: 0; }
.cta-band .btn--primary { background: var(--color-neutral-light); color: var(--color-primary); }
.cta-band .btn--primary:hover { background: var(--color-accent); color: var(--color-primary); }
.cta-band__meta { font-size: 0.85rem; margin-top: .75rem !important; }

/* === FAQ === */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: var(--color-neutral-light); border: 1px solid var(--color-line); border-radius: var(--radius-md); padding: 1rem 1.25rem; transition: box-shadow .25s var(--hover); }
.faq details[open] { box-shadow: var(--shadow-soft); }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--font-heading); font-size: 1.02rem; 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: '+'; font-size: 1.5rem; font-weight: 400; color: var(--color-muted); transition: transform .25s var(--hover); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .75rem 0 0; color: var(--color-muted); }

/* === Contact === */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { padding: 1rem 1.25rem; background: var(--color-neutral-light); border: 1px solid var(--color-line); border-radius: var(--radius-md); }
.contact-list strong { font-family: var(--font-heading); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-muted); }

.contact-form { background: var(--color-neutral-light); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-soft); }
.form-row { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1rem; }
.form-row label { font-weight: 500; font-size: 0.9rem; color: var(--color-secondary); }
.form-row input, .form-row textarea {
  font: inherit; padding: .75rem .9rem;
  border: 1px solid var(--color-line); border-radius: 10px;
  background: #fff; color: var(--color-neutral-dark);
  transition: border-color .2s;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(24,24,27,0.12); }
.form-consent { display: flex; gap: .6rem; align-items: flex-start; font-size: 0.88rem; color: var(--color-muted); margin: 1rem 0 1.25rem; line-height: 1.5; }
.form-consent input { margin-top: .2rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Footer === */
.site-footer { background: var(--color-neutral-dark); color: rgba(250,250,250,0.75); padding-block: 3rem 1.5rem; margin-top: 3rem; }
.site-footer h3 { color: var(--color-neutral-light); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.site-footer a { color: rgba(250,250,250,0.75); }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer address { font-style: normal; line-height: 1.7; margin-bottom: 1.25rem; }
.footer__tag { color: rgba(250,250,250,0.6); font-size: 0.95rem; }
.footer__legal { margin-top: 0; }
.footer__bottom { border-top: 1px solid rgba(250,250,250,0.12); margin-top: 2rem; padding-top: 1.25rem; font-size: 0.85rem; color: rgba(250,250,250,0.55); }
.logo--footer { display: inline-block; margin-bottom: 1rem; background: rgba(250,250,250,0.06); border-radius: 12px; padding: .5rem .75rem; }

/* === 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 30px 60px -20px rgba(0,0,0,0.4);
  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: .5rem; }
.cookie-banner button {
  font: inherit; font-size: 0.88rem; font-weight: 600; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px; border: 1px solid rgba(250,250,250,0.25);
  background: transparent; color: var(--color-neutral-light); transition: background .2s, color .2s;
}
.cookie-banner [data-cookie-accept] { background: var(--color-accent); color: var(--color-primary); border-color: var(--color-accent); }
.cookie-banner [data-cookie-accept]:hover { background: #fff; }
.cookie-banner button:hover { background: rgba(250,250,250,0.08); }
.cookie-banner__prefs { margin-top: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.cookie-banner__prefs label { font-size: 0.9rem; display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { margin-top: .5rem; align-self: flex-start; }

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