/* ============================================================
   AMPER LINE — main stylesheet (v2)
   Design language inspired by Linear · Stripe · Vercel · Framer.
   Bigger type · generous whitespace · refined micro-interactions.
   ============================================================ */

/* ---------- Reset & base -------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-strong); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
  margin: 0 0 .5em;
  color: var(--ink-strong);
}
h1 { font-size: clamp(2.4rem, 5.6vw + .4rem, 4.6rem); letter-spacing: -.035em; line-height: 1.04; }
h2 { font-size: clamp(1.7rem, 2.6vw + .6rem, 2.85rem); letter-spacing: -.028em; line-height: 1.1; }
h3 { font-size: clamp(1.22rem, 1vw + .8rem, 1.55rem); letter-spacing: -.018em; line-height: 1.25; }
h4 { font-size: 1.1rem; letter-spacing: -.01em; }
p  { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
li { margin-bottom: .35em; }
strong { color: var(--ink-strong); font-weight: 600; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(216,163,44,.28); color: var(--ink-strong); }

/* ---------- Design tokens ------------------------------------------------- */
:root {
  --ink-strong: #0A0F13;
  --ink: #1c252e;
  --ink-soft: #525c66;
  --muted: #8a939c;
  --line: #ebede8;
  --line-strong: #d7dad4;
  --bg: #ffffff;
  --bg-soft: #f6f7f3;
  --bg-warm: #faf9f4;
  --bg-dark: #0A0F13;
  --bg-dark-2: #050709;
  --bg-dark-3: #131a21;
  --accent: #D8A32C;
  --accent-strong: #b6861a;
  --accent-soft: #fcf2d5;
  --accent-glow: rgba(216,163,44,.35);
  --green: #75884B;
  --green-strong: #5d6c3b;
  --green-soft: #eef1e5;
  --danger: #b3261e;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-xs: 0 1px 2px rgba(10,15,19,.04);
  --shadow-sm: 0 1px 3px rgba(10,15,19,.05), 0 1px 2px rgba(10,15,19,.04);
  --shadow: 0 2px 4px rgba(10,15,19,.04), 0 8px 24px rgba(10,15,19,.08);
  --shadow-lg: 0 16px 40px rgba(10,15,19,.12), 0 4px 12px rgba(10,15,19,.05);
  --shadow-xl: 0 28px 72px rgba(10,15,19,.18);
  --font-display: "Space Grotesk", "Sora", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --container-narrow: 980px;
  --header-h: 80px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- Layout primitives -------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }
.section--tight { padding: clamp(48px, 6vw, 90px) 0; }
.section--dark { background: var(--bg-dark); color: #c8d0d7; }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #ffffff; }
.section--dark .section-eyebrow { color: var(--accent); }
.section--dark .section-lead { color: #97a4b0; }
.section--soft { background: var(--bg-soft); }
.section--warm { background: var(--bg-warm); }
.section-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .76rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 18px; font-weight: 600;
}
.section-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8;
}
.section-title { max-width: 760px; }
.section-lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 720px; margin-bottom: 0; line-height: 1.55; }

