:root {
  --color-primary: #262626;
  --color-secondary: #F5EFE0;
  --color-accent: #C9A961;
  --color-neutral-dark: #0F0F0F;
  --color-neutral-light: #FAFAFA;
  --color-text: #1a1a1a;
  --color-muted: #5a5754;
  --font-heading: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 20px rgba(15,15,15,0.06);
  --shadow-md: 0 12px 40px -12px rgba(15,15,15,0.18);
  --shadow-lg: 0 30px 60px -20px rgba(15,15,15,0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --border: 1px solid rgba(15,15,15,0.09);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-neutral-light);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-accent); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--color-primary); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 .8rem; }
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }

/* === Layout === */
.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 1.25rem; }
.container--narrow { max-width: 780px; }
.section { padding-block: 4rem; }
.section--narrow { padding-block: 3.5rem; }
.section--tint { background: var(--color-secondary); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 2.5rem; }
.section__head p { color: var(--color-muted); font-size: 1.05rem; }

/* === Header === */
.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 rgba(15,15,15,0.06);
  transition: background .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header.scrolled { background: rgba(250,250,250,0.92); box-shadow: 0 6px 22px -14px rgba(15,15,15,0.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .9rem; }
.logo { display: inline-flex; align-items: center; }
.logo img { height: 72px; width: auto; display: block; }
.logo--footer img { height: 72px; }

/* === Nav === */
.primary-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column;
  background: var(--color-neutral-light);
  padding: 1rem 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(15,15,15,0.08);
  gap: .5rem;
}
.primary-nav.is-open { display: flex; }
.primary-nav a { padding: .6rem .25rem; font-weight: 500; color: var(--color-primary); position: relative; }
.primary-nav a[aria-current="page"] { color: var(--color-accent); }
.nav-toggle {
  border: 1px solid rgba(15,15,15,0.12);
  background: transparent; color: var(--color-primary);
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex; position: static; flex-direction: row; align-items: center; gap: 1.75rem;
    background: transparent; padding: 0; border: 0;
  }
  .primary-nav a { padding: .25rem 0; }
  .primary-nav a:not(.btn)::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -6px;
    height: 2px; background: var(--color-accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .25s var(--ease);
  }
  .primary-nav a:not(.btn):hover::after,
  .primary-nav a[aria-current="page"]:not(.btn)::after { transform: scaleX(1); }
  .logo img { height: 96px; }
}

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem; padding: .85rem 1.4rem;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  line-height: 1;
}
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), #3a3a3a);
  color: var(--color-neutral-light);
  box-shadow: 0 12px 30px -12px rgba(15,15,15,0.55);
}
.btn--primary:hover { transform: translateY(-2px); color: var(--color-neutral-light); box-shadow: 0 18px 40px -14px rgba(201,169,97,0.55); }
.btn--ghost { background: transparent; color: var(--color-primary); border-color: rgba(15,15,15,0.15); }
.btn--ghost:hover { border-color: var(--color-accent); color: var(--color-accent); transform: translateY(-2px); }
.btn--small { padding: .55rem 1rem; font-size: .9rem; }

/* === Hero (centered, saas-spotlight flavor) === */
.hero {
  position: relative;
  padding-block: 4.5rem 3.5rem;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 60% at 50% 0%, rgba(201,169,97,0.16), transparent 70%),
    linear-gradient(180deg, var(--color-secondary) 0%, var(--color-neutral-light) 100%);
}
.hero .eyebrow { text-transform: uppercase; letter-spacing: 0.16em; font-size: .78rem; font-weight: 600; color: var(--color-accent); margin-bottom: 1rem; }
.hero h1 { max-width: 22ch; margin: 0 auto 1.25rem; }
.hero__sub { max-width: 52ch; margin: 0 auto 2rem; font-size: 1.15rem; color: var(--color-muted); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-bottom: 3rem; }
.hero__image {
  max-width: 980px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15,15,15,0.06);
}
.hero__image img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }

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

/* === Grids === */
.grid { display: grid; gap: 1.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .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); }
}

/* === Cards === */
.card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.75rem 1.6rem;
  border: var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--color-muted); font-size: .98rem; margin: 0; }
.card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(201,169,97,0.18), rgba(201,169,97,0.05));
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.card--person img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  border-radius: 12px; margin-bottom: 1rem;
}
.card--stat h3 { font-size: 1.35rem; }

