:root {
  /* Brand */
  --ink:        #0A1428;
  --ink-2:      #193C6E;     /* PANTONE 294 — primary */
  --ink-3:      #355A8A;
  --paper:      #FAF8F4;
  --paper-2:    #F2EEE6;
  --cream:      #E8DFD0;
  --accent:     #14AA87;     /* PANTONE 808 — quiet accent */
  --accent-dim: #0E7A60;
  --line:       rgba(10, 20, 40, 0.12);
  --line-soft:  rgba(10, 20, 40, 0.07);
  --muted:      rgba(10, 20, 40, 0.62);

  /* Type */
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  /* Layout */
  --pad: clamp(20px, 4vw, 64px);
  --gutter: clamp(16px, 2vw, 32px);
  --maxw: 1440px;
  --radius: 4px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ── Type system ──────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow.no-rule::before { display: none; }

.display {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(40px, 6.4vw, 70px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.display em {
  font-style: normal;
  font-weight: 300;
  color: var(--ink-3);
}

h2.section-title {
  font-weight: 700;
  font-size: clamp(32px, 4.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-wrap: balance;
}

h3 {
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

p.lead {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.45;
  color: var(--muted);
  max-width: 56ch;
  font-weight: 400;
  text-wrap: pretty;
}
p { text-wrap: pretty; }

.muted { color: var(--muted); }
.index {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn-primary {
  background: var(--ink);
  color: var(--paper);
}
.btn-primary:hover { background: var(--ink-2); }

.btn-accent {
  background: var(--accent);
  color: white;
}
.btn-accent:hover { background: var(--accent-dim); }

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: rgba(10,20,40,0.04); }

.btn-link {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding: 0;
  border-radius: 0;
  position: relative;
}
.btn-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--ink-2);
  transition: transform .3s ease;
  transform-origin: left;
}
.btn-link:hover::after { transform: scaleX(0.6); }

/* ── Wrapper ──────────────────────────────────────────────── */
.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(250, 248, 244, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, padding .25s ease;
}
.site-header.scrolled { border-bottom-color: var(--line-soft); padding: 10px 0; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-brand img { width: 70px; height: auto; border-radius: 6px; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.78;
  transition: opacity .2s ease;
}
.nav-links a:hover { opacity: 1; }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-cta .btn { padding: 10px 16px; font-size: 13.5px; }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 40px; height: 40px;
    border: 1px solid var(--line);
    border-radius: 999px;
    align-items: center; justify-content: center;
  }
  .menu-toggle span {
    width: 16px; height: 1.5px; background: var(--ink);
    position: relative;
    transition: transform .25s ease, top .25s ease;
  }
  .menu-toggle span::before, .menu-toggle span::after {
    content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
    transition: transform .25s ease, top .25s ease;
  }
  .menu-toggle span::before { top: -5px; }
  .menu-toggle span::after  { top: 5px; }
  .menu-open .menu-toggle span { background: transparent; }
  .menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
  .menu-open .menu-toggle span::after  { top: 0; transform: rotate(-45deg); }
}

/* Mobile menu drawer */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--paper);
  padding: 100px var(--pad) var(--pad);
  z-index: 90;
  flex-direction: column;
  gap: 4px;
}
.menu-open .mobile-menu { display: flex; }
.mobile-menu a {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}

/* ── Hero ─────────────────────────────────────────────────── */

.contenedor-sello {
  display: flex;
  align-items: center; /* Alineación vertical perfecta */
  gap: 20px;           /* Espacio entre la imagen y el texto */
}

.sello-wrapper {
  flex: 0 0 130px;     /* No crece, no se encoge, siempre 130px */
  width: 130px;
}

.sello-primary {
  display: block;
  width: 100%;         /* Se adapta al ancho del wrapper (130px) */
  height: auto;
}

.texto-wrapper {
  flex: 1;             /* El texto ocupa el resto del espacio disponible */
}

.m-0{
  margin: 0 !important;
}

