/* === Tokens === */
:root {
  --color-primary: #18181B;
  --color-secondary: #27272A;
  --color-accent: #F8FAFC;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-muted: #71717A;
  --color-border: rgba(9,9,11,0.10);
  --color-surface: #FFFFFF;
  --font-heading: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 20px rgba(9,9,11,0.06);
  --shadow-md: 0 10px 40px -12px rgba(9,9,11,0.18);
  --shadow-lg: 0 30px 60px -30px rgba(9,9,11,0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-hover: cubic-bezier(0.4, 0, 0.2, 1);
  --wrap: 1160px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-primary);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
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, 3vw, 2.25rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* === Header / Nav === */
.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 .25s var(--ease-hover), border-color .25s var(--ease-hover), box-shadow .25s var(--ease-hover);
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 6px 24px -20px rgba(9,9,11,0.4);
}
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: .75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo { display: inline-flex; text-decoration: none; }
.logo img { height: 72px; width: auto; display: block; }
@media (min-width: 768px) { .logo img { height: 96px; } }
.logo-footer img { height: 64px; }

.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  color: var(--color-primary); cursor: pointer;
}
.primary-nav {
  display: none;
  gap: 1.5rem;
  align-items: center;
}
.primary-nav a {
  text-decoration: none; color: var(--color-primary); font-weight: 500; font-size: .95rem;
  position: relative; padding: .25rem 0;
}
.primary-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease-hover);
}
.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  background: var(--color-primary); color: var(--color-neutral-light);
  padding: .55rem 1.1rem; border-radius: 999px;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); color: var(--color-neutral-light); }

.primary-nav.is-open {
  display: flex; flex-direction: column;
  position: absolute; top: 100%; left: 0; right: 0;
  background: var(--color-surface);
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-border);
  gap: 1rem;
  align-items: flex-start;
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; position: static; padding: 0; background: transparent; border: 0; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .85rem 1.5rem;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 600; font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s var(--ease-hover), box-shadow .2s var(--ease-hover), background .2s var(--ease-hover);
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  box-shadow: 0 10px 30px -12px rgba(9,9,11,0.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(9,9,11,0.55); color: var(--color-neutral-light); }
.btn-ghost {
  background: transparent; color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { transform: translateY(-2px); background: var(--color-surface); }
.btn:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 3px; }

/* === Hero card === */
.hero {
  position: relative;
  padding: 3rem 1.25rem 2rem;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(9,9,11,0.06), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(9,9,11,0.05), transparent 60%),
    var(--color-neutral-light);
}
.hero-card__inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: left;
}
@media (min-width: 768px) {
  .hero { padding: 5rem 1.5rem 3rem; }
  .hero-card__inner { padding: 3.5rem; text-align: left; }
}
.eyebrow {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 600;
  color: var(--color-muted);
  margin: 0 0 1rem;
}
.lede { font-size: 1.15rem; color: var(--color-secondary); max-width: 55ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 0; }
.hero-card__figure {
  margin: 2rem 0 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-card__figure img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

/* === Generic sections === */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}
@media (min-width: 768px) { .section { padding: 5rem 1.5rem; } }
.section-narrow {
  max-width: 760px;
  text-align: left;
}
.section-narrow h2 { text-align: left; }
.section-head { text-align: left; max-width: 720px; margin-bottom: 2rem; }
.section-head p { color: var(--color-muted); }
.section-title { text-align: center; margin-bottom: 2rem; }

/* === Grid & cards === */
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--color-surface);
  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);
  color: var(--color-primary);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-secondary); font-size: .95rem; margin: 0; }
.card-link { text-decoration: none; display: block; }
.card-link:hover { color: var(--color-primary); }
.card-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(9,9,11,0.08), rgba(9,9,11,0.02));
  color: var(--color-primary);
  margin-bottom: 1rem;
}

/* === Split === */
.section-split { padding-top: 2rem; }
.split { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; }
.split__figure { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-md); }
.split__figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: 4rem; }
  .split__figure img { aspect-ratio: 4/5; }
}

