/* ============================================================
   VOLUMEN 2 — Hoja de estilos principal
   Paleta "Institucional Predial": verde profundo (#17453A) + guinda (#7E2B47) + dorado (#d9a521)
   Regla de uso: verde = estructura institucional · guinda = conversión (hero, botones de acción) · dorado = acento
   Textura damasco: assets/damask.png (cabeceras y footer)
   ============================================================ */

:root {
  --c-primary: #17453A;        /* Verde profundo institucional (estructura) */
  --c-primary-dark: #0F2C26;   /* Verde profundo oscuro (topbar, footer) */
  --c-primary-light: #2E6B58;  /* Verde claro (hover / enlaces) */
  --c-guinda: #7E2B47;         /* Guinda (botones de acción sobre fondo claro) */
  --c-guinda-dark: #5e1a30;    /* Guinda oscuro (hero, CTA final) */
  --c-accent: #d9a521;         /* Dorado (CTA hero + micro-acentos) */
  --c-accent-dark: #b8890f;    /* Dorado oscuro (hover CTA) */
  --c-ink: #1f2937;            /* Texto principal */
  --c-muted: #6b7280;          /* Texto secundario */
  --c-bg: #f4f5f7;             /* Fondo general */
  --c-card: #ffffff;
  --c-border: #e2e5ea;

  --info-bg: #ebf3f1;          /* Cajas informativas (verde pino claro) */
  --info-border: #bcd6d1;
  --warn-bg: #fdf3d7;          /* Cajas de advertencia (ámbar) */
  --warn-border: #e6c56a;
  --ok-bg: #e6f4ea;            /* Éxito (verde claro) */
  --ok-border: #9ed2ae;
  --ok-ink: #1e7a44;

  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--c-ink);
  background: var(--c-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font-heading); }

a { color: var(--c-primary-light); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* ============================================================
   TOPBAR + NAVBAR (landings)
   ============================================================ */
.topbar {
  background: var(--c-primary-dark);
  border-bottom: 2px solid var(--c-accent);
  color: #fff;
  font-size: 12px;
  padding: 6px 0;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.85); font-size: 12px; }

.navbar {
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  position: sticky; top: 0; z-index: 50;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img, .brand svg { width: 46px; height: 46px; object-fit: contain; }
.brand-name { font-family: var(--font-heading); font-weight: 800; color: var(--c-primary); font-size: 17px; line-height: 1.2; }
.brand-sub { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); font-weight: 600; }