.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600;
  padding: 15px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; line-height: 1;
  transition: transform .18s var(--ease-out), box-shadow .25s ease, background .25s ease, color .2s ease, border-color .2s ease;
  font-size: .98rem; text-align: center;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--accent); color: #1a1300;
  box-shadow: 0 1px 2px rgba(216,163,44,.4) inset, 0 10px 24px -8px rgba(216,163,44,.5);
}
.btn--primary:hover { background: #e6b13a; color: #1a1300; box-shadow: 0 1px 2px rgba(216,163,44,.5) inset, 0 14px 30px -8px rgba(216,163,44,.65); }
.btn--dark {
  background: var(--ink-strong); color: #fff;
  box-shadow: 0 1px 2px rgba(255,255,255,.06) inset, 0 10px 24px -8px rgba(10,15,19,.4);
}
.btn--dark:hover { background: #1a242e; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-strong); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink-strong); color: var(--ink-strong); background: rgba(10,15,19,.03); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.25); }
.btn--outline:hover { border-color: rgba(255,255,255,.6); color: #fff; background: rgba(255,255,255,.06); }
.btn--whatsapp { background: #25D366; color: #fff; box-shadow: 0 1px 2px rgba(37,211,102,.4) inset, 0 10px 24px -8px rgba(37,211,102,.55); }
.btn--whatsapp:hover { background: #1ebb59; color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 30px; font-size: 1.02rem; }
.btn .icon { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid rgba(235,237,232,.7);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); gap: 20px;
}
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); letter-spacing: -.01em; flex-shrink: 0; }
.brand__logo { width: 44px; height: 44px; display: block; flex-shrink: 0; }
.brand__name { font-size: 1.02rem; letter-spacing: -.015em; white-space: nowrap; }
.brand__name span { color: var(--accent-strong); font-weight: 500; font-size: .78rem; letter-spacing: .14em; margin-left: 4px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav__list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  display: inline-block; padding: 9px 14px; color: var(--ink-soft); font-weight: 500;
  font-size: .94rem; border-radius: 999px;
  transition: background .2s var(--ease-out), color .2s ease;
  letter-spacing: -.005em;
  white-space: nowrap;
}
.nav__list a:hover { color: var(--ink-strong); }
.nav__list a.is-active { background: var(--bg-soft); color: var(--ink-strong); }
.nav__cta { display: flex; align-items: center; gap: 10px; margin-left: 18px; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink-strong);
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: .95rem;
  white-space: nowrap; flex-shrink: 0;
  transition: border-color .2s ease, background .2s ease;
}
.nav__phone:hover { border-color: var(--ink-strong); color: var(--ink-strong); background: rgba(10,15,19,.02); }
.nav__phone .icon { width: 15px; height: 15px; color: var(--accent-strong); }

.menu-toggle {
  display: none; background: transparent; border: 1px solid var(--line-strong);
  width: 44px; height: 44px; border-radius: 12px; padding: 0; cursor: pointer;
  align-items: center; justify-content: center;
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink-strong); position: relative; }
.menu-toggle span::before, .menu-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--ink-strong);
  transition: transform .25s ease;
}
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1280px) {
  .nav__phone { display: none; }
}
@media (max-width: 1180px) {
  .nav__list a { font-size: .9rem; padding: 8px 11px; }
}
@media (max-width: 1050px) {
  .nav__list a { font-size: .85rem; padding: 7px 9px; }
  .brand__name { font-size: .95rem; }
}
@media (max-width: 960px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; padding: 18px 28px 28px;
    box-shadow: 0 30px 30px -20px rgba(10,15,19,.14);
    flex-direction: column; align-items: stretch;
  }
  .nav.is-open { display: flex; }
  .nav__list { flex-direction: column; gap: 2px; }
  .nav__list a { padding: 14px 12px; font-size: 1rem; border-radius: 10px; }
  .nav__cta { margin-left: 0; margin-top: 14px; flex-direction: column; align-items: stretch; }
  .nav__cta .btn, .nav__cta .nav__phone { width: 100%; }
  .nav__phone { display: inline-flex; justify-content: center; padding: 14px 16px; font-size: 1rem; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(72px, 11vw, 140px) 0 clamp(80px, 12vw, 170px);
  overflow: hidden;
  background:
    radial-gradient(80% 50% at 50% 0%, rgba(216,163,44,.06), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, var(--bg-warm) 100%);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 12%, rgba(216,163,44,.16), transparent 38%),
    radial-gradient(circle at 8% 88%, rgba(117,136,75,.10), transparent 42%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,15,19,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,15,19,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: center;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.hero__grid {
  display: grid; grid-template-columns: 1.15fr .9fr;
  gap: clamp(40px, 6vw, 80px); align-items: center;
  position: relative; z-index: 2;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(255,255,255,.7);
  backdrop-filter: blur(8px);
  font-size: .76rem; font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .14em; color: var(--ink-soft);
  margin-bottom: 26px; font-weight: 600;
}
.hero__eyebrow .dot {
  width: 8px; height: 8px; border-radius: 999px; background: var(--green);
  box-shadow: 0 0 0 4px rgba(117,136,75,.2);
  animation: pulse 2.4s infinite ease-in-out;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(117,136,75,.2); }
  50% { box-shadow: 0 0 0 8px rgba(117,136,75,.08); }
}
.hero__title {
  color: var(--ink-strong);
  font-size: clamp(2.4rem, 5.6vw + .2rem, 4.8rem);
  letter-spacing: -.04em;
  line-height: 1.02;
  margin-bottom: 28px;
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent-strong) 0%, var(--accent) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__lead {
  font-size: 1.18rem; color: var(--ink-soft); max-width: 580px;
  margin: 0 0 36px; line-height: 1.55;
}
.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; }
.hero__micro {
  font-size: .88rem; color: var(--ink-soft);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hero__micro::before {
  content: ""; width: 20px; height: 1px; background: var(--line-strong); display: inline-block;
}

/* Hero info-card (right side) */
.hero__card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  isolation: isolate;
}
.hero__card::before {
  content: ""; position: absolute; inset: -2px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(216,163,44,.32), transparent 50%, rgba(117,136,75,.15));
  z-index: -1; filter: blur(24px); opacity: .55;
}
.hero__card-header {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 22px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.hero__card-badge {
  width: 52px; height: 52px; border-radius: 14px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  display: grid; place-items: center;
  color: var(--accent); font-family: var(--font-display);
  font-weight: 700; font-size: .82rem; letter-spacing: .04em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05);
}
.hero__card-title { font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); font-size: 1.02rem; letter-spacing: -.015em; }
.hero__card-sub { font-size: .82rem; color: var(--ink-soft); margin-top: 2px; }
.hero__card-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.hero__card-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start;
  color: var(--ink); font-size: .96rem; margin: 0; line-height: 1.45;
}
.hero__card-list li::before {
  content: ""; width: 22px; height: 22px; border-radius: 999px;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375884B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
  margin-top: 1px;
}
.hero__card-footer {
  margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.hero__card-phone {
  font-family: var(--font-display); font-weight: 700; color: var(--ink-strong);
  font-size: 1.15rem; letter-spacing: -.01em;
}
.hero__card-phone-label {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .14em;
  color: var(--ink-soft); margin-bottom: 2px;
}
.hero__card-wa {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px;
  background: #25D366; color: #fff;
  transition: transform .15s var(--ease-out);
}
.hero__card-wa:hover { transform: scale(1.05); color: #fff; }
.hero__card-wa svg { width: 20px; height: 20px; }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 50px; }
}

