:root {
  --color-primary: #18181B;
  --color-secondary: #27272A;
  --color-accent: #F8FAFC;
  --color-neutral-dark: #09090B;
  --color-neutral-light: #FAFAFA;
  --color-text: #18181B;
  --color-muted: #52525B;
  --color-border: rgba(9, 9, 11, 0.10);
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 2px 12px rgba(9,9,11,0.05);
  --shadow-md: 0 10px 30px -10px rgba(9,9,11,0.15);
  --shadow-lg: 0 30px 60px -30px rgba(9,9,11,0.35);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-neutral-light);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); line-height: 1.15; margin: 0 0 .75rem; letter-spacing: -0.02em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
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-inline: auto; padding-inline: 1.25rem; }
.narrow { max-width: 760px; margin-inline: auto; }
.muted { color: var(--color-muted); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-muted); margin: 0 0 1rem; }

/* === Header === */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 250, 250, 0.7);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  background: rgba(250, 250, 250, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: 0 4px 20px -12px rgba(9,9,11,.15);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .75rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; }
.nav-toggle {
  background: transparent; border: 1px solid var(--color-border); border-radius: 10px;
  padding: .5rem; color: var(--color-primary); cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.primary-nav { display: none; }
.primary-nav a {
  position: relative; padding: .5rem .25rem; font-weight: 500; font-size: .95rem;
  color: var(--color-secondary); text-decoration: none;
}
.primary-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--color-primary); transform: scaleX(0); transform-origin: left;
  transition: transform .25s var(--ease);
}
.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 1rem; border-radius: 999px; margin-left: .5rem;
}
.primary-nav .nav-cta::after { display: none; }
.primary-nav .nav-cta:hover { background: var(--color-secondary); text-decoration: none; }
.primary-nav.is-open { display: flex; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav { display: flex; align-items: center; gap: 1.75rem; }
  .logo img { height: 96px; }
}

@media (max-width: 899px) {
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--color-neutral-light);
    border-top: 1px solid var(--color-border);
    padding: 1rem 1.25rem; gap: .25rem;
  }
  .primary-nav a { padding: .75rem .25rem; border-bottom: 1px solid var(--color-border); }
  .primary-nav a:last-child { border-bottom: none; }
  .primary-nav .nav-cta { margin: .5rem 0 0; text-align: center; }
}

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

/* === Hero (hero-card archetype) === */
.hero-card-wrap {
  padding-block: 3rem 4rem;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(24,24,27,0.08), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(39,39,42,0.06), transparent 60%),
    linear-gradient(180deg, #F4F4F5 0%, var(--color-neutral-light) 100%);
}
.hero-card {
  max-width: 880px; margin-inline: auto;
  padding: 2.5rem 1.5rem; border-radius: var(--radius-lg);
  background: var(--color-neutral-light);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}
.hero-card h1 { max-width: 22ch; }
.hero-card .lede { font-size: 1.15rem; color: var(--color-muted); max-width: 55ch; margin-bottom: 1.75rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 2rem; }
.hero-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }

@media (min-width: 768px) {
  .hero-card { padding: 4rem; }
  .hero-card-wrap { padding-block: 5rem 6rem; }
}

/* === Sections === */
.section { padding-block: 4rem; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head p { color: var(--color-muted); font-size: 1.05rem; }
.intro h2 { margin-bottom: 1.25rem; }
.intro p { font-size: 1.05rem; color: var(--color-secondary); }

@media (min-width: 768px) {
  .section { padding-block: 6rem; }
}

/* === Grids & Cards === */
.grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .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); }
}
.card {
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.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: 1.25rem;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); margin-bottom: 0; font-size: .97rem; }

/* === Services layout === */
.services-layout { display: grid; gap: 2rem; }
.services-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-md); }
@media (min-width: 1024px) {
  .services-layout { grid-template-columns: 5fr 7fr; align-items: start; gap: 3rem; }
  .services-image { position: sticky; top: 120px; }
  .services-image img { aspect-ratio: 4/5; }
}

/* === Testimonial === */
.testimonial-section { background: linear-gradient(180deg, transparent, rgba(24,24,27,0.03)); }
.testimonial { margin: 0; text-align: center; padding: 2rem 0; }
.testimonial p { font-family: var(--font-heading); font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.45; color: var(--color-primary); font-weight: 500; margin-bottom: 1rem; }
.testimonial cite { color: var(--color-muted); font-style: normal; font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: var(--color-neutral-light);
  padding-block: 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(248,250,252,0.12), transparent 60%);
  pointer-events: none;
}
.cta-band h2 { color: var(--color-neutral-light); }
.cta-band p { color: rgba(250,250,250,0.75); font-size: 1.05rem; margin-bottom: 1.75rem; }
.cta-band .btn-primary {
  background: var(--color-neutral-light); color: var(--color-primary);
  box-shadow: 0 10px 30px -10px rgba(0,0,0,.5);
}
.cta-band .btn-primary:hover { background: var(--color-accent); }

/* === Contact band === */
.contact-band { text-align: center; }
.contact-line { color: var(--color-muted); margin-bottom: 1.5rem; }

/* === FAQ === */
.faq-list details {
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  background: var(--color-neutral-light); margin-bottom: .75rem; overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-list details[open] { box-shadow: var(--shadow-sm); }
.faq-list summary {
  cursor: pointer; padding: 1.1rem 1.25rem;
  font-family: var(--font-heading); font-weight: 600; color: var(--color-primary);
  list-style: none; position: relative; padding-right: 3rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; font-weight: 400; color: var(--color-muted); transition: transform .2s ease;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 1.25rem 1.25rem; color: var(--color-muted); margin: 0; }

/* === Form === */
.contact-form { display: grid; gap: 1.1rem; margin-top: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field label { font-weight: 600; font-size: .9rem; color: var(--color-primary); }
.field input, .field textarea {
  font-family: var(--font-body); font-size: 1rem; color: var(--color-primary);
  background: var(--color-neutral-light);
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  padding: .75rem .9rem; transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(24,24,27,.1);
}
.form-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .88rem; color: var(--color-muted); }
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: var(--color-neutral-light);
  padding-block: 3.5rem 1.5rem; margin-top: 4rem;
}
.site-footer .muted { color: rgba(250,250,250,0.55); }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1fr; }
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer .logo img { filter: brightness(0) invert(1); height: 60px; }
.site-footer nav ul, .site-footer .legal-links { list-style: none; padding: 0; margin: 0; }
.site-footer nav li, .site-footer .legal-links li { margin-bottom: .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; color: rgba(250,250,250,0.75); margin-bottom: 1rem; line-height: 1.7; }
.legal-links { display: flex; gap: 1.25rem; flex-wrap: wrap; margin-top: 1rem !important; }
.legal-links li { margin: 0; }
.copyright { border-top: 1px solid rgba(250,250,250,0.1); margin-top: 2.5rem; padding-top: 1.5rem; }
.copyright p { color: rgba(250,250,250,0.5); font-size: .85rem; margin: 0; }

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1.4fr; gap: 3rem; }
}

/* === 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);
  box-shadow: 0 20px 60px -20px rgba(0,0,0,.6);
  max-width: 620px; margin-inline: auto;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 1rem; font-size: .92rem; color: rgba(250,250,250,.85); }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-banner__actions .btn-ghost { color: var(--color-neutral-light); border-color: rgba(250,250,250,.25); }
.cookie-banner__actions .btn-ghost:hover { background: var(--color-neutral-light); color: var(--color-primary); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .6rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,250,.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .5rem; font-size: .9rem; }
.cookie-banner__prefs button { align-self: flex-start; margin-top: .25rem; }

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