/* Sitio público de la demo (inicio, login, registro) — paleta 1a1web */
:root {
    --ink: #0d0d1a;
    --ink-2: #13132a;
    --ink-3: #1d1d3a;
    --pink: #e91e8c;
    --purple: #9c27b0;
    --violet: #7c4dff;
    --grad: linear-gradient(135deg, #e91e8c 0%, #9c27b0 55%, #7c4dff 100%);
    --text: #1b1b2f;
    --muted: #5f5f7a;
    --soft: #9a9ab8;
    --bg: #f6f6fb;
    --card: #ffffff;
    --line: #e7e7f1;
    --ok: #1f9d6b;
    --error: #d6336c;
    --radius: 18px;
    --shadow: 0 20px 50px -24px rgba(20, 10, 60, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Poppins', 'Inter', sans-serif; line-height: 1.2; margin: 0 0 .5em; color: inherit; }
p { margin: 0 0 1em; }
a { color: var(--purple); text-decoration: none; }
a:hover { color: var(--pink); }
img { max-width: 100%; display: block; }

.contenedor { width: min(1160px, 100% - 32px); margin-inline: auto; }
.texto-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.etiqueta {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--purple); background: rgba(156, 39, 176, .08);
    padding: 6px 12px; border-radius: 999px;
}

/* ---------------------------------------------------------------- botones */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    font: 600 .95rem 'Inter', sans-serif; border: 0; cursor: pointer;
    padding: 13px 22px; border-radius: 12px; transition: transform .15s, box-shadow .15s, background .15s;
    text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 25px -10px rgba(233, 30, 140, .7); }
.btn-grad:hover { color: #fff; box-shadow: 0 14px 30px -10px rgba(233, 30, 140, .85); }
.btn-borde { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .35); }
.btn-borde:hover { color: #fff; border-color: #fff; }
.btn-claro { background: #fff; color: var(--ink); }
.btn-claro:hover { color: var(--purple); }
.btn-bloque { width: 100%; }

/* ---------------------------------------------------------------- encabezado */
.cabecera {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13, 13, 26, .86); backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.cabecera .contenedor { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.cabecera .marca img { height: 34px; width: auto; }
.navegacion { display: flex; align-items: center; gap: 32px; }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: #d7d7ea; font-weight: 500; font-size: .95rem; }
.menu a:hover { color: #fff; }
.acciones { display: flex; gap: 10px; }
.acciones .btn { padding: 10px 18px; }
.boton-menu { display: none; background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; }

/* ---------------------------------------------------------------- hero */
.hero {
    position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(900px 500px at 85% 10%, rgba(124, 77, 255, .35), transparent 60%),
                radial-gradient(700px 500px at 5% 90%, rgba(233, 30, 140, .28), transparent 60%),
                var(--ink);
    padding: 88px 0 110px;
}
.hero .contenedor { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 700; letter-spacing: -.02em; }
.hero p.lead { font-size: 1.15rem; color: #c9c9e0; max-width: 540px; }
.hero .etiqueta { color: #f7b7da; background: rgba(233, 30, 140, .14); }
.hero-botones { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 36px; }
.hero-datos { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-datos strong { display: block; font: 700 1.5rem 'Poppins', sans-serif; }
.hero-datos span { color: var(--soft); font-size: .9rem; }

/* tarjeta de rastreo (maqueta visual del sistema) */
.rastreo {
    background: linear-gradient(180deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .12); border-radius: 22px; padding: 26px;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); backdrop-filter: blur(6px);
}
.rastreo-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.rastreo-top small { color: var(--soft); display: block; }
.rastreo-top b { font-family: 'Poppins', sans-serif; font-size: 1.05rem; }
.chip { font-size: .75rem; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: rgba(124, 77, 255, .25); color: #d9ccff; }
.linea-tiempo { list-style: none; margin: 0; padding: 0; }
.linea-tiempo li { position: relative; padding: 0 0 18px 34px; color: #b9b9d3; font-size: .93rem; }
.linea-tiempo li::before {
    content: ''; position: absolute; left: 7px; top: 22px; bottom: -2px; width: 2px; background: rgba(255, 255, 255, .12);
}
.linea-tiempo li:last-child::before { display: none; }
.linea-tiempo li::after {
    content: ''; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .25); background: var(--ink-2);
}
.linea-tiempo li.hecho { color: #fff; }
.linea-tiempo li.hecho::after { background: var(--grad); border-color: transparent; }
.linea-tiempo li.hecho::before { background: linear-gradient(var(--pink), var(--violet)); }
.linea-tiempo li.actual::after { box-shadow: 0 0 0 6px rgba(233, 30, 140, .25); }
.linea-tiempo small { display: block; color: var(--soft); font-size: .8rem; }
.rastreo-pie { display: flex; justify-content: space-between; border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; margin-top: 6px; font-size: .9rem; color: #c9c9e0; }
.rastreo-pie b { color: #fff; }

/* ---------------------------------------------------------------- tiendas */
.tiendas { background: var(--ink-2); color: var(--soft); padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .05); }
.tiendas .contenedor { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 40px; }
.tiendas span { font: 600 1.05rem 'Poppins', sans-serif; letter-spacing: .02em; color: #8c8cab; }
.tiendas small { width: 100%; text-align: center; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }

/* ---------------------------------------------------------------- secciones */
.seccion { padding: 96px 0; }
.seccion-blanca { background: #fff; }
.titulo-seccion { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.titulo-seccion h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; margin-top: 14px; letter-spacing: -.01em; }
.titulo-seccion p { color: var(--muted); font-size: 1.05rem; }

.rejilla { display: grid; gap: 22px; }
.rejilla-4 { grid-template-columns: repeat(4, 1fr); }
.rejilla-3 { grid-template-columns: repeat(3, 1fr); }

.paso, .servicio, .tarifa, .pregunta {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.paso { position: relative; }
.paso .num {
    width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
    font: 700 1.1rem 'Poppins', sans-serif; color: #fff; background: var(--grad); margin-bottom: 18px;
}
.paso h3, .servicio h3 { font-size: 1.12rem; }
.paso p, .servicio p { color: var(--muted); margin: 0; font-size: .96rem; }

.servicio { transition: transform .2s, box-shadow .2s, border-color .2s; }
.servicio:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icono {
    width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 18px;
    background: linear-gradient(135deg, rgba(233, 30, 140, .12), rgba(124, 77, 255, .14)); color: var(--purple);
}
.icono svg { width: 26px; height: 26px; }

/* tarifas */
.tarifa { text-align: left; display: flex; flex-direction: column; }
.tarifa.destacada { background: var(--ink); color: #fff; border-color: transparent; box-shadow: var(--shadow); position: relative; }
.tarifa.destacada .precio small, .tarifa.destacada li { color: #c9c9e0; }
.tarifa .nombre { font-weight: 600; color: var(--purple); }
.tarifa.destacada .nombre { color: #f7b7da; }
.tarifa .precio { font: 700 2.6rem 'Poppins', sans-serif; margin: 10px 0 4px; }
.tarifa .precio small { font: 500 1rem 'Inter', sans-serif; color: var(--muted); }
.tarifa ul { list-style: none; padding: 0; margin: 18px 0 26px; flex: 1; }
.tarifa li { padding: 7px 0 7px 28px; position: relative; color: var(--muted); font-size: .95rem; }
.tarifa li::before { content: '✓'; position: absolute; left: 0; top: 6px; font-weight: 700; color: var(--pink); }
.insignia { position: absolute; top: -12px; right: 22px; background: var(--grad); color: #fff; font-size: .75rem; font-weight: 600; padding: 5px 12px; border-radius: 999px; }
.nota { text-align: center; color: var(--soft); font-size: .85rem; margin-top: 22px; }

/* bloque dividido (puntos / empresas) */
.dividido { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dividido h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 14px; }
.dividido p { color: var(--muted); }
.lista-check { list-style: none; padding: 0; margin: 22px 0 28px; }
.lista-check li { padding: 8px 0 8px 34px; position: relative; }
.lista-check li::before {
    content: '✓'; position: absolute; left: 0; top: 8px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; font-size: .75rem; font-weight: 700; color: #fff; background: var(--grad);
}
.panel-puntos {
    background: var(--ink); color: #fff; border-radius: 24px; padding: 34px; box-shadow: var(--shadow);
    background-image: radial-gradient(400px 260px at 100% 0%, rgba(233, 30, 140, .35), transparent 60%);
}
.panel-puntos .saldo { font: 700 3.2rem 'Poppins', sans-serif; }
.panel-puntos small { color: var(--soft); }
.barra { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .1); margin: 20px 0 10px; overflow: hidden; }
.barra i { display: block; height: 100%; width: 68%; background: var(--grad); border-radius: inherit; }
.movs { list-style: none; padding: 0; margin: 22px 0 0; }
.movs li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .93rem; color: #c9c9e0; }
.movs b { color: #7ee2b8; }

/* preguntas */
.preguntas { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.pregunta { padding: 0; }
.pregunta summary {
    list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px;
}
.pregunta summary::-webkit-details-marker { display: none; }
.pregunta summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--purple); transition: transform .2s; }
.pregunta[open] summary::after { transform: rotate(45deg); }
.pregunta p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* llamado final */
.llamado {
    border-radius: 28px; padding: 56px; color: #fff; text-align: center; background: var(--grad);
    box-shadow: 0 30px 60px -30px rgba(156, 39, 176, .8);
}
.llamado h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.llamado p { color: rgba(255, 255, 255, .88); max-width: 560px; margin: 0 auto 26px; }
.llamado .hero-botones { justify-content: center; margin: 0; }

/* pie */
.pie { background: var(--ink); color: var(--soft); padding: 64px 0 28px; }
.pie .columnas { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.pie img { height: 32px; width: auto; margin-bottom: 16px; }
.pie h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.pie ul { list-style: none; padding: 0; margin: 0; }
.pie li { padding: 4px 0; font-size: .93rem; }
.pie a { color: var(--soft); }
.pie a:hover { color: #fff; }
.pie .legal {
    border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 44px; padding-top: 22px;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem;
}
.whatsapp-flotante {
    position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7);
}
.whatsapp-flotante:hover { color: #fff; transform: scale(1.05); }
.whatsapp-flotante svg { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- acceso (login / registro) */
.acceso { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.05fr; }
.acceso-registro { grid-template-columns: .8fr 1.2fr; }
.acceso-lado {
    position: relative; color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between;
    background: radial-gradient(600px 400px at 90% 0%, rgba(124, 77, 255, .38), transparent 60%),
                radial-gradient(600px 400px at 0% 100%, rgba(233, 30, 140, .3), transparent 60%), var(--ink);
}
.acceso-lado img.logo { height: 38px; width: auto; }
.acceso-lado h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 0 0 14px; }
.acceso-lado p { color: #c9c9e0; max-width: 440px; }
.acceso-lado .lista-check li { color: #e3e3f3; }
.acceso-lado small { color: var(--soft); }
.acceso-form { display: flex; align-items: center; justify-content: center; padding: 48px 24px; background: var(--bg); }
.tarjeta-form {
    width: 100%; max-width: 440px; background: #fff; border: 1px solid var(--line); border-radius: 24px;
    padding: 38px; box-shadow: var(--shadow);
}
.tarjeta-form.ancha { max-width: 720px; }
.tarjeta-form h1 { font-size: 1.7rem; margin-bottom: 6px; }
.tarjeta-form .sub { color: var(--muted); margin-bottom: 26px; }
.logo-movil { display: none; height: 30px; width: auto; margin-bottom: 24px; }
.grupo-form { margin-bottom: 16px; position: relative; }
.grupo-form label { display: block; font-size: .87rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.campo {
    width: 100%; font: 400 .97rem 'Inter', sans-serif; color: var(--text); background: #fbfbfe;
    border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
    appearance: none;
}
select.campo {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%239c27b0' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
textarea.campo { resize: vertical; min-height: 96px; }
.campo:focus { outline: none; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(156, 39, 176, .12); background: #fff; }
.ver-clave {
    position: absolute; right: 12px; bottom: 11px; background: none; border: 0; cursor: pointer; color: var(--soft); padding: 2px;
}
.ver-clave:hover { color: var(--purple); }
.ver-clave svg { width: 20px; height: 20px; display: block; }
.fila { display: grid; gap: 0 16px; }
.fila-2 { grid-template-columns: 1fr 1fr; }
.fila-3 { grid-template-columns: repeat(3, 1fr); }
.fila-4 { grid-template-columns: repeat(4, 1fr); }
.bloque-form { font: 600 .8rem 'Inter', sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--purple); margin: 22px 0 12px; }
.bloque-form:first-of-type { margin-top: 0; }
.mensaje-form { display: block; font-size: .92rem; font-weight: 500; color: var(--error); margin: 4px 0 14px; min-height: 1em; }
.alerta-error {
    background: rgba(214, 51, 108, .08); color: var(--error); border: 1px solid rgba(214, 51, 108, .25);
    border-radius: 12px; padding: 11px 14px; font-size: .92rem; margin-bottom: 18px;
}
.enlaces-form { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .92rem; margin-top: 18px; }
.separador { text-align: center; color: var(--muted); font-size: .92rem; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
.legal-form { text-align: center; font-size: .8rem; color: var(--soft); margin-top: 18px; }
.legal-form a { color: var(--soft); text-decoration: underline; }
.volver { display: inline-flex; align-items: center; gap: 6px; color: #c9c9e0; font-size: .92rem; }
.volver:hover { color: #fff; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1024px) {
    .rejilla-4 { grid-template-columns: repeat(2, 1fr); }
    .pie .columnas { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .navegacion { display: none; }
    .boton-menu { display: block; }
    .cabecera.abierta .navegacion {
        display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0;
        background: var(--ink); padding: 4px 16px 18px; border-bottom: 1px solid rgba(255, 255, 255, .08);
    }
    .cabecera.abierta .menu { flex-direction: column; align-items: stretch; gap: 0; }
    .cabecera.abierta .menu a { padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
    .cabecera.abierta .acciones { margin-top: 14px; }
    .cabecera.abierta .acciones .btn { flex: 1; }
    .hero { padding: 56px 0 72px; }
    .hero .contenedor, .dividido { grid-template-columns: 1fr; gap: 40px; }
    .rejilla-3 { grid-template-columns: 1fr; }
    .acceso, .acceso-registro { grid-template-columns: 1fr; }
    .acceso-lado { display: none; }
    .logo-movil { display: block; }
    .fila-3, .fila-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
    .seccion { padding: 64px 0; }
    .rejilla-4, .pie .columnas { grid-template-columns: 1fr; }
    .fila-2, .fila-3, .fila-4 { grid-template-columns: 1fr; }
    .tarjeta-form { padding: 26px 20px; }
    .llamado { padding: 40px 22px; }
    .hero-datos { gap: 22px; }
}

/* ---------------------------------------------------------------- páginas de documento (política, términos) */
.encabezado-pagina {
    color: #fff; padding: 64px 0 88px; text-align: center;
    background: radial-gradient(700px 360px at 85% 0%, rgba(124, 77, 255, .35), transparent 60%),
                radial-gradient(600px 360px at 10% 100%, rgba(233, 30, 140, .25), transparent 60%), var(--ink);
}
.encabezado-pagina h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 14px 0 8px; }
.encabezado-pagina p { color: #c9c9e0; margin: 0; }
.encabezado-pagina .etiqueta { color: #f7b7da; background: rgba(233, 30, 140, .14); }
.documento {
    width: min(860px, 100% - 32px); margin: -52px auto 80px; background: #fff; border: 1px solid var(--line);
    border-radius: 24px; padding: 48px 56px; box-shadow: var(--shadow); position: relative;
}
.documento h2 { font-size: 1.25rem; margin: 36px 0 12px; display: flex; gap: 12px; align-items: baseline; }
.documento h2:first-of-type { margin-top: 0; }
.documento h2 span { color: var(--purple); font-size: .95rem; min-width: 24px; }
.documento h3 { font-size: 1rem; margin: 18px 0 8px; color: var(--muted); }
.documento p, .documento li { color: #3d3d55; }
.documento ul { padding-left: 20px; margin: 0 0 1em; }
.documento li { margin: 4px 0; }
.documento li::marker { color: var(--pink); }
.documento .aviso {
    background: rgba(156, 39, 176, .06); border: 1px solid rgba(156, 39, 176, .18); border-radius: 14px;
    padding: 16px 18px; font-size: .93rem; color: var(--muted); margin-top: 32px;
}
@media (max-width: 560px) {
    .documento { padding: 30px 22px; border-radius: 18px; }
}

/* ---------------------------------------------------------------- pasos (recuperar contraseña) */
.pasos-form { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 8px; }
.pasos-form li {
    flex: 1; display: flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--soft);
    padding: 8px 10px; border-radius: 10px; background: #f3f3f9;
}
.pasos-form span {
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 22px;
    font-size: .75rem; background: #e3e3ee; color: var(--muted);
}
.pasos-form li.actual { color: var(--purple); background: rgba(156, 39, 176, .08); }
.pasos-form li.actual span, .pasos-form li.hecho span { background: var(--grad); color: #fff; }
.pasos-form li.hecho { color: var(--text); }

/* ---------------------------------------------------------------- rastreo público */
.buscador-rastreo { display: flex; gap: 10px; max-width: 620px; margin: 28px auto 0; }
.buscador-rastreo .campo { background: #fff; font-size: 1.05rem; padding: 15px 18px; text-transform: uppercase; }
.buscador-rastreo .campo::placeholder { text-transform: none; }
.buscador-rastreo .btn { padding: 15px 28px; }
.ayuda-rastreo { margin-top: 14px !important; font-size: .9rem; }
.ayuda-rastreo a { color: #f7b7da; text-decoration: underline; }
.resultado-rastreo { width: min(820px, 100% - 32px); margin: -46px auto 80px; position: relative; }
.resultado-rastreo[hidden] { display: none; }
.tarjeta-rastreo { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 34px 40px; box-shadow: var(--shadow); }
.rastreo-cabeza { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.rastreo-cabeza small, .rastreo-datos small { display: block; color: var(--soft); font-size: .8rem; }
.rastreo-cabeza b { font: 700 1.35rem 'Poppins', sans-serif; letter-spacing: .02em; word-break: break-all; }
.estado-chip { background: var(--grad); color: #fff; font-weight: 600; font-size: .88rem; padding: 8px 16px; border-radius: 999px; white-space: nowrap; }
.rastreo-datos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 8px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rastreo-datos b { font-weight: 600; }
.etapas-rastreo { list-style: none; padding: 0; margin: 26px 0 0; }
.etapas-rastreo li { position: relative; padding: 0 0 24px 44px; }
.etapas-rastreo li::before { content: ''; position: absolute; left: 11px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.etapas-rastreo li:last-child::before { display: none; }
.etapas-rastreo li::after {
    content: ''; position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
    border: 2px solid #d9d9e6; background: #fff; box-sizing: border-box;
}
.etapas-rastreo li b { display: block; color: var(--soft); font-weight: 600; }
.etapas-rastreo li small { color: var(--soft); font-size: .85rem; }
.etapas-rastreo li.hecho b, .etapas-rastreo li.actual b { color: var(--text); }
.etapas-rastreo li.hecho small, .etapas-rastreo li.actual small { color: var(--muted); }
.etapas-rastreo li.hecho::after, .etapas-rastreo li.actual::after { background: var(--grad); border: 0; }
.etapas-rastreo li.hecho::before { background: linear-gradient(var(--pink), var(--violet)); }
.etapas-rastreo li.actual::after { box-shadow: 0 0 0 7px rgba(233, 30, 140, .15); }
.etapas-rastreo li.actual b { color: var(--purple); }
.nota-rastreo { margin: 6px 0 0; font-size: .92rem; color: var(--muted); }
.tarjeta-rastreo.vacio { text-align: center; color: var(--muted); }
.icono-vacio { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: rgba(156, 39, 176, .08); color: var(--purple); }
.icono-vacio svg { width: 28px; height: 28px; }
@media (max-width: 560px) {
    .buscador-rastreo { flex-direction: column; }
    .tarjeta-rastreo { padding: 26px 20px; }
    .rastreo-datos { grid-template-columns: 1fr 1fr; }
}