/* ---------- Stats strip --------------------------------------------------- */
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: #ffffff;
}
.stats__item {
  padding: 36px 28px;
  text-align: left;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background .25s ease;
}
.stats__item:last-child { border-right: 0; }
.stats__item:hover { background: var(--bg-soft); }
.stats__value {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.4vw + .4rem, 2.4rem);
  font-weight: 700;
  color: var(--ink-strong);
  letter-spacing: -.03em;
  line-height: 1.05;
  margin-bottom: 6px;
}
.stats__value em {
  font-style: normal; color: var(--accent-strong); font-weight: 700;
}
.stats__label {
  font-size: .82rem;
  color: var(--ink-soft);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -.005em;
}
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats__item:nth-child(2) { border-right: 0; }
  .stats__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats__item { padding: 26px 22px; }
}

/* ---------- Cards (services) ---------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform .3s var(--ease-out), box-shadow .35s ease, border-color .25s ease;
  display: flex; flex-direction: column;
  gap: 14px;
  height: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(216,163,44,.06), transparent 40%);
  opacity: 0; transition: opacity .3s ease;
  z-index: -1;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.card:hover::before { opacity: 1; }
.card--link { color: inherit; }
.card__num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-display);
  font-size: .8rem; font-weight: 600;
  color: var(--muted); letter-spacing: .08em;
}
.card__icon {
  width: 56px; height: 56px; display: grid; place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--accent-soft) 0%, #fef8e7 100%);
  color: var(--accent-strong);
  margin-bottom: 6px;
  transition: transform .3s var(--ease-out);
}
.card:hover .card__icon { transform: scale(1.06) rotate(-3deg); }
.card__icon svg { width: 26px; height: 26px; }
.card__title {
  font-size: 1.24rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink-strong);
  margin: 0;
  letter-spacing: -.018em;
}
.card__body {
  color: var(--ink-soft);
  font-size: .98rem;
  margin: 0;
  flex-grow: 1;
  line-height: 1.55;
}
.card__link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 4px;
  font-family: var(--font-display); font-weight: 600;
  color: var(--accent-strong); font-size: .92rem;
}
.card__link::after {
  content: "→";
  transition: transform .25s var(--ease-out);
  display: inline-block;
}
.card:hover .card__link::after { transform: translateX(4px); }

/* ---------- Process steps ------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start;
  padding: 32px 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  transition: border-color .25s ease, transform .25s var(--ease-out);
}
.step:hover { border-color: var(--line-strong); transform: translateX(2px); }
.step__num {
  counter-increment: step;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--accent);
  letter-spacing: -.03em;
  min-width: 70px;
}
.step__num:empty::before { content: counter(step, decimal-leading-zero); }
.step__content { padding-top: 8px; }
.step__title { margin: 0 0 6px; font-size: 1.2rem; letter-spacing: -.015em; }
.step__body { color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Dark variant */
.section--dark .step {
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.08);
  color: #c8d0d7;
}
.section--dark .step:hover { background: rgba(255,255,255,.04); border-color: rgba(216,163,44,.25); }
.section--dark .step__title { color: #fff; }
.section--dark .step__body { color: #97a4b0; }
.section--dark .step__num { -webkit-text-stroke-color: var(--accent); }

@media (max-width: 600px) {
  .step { padding: 24px; gap: 18px; }
  .step__num { font-size: 2rem; min-width: 48px; }
}

/* ---------- Trust / feature list ------------------------------------------ */
.trust {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.trust__item {
  padding: 28px;
  display: flex; gap: 16px; align-items: flex-start;
  border-right: 1px solid var(--line);
  transition: background .2s ease;
}
.trust__item:last-child { border-right: 0; }
.trust__item:hover { background: var(--bg-soft); }
.trust__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green-strong);
  flex-shrink: 0;
}
.trust__icon svg { width: 22px; height: 22px; }
.trust__label { font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); font-size: 1rem; line-height: 1.3; letter-spacing: -.015em; }
.trust__sub { font-size: .86rem; color: var(--ink-soft); margin-top: 4px; line-height: 1.45; }
@media (max-width: 900px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: 0; }
  .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 540px) {
  .trust { grid-template-columns: 1fr; }
  .trust__item { border-right: 0; border-bottom: 1px solid var(--line); }
  .trust__item:last-child { border-bottom: 0; }
}