/* === Quote === */
.section-quote { max-width: 820px; text-align: center; }
.quote {
  margin: 0;
  padding: 2rem 1rem;
  position: relative;
}
.quote p {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  line-height: 1.4;
  color: var(--color-neutral-dark);
  font-weight: 500;
  margin-bottom: 1.25rem;
}
.quote cite {
  font-style: normal;
  color: var(--color-muted);
  font-size: .95rem;
  font-weight: 500;
}

/* === CTA band === */
.cta-band {
  margin: 3rem 1.25rem;
  padding: 3rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  text-align: center;
}
.cta-band__inner { max-width: 760px; margin: 0 auto; }
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.85); }
.cta-band__info { font-size: .9rem; margin-top: 1.25rem; }
.cta-band__info a { color: var(--color-neutral-light); }
.cta-band .btn-primary {
  background: var(--color-neutral-light); color: var(--color-primary);
  margin-top: 1rem;
}
.cta-band .btn-primary:hover { background: var(--color-accent); color: var(--color-primary); }
@media (min-width: 768px) {
  .cta-band { margin: 4rem auto; max-width: calc(var(--wrap) - 0px); padding: 4rem 2rem; }
}

/* === Contact === */
.contact-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 3rem; } }
.contact-info p { color: var(--color-secondary); }
.contact-info strong { color: var(--color-neutral-dark); font-family: var(--font-heading); }
.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}
.contact-form label {
  display: block;
  margin: 1rem 0 .35rem;
  font-weight: 500;
  font-size: .9rem;
  color: var(--color-neutral-dark);
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font: inherit;
  background: var(--color-neutral-light);
  color: var(--color-primary);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--color-primary); outline-offset: 1px;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-consent {
  display: flex; align-items: flex-start; gap: .6rem;
  font-size: .85rem; color: var(--color-secondary);
  margin: 1.25rem 0;
  font-weight: 400;
}
.form-consent input { margin-top: .2rem; flex: 0 0 auto; }
.contact-form .btn { margin-top: .5rem; width: 100%; }
@media (min-width: 500px) { .contact-form .btn { width: auto; } }

/* === FAQ === */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin-bottom: .75rem;
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--color-neutral-dark);
  list-style: none;
  position: relative;
  padding-right: 1.5rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute; right: 0; top: 0;
  font-size: 1.4rem; color: var(--color-muted);
  transition: transform .2s var(--ease-hover);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { margin-top: .75rem; color: var(--color-secondary); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark);
  color: rgba(250,250,250,0.8);
  padding: 3.5rem 1.25rem 1.5rem;
  margin-top: 3rem;
}
.site-footer__inner {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .site-footer__inner { grid-template-columns: 1.3fr 1fr 1.3fr; } }
.site-footer h3 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(250,250,250,0.8); text-decoration: none; display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--color-neutral-light); }
.site-footer address { font-style: normal; line-height: 1.7; }
.site-footer .legal-links { margin-top: 1rem; font-size: .85rem; }
.site-footer .legal-links a { display: inline; padding: 0; }
.site-footer .logo-footer img { filter: brightness(0) invert(1); opacity: .9; }
.copyright {
  max-width: var(--wrap); margin: 2.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,250,0.12);
  text-align: center;
  font-size: .85rem;
  color: rgba(250,250,250,0.6);
}

/* === 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 50px -10px rgba(9,9,11,0.5);
  max-width: 640px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .9rem; color: rgba(250,250,250,0.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner button {
  font: inherit; cursor: pointer;
  padding: .6rem 1rem; border-radius: 999px;
  border: 1px solid rgba(250,250,250,0.2);
  background: transparent; color: var(--color-neutral-light);
  font-weight: 500; font-size: .85rem;
}
.cookie-banner button[data-cookie-accept] {
  background: var(--color-accent); color: var(--color-neutral-dark); border-color: var(--color-accent);
}
.cookie-banner button:hover { transform: translateY(-1px); }
.cookie-banner__prefs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(250,250,250,0.12);
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .9rem;
}
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; }
.cookie-banner__prefs [data-cookie-save] { align-self: flex-start; margin-top: .5rem; }

/* === Reveal animation === */
.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; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