/* Responsivo: Si en móviles quieres que el texto baje */
@media (max-width: 576px) {
  .contenedor-sello {
    flex-direction: column;
    align-items: flex-start; /* Alinea a la izquierda en móvil */
    gap: 15px;
  }
}


.hero {
  padding: clamp(40px, 6vw, 96px) 0 clamp(64px, 8vw, 120px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: end;
}
.hero-text { padding-bottom: 24px; }

.sello-primary,.sello-secondary{
  max-width: 150px;
}
.hero-seal-inline {
  width: clamp(96px, 11vw, 140px);
  aspect-ratio: 385 / 456;
  background: var(--ink-2);
  border-radius: 50% 50% 8px 8px / 50% 50% 8px 8px;
  padding: 12px;
  margin-bottom: 36px;
  display: grid; place-items: center;
}
.hero-seal-inline img { width: 100%; height: 100%; object-fit: contain; }
.hero-text .eyebrow { margin-bottom: 20px; margin-top: 40px; }
.hero-text .display { margin-bottom: 36px; }
.hero-text .display .accent { color: var(--accent); }
.hero-text .lead { margin-bottom: 20px; }
.hero-text .desc { font-size: 14px; margin-bottom: 20px;color: var(--muted) }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(0.95);
}
.hero-seal {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: clamp(120px, 16vw, 184px);
  aspect-ratio: 385 / 456;
  background: var(--ink-2);
  border-radius: 50% 50% 8px 8px / 50% 50% 8px 8px;
  padding: 14px;
  box-shadow: 0 30px 60px -20px rgba(10,20,40,0.45);
  display: flex; align-items: center; justify-content: center;
}
.hero-seal img { width: 100%; height: 100%; object-fit: contain; }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
  padding-top: 32px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 24px;
}
.hero-meta-item b {
  font-family: var(--sans);
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.hero-meta-item span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-text { padding-bottom: 0; }
  .hero-visual { max-height: 78vh; }
  .hero-meta { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .hero-meta-item { border-top: 1px solid var(--line-soft); padding-top: 16px; }
  .hero-meta { border-top: 0; padding-top: 0; }
}

/* ── Trust strip ──────────────────────────────────────────── */
.trust {
  padding: 28px 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  position: relative;
}
.trust-row {
  display: flex;
  align-items: center;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 36s linear infinite;
  width: max-content;
}
.trust-row span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.92;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.trust-row span::after {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Section base ─────────────────────────────────────────── */
section.s {
  padding: clamp(50px, 10vw, 50px) 0;
  position: relative;
}
section.s.paper-2 { background: var(--paper-2); }
section.s.cream { background: var(--cream); }
section.s.ink {
  background: var(--ink);
  color: var(--paper);
}
section.s.ink .muted { color: rgba(255,255,255,0.6); }
section.s.ink h2.section-title { color: var(--paper); }
section.s.ink .eyebrow { color: var(--accent); }
section.s.ink .eyebrow::before { background: var(--accent); }

.section-head {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 96px);
  margin-bottom: clamp(48px, 7vw, 96px);
  align-items: end;
}
.section-head .lead { margin-top: 24px; }
.section-head-meta { display: flex; flex-direction: column; gap: 20px; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 20px; }
}

/* ── About section ────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 6fr 6fr;
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}
.about-grid > .about-image {
  aspect-ratio: 5 / 5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  position: sticky;
  top: 100px;
}
.about-grid > .about-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-points {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.about-point {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.about-point .index { color: var(--ink-2); padding-top: 4px; }
.about-point h3 { margin-bottom: 8px; }
.about-point p { color: var(--muted); font-size: 16px; }

@media (max-width: 880px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-grid > .about-image { position: static; }
}

/* ── Dimensions (4 cards) ─────────────────────────────────── */
.ico-dim{
  max-width: 50px;
}
.dims {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.dim {
  padding: 40px 32px 40px 0;
  border-right: 1px solid var(--line);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background .3s ease;
}
.dim:last-child { border-right: 0; }
.dim:first-child { padding-left: 0; }
.dim:not(:first-child) { padding-left: 32px; }

.dim-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}
.dim h3 { font-size: 26px; letter-spacing: -0.02em; }
.dim p { color: var(--muted); font-size: 15.5px; line-height: 1.55; }
.dim-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  margin-top: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-2);
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.dim:hover .dim-mark { background: var(--ink-2); color: white; border-color: var(--ink-2); }