/* ---------- Bullet list pretty ------------------------------------------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checklist li {
  position: relative; padding-left: 36px; color: var(--ink); font-size: 1rem; line-height: 1.5;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 4px;
  width: 24px; height: 24px; border-radius: 999px;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375884B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 14px 14px; background-repeat: no-repeat; background-position: center;
}

/* ---------- FAQ accordion ------------------------------------------------- */
.faq { display: grid; gap: 10px; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .25s ease;
}
.faq__item:hover { border-color: var(--line-strong); }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__summary {
  list-style: none; padding: 22px 26px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink-strong);
  font-size: 1.02rem;
  letter-spacing: -.012em;
  transition: color .2s ease;
}
.faq__summary:hover { color: var(--accent-strong); }
.faq__summary::-webkit-details-marker { display: none; }
.faq__summary::after {
  content: ""; width: 22px; height: 22px; border-radius: 999px;
  background: var(--bg-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0F13' stroke-width='2.5' stroke-linecap='round'><polyline points='6 9 12 15 18 9'/></svg>");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
  transition: transform .25s var(--ease-out);
  flex-shrink: 0;
}
.faq__item[open] .faq__summary::after { transform: rotate(180deg); }
.faq__answer { padding: 0 26px 24px; color: var(--ink-soft); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Lead form ----------------------------------------------------- */
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 3.4vw, 44px);
  box-shadow: var(--shadow);
  position: relative;
  isolation: isolate;
}
.form-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(216,163,44,.2), transparent 50%);
  z-index: -1; filter: blur(20px); opacity: .35;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--ink-strong); letter-spacing: -.005em; }
.field > .hint { font-size: .82rem; color: var(--ink-soft); }
.field input[type="text"],
.field input[type="tel"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%; padding: 13px 15px; font-family: inherit; font-size: 1rem;
  border: 1px solid var(--line-strong); border-radius: 11px; background: #fff;
  color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(216,163,44,.18); background: #fff;
}
.field--file label.file-input {
  border: 1.5px dashed var(--line-strong); border-radius: 12px; padding: 22px 24px;
  display: flex; align-items: center; gap: 16px;
  cursor: pointer; background: var(--bg-soft);
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}
.field--file label.file-input:hover,
.field--file.is-dragover label.file-input { border-color: var(--accent); background: #fff; }
.field--file.is-dragover label.file-input { transform: scale(1.01); box-shadow: 0 0 0 4px rgba(216,163,44,.12); }
.field--file .file-input__icon { color: var(--accent-strong); flex-shrink: 0; }
.field--file .file-input strong { font-family: var(--font-display); font-weight: 600; color: var(--ink-strong); font-size: .98rem; display: block; }
.field--file .file-input span { font-size: .84rem; color: var(--ink-soft); display: block; margin-top: 2px; line-height: 1.45; }
.field--file input[type="file"] { display: none; }
.field--file .files-list { margin-top: 10px; display: grid; gap: 8px; }
.field--file .files-list:empty { display: none; }
.field--file .files-list__item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px; background: var(--green-soft); border-radius: 10px;
  font-size: .88rem; color: #3d4b22;
  border: 1px solid #c4d2a4;
}
.field--file .files-list__item strong { color: #3d4b22; font-family: var(--font-display); flex-grow: 1; word-break: break-all; }
.field--file .files-list__item .size { color: #75884B; font-variant-numeric: tabular-nums; flex-shrink: 0; }

/* Lead form — minimalist optional details toggle */
.lead-form__intro { margin: 0 0 22px; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; }
.field__optional { color: var(--ink-soft); font-weight: 400; font-size: .82em; }

.lead-form__more {
  margin-top: 20px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.lead-form__more > summary {
  list-style: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; margin: -10px -14px;
  border-radius: 10px;
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink-strong); font-size: .96rem;
  transition: background .15s ease, color .15s ease;
}
.lead-form__more > summary:hover { background: var(--bg-soft); color: var(--accent-strong); }
.lead-form__more > summary::-webkit-details-marker { display: none; }
.lead-form__more > summary svg { color: var(--accent-strong); transition: transform .25s var(--ease-out); flex-shrink: 0; }
.lead-form__more[open] > summary svg { transform: rotate(45deg); }
.lead-form__more-inner { padding-top: 18px; }

.lead-form__alt {
  margin-top: 18px;
  text-align: center;
  font-size: .92rem;
  color: var(--ink-soft);
}
.lead-form__alt a {
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-weight: 600;
  margin: 0 4px;
  padding: 4px 0;
}
.lead-form__alt a:hover { color: var(--accent-strong); }
.lead-form__alt span { margin: 0 4px; color: var(--muted); }

/* Inline field validation */
.field.is-error input,
.field.is-error select,
.field.is-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179,38,30,.08); }
.field__error {
  font-size: .82rem; color: var(--danger); margin-top: 4px;
  display: none;
}
.field.is-error .field__error { display: block; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); line-height: 1.5; }
.consent input { margin-top: 4px; accent-color: var(--accent); }
.consent a { color: var(--accent-strong); text-decoration: underline; }
.form-message { padding: 14px 16px; border-radius: 11px; margin-top: 14px; font-size: .95rem; display: none; }
.form-message.is-success { display: block; background: var(--green-soft); color: #3d4b22; border: 1px solid #b8c89a; }
.form-message.is-error   { display: block; background: #ffe5e1; color: #7a1c14; border: 1px solid #f0bdb5; }

/* honeypot */
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer {
  background: var(--bg-dark); color: #98a3ad; padding: 0 0 28px;
  position: relative; overflow: hidden;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216,163,44,.45), transparent);
}