/* === Testimonial === */
.testimonial {
  max-width: 780px; margin: 0 auto; text-align: center;
  padding: 2rem 1rem;
}
.testimonial p {
  font-family: var(--font-heading); font-weight: 500;
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.45; color: var(--color-primary);
  margin-bottom: 1.25rem;
}
.testimonial cite { font-style: normal; color: var(--color-muted); font-size: .95rem; }

/* === CTA band === */
.cta-band {
  background: linear-gradient(135deg, var(--color-neutral-dark), var(--color-primary) 60%, #3d3428);
  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 80% 40%, rgba(201,169,97,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: var(--color-neutral-light); margin-bottom: .35rem; }
.cta-band p { color: rgba(250,250,250,0.75); margin: 0; }
.cta-band .btn--primary {
  background: var(--color-accent); color: var(--color-neutral-dark);
  box-shadow: 0 12px 30px -12px rgba(201,169,97,0.6);
}
.cta-band .btn--primary:hover { color: var(--color-neutral-dark); background: #d9b972; }
@media (min-width: 768px) {
  .cta-band__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* === FAQ === */
.faq details {
  background: #fff;
  border: var(--border);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-bottom: .75rem;
  transition: box-shadow .2s var(--ease);
}
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary {
  cursor: pointer; font-weight: 600;
  font-family: var(--font-heading); color: var(--color-primary);
  list-style: none; position: relative; padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 1.4rem; color: var(--color-accent);
  transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin-top: .8rem; color: var(--color-muted); }

/* === Contact form === */
.contact-form {
  background: #fff;
  padding: 2rem; border-radius: var(--radius-lg);
  border: var(--border); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 1.1rem;
}
.form-row { display: flex; flex-direction: column; gap: .4rem; }
.form-row label { font-weight: 600; font-size: .92rem; color: var(--color-primary); }
.form-row input, .form-row textarea {
  font: inherit; font-size: 1rem;
  padding: .8rem .95rem;
  border: 1px solid rgba(15,15,15,0.15);
  border-radius: 12px;
  background: var(--color-neutral-light);
  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 3px rgba(201,169,97,0.2);
}
.form-consent {
  display: flex; gap: .6rem; align-items: flex-start;
  font-size: .88rem; color: var(--color-muted); line-height: 1.5;
}
.form-consent input { margin-top: .25rem; flex-shrink: 0; }
.form-consent a { color: var(--color-primary); text-decoration: underline; }
.contact-form .btn { align-self: flex-start; }

/* === Contact block === */
.contact-block { font-size: 1.05rem; }
.contact-block p { margin: .35rem 0; color: var(--color-primary); }
.contact-block a { color: var(--color-accent); }

/* === Footer === */
.site-footer {
  background: var(--color-neutral-dark); color: rgba(250,250,250,0.78);
  padding-block: 3.5rem 1.5rem;
  margin-top: 3rem;
}
.site-footer h4 { color: var(--color-neutral-light); font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(250,250,250,0.78); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer__grid { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.site-footer__nav { display: flex; flex-direction: column; gap: .45rem; }
.site-footer__tag { color: rgba(250,250,250,0.6); margin-top: .8rem; }
.site-footer__contact address { font-style: normal; line-height: 1.8; }
.site-footer__legal { margin-top: 1rem; font-size: .88rem; }
.site-footer__copy {
  text-align: center; margin-top: 2.5rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(250,250,250,0.08);
  font-size: .85rem; color: rgba(250,250,250,0.55);
}
.site-footer .logo--footer img { filter: brightness(0) invert(1); opacity: .92; }
@media (min-width: 768px) {
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1.2fr; 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);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-lg);
  max-width: 560px;
}
.cookie-banner.is-visible { display: block; }
.cookie-banner p { margin: 0 0 .9rem; font-size: .92rem; color: rgba(250,250,250,0.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,0.28); }
.cookie-banner__actions .btn--ghost:hover { color: var(--color-accent); border-color: var(--color-accent); }
.cookie-banner__prefs { display: flex; flex-direction: column; gap: .5rem; margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(250,250,250,0.15); }
.cookie-banner__prefs label { display: flex; align-items: center; gap: .55rem; font-size: .9rem; }

/* === Reveal (scroll 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; }
  html { scroll-behavior: auto; }
}

/* === Eyebrow === */
.eyebrow { text-transform: uppercase; letter-spacing: 0.14em; font-size: .78rem; font-weight: 600; color: var(--color-accent); }