@media (max-width: 1100px) {
  .dims { grid-template-columns: repeat(2, 1fr); }
  .dim { padding: 32px 24px !important; border-bottom: 1px solid var(--line); }
  .dim:nth-child(2n) { border-right: 0; }
  .dim:nth-child(n+3) { border-bottom: 0; }
}
@media (max-width: 600px) {
  .dims { grid-template-columns: 1fr; }
  .dim { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; padding-left: 0 !important; padding-right: 0 !important; }
  .dim:last-child { border-bottom: 0 !important; }
}

/* ── Levels ───────────────────────────────────────────────── */
.levels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.level {
  padding: 40px;
  background: var(--paper);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-soft);
}
.level.lv-1 {
  background: var(--ink);
  color: var(--paper);
}
.level.lv-1 .level-bar-track { background: rgba(255,255,255,0.08); }
.level.lv-1 .level-bar-fill { background: var(--accent); }
.level.lv-1 .req { color: rgba(255,255,255,0.8); }
.level.lv-1 .req strong { color: var(--paper); }

.level-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}
.level h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1;
}
.level-reqs { display: flex; flex-direction: column; gap: 12px; margin-top: 8px; }
.req {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  color: var(--muted);
}
.req strong { color: var(--ink); font-family: var(--mono); font-weight: 500; }
.level.lv-1 .req strong { color: var(--paper); }

.level-bar-track {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
  overflow: hidden;
}
.level-bar-fill {
  height: 100%;
  background: var(--ink-2);
  border-radius: 2px;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.in-view .level-bar-fill { transform: scaleX(var(--fill, 1)); }

.levels-note {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  text-transform: uppercase;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.levels-note::before {
  content: "*";
  font-family: var(--sans);
  font-size: 20px;
  color: var(--accent);
  line-height: 0.5;
}

@media (max-width: 700px) {
  .levels { grid-template-columns: 1fr; }
  .level { padding: 28px; }
}

/* ── Eligibility ──────────────────────────────────────────── */
.elig-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.elig-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
}
.elig-list li {
  list-style: none;
  padding: 28px 20px 28px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.elig-list li:nth-child(odd) { padding-right: 32px; border-right: 1px solid var(--line); padding-left: 0; }
.elig-list li:nth-child(even) { padding-left: 32px; }
.elig-list .check {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  display: grid; place-items: center;
  margin-top: 2px;
}
.elig-list .check::after {
  content: "";
  width: 8px; height: 4px;
  border-left: 1.5px solid var(--accent);
  border-bottom: 1.5px solid var(--accent);
  transform: rotate(-45deg) translate(1px, -1px);
}
.elig-list strong { font-weight: 600; font-size: 16px; display: block; margin-bottom: 4px; }
.elig-list span { font-size: 14px; color: var(--muted); }

@media (max-width: 880px) {
  .elig-grid { grid-template-columns: 1fr; }
  .elig-list { grid-template-columns: 1fr; }
  .elig-list li { padding: 24px 0 !important; border-right: 0 !important; }
}

/* ── Process ──────────────────────────────────────────────── */

.process {
  position: relative;
}
.process-track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  position: relative;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  right: 30px;
  height: 1px;
  background: var(--line);
}
.process-track::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  width: var(--progress, 0%);
  max-width: calc(100% - 60px);
  height: 1px;
  background: var(--accent);
  transition: width 1.4s ease;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all .3s ease;
}
.step.active .step-num,
.step:hover .step-num {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.step h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; margin-top: 6px; }
.step p { font-size: 14.5px; color: var(--muted); line-height: 1.5; }