/* Top CTA bar inside footer */
.footer-cta {
  padding: 64px 0 56px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  position: relative;
}
.footer-cta__inner {
  display: grid; grid-template-columns: 1.4fr auto; align-items: center; gap: 32px;
}
.footer-cta h2 {
  color: #fff; margin: 0;
  font-size: clamp(1.6rem, 2.4vw + .4rem, 2.4rem);
  letter-spacing: -.025em;
  max-width: 600px;
}
.footer-cta p { margin: 12px 0 0; color: #97a4b0; max-width: 560px; }
.footer-cta__buttons { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 800px) {
  .footer-cta__inner { grid-template-columns: 1fr; }
}

.site-footer h4 { color: #fff; font-size: .98rem; margin-bottom: 18px; letter-spacing: -.01em; }
.site-footer a { color: #98a3ad; transition: color .18s ease; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px;
  padding: 64px 0 44px;
}
.site-footer__brand .brand__name { color: #fff; font-size: 1.1rem; }
.site-footer__brand .brand__name span { color: var(--accent); }
.site-footer__about { font-size: .94rem; margin-top: 18px; color: #788591; max-width: 340px; line-height: 1.6; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .94rem; }
.site-footer ul li a { display: inline-block; padding: 6px 0; min-height: 28px; line-height: 1.4; }
.site-footer__bottom ul li a { padding: 8px 0; min-height: 28px; display: inline-block; }
.site-footer__contact strong { display: block; color: #fff; font-family: var(--font-display); margin-bottom: 4px; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 600; }
.site-footer__contact p { font-size: .94rem; color: #788591; margin-bottom: 14px; line-height: 1.5; }
.site-footer__contact p a { color: #fff; font-family: var(--font-display); font-weight: 500; }
.anpc-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 8px 0 24px;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 14px 0;
}
.anpc-bar a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  color: #97a4b0;
  font-family: var(--font-display);
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
  transition: background .15s ease, color .15s ease;
  min-height: 44px;
  justify-content: center;
}
.anpc-bar a:last-child { border-right: 0; }
.anpc-bar a:hover { background: rgba(255,255,255,.03); color: var(--accent); }
.anpc-bar__label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: #fff;
}
.anpc-bar__sub {
  font-size: .72rem;
  color: #788591;
  line-height: 1.4;
  font-weight: 400;
  letter-spacing: 0;
}
.anpc-bar a:hover .anpc-bar__sub { color: #c8d0d7; }
@media (max-width: 700px) {
  .anpc-bar { grid-template-columns: 1fr; gap: 0; }
  .anpc-bar a { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding: 12px 14px; }
  .anpc-bar a:last-child { border-bottom: 0; }
}

.site-footer__disclaimer {
  font-size: .82rem; color: #5d6772; line-height: 1.7;
  padding-top: 4px;
}
.site-footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06);
  font-size: .85rem; color: #5d6772; flex-wrap: wrap;
}
.site-footer__bottom ul { display: flex; gap: 22px; flex-wrap: wrap; }
@media (max-width: 900px) { .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 600px) { .site-footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Mobile sticky CTA -------------------------------------------- */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
  background: rgba(10,15,19,.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 18px; padding: 8px;
  display: none; grid-template-columns: 1fr 1fr 1fr; gap: 6px;
  box-shadow: 0 18px 40px rgba(10,15,19,.4), 0 0 0 1px rgba(255,255,255,.06);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; border-radius: 12px; color: #fff; font-family: var(--font-display);
  font-size: .78rem; font-weight: 600;
  transition: background .15s ease;
}
.mobile-cta a:hover, .mobile-cta a:active { background: rgba(255,255,255,.08); color: #fff; }
.mobile-cta .icon { width: 22px; height: 22px; color: var(--accent); }
.mobile-cta a.whatsapp .icon { color: #25D366; }
.mobile-cta a.form .icon { color: #fff; }
@media (max-width: 768px) {
  .mobile-cta { display: grid; }
  body { padding-bottom: 96px; }
}

/* ---------- Floating WhatsApp (desktop) ---------------------------------- */
.fab-whatsapp {
  position: fixed; right: 24px; bottom: 24px; z-index: 55;
  width: 60px; height: 60px; border-radius: 999px;
  background: #25D366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 14px 30px rgba(37,211,102,.4), 0 0 0 4px rgba(37,211,102,.1);
  transition: transform .2s var(--ease-spring), box-shadow .25s ease;
}
.fab-whatsapp:hover { transform: scale(1.08); color: #fff; box-shadow: 0 18px 40px rgba(37,211,102,.5), 0 0 0 6px rgba(37,211,102,.15); }
.fab-whatsapp svg { width: 30px; height: 30px; }
@media (max-width: 768px) { .fab-whatsapp { display: none; } }

/* ---------- Page hero (inner pages) -------------------------------------- */
.page-hero {
  padding: clamp(72px, 9vw, 130px) 0 clamp(48px, 6vw, 84px);
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg-soft) 100%);
  border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(216,163,44,.16), transparent 65%);
  border-radius: 999px;
  pointer-events: none;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(10,15,19,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10,15,19,.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 30%, #000 0%, transparent 75%);
  pointer-events: none;
}
.page-hero > .container { position: relative; z-index: 2; }
.breadcrumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: 22px; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--accent-strong); }
.breadcrumbs span { margin: 0 6px; color: var(--muted); }
.page-hero h1 { max-width: 860px; margin-bottom: 18px; }
.page-hero__lead { max-width: 720px; color: var(--ink-soft); font-size: 1.12rem; line-height: 1.55; }

/* ---------- Prose (long-form content) ------------------------------------ */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2.4em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose ul, .prose ol { font-size: 1.04rem; color: var(--ink); line-height: 1.72; }
.prose ul li::marker { color: var(--accent-strong); }
.prose a { color: var(--accent-strong); border-bottom: 1px solid currentColor; }
.prose a:hover { color: var(--accent); }

/* Side-by-side layout for service/info pages */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 1024px) { .split { grid-template-columns: 1fr; gap: 48px; } }
.sticky-card { position: sticky; top: calc(var(--header-h) + 24px); }

/* ---------- CTA banner --------------------------------------------------- */
.cta-banner {
  background:
    radial-gradient(circle at 100% 0%, rgba(216,163,44,.22), transparent 50%),
    linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark-3) 100%);
  border-radius: var(--radius-xl);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 60px);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, #000 0%, transparent 70%);
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; max-width: 640px; margin: 0 auto 16px; }
.cta-banner p { color: #b3becc; max-width: 580px; margin: 0 auto 32px; font-size: 1.06rem; }
.cta-banner__buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Animations on scroll (progressive enhancement) ---------------
   Reveal animations only run when JS sets .js on <html>.
   Without JS, all content is visible by default — no broken/empty page. */
.js [data-reveal] {
  opacity: 0; transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.js [data-reveal].is-visible { opacity: 1; transform: translateY(0); }
.js [data-reveal-delay="100"] { transition-delay: .1s; }
.js [data-reveal-delay="200"] { transition-delay: .2s; }
.js [data-reveal-delay="300"] { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Small components --------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong);
  font-family: var(--font-display); font-weight: 600; font-size: .76rem;
  letter-spacing: .04em; text-transform: uppercase;
}
.badge--green { background: var(--green-soft); color: var(--green-strong); }
.badge--ink { background: var(--ink-strong); color: var(--accent); }
.badge--outline { background: transparent; border: 1px solid var(--line-strong); color: var(--ink-soft); }

.divider { height: 1px; background: var(--line); margin: 40px 0; border: 0; }

.kbd-key { background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; font-size: .85em; font-family: ui-monospace, "JetBrains Mono", monospace; }

/* ---------- Section header (eyebrow + title + lead) ---------------------- */
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head--split {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; flex-wrap: wrap;
}

/* ---------- 404 ---------------------------------------------------------- */
.page-404 {
  min-height: 70vh; display: grid; place-items: center; padding: 80px 24px;
  background: var(--bg-soft);
}
.page-404 h1 { font-size: clamp(3rem, 8vw, 5.5rem); margin-bottom: 0; }
.page-404 .lead { font-size: 1.15rem; color: var(--ink-soft); margin-bottom: 26px; }

/* ---------- Cookie banner ------------------------------------------------ */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70;
  background: #fff; border: 1px solid var(--line-strong);
  border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: none; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 880px; margin: 0 auto;
}
.cookie-banner.is-visible { display: flex; }
.cookie-banner p { margin: 0; font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }
.cookie-banner .buttons { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }
@media (max-width: 768px) {
  .cookie-banner { flex-direction: column; align-items: stretch; bottom: 104px; }
  .cookie-banner .buttons { justify-content: stretch; }
  .cookie-banner .buttons .btn { flex: 1; }
}