.nav-links { display: flex; gap: 26px; list-style: none; }
.nav-links a { color: #374151; font-size: 14px; font-weight: 600; }
.nav-links a:hover { color: var(--c-primary); text-decoration: none; }

/* ============================================================
   HERO (landings)
   ============================================================ */
.hero {
  /* Guinda sólido + damasco (momento de conversión) */
  background-color: #5e1a30;
  background-image: linear-gradient(rgba(46,8,24,.4), rgba(46,8,24,.58)), url("../assets/damask.png");
  background-size: auto, auto 100%;
  background-repeat: no-repeat, repeat-x;
  color: #fff;
  text-align: center;
  padding: 84px 20px 92px;
  position: relative;
  overflow: hidden;
}
.hero > * { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(30px, 4.6vw, 46px); font-weight: 800; margin-bottom: 26px; letter-spacing: -.01em; display: inline-block; position: relative; padding-bottom: 16px; }
.hero h1::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 72px; height: 3px; background: var(--c-accent); border-radius: 2px; }
.hero p { max-width: 720px; margin: 0 auto 30px; color: rgba(255,255,255,.9); font-size: 16.5px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Secciones CTA finales — mismo tratamiento que .hero (guinda + damasco) */
.hero-guinda {
  background-color: #5e1a30;
  background-image: linear-gradient(rgba(46,8,24,.4), rgba(46,8,24,.58)), url("../assets/damask.png");
  background-size: auto, auto 100%;
  background-repeat: no-repeat, repeat-x;
}

/* ============================================================
   BOTONES
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-heading); font-weight: 700; font-size: 14px;
  padding: 13px 26px; border-radius: 5px; border: 2px solid transparent;
  cursor: pointer; transition: all .18s ease; text-transform: uppercase; letter-spacing: .03em;
}
.btn:hover { text-decoration: none; }
.btn-gold { background: var(--c-accent); color: #241a02; border-color: var(--c-accent); }
.btn-gold:hover { background: var(--c-accent-dark); border-color: var(--c-accent-dark); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-primary { background: var(--c-primary); color: #fff; border-color: var(--c-primary); }
.btn-primary:hover { background: var(--c-primary-light); border-color: var(--c-primary-light); }
.btn-guinda { background: var(--c-guinda); color: #fff; border-color: var(--c-guinda); }
.btn-guinda:hover { background: var(--c-guinda-dark); border-color: var(--c-guinda-dark); }
.btn-outline { background: transparent; color: var(--c-primary); border-color: var(--c-primary); }
.btn-outline:hover { background: var(--c-primary); color: #fff; }
.btn[disabled] { opacity: .55; cursor: not-allowed !important; pointer-events: none; }

/* ============================================================
   SECCIONES DE CONTENIDO (landings)
   ============================================================ */
.section { padding: 64px 0; background: #fff; }
.section.alt { background: var(--c-bg); }
.section-title-band { text-align: center; margin-bottom: 42px; }
.band-pill {
  display: inline-block; background: var(--c-guinda); color: #fff;
  font-family: var(--font-heading); font-weight: 800; letter-spacing: .1em;
  padding: 13px 34px; border-radius: 6px; font-size: 17px; text-transform: uppercase;
}
a.band-pill { text-decoration: none; transition: background .15s ease, transform .15s ease; }
a.band-pill:hover { background: var(--c-guinda-dark); transform: translateY(-1px); }

/* Grid de tarjetas "INICIAR TRÁMITE" */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tramite-card {
  background: var(--c-card); border: 1px solid var(--c-border); border-radius: 8px;
  padding: 26px 20px; text-align: center; transition: all .18s ease; display: block; color: inherit;
}
.tramite-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(15,44,38,.14); border-color: var(--c-accent); text-decoration: none; }
.tramite-card .icon { font-size: 26px; color: var(--c-accent-dark); margin-bottom: 12px; }
.tramite-card h3 { font-size: 15.5px; font-weight: 700; color: var(--c-primary); margin-bottom: 8px; }
.tramite-card p { font-size: 12.5px; color: var(--c-muted); line-height: 1.45; }

/* Fotografía realista en tarjetas de trámite */
.tramite-card .card-photo { margin: -26px -20px 14px; height: 98px; overflow: hidden; border-radius: 7px 7px 0 0; background: var(--c-bg); }
.tramite-card .card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.tramite-card:hover .card-photo img { transform: scale(1.06); }

/* Layout con sidebar (landings de tipo) */
.content-layout { display: grid; grid-template-columns: minmax(0,1fr) 300px; gap: 36px; align-items: start; }
.prose h2 { font-size: 24px; color: var(--c-primary); margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--c-accent); display: inline-block; }
.prose h3 { font-size: 17.5px; color: var(--c-ink); margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; font-size: 15px; color: #374151; }
.prose ul, .prose ol { margin: 0 0 16px 22px; font-size: 15px; color: #374151; }
.prose li { margin-bottom: 8px; }

/* Cajas informativas */
.info-box { border-radius: 6px; padding: 16px 18px; font-size: 14px; margin-bottom: 20px; display: flex; gap: 12px; align-items: flex-start; }
.info-box i { margin-top: 3px; }
.info-box.blue { background: var(--info-bg); border-left: 4px solid var(--c-primary); color: #6d1f3c; }
.info-box.amber { background: var(--warn-bg); border-left: 4px solid var(--warn-border); color: #6b5310; }
.info-box.green { background: var(--c-primary); border-left: 4px solid var(--c-accent); color: rgba(255,255,255,.92); }
.info-box.green strong { color: #fff; }
.info-box.green i { color: var(--c-accent); }

/* Pasos numerados (procedimiento) */
.steps-list { list-style: none; margin: 0 !important; counter-reset: paso; }
.steps-list li {
  counter-increment: paso; position: relative; padding: 0 0 18px 52px; margin-bottom: 0;
}
.steps-list li::before {
  content: counter(paso); position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%; background: var(--c-accent); color: #241a02;
  font-family: var(--font-heading); font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center;
}
.steps-list li strong { display: block; font-size: 14.5px; color: var(--c-ink); }
.steps-list li span { font-size: 13.5px; color: var(--c-muted); }

/* Tabla de costos */
.cost-table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.cost-table th, .cost-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--c-border); }
.cost-table thead th { background: var(--c-primary); color: #fff; font-family: var(--font-heading); font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.cost-table tbody tr:nth-child(even) { background: #f8fafc; }
.cost-table td:last-child, .cost-table th:last-child { text-align: right; font-weight: 700; color: var(--c-primary); white-space: nowrap; }

/* FAQ */
.faq-item { border: 1px solid var(--c-border); border-radius: 8px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 16px 18px; font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--c-primary); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq-q i { transition: transform .2s; color: var(--c-accent-dark); }
.faq-item.open .faq-q i { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 18px 16px; font-size: 14px; color: #374151; }
.faq-item.open .faq-a { display: block; }

/* Sidebar CTA sticky */
.side-cta { position: sticky; top: 92px; background: var(--c-primary); border-radius: 10px; padding: 26px 22px; color: #fff; text-align: center; box-shadow: 0 14px 30px rgba(15,44,38,.32); }
.side-cta .mini-seal { width: 54px; height: 54px; margin-bottom: 12px; object-fit: contain; }
.side-cta h3 { font-size: 16.5px; line-height: 1.35; margin-bottom: 8px; color: #fff; }
.side-cta .gold-line { color: var(--c-accent); font-weight: 700; font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 14px; }
.mini-icons { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 18px; }
.mini-icons span { background: rgba(255,255,255,.1); border-radius: 6px; padding: 9px 4px; font-size: 11.5px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.mini-icons i { color: var(--c-accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background-color: var(--c-primary-dark); border-top: 3px solid var(--c-accent); background-image: linear-gradient(rgba(15,44,38,.86), rgba(15,44,38,.9)), url("../assets/damask.png"); background-size: auto 100%; color: rgba(255,255,255,.85); text-align: center; padding: 46px 20px 30px; margin-top: 0; }
.footer .f-brand { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 18px; }
.footer .f-brand img, .footer .f-brand svg { width: 44px; height: 44px; object-fit: contain; }
.footer .f-brand strong { font-family: var(--font-heading); font-size: 17px; color: #fff; line-height: 1.25; }
.footer-links { display: flex; gap: 8px 26px; justify-content: center; flex-wrap: wrap; margin-bottom: 18px; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 13px; }
.footer-links a:hover { color: #fff; }
.footer small { display: block; font-size: 11.5px; color: rgba(255,255,255,.5); line-height: 1.7; max-width: 640px; margin: 0 auto; }

/* ============================================================
   FUNNEL (trp) — cabecera y pasos
   ============================================================ */
.trp-topbar { background: var(--c-primary-dark); border-bottom: 2px solid var(--c-accent); color: #fff; padding: 8px 16px; display: flex; align-items: center; gap: 10px; font-size: 12.5px; }
.trp-topbar img, .trp-topbar svg { width: 30px; height: 30px; object-fit: contain; }
.trp-titleband { background-color: #5e1a30; background-image: linear-gradient(rgba(46,8,24,.4), rgba(46,8,24,.58)), url("../assets/damask.png"); background-size: auto, auto 100%; background-repeat: no-repeat, repeat-x; color: #fff; text-align: center; padding: 40px 16px 44px; }
.trp-titleband h1 { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; display: inline-block; position: relative; padding-bottom: 14px; }
.trp-titleband h1::after { content: ""; position: absolute; left: 50%; transform: translateX(-50%); bottom: 0; width: 64px; height: 3px; background: var(--c-accent); border-radius: 2px; }

.trp-wrap { max-width: 860px; margin: -26px auto 60px; padding: 0 16px; position: relative; z-index: 5; }
.trp-card { background: #fff; border: 1px solid var(--c-border); border-top: 3px solid var(--c-accent); border-radius: 10px; box-shadow: 0 12px 34px rgba(15,30,60,.14); padding: 30px 34px 34px; }
.trp-card > h2 { font-size: 17.5px; color: var(--c-primary); margin-bottom: 22px; }

/* Indicador de progreso */
.step-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 2px solid var(--c-border); padding-top: 18px; margin-bottom: 26px; }
.sp-item { display: flex; align-items: center; gap: 9px; font-size: 11.5px; color: #9aa3af; background: #f7f8fa; border-radius: 6px; padding: 9px 10px; line-height: 1.25; }
.sp-item .dot { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #e3e7ec; color: #8a93a0; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); }
.sp-item.active { background: var(--info-bg); color: var(--c-primary); font-weight: 600; border: 1px solid var(--info-border); }
.sp-item.active .dot { background: var(--c-primary); color: #fff; }
.sp-item.done { color: #2f7a4d; }
.sp-item.done .dot { background: var(--ok-ink); color: #fff; }

/* Formularios */
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; font-weight: 700; color: #374151; margin-bottom: 6px; letter-spacing: .02em; text-transform: uppercase; }
.field input, .field select {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd6df; border-radius: 5px;
  font-size: 15px; font-family: var(--font-body); color: var(--c-ink); background: #fff; outline: none; transition: all .15s;
}
.field input:focus, .field select:focus { border-color: var(--c-primary-light); box-shadow: 0 0 0 3px rgba(46,107,88,.18); }
.field .hint { font-size: 12px; color: var(--c-muted); margin-top: 5px; }
.field .ok-mark { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ok-ink); font-weight: 700; margin-top: 6px; }
.field.valid .ok-mark { display: flex; }
.field input.invalid { border-color: #d64545; box-shadow: 0 0 0 3px rgba(214,69,69,.12); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* Checkbox de privacidad */
.check-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: #4b5563; margin-bottom: 16px; }
.check-row input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--c-primary); flex: none; }

/* Widget captcha local */
.captcha-box { display: inline-flex; align-items: center; gap: 0; border: 1px solid #d5dae1; border-radius: 6px; background: #f9fafb; padding: 12px 18px; margin-bottom: 20px; box-shadow: inset 0 1px 2px rgba(0,0,0,.04); }
.captcha-box .cb-check { width: 26px; height: 26px; border-radius: 5px; background: #fff; border: 2px solid #b9c2cc; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .15s; color: transparent; font-size: 14px; }
.captcha-box.verified .cb-check { background: var(--ok-ink); border-color: var(--ok-ink); color: #fff; }
.captcha-box .cb-label { margin-left: 12px; font-size: 13.5px; color: #4b5563; user-select: none; cursor: pointer; }
.captcha-box .cb-brand { margin-left: auto; padding-left: 18px; display: flex; align-items: center; gap: 7px; font-size: 9.5px; color: #9aa3af; text-transform: uppercase; letter-spacing: .06em; line-height: 1.2; }
.captcha-box .cb-brand i { font-size: 18px; color: var(--c-accent); }

/* Opciones de entrega (radio cards) */
.radio-card { display: flex; align-items: center; gap: 12px; border: 1.5px solid #d5dae1; border-radius: 7px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: all .15s; background: #fff; }
.radio-card:hover { border-color: var(--c-primary-light); }
.radio-card.selected { border-color: var(--c-primary); background: var(--info-bg); box-shadow: 0 0 0 3px rgba(15,44,38,.08); }
.radio-card input { accent-color: var(--c-primary); width: 17px; height: 17px; flex: none; }
.radio-card .rc-title { font-size: 14.5px; font-weight: 600; color: #374151; }
.radio-card .rc-price { margin-left: auto; font-weight: 800; color: var(--c-primary); font-size: 14px; white-space: nowrap; }

/* Resumen de costos (funnel) */
.cost-summary { border: 1px solid var(--c-border); border-radius: 7px; margin: 20px 0; overflow: hidden; }
.cost-row { display: flex; justify-content: space-between; padding: 13px 18px; font-size: 14px; color: #4b5563; border-bottom: 1px solid var(--c-border); background: #fff; }
.cost-row.total { background: #f7f9fc; font-weight: 800; color: var(--c-primary); font-size: 15.5px; border-bottom: none; }

/* Caja de datos bancarios */
.bank-box { border: 1px solid var(--c-border); border-radius: 7px; margin: 20px 0; overflow: hidden; }
.bank-row { display: grid; grid-template-columns: 190px 1fr; gap: 10px; padding: 13px 18px; border-bottom: 1px solid var(--c-border); font-size: 14px; background: #fff; }
.bank-row:last-child { border-bottom: none; }
.bank-row .bk-label { color: var(--c-muted); font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; padding-top: 2px; }
.bank-row .bk-value { font-weight: 700; color: #1f2937; word-break: break-all; }

/* Resumen de trámite */
.tramite-resumen { border-left: 4px solid var(--c-primary); background: #f8fafc; padding: 14px 18px; margin-bottom: 20px; font-size: 14px; color: #374151; }
.tramite-resumen strong { display: block; color: var(--c-primary); font-family: var(--font-heading); font-size: 14.5px; margin-bottom: 2px; }

/* Monto total centrado */
.monto-total { text-align: center; font-family: var(--font-heading); font-weight: 800; font-size: 19px; color: var(--c-primary); padding: 16px; border-top: 1px solid var(--c-border); margin-top: 4px; }

/* Botón de acción del funnel */
.trp-actions { display: flex; justify-content: flex-end; margin-top: 26px; }

/* ============================================================
   MODAL (verificación de pago)
   ============================================================ */
.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.78); z-index: 999; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.active { display: flex; }
.modal-box { background: #fff; border-radius: 12px; max-width: 460px; width: 100%; padding: 34px 32px; text-align: center; box-shadow: 0 30px 60px rgba(0,0,0,.35); animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(18px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal-box h3 { color: var(--c-primary); font-size: 19px; margin-bottom: 14px; }
.modal-box p { font-size: 14.5px; color: #4b5563; margin-bottom: 22px; }

/* ============================================================
   PÁGINA DE VERIFICACIÓN (contador)
   ============================================================ */
.id-solicitud-box { background: var(--info-bg); border: 1px solid var(--info-border); border-radius: 7px; text-align: center; padding: 16px; margin-bottom: 20px; }
.id-solicitud-box .lbl { font-size: 11.5px; letter-spacing: .14em; color: var(--c-primary); text-transform: uppercase; font-weight: 700; opacity: .75; }
.id-solicitud-box .val { font-family: var(--font-heading); font-weight: 800; font-size: 21px; color: var(--c-primary); letter-spacing: .04em; margin-top: 3px; }

.timer-card { border: 1.5px solid var(--warn-border); background: linear-gradient(180deg, #fffdf6, var(--warn-bg)); border-radius: 10px; text-align: center; padding: 34px 20px 30px; margin-bottom: 20px; }
.timer-card .t-icon { width: 52px; height: 52px; border-radius: 50%; background: var(--c-accent); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 16px; }
.timer-card .t-label { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #8a6d1c; font-weight: 700; margin-bottom: 8px; }
.timer-card .t-time { font-family: "Consolas", monospace; font-size: 44px; font-weight: 700; color: var(--c-primary); letter-spacing: .06em; line-height: 1.1; }
.timer-card .t-note { font-size: 12.5px; color: #8a6d1c; margin-top: 10px; }

/* ============================================================
   PÁGINA DE CONFIRMACIÓN
   ============================================================ */
.confirm-hero { text-align: center; padding: 14px 0 26px; }
.confirm-check { width: 74px; height: 74px; border-radius: 50%; background: var(--c-primary); color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 10px 24px rgba(15,44,38,.32); }
.confirm-hero h2 { font-size: 23px; color: var(--c-primary); margin-bottom: 8px; }
.confirm-hero p { font-size: 13.5px; color: var(--c-muted); max-width: 460px; margin: 0 auto 22px; }

.status-card { border: 1px solid var(--c-border); border-radius: 8px; padding: 20px 22px; margin-bottom: 18px; background: #fff; }
.status-card h3 { font-size: 15.5px; color: var(--c-primary); margin-bottom: 14px; }
.status-list { list-style: none; }
.status-list li { display: flex; align-items: center; gap: 11px; padding: 9px 0; font-size: 14px; color: #374151; border-bottom: 1px dashed #e8ebf0; }
.status-list li:last-child { border-bottom: none; }
.st-dot { width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; flex: none; color: #fff; }
.st-ok { background: var(--ok-ink); }
.st-pending { background: var(--c-accent); }
.st-wait { background: #b9c2cc; }

.notice-card { border-radius: 8px; padding: 16px 18px; font-size: 13.5px; margin-bottom: 18px; display: flex; gap: 12px; align-items: flex-start; }
.notice-card i { margin-top: 2px; }
.notice-card.amber { background: var(--warn-bg); border: 1px solid var(--warn-border); color: #6b5310; }
.notice-card.blue { background: var(--info-bg); border: 1px solid var(--info-border); color: #6d1f3c; }

.que-sigue ol { margin-left: 20px; font-size: 14px; color: #374151; }
.que-sigue li { margin-bottom: 8px; }

/* ============================================================
   COMPROBANTE (documento imprimible)
   ============================================================ */
.print-toolbar { background: var(--c-primary-dark); padding: 12px 0; position: sticky; top: 0; z-index: 50; }
.print-toolbar .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.print-toolbar span { color: rgba(255,255,255,.8); font-size: 13px; }

.doc-sheet { max-width: 760px; margin: 34px auto 60px; background: #fff; border: 1px solid var(--c-border); box-shadow: 0 10px 30px rgba(15,30,60,.12); padding: 40px 46px; }
.doc-head { display: flex; justify-content: space-between; font-size: 12.5px; color: #4b5563; border-bottom: 2px solid var(--c-accent); padding-bottom: 12px; margin-bottom: 26px; }
.doc-seal { width: 84px; height: 84px; display: block; margin: 0 auto 14px; object-fit: contain; }
.doc-title { text-align: center; font-family: var(--font-heading); font-weight: 800; color: var(--c-primary); font-size: 23px; letter-spacing: .05em; margin-bottom: 4px; }
.doc-subtitle { text-align: center; font-size: 13px; color: #4b5563; margin-bottom: 26px; }

.doc-table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 8px; }
.doc-table td { padding: 9px 12px; border-bottom: 1px solid #e8ebf0; vertical-align: top; }
.doc-table .dt-label { color: var(--c-muted); width: 34%; font-weight: 600; }
.estado-pagado { color: var(--ok-ink) !important; font-weight: 800; letter-spacing: .05em; }

.doc-section-title { font-family: var(--font-heading); font-weight: 700; font-size: 14.5px; color: var(--c-primary); border-bottom: 1px solid var(--c-border); padding-bottom: 6px; margin: 22px 0 10px; }

.qr-cell { text-align: center; width: 130px; vertical-align: middle !important; }
.qr-cell img { width: 96px; height: 96px; border: 1px solid var(--c-border); padding: 4px; background: #fff; }
.qr-cell small { display: block; font-size: 10.5px; color: var(--c-muted); margin-top: 6px; }

.total-pagado-box { border: 2px solid var(--ok-ink); background: var(--ok-bg); border-radius: 7px; padding: 13px 18px; display: flex; justify-content: space-between; align-items: center; font-family: var(--font-heading); font-weight: 800; color: var(--ok-ink); font-size: 16.5px; margin-top: 12px; }

.doc-official { border: 1.5px dashed var(--warn-border); background: #fffdf4; border-radius: 7px; padding: 13px 16px; font-size: 12px; color: #6b5310; margin-top: 22px; }
.doc-official strong { text-transform: uppercase; letter-spacing: .05em; }

.doc-footer { text-align: center; font-size: 11.5px; color: var(--c-muted); border-top: 1px solid var(--c-border); margin-top: 26px; padding-top: 14px; line-height: 1.7; }

/* ============================================================
   PÁGINAS LEGALES
   ============================================================ */
.legal-page { max-width: 800px; margin: 40px auto 60px; background: #fff; border: 1px solid var(--c-border); border-radius: 10px; padding: 42px 46px; }
.legal-page h1 { color: var(--c-primary); font-size: 26px; margin-bottom: 8px; }
.legal-page .updated { font-size: 13px; color: var(--c-muted); margin-bottom: 26px; }
.legal-page h2 { font-size: 17px; color: var(--c-primary); margin: 24px 0 8px; }
.legal-page p, .legal-page li { font-size: 14.5px; color: #374151; margin-bottom: 10px; }
.legal-page ul { margin-left: 20px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .content-layout { grid-template-columns: 1fr; }
  .side-cta { position: static; }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .step-progress { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .trp-card { padding: 22px 18px 26px; }
  .bank-row { grid-template-columns: 1fr; gap: 3px; }
  .doc-sheet { padding: 26px 20px; margin: 16px auto 40px; }
  input, select { font-size: 16px !important; } /* evita zoom en iOS */
}

/* ============================================================
   IMPRESIÓN (comprobante)
   ============================================================ */
@media print {
  body { background: #fff; }
  .print-toolbar, .no-print { display: none !important; }
  .doc-sheet { border: none; box-shadow: none; margin: 0 auto; max-width: 100%; padding: 10px 6px; }
}