@media (max-width: 900px) {
  .process-track { grid-template-columns: 1fr; gap: 0; }
  .process-track::before, .process-track::after { left: 30px; top: 60px; bottom: 60px; width: 1px; height: auto; right: auto; }
  .process-track::after { height: var(--progress, 0%); width: 1px; }
  .step {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--line-soft);
  }
  .step:first-child { border-top: 0; }
  #proceso .step{
    display: block;
  }
  .step p {
    padding-left: 80px;
}
.step h3 {
    margin-top: -40px;
    padding-left: 80px;
}
}

/* ── Validity ─────────────────────────────────────────────── */
.validity {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
}
.val-card {
  padding: 48px 40px;
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.val-card.feature {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}
.val-num {
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 0.9;
  font-feature-settings: "tnum" 1;
}
.val-card.feature .val-num { color: white; }
.val-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.7;
}
.val-card p { color: var(--muted); }
.val-card.feature p { color: rgba(255,255,255,0.92); }

@media (max-width: 700px) {
  .validity { grid-template-columns: 1fr; }
  .val-card { padding: 32px 28px; }
}

/* ── Documents ────────────────────────────────────────────── */
.docs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}
.doc {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  transition: padding .25s ease;
}
.doc:hover { padding-left: 16px; }
.doc-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.doc-title { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.01em; }
.doc-meta { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.doc-arrow {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  transition: all .25s ease;
}
.doc:hover .doc-arrow { background: var(--ink); border-color: var(--ink); color: white; transform: rotate(-45deg); }

/* ── Institutional / AIDQA ────────────────────────────────── */
.aidqa {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.aidqa-content { padding: 20px 0; }
.aidqa-content .display { color: var(--paper); }
.aidqa-content .display em { color: var(--accent); }
.aidqa-content p.lead { color: rgba(255,255,255,0.78); }
.aidqa-content .partner-row {
  display: flex; gap: 24px; margin-top: 36px; align-items: center; flex-wrap: wrap;
}
.aidqa-content .partner-row .pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  color: rgba(255,255,255,0.85);
}
.aidqa-image {
  aspect-ratio: 3/3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink-2);
}
.aidqa-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) { .aidqa { grid-template-columns: 1fr; } }

/* ── FAQ ──────────────────────────────────────────────────── */
.faq-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.faq-list { border-top: 1px solid var(--line); }
.faq {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  display: grid;
  grid-template-columns: 1fr 40px;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  width: 100%;
  text-align: left;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 500;
  letter-spacing: -0.015em;
  cursor: pointer;
}
.faq-toggle {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid; place-items: center;
  position: relative;
  transition: background .25s ease, border-color .25s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute;
  width: 12px; height: 1.4px; background: var(--ink);
  transition: transform .3s ease, background .3s ease;
}
.faq-toggle::after { transform: rotate(90deg); }
.faq[open] .faq-toggle::after { transform: rotate(0deg); }
.faq[open] .faq-toggle { background: var(--ink); border-color: var(--ink); }
.faq[open] .faq-toggle::before, .faq[open] .faq-toggle::after { background: white; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq[open] .faq-a { max-height: 400px; }
.faq-a-inner {
  padding: 0 0 28px;
  max-width: 56ch;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .faq-grid { grid-template-columns: 1fr; }
}

/* ── Final CTA ────────────────────────────────────────────── */
.final-cta {
  position: relative;
  padding: clamp(50px, 6vw, 90px) 0;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/cheese-cream.jpg') center/cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: screen;
  filter: saturate(1.4);
}
.final-cta .wrap { position: relative; }
.final-cta .display { color: var(--paper); margin-bottom: 32px; }
.final-cta .display em { color: var(--accent); }

.contact-block {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contact-mail {
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  font-size: clamp(28px, 4.4vw, 40px);
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--paper);
  line-height: 1.1;
  position: relative;
  transition: color .25s ease;
}
.contact-mail .arrow {
  font-size: 0.6em;
  color: var(--accent);
  transition: transform .25s ease;
}
.contact-mail::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 1px;
  background: rgba(255,255,255,0.22);
  transition: background .25s ease;
}
.contact-mail:hover { color: var(--accent); }
.contact-mail:hover .arrow { transform: translate(4px, -4px); }
.contact-mail:hover::after { background: var(--accent); }