/* ---------- Quote / testimonial ------------------------------------------ */
.quote {
  background: var(--bg-soft);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 28px 32px;
  font-size: 1.12rem;
  color: var(--ink);
  line-height: 1.55;
  font-style: italic;
  position: relative;
}
.quote__author {
  display: block; margin-top: 16px;
  font-style: normal; font-family: var(--font-display);
  font-weight: 600; color: var(--ink-strong); font-size: .92rem;
}
.quote__author small {
  display: block; color: var(--ink-soft); font-weight: 400; font-size: .82rem; margin-top: 2px;
}

/* ---------- Document specimens gallery ---------------------------------- */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 960px) { .docs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .docs-grid { grid-template-columns: 1fr; } }

.doc-specimen {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s ease, border-color .2s ease;
  display: flex;
  flex-direction: column;
}
.doc-specimen:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.doc-specimen__image {
  position: relative;
  width: 100%;
  background:
    linear-gradient(135deg, rgba(216,163,44,.04), rgba(0,0,0,0)),
    repeating-linear-gradient(45deg, transparent, transparent 12px, rgba(0,0,0,.015) 12px, rgba(0,0,0,.015) 24px),
    var(--bg-soft);
  padding: 18px;
  display: grid;
  place-items: center;
  border: 0;
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
  font: inherit;
}
.doc-specimen__image img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(10,15,19,.18), 0 1px 3px rgba(10,15,19,.12);
  -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
  -webkit-touch-callout: none; -webkit-user-drag: none;
  pointer-events: none;
  transition: transform .3s var(--ease-out);
}
.doc-specimen__image:hover img { transform: scale(1.02); }
.doc-specimen__zoom {
  position: absolute;
  bottom: 14px; right: 14px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  background: rgba(10,15,19,.82);
  color: #fff;
  border-radius: 999px;
  font-family: var(--font-display); font-weight: 600; font-size: .78rem;
  opacity: 0; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  backdrop-filter: blur(4px);
}
.doc-specimen__zoom svg { width: 15px; height: 15px; }
.doc-specimen__image:hover .doc-specimen__zoom,
.doc-specimen__image:focus-visible .doc-specimen__zoom { opacity: 1; transform: translateY(0); }

