/* Gestión Pulpí — trámites de vehículos */
:root {
  --navy: #0f2438;
  --navy-d: #0a1a2a;
  --navy-l: #17496a;
  --orange: #0a8f92;
  --orange-d: #077174;
  --paper: #f8f2e8;
  --ink: #13202f;
  --muted: #5d6b7b;
  --line: #e6e0d4;
  --tint: #e0f5f3;
  --gold: #c3954a;
  --sky: #eef4f6;
  --wa: #128c4a;
  --ok: #1a9a55;
  --r: 14px;
  --r-lg: 24px;
  --shadow: 0 1px 2px rgba(15, 36, 56, .06), 0 8px 24px rgba(15, 36, 56, .08);
  --shadow-lg: 0 24px 60px rgba(0, 20, 45, .28);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--paper); }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy-l); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .5em; font-stretch: normal; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
[hidden] { display: none !important; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem/1.1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn:active { transform: translateY(1px); }
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 6px 18px rgba(10, 143, 146, .35); }
.btn--orange:hover { background: var(--orange-d); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-l); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #0e7a40; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }
.btn--light { background: #fff; color: var(--navy); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .92rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.06rem; }
.btn--block { display: flex; width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.link { background: none; border: 0; padding: 0; font: inherit; color: var(--navy-l); text-decoration: underline; cursor: pointer; }

/* ---------- Cabecera ---------- */
.hd { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s; }
.hd.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(15, 36, 56, .07); }
.hd__in { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); flex: none; }
.logo__mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--orange); color: #fff; font: 800 1.45rem/1 var(--font); font-stretch: normal; }
.logo__txt { display: flex; flex-direction: column; line-height: 1.1; }
.logo__txt b { font-size: 1.3rem; font-weight: 800; font-stretch: normal; letter-spacing: .04em; }
.logo__txt small { font-size: .74rem; color: var(--muted); font-weight: 500; }
.logo--light { color: #fff; }
.logo--light .logo__txt small { color: rgba(255, 255, 255, .7); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .dd__btn { display: inline-flex; align-items: center; gap: 4px; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font: 600 .97rem var(--font); background: none; border: 0; cursor: pointer; }
.nav > a:hover, .dd__btn:hover, .dd.is-open .dd__btn { background: var(--sky); color: var(--navy); }
.dd { position: relative; }
.dd__chev svg { width: 16px; height: 16px; transition: transform .2s; }
.dd.is-open .dd__chev svg { transform: rotate(180deg); }
.mm { position: absolute; top: calc(100% + 10px); left: -120px; width: 720px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 14px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: .18s; }
.dd.is-open .mm { opacity: 1; visibility: visible; transform: none; }
.mm__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mm__item { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: var(--ink); }
.mm__item:hover { background: var(--paper); }
.mm__ilus { width: 40px; height: 44px; flex: none; display: grid; place-items: center; }
.mm__ilus svg { max-height: 44px; width: auto; }
.mm__item b { display: block; font-size: .92rem; font-weight: 600; line-height: 1.2; }
.mm__item small { color: var(--orange-d); font-weight: 700; font-size: .82rem; }
.hd__cta { display: flex; align-items: center; gap: 14px; }
.hd__tel { display: inline-flex; align-items: center; gap: 6px; color: var(--navy); font-weight: 700; text-decoration: none; white-space: nowrap; }
.hd__tel svg, .hd__cta .btn svg { width: 18px; height: 18px; }
.hd__menu { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; place-items: center; }
.hd__menu svg { width: 24px; height: 24px; }

@media (max-width: 1100px) {
  .hd__tel { display: none; }
}
@media (max-width: 960px) {
  .hd__menu { display: grid; }
  .hd__cta { display: none; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: #fff; padding: 8px 16px 18px; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(15, 36, 56, .12); max-height: calc(100vh - 72px); overflow: auto; }
  .hd.is-open .nav { display: flex; }
  .nav > a, .dd__btn { width: 100%; padding: 14px 8px; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; justify-content: space-between; }
  .mm { position: static; width: auto; box-shadow: none; padding: 4px 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .dd.is-open .mm { display: block; }
  .mm__grid { grid-template-columns: 1fr; }
}

/* ---------- Portada ---------- */
.hero { position: relative; color: #fff; background:
  radial-gradient(900px 500px at 85% 10%, rgba(11, 75, 138, .9), transparent 60%),
  radial-gradient(600px 400px at 0% 100%, rgba(10, 143, 146, .18), transparent 60%),
  var(--navy-d); padding: 56px 0 120px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(180deg, #000, transparent 85%); pointer-events: none; }
.hero__in { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero__kicker { display: inline-block; font-size: .9rem; font-weight: 600; color: #bfe9e5; background: rgba(10, 143, 146, .14); border: 1px solid rgba(10, 143, 146, .35); padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { color: #fff; margin-bottom: 18px; text-wrap: balance; }
.hero__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 34em; margin-bottom: 28px; }
.hero__plate { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; }
.hero__hint { margin-top: 14px; color: rgba(255, 255, 255, .75); font-size: .95rem; }
.hero__hint b { color: #fff; }
.hero__curve { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; }
.hero__panel { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.hero__panel h2 { font-size: 1.35rem; text-align: center; margin-bottom: 18px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.tile { display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); text-align: center; }
.tile__ilus { display: grid; place-items: center; width: 100%; aspect-ratio: 1.15; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; transition: border-color .15s, box-shadow .15s, transform .15s; }
.tile__ilus svg { height: 76px; width: auto; }
.tile:first-child .tile__ilus { background: var(--tint); border-color: #bfe9e5; }
.tile:hover .tile__ilus { border-color: var(--orange); box-shadow: 0 8px 20px rgba(15, 36, 56, .12); transform: translateY(-2px); }
.tile__name { font-size: .88rem; font-weight: 600; line-height: 1.2; }

/* Matrícula */
.plate { display: flex; align-items: stretch; height: 56px; background: #fff; border: 3px solid #111; border-radius: 10px; overflow: hidden; flex: 1 1 220px; max-width: 320px; }
.plate__eu { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; width: 34px; background: #1f4aa8; color: #fff; font-weight: 800; font-size: .9rem; padding-bottom: 5px; flex: none; }
.plate__stars { width: 18px; height: 18px; border-radius: 50%; border: 2px dotted #ffd400; margin-bottom: auto; margin-top: 7px; }
.plate input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 12px; font: 800 1.6rem/1 var(--font); font-stretch: normal; letter-spacing: .08em; text-transform: uppercase; color: #111; background: transparent; }
.plate input::placeholder { color: #b9c2cc; }
.plate:focus-within { box-shadow: 0 0 0 4px rgba(10, 143, 146, .45); }
.plate--xl { height: 60px; max-width: 300px; }
.plate--xl input { font-size: 1.75rem; }

/* ---------- Confianza ---------- */
.trust { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: -24px; margin-bottom: 24px; }
.trust__item { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.trust__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--tint); color: var(--orange-d); }
.trust__ico svg { width: 22px; height: 22px; }
.trust__item p { margin: 0; font-size: .9rem; color: var(--muted); line-height: 1.35; }
.trust__item b { display: block; color: var(--navy); font-size: 1rem; margin-bottom: 2px; }

/* ---------- Secciones ---------- */
.sec { padding: 72px 0; }
.sec.wrap { padding-inline: 0; }
.sec--tint { background: #fff; border-block: 1px solid var(--line); }
.sec__head { text-align: center; max-width: 720px; margin: 0 auto 40px; }
.sec__head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
.sec__head--light h2 { color: #fff; }
.sec__head--light p { color: rgba(255, 255, 255, .8); }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.step-card__ilus { display: grid; place-items: center; height: 120px; background: var(--paper); border-radius: var(--r); margin-bottom: 18px; }
.step-card__ilus svg { height: 96px; width: auto; }
.step-card__n { position: absolute; top: 18px; left: 18px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.step-card h3 { color: var(--navy); }
.step-card p { color: var(--muted); margin: 0; }

/* ---------- Calculadora ---------- */
.calc-sec { position: relative; padding: 72px 0 80px; background: var(--navy); background:
  radial-gradient(700px 400px at 100% 0%, rgba(11, 75, 138, .9), transparent 65%),
  radial-gradient(500px 300px at 0% 100%, rgba(10, 143, 146, .16), transparent 60%), var(--navy-d); }
.calc { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.calc__form { background: #fff; border-radius: var(--r-lg); padding: 10px 28px 18px; counter-reset: paso; box-shadow: var(--shadow-lg); }
.cstep { border: 0; margin: 0; padding: 22px 0; border-bottom: 1px solid var(--line); min-width: 0; counter-increment: paso; }
.cstep:last-child { border-bottom: 0; }
.cstep legend { display: flex; align-items: center; gap: 12px; padding: 0; font-weight: 700; font-size: 1.12rem; color: var(--navy); margin-bottom: 14px; float: left; width: 100%; }
.cstep legend + * { clear: both; }
.cstep__n { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .95rem; flex: none; }
.cstep__n::before { content: counter(paso); }
.cstep__body { padding-left: 44px; }

.vtipos { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.vtipos button { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px 10px; border: 2px solid var(--line); border-radius: var(--r); background: #fff; color: var(--muted); font: 600 .9rem/1.15 var(--font); cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.vtipos button svg { width: 58px; height: 34px; color: #8796a8; }
.vtipos button small { font-size: .72rem; font-weight: 500; }
.vtipos button:hover { border-color: #b8c6d6; }
.vtipos button[aria-checked="true"] { border-color: var(--navy); background: var(--sky); color: var(--navy); }
.vtipos button[aria-checked="true"] svg { color: var(--navy); }
.vtipos button[aria-checked="true"] .hub { fill: var(--orange); }

.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid3 { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; }
.grid3--venta { grid-template-columns: 1.2fr 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: .93rem; }
.field input, .field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #cfd8e3; border-radius: 10px; background: #fff; font: 500 1rem var(--font); color: var(--ink); }
.field input:focus, .field select:focus { outline: 0; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(15, 36, 56, .15); }
.field input:disabled { background: var(--paper); }
.field--modelo { margin-top: 14px; }
.hint { font-size: .84rem; color: var(--muted); }
.money { position: relative; }
.money input { padding-right: 34px; font-weight: 700; }
.money span { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 700; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .95rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--navy); flex: none; }
.field .check { font-weight: 400; font-size: .95rem; }
.field .check input { width: 20px; height: 20px; min-height: 0; padding: 0; }
.plate-row { display: flex; gap: 10px; flex-wrap: wrap; }
.plate-row .btn { min-height: 56px; border-radius: 10px; }
.notice { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #fbf6ee; color: #8a4b00; font-size: .93rem; }
.notice.ok { background: #e8f7ee; color: #146c3c; }
.found { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #e8f7ee; color: #146c3c; font-weight: 600; font-size: .93rem; }

.options { list-style: none; margin: 8px 0 0; padding: 0; max-height: 300px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; }
.options:empty { display: none; }
.options li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 12px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: .93rem; }
.options li:last-child { border-bottom: 0; }
.options li:hover, .options li:focus { background: var(--paper); outline: 0; }
.options li[aria-selected="true"] { background: var(--sky); box-shadow: inset 4px 0 0 var(--orange); font-weight: 600; }
.o-meta { color: var(--muted); white-space: nowrap; font-size: .84rem; }
.o-more { color: var(--navy-l) !important; font-weight: 700; justify-content: center !important; }
.o-empty { color: var(--muted); cursor: default !important; }

.special { margin-top: 14px; border-radius: 12px; background: var(--paper); padding: 12px 14px; }
.special summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.special p { margin: 10px 0; color: var(--muted); font-size: .93rem; }

/* Resultado */
.calc__out { position: sticky; top: 90px; display: grid; gap: 14px; }
.panel { background: #fff; border-radius: var(--r-lg); padding: 22px 24px; box-shadow: var(--shadow-lg); }
.panel__title { text-align: center; font-size: 1.15rem; color: var(--navy); margin-bottom: 10px; }
.panel__veh { text-align: center; font-size: .9rem; color: var(--muted); margin: -4px 0 8px; }
.rows { margin: 0; }
.rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.rows dt { color: var(--muted); }
.rows dt small { font-size: .78rem; }
.rows dd { margin: 0; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rows__strong dt { color: var(--ink); font-weight: 600; }
.panel--total { border-top: 5px solid var(--orange); }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 6px; }
.total span { font-weight: 700; color: var(--orange-d); font-size: 1.1rem; }
.total small { display: block; color: var(--muted); font-weight: 500; font-size: .78rem; }
.total strong { font-size: 2.1rem; font-stretch: normal; color: var(--navy); font-variant-numeric: tabular-nums; }
.faltan { list-style: none; margin: 8px 0 0; padding: 12px 14px; background: var(--paper); border-radius: 12px; font-size: .88rem; color: var(--muted); }
.faltan:empty { display: none; }
.faltan li { padding: 2px 0 2px 16px; position: relative; }
.faltan li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.faltan li.faltan__t { padding-left: 0; font-weight: 700; color: var(--ink); }
.faltan li.faltan__t::before { display: none; }
#ticket-lleno { display: grid; gap: 10px; margin-top: 6px; }
.why { background: var(--paper); border-radius: 12px; padding: 10px 14px; font-size: .9rem; }
.why summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.why p { margin: 8px 0 0; color: var(--muted); }
.panel__note { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }

/* Barra móvil */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--navy-d); color: #fff; box-shadow: 0 -8px 24px rgba(0, 0, 0, .2); }
.bar__label { display: block; font-size: .78rem; color: rgba(255, 255, 255, .7); }
.bar strong { font-size: 1.35rem; }
@media (min-width: 961px) { .bar { display: none !important; } }

/* ---------- Documentación ---------- */
.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.doc-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.doc-card h3 { color: var(--navy); margin-bottom: 14px; }
.doc-row { position: relative; display: flex; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.doc-row__ilus { width: 64px; height: 80px; flex: none; display: grid; place-items: center; }
.doc-row__ilus svg { max-height: 80px; width: auto; }
.doc-row__ilus--wide svg { width: 64px; height: auto; }
.doc-row p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.4; }
.doc-row b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }
.tag { align-self: flex-start; flex: none; margin-top: 2px; background: #e8f7ee; color: #146c3c; font-size: .75rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; }
.docs__cta { text-align: center; margin-top: 28px; }

/* ---------- Rejilla de trámites ---------- */
.grid-tr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card-tr { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: 1fr auto; gap: 6px 16px; padding: 20px; background: var(--tint); border: 1px solid #d3f0ed; border-radius: var(--r-lg); text-decoration: none; color: var(--ink); transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-tr:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--orange); }
.card-tr__ilus { grid-row: span 2; display: grid; place-items: center; background: #fff; border-radius: 12px; height: 92px; padding: 8px; }
.card-tr__ilus svg { max-height: 76px; width: auto; }
.card-tr__body b { display: block; font-size: 1.08rem; color: var(--navy); line-height: 1.2; margin-bottom: 4px; }
.card-tr__body span { font-size: .9rem; color: var(--muted); line-height: 1.4; }
.card-tr__price { justify-self: start; align-self: end; background: var(--orange); color: #fff; font-weight: 800; padding: 6px 14px; border-radius: 999px; font-size: .95rem; }
.card-tr--main { background: var(--navy); border-color: var(--navy); }
.card-tr--main .card-tr__body b { color: #fff; }
.card-tr--main .card-tr__body span { color: rgba(255, 255, 255, .8); }

/* ---------- Preguntas ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
.faq__side { position: sticky; top: 100px; }
.faq__side p { color: var(--muted); }
.faq__contact { display: grid; gap: 10px; max-width: 320px; }
.faq__list details { background: #fff; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.faq__list summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 20px; font-weight: 700; cursor: pointer; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); font-size: 1.3rem; font-weight: 500; color: var(--navy); transition: transform .2s; }
.faq__list details[open] summary::after { transform: rotate(45deg); background: var(--tint); color: var(--orange-d); }
.faq__list details p { padding: 0 20px 18px; margin: 0; color: var(--muted); }

/* ---------- Contacto ---------- */
.contact { background: linear-gradient(120deg, #0a5f62 0%, #0a8f92 100%); color: #fff; padding: 64px 0; }
.contact__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; }
.contact h2 { color: #fff; }
.contact__lead { font-size: 1.12rem; color: rgba(255, 255, 255, .92); max-width: 30em; }
.contact__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.contact .btn--wa { background: var(--navy-d); }
.contact .btn--wa:hover { background: var(--navy); }
.contact__data { list-style: none; margin: 0; padding: 24px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); border-radius: var(--r-lg); display: grid; gap: 18px; }
.contact__data li { display: flex; gap: 14px; }
.contact__data svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.contact__data p { margin: 0; line-height: 1.45; }
.contact__data b { display: block; }
.contact__data a { color: #fff; font-weight: 600; }

/* ---------- Pie ---------- */
.ft { background: var(--navy-d); color: rgba(255, 255, 255, .78); padding: 56px 0 28px; font-size: .93rem; }
.ft__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.ft h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ft a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.ft a:hover { color: #fff; text-decoration: underline; }
.ft__brand p { margin-top: 16px; max-width: 30em; }
.ft__legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .8rem; color: rgba(255, 255, 255, .55); }

/* ---------- Página de trámite ---------- */
.th { position: relative; color: #fff; background:
  radial-gradient(900px 500px at 85% 10%, rgba(11, 75, 138, .9), transparent 60%), var(--navy-d); padding: 40px 0 120px; overflow: hidden; }
.th__in { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .88rem; color: rgba(255, 255, 255, .65); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .85); }
.th h1 { color: #fff; font-size: clamp(2rem, 4vw, 3.1rem); }
.th__lead { font-size: 1.15rem; color: rgba(255, 255, 255, .85); max-width: 32em; }
.th__facts { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.th__facts li { display: flex; gap: 10px; align-items: center; color: rgba(255, 255, 255, .85); }
.th__facts svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.th__facts b { color: #fff; }
.th__card { background: #fff; color: var(--ink); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-lg); text-align: center; display: grid; gap: 10px; border-top: 5px solid var(--orange); }
.th__ilus { display: grid; place-items: center; height: 120px; }
.th__ilus svg { max-height: 120px; width: auto; }
.th__label { margin: 6px 0 0; font-weight: 600; color: var(--muted); }
.th__price { margin: 0; font-size: 3rem; font-weight: 800; font-stretch: normal; color: var(--navy); line-height: 1; }
.th__price small { display: block; font-size: .9rem; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.th__note { margin: 0 0 6px; font-size: .88rem; color: var(--muted); }
.th-body { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.needs { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.needs li { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-weight: 600; }
.needs__ico { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #e8f7ee; color: var(--ok); flex: none; }
.needs__ico svg { width: 18px; height: 18px; }
.mini-steps { list-style: none; counter-reset: ms; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; }
.mini-steps li { counter-increment: ms; position: relative; padding: 16px 16px 16px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); color: var(--muted); }
.mini-steps li::before { content: counter(ms); position: absolute; left: 16px; top: 14px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; }
.mini-steps b { color: var(--ink); }

/* ---------- Adaptación ---------- */
@media (max-width: 1100px) {
  .vtipos { grid-template-columns: repeat(3, 1fr); }
  .grid3 { grid-template-columns: 1fr 1fr; }
  .grid3 .field:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .hero { padding: 36px 0 100px; }
  .hero__in, .th__in { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .steps, .docs { grid-template-columns: 1fr; }
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__out { position: static; }
  .grid-tr { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 24px; }
  .faq__side { position: static; }
  .contact__in { grid-template-columns: 1fr; }
  .ft__in { grid-template-columns: 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
  .th-body { grid-template-columns: 1fr; }
  .step-card { display: grid; grid-template-columns: 96px 1fr; gap: 0 18px; align-items: start; }
  .step-card__ilus { grid-row: span 2; height: 110px; margin: 0; }
  .step-card__ilus svg { height: 84px; }
  .step-card__n { top: -10px; left: -10px; }
  .step-card h3 { margin-top: 6px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .sec { padding: 52px 0; }
  .hero__panel { padding: 18px 14px; }
  .tiles { gap: 8px; }
  .tile__ilus svg { height: 54px; }
  .tile__name { font-size: .8rem; }
  .hero__plate .btn { width: 100%; white-space: normal; text-align: center; padding: 10px 18px; }
  .btn { white-space: normal; }
  .plate--xl { max-width: none; }
  .trust { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: -40px; }
  .trust__item { flex-direction: column; gap: 8px; padding: 14px; }
  .trust__item p { font-size: .82rem; }
  .trust__item b { font-size: .92rem; }
  .calc__form { padding: 4px 16px 10px; }
  .cstep__body { padding-left: 0; }
  .vtipos { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .vtipos button svg { width: 48px; height: 28px; }
  .grid2, .grid3 { grid-template-columns: 1fr; }
  .grid-tr { grid-template-columns: 1fr; }
  .panel { padding: 18px 16px; }
  .ft__in { grid-template-columns: 1fr; }
  .contact__btns .btn { width: 100%; }
  .card-tr { grid-template-columns: 64px 1fr; padding: 16px; }
  .card-tr__ilus { height: 80px; }
  .th__price { font-size: 2.6rem; }
  .plate-row { flex-wrap: nowrap; }
  .plate-row .plate { max-width: none; flex: 1 1 auto; }
  .plate-row .plate input { font-size: 1.35rem; padding: 0 8px; }
  .plate-row .btn { padding: 0 16px; }
  .calc-sec { padding-bottom: 90px; }
}

/* Logo de Gestión Pulpí: emblema dorado + nombre */
.logo__img { width: 44px; height: 44px; flex: none; object-fit: contain; }
.logo__txt b { font-size: 1.12rem; font-weight: 700; letter-spacing: .12em; color: var(--navy); }
.logo__txt small { font-size: .66rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.logo--light .logo__txt b { color: #fff; }
.logo--light .logo__txt small { color: var(--gold); }