/* ── Footer ───────────────────────────────────────────────── */
footer.site-footer {
  background: var(--paper-2);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer-top {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  padding-bottom: 24px;
  align-items: start;
}
.footer-brand { display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { width: 70px; border-radius: 6px; }
.footer-brand p { color: var(--muted); max-width: 36ch; font-size: 14px; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 5px 0; opacity: 0.8; transition: opacity .2s ease; }
.footer-col a:hover { opacity: 1; }


@media (max-width: 800px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
}

/* ── Reveal animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .4s; }

/* ── Tweaks panel ─────────────────────────────────────────── */
.tweaks {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 280px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 24px 48px -16px rgba(10,20,40,0.2);
  z-index: 200;
  display: none;
  font-size: 13px;
}
.tweaks.open { display: block; }
.tweaks-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.tweaks-head b { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tweaks-head button { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
.tweak-row { margin: 14px 0; }
.tweak-row label { display: block; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--mono); }
.swatches { display: flex; gap: 8px; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .2s ease;
}
.swatch.active { border-color: var(--ink); }
.swatch:hover { transform: scale(1.1); }
.seg { display: flex; gap: 4px; background: var(--paper-2); padding: 4px; border-radius: 999px; }
.seg button {
  flex: 1; padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px; font-family: var(--mono);
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted);
}
.seg button.active { background: var(--ink); color: white; }

@media (max-width: 600px) { .tweaks { left: 16px; right: 16px; width: auto; } }

/* ── Variants ─────────────────────────────────────────────── */
body[data-hero="seal"] .hero-grid { grid-template-columns: 1fr; text-align: center; justify-items: center; }
body[data-hero="seal"] .hero-visual { display: none; }
body[data-hero="seal"] .hero-seal-inline {
  width: clamp(160px, 20vw, 220px);
  margin: 0 auto 40px;
}
body[data-hero="seal"] .hero-ctas { justify-content: center; }
body[data-hero="seal"] .hero-text .lead { margin-left: auto; margin-right: auto; }

body[data-hero="full"] .hero { padding-top: 0; }
body[data-hero="full"] .hero-grid {
  grid-template-columns: 1fr;
  position: relative;
  min-height: 92vh;
  align-items: center;
  padding: 80px 0;
}
body[data-hero="full"] .hero-visual {
  position: absolute;
  inset: -120px -100px -60px;
  aspect-ratio: auto;
  border-radius: 0;
  z-index: 0;
  margin: 0 calc(var(--pad) * -1);
  width: calc(100% + var(--pad) * 2);
}
body[data-hero="full"] .hero-visual img { filter: saturate(0.6) brightness(0.55); }
body[data-hero="full"] .hero-text { position: relative; z-index: 1; padding-bottom: 0; color: var(--paper); max-width: 820px; }
body[data-hero="full"] .hero-text .display { color: var(--paper); }
body[data-hero="full"] .hero-text .eyebrow { color: var(--accent); }
body[data-hero="full"] .hero-text .eyebrow::before { background: var(--accent); }
body[data-hero="full"] .hero-text .lead { color: rgba(255,255,255,0.85); }
body[data-hero="full"] .hero-seal-inline {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
}
body[data-hero="full"] .btn-ghost { color: var(--paper); border-color: rgba(255,255,255,0.25); }
body[data-hero="full"] .btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.08); }

/* Selection */
::selection { background: var(--accent); color: white; }