/* Lightbox */
.doc-lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,9,11,.92);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center; justify-content: center;
  padding: 32px;
  opacity: 0;
  transition: opacity .25s ease;
}
.doc-lightbox.is-open { display: flex; opacity: 1; }
.doc-lightbox__inner {
  margin: 0;
  max-width: min(900px, 92vw);
  max-height: 90vh;
  display: flex; flex-direction: column; align-items: center;
  animation: lightboxIn .3s var(--ease-out);
}
@keyframes lightboxIn { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.doc-lightbox__inner img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.doc-lightbox__inner figcaption {
  margin-top: 16px;
  color: #fff;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  text-align: center;
}
.doc-lightbox__close {
  position: absolute; top: 20px; right: 28px;
  width: 48px; height: 48px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff; font-size: 2rem; line-height: 1;
  border-radius: 999px; cursor: pointer;
  display: grid; place-items: center;
  transition: background .2s ease;
}
.doc-lightbox__close:hover { background: rgba(255,255,255,.2); }
.doc-specimen figcaption {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.doc-specimen figcaption h3 {
  margin: 6px 0 4px;
  font-size: 1.1rem;
  letter-spacing: -.015em;
}
.doc-specimen figcaption p {
  margin: 0;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ---------- TOC (table of contents) -------------------------------------- */
.toc {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 26px;
  position: sticky; top: calc(var(--header-h) + 24px);
}
.toc__label {
  font-family: var(--font-display); font-size: .76rem;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 16px; font-weight: 600;
  display: flex; align-items: center; gap: 10px;
}
.toc__label::before { content: ""; width: 22px; height: 1px; background: var(--accent); }
.toc__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; counter-reset: tocstep; }
.toc__list a {
  counter-increment: tocstep;
  display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: baseline;
  padding: 8px 10px; border-radius: 8px;
  color: var(--ink-soft); font-size: .92rem; line-height: 1.4;
  transition: background .15s ease, color .15s ease;
}
.toc__list a::before {
  content: counter(tocstep, decimal-leading-zero);
  font-family: var(--font-display); font-weight: 600;
  color: var(--accent-strong); font-size: .78rem;
  letter-spacing: .04em;
}
.toc__list a:hover { background: var(--bg-soft); color: var(--ink-strong); }
.toc__list a.is-current { background: var(--accent-soft); color: var(--ink-strong); }

/* ---------- Callout boxes (notes, warnings, tips) ------------------------ */
.callout {
  display: grid; grid-template-columns: 44px 1fr; gap: 16px;
  padding: 20px 24px; border-radius: var(--radius);
  margin: 28px 0;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}
.callout__icon {
  width: 28px; height: 28px; border-radius: 999px;
  background: var(--accent); color: #1a1300;
  display: grid; place-items: center; flex-shrink: 0;
  font-weight: 700; font-family: var(--font-display);
}
.callout__icon svg { width: 16px; height: 16px; }
.callout__label {
  font-family: var(--font-display); font-weight: 700;
  font-size: .78rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-strong); margin-bottom: 4px;
}
.callout__body { margin: 0; font-size: .98rem; color: #5a4400; line-height: 1.55; }
.callout__body p:last-child { margin-bottom: 0; }
.callout--info { background: var(--green-soft); border-left-color: var(--green); }
.callout--info .callout__icon { background: var(--green); color: #fff; }
.callout--info .callout__label { color: var(--green-strong); }
.callout--info .callout__body { color: #3d4b22; }
.callout--warn { background: #fff4e1; border-left-color: #e08a00; }
.callout--warn .callout__icon { background: #e08a00; color: #fff; }
.callout--warn .callout__label { color: #9a5e00; }
.callout--warn .callout__body { color: #6b3f00; }
.callout--dark { background: var(--bg-dark); border-left-color: var(--accent); }
.callout--dark .callout__label { color: var(--accent); }
.callout--dark .callout__body { color: #c8d0d7; }

/* ---------- Document checklist cards -------------------------------------- */
.doc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 700px) { .doc-grid { grid-template-columns: 1fr; } }
.doc-card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.doc-card__icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--bg-soft); display: grid; place-items: center;
  color: var(--accent-strong); flex-shrink: 0;
}
.doc-card__icon svg { width: 20px; height: 20px; }
.doc-card__title {
  font-family: var(--font-display); font-weight: 600;
  color: var(--ink-strong); font-size: 1rem; letter-spacing: -.01em;
  margin: 0;
}
.doc-card__body { font-size: .92rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }

/* ---------- Comparison table ---------------------------------------------- */
.compare {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
  margin: 28px 0;
}
@media (max-width: 700px) { .compare { grid-template-columns: 1fr; } }
.compare__col {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.compare__col--featured {
  background: var(--bg-dark); color: #c8d0d7;
  border-color: var(--bg-dark);
}
.compare__col--featured h3 { color: #fff; }
.compare__head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.compare__col--featured .compare__head { border-bottom-color: rgba(255,255,255,.1); }
.compare__head .badge { margin-left: auto; }
.compare__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.compare__list li {
  display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start;
  font-size: .96rem; line-height: 1.5;
}
.compare__list li::before {
  content: ""; width: 20px; height: 20px; border-radius: 999px;
  background: var(--green-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2375884B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
  margin-top: 2px;
}
.compare__col--featured .compare__list li::before {
  background: rgba(216,163,44,.2);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D8A32C' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='4 12 10 18 20 6'/></svg>");
  background-size: 12px 12px; background-repeat: no-repeat; background-position: center;
}

/* ---------- Section anchor offset (so sticky header doesn't cover) ------- */
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

/* ---------- Pretty headline (for ghid / docs pages) ---------------------- */
.ch-num {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 700;
  color: var(--accent-strong); font-size: .82rem;
  letter-spacing: .14em; text-transform: uppercase;
  margin-bottom: 14px;
}
.ch-num__dot {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--accent); color: #1a1300;
  display: grid; place-items: center;
  font-size: .82rem; letter-spacing: 0;
}

/* ---------- Inline pill list (chips) ------------------------------------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-soft); border: 1px solid var(--line);
  color: var(--ink); font-size: .88rem; font-weight: 500;
  font-family: var(--font-display);
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.chip:hover { border-color: var(--accent); background: #fff; color: var(--ink-strong); }
.chip__dot { width: 6px; height: 6px; border-radius: 999px; background: var(--accent); }
