/* =========================================================
   TRASLADARC SAS — Transporte logístico de Colombia
   ========================================================= */
:root {
    --teal: #0e6a6c;
    --teal-2: #138487;
    --teal-dark: #0a4a4d;
    --teal-deep: #062f31;
    --teal-claro: #e6f3f3;
    --naranja: #f39200;
    --naranja-dark: #d97f00;
    --texto: #1d2b2c;
    --gris: #5d6d6e;
    --borde: #dde8e8;
    --fondo: #f4f8f8;
    --blanco: #ffffff;
    --radio: 18px;
    --sombra: 0 10px 30px rgba(6, 47, 49, .08);
    --sombra-2: 0 24px 60px rgba(6, 47, 49, .16);
    --header-h: 96px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { font-family: 'Poppins', sans-serif; color: var(--texto); background: var(--blanco); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 15px; }
ul { list-style: none; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
body.bloqueado { overflow: hidden; }

/* ---------- BOTONES ---------- */
.btn-naranja, .btn-teal, .btn-outline, .btn-wa, .btn-ghost {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 12px 24px; border-radius: 50px; font-weight: 600; font-size: 15px;
    transition: transform .25s, box-shadow .25s, background .25s, color .25s; white-space: nowrap;
}
.btn-naranja { background: var(--naranja); color: #fff; box-shadow: 0 8px 20px rgba(243, 146, 0, .3); }
.btn-naranja:hover { background: var(--naranja-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(243, 146, 0, .4); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid rgba(255,255,255,.8); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--teal); }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-ghost { color: var(--teal); padding-left: 0; }
.lg { padding: 16px 32px; font-size: 16px; }
.full { width: 100%; }

/* ---------- SECCIONES ---------- */
section { padding: 100px 0; }
.seccion-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.seccion-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.2; color: var(--teal-deep); font-weight: 700; margin: 12px 0; }
.seccion-head p { color: var(--gris); font-size: 17px; }
.seccion-head.claro h2 { color: #fff; }
.seccion-head.claro p { color: rgba(255,255,255,.75); }
.seccion-tag {
    display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: 1.5px;
    text-transform: uppercase; color: var(--naranja); background: rgba(243,146,0,.1); padding: 6px 16px; border-radius: 50px;
}
.seccion-tag.claro { color: #ffd08a; background: rgba(255,255,255,.1); }

/* ---------- ANIMACIONES DE ENTRADA ---------- */
.animar { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.animar.visible { opacity: 1; transform: none; }

/* =========================================================
   BARRA PROMO + TOPBAR
   ========================================================= */
.promo-bar {
    background: linear-gradient(90deg, var(--naranja-dark), var(--naranja));
    color: #fff; text-align: center; padding: 10px 56px; position: relative; font-size: 15px; font-weight: 500;
    transition: margin .35s, opacity .35s;
}
.promo-bar a { text-decoration: underline; font-weight: 700; margin-left: 4px; }
.promo-bar i { margin-right: 6px; }
.promo-cerrar { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #fff; font-size: 26px; line-height: 1; }
.promo-bar.oculta { display: none; }

.topbar { background: var(--teal-deep); color: rgba(255,255,255,.9); font-size: 14px; position: relative; z-index: 60; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 46px; }
.topbar-lema { display: flex; align-items: center; gap: 8px; opacity: .85; }
.topbar-lema i { color: var(--naranja); }
.topbar-links { display: flex; align-items: center; height: 100%; }
.tb-item { position: relative; height: 100%; display: flex; align-items: center; }
.tb-item + .tb-item::before { content: ''; width: 1px; height: 18px; background: rgba(255,255,255,.2); }
.tb-item > a, .tb-buscar { white-space: nowrap; display: flex; align-items: center; gap: 8px; padding: 0 18px; height: 100%; transition: color .2s; font-size: 14px; }
.tb-item > a:hover, .tb-buscar:hover { color: var(--naranja); }
.tb-item > a .fa-chevron-down { font-size: 10px; }
.bandera { width: 20px; height: 14px; border-radius: 3px; object-fit: cover; }
.tb-drop {
    position: absolute; top: 100%; right: 0; min-width: 230px; background: #fff; border-radius: 12px; padding: 10px;
    box-shadow: var(--sombra-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: .25s;
}
.tb-item:hover .tb-drop, .tb-item:focus-within .tb-drop { opacity: 1; visibility: visible; transform: none; }
.tb-drop a { display: flex; align-items: center; gap: 10px; color: var(--texto); padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.tb-drop a:hover { background: var(--teal-claro); color: var(--teal); }
.tb-drop i { color: var(--teal); width: 16px; }
.tb-drop img { width: 20px; }

/* =========================================================
   HEADER PRINCIPAL
   ========================================================= */
.header {
    position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.98);
    box-shadow: 0 1px 0 var(--borde); transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 30px rgba(6,47,49,.12); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; transition: height .35s; }
.header.scrolled .header-inner { height: 76px; }

/* Logo con cambio al hacer scroll */
.logo { position: relative; display: flex; align-items: center; height: 100%; min-width: 280px; }
.logo-full { height: 94px; width: auto; transition: opacity .35s, transform .45s cubic-bezier(.4,0,.2,1); transform-origin: left center; }
.logo-icon {
    position: absolute; left: 0; top: 50%; width: 56px; height: 56px; border-radius: 16px;
    background: linear-gradient(135deg, var(--teal-2), var(--teal-deep));
    display: grid; place-items: center; box-shadow: 0 8px 20px rgba(14,106,108,.35);
    opacity: 0; transform: translateY(-50%) scale(.4) rotate(-20deg); transition: opacity .35s, transform .45s cubic-bezier(.34,1.56,.64,1);
}
.logo-icon img { width: 44px; height: 44px; object-fit: contain; }
@media (max-width: 1200px) { .logo { min-width: 230px; } .logo-full { height: 78px; } }
.header.scrolled .logo-full { opacity: 0; transform: scale(.7) translateX(-20px); }
.header.scrolled .logo-icon { opacity: 1; transform: translateY(-50%) scale(1) rotate(0); }

/* Menú */
.menu { height: 100%; flex: 1; display: flex; justify-content: center; }
.menu > ul { display: flex; height: 100%; }
.menu-item { height: 100%; display: flex; align-items: center; }
.menu-link {
    display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 20px; font-size: 16px; font-weight: 500; color: var(--texto);
    position: relative; transition: color .2s;
}
.menu-link i { font-size: 11px; transition: transform .3s; color: var(--gris); }
.menu-link::after {
    content: ''; position: absolute; left: 20px; right: 20px; bottom: 22px; height: 3px; border-radius: 3px; background: var(--naranja);
    transform: scaleX(0); transition: transform .3s; transform-origin: left;
}
.header.scrolled .menu-link::after { bottom: 14px; }
.menu-item:hover .menu-link, .menu-item.abierto .menu-link { color: var(--teal); }
.menu-item:hover .menu-link::after, .menu-item.abierto .menu-link::after { transform: scaleX(1); }
.menu-item:hover .menu-link i, .menu-item.abierto .menu-link i { transform: rotate(180deg); color: var(--teal); }

/* Mega menú */
.mega {
    position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--borde);
    box-shadow: 0 30px 50px rgba(6,47,49,.14); opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .3s, visibility .25s; pointer-events: none;
}
.menu-item:hover .mega, .menu-item.abierto .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.header.menu-cerrado .mega { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.mega-inner { max-width: 1000px; margin: 0 auto; padding: 40px 24px 44px; display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 40px; }
.mega-5 { max-width: 1280px; grid-template-columns: repeat(5, 1fr); gap: 28px; }
.mega-col { display: flex; flex-direction: column; gap: 4px; }
.mega-5 .mega-col { border-left: 2px solid var(--teal-claro); padding-left: 22px; }
.mega-5 .mega-col:nth-child(even) { border-left-color: rgba(243,146,0,.25); }
.mega-col h5 { font-size: 16px; font-weight: 600; color: var(--teal-deep); margin-bottom: 10px; display: flex; gap: 10px; align-items: center; }
.mega-col h5 i { color: var(--naranja); }
.mega-ico { width: 52px; height: 52px; border-radius: 14px; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; font-size: 22px; margin-bottom: 14px; transition: .3s; }
.mega-col:hover .mega-ico { background: var(--teal); color: #fff; transform: translateY(-3px); }
.mega-col a { color: var(--gris); padding: 7px 0; font-size: 15px; transition: color .2s, padding .2s; position: relative; }
.mega-col a:hover { color: var(--teal); padding-left: 8px; }
.mega-promo {
    background: linear-gradient(135deg, var(--teal), var(--teal-deep)); color: #fff; border-radius: var(--radio); padding: 28px;
    display: flex; flex-direction: column; gap: 8px; position: relative; overflow: hidden;
}
.mega-promo.naranja { background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); }
.mega-promo > i { font-size: 30px; opacity: .9; }
.mega-promo strong { font-size: 18px; }
.mega-promo p { font-size: 14px; opacity: .85; }
.mega-promo::after { content: ''; position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 24px solid rgba(255,255,255,.08); right: -50px; bottom: -60px; }
.mega-btn { margin-top: 8px; align-self: flex-start; background: #fff; color: var(--teal-deep); padding: 8px 18px; border-radius: 50px; font-weight: 600; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; position: relative; z-index: 1; }
.mega-btn:hover { background: var(--teal-claro); }
/* Mega menú de Rastreo con buscador (estilo Coordinadora) */
.menu-item:focus-within .mega { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mega-rastreo { max-width: 1180px; grid-template-columns: 1fr 1px 1fr; gap: 70px; padding: 54px 24px 60px; align-items: start; }
.mr-col h4 { font-size: 24px; font-weight: 600; color: var(--teal-deep); margin-bottom: 6px; }
.mr-col > p { color: var(--gris); font-size: 15px; margin-bottom: 22px; max-width: 520px; }
.mr-sep { align-self: stretch; background: var(--borde); }
.mega-rastreo .rastreo-form { max-width: 560px; }
.mr-accesos { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; }
.mr-accesos a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--gris); transition: color .2s; }
.mr-accesos a i { color: var(--naranja); }
.mr-accesos a:hover { color: var(--teal); }
.mr-link { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-2); font-weight: 600; font-size: 17px; transition: color .2s; }
.mr-link i { transition: transform .25s; }
.mr-link:hover { color: var(--naranja); }
.mr-link:hover i { transform: translateX(6px); }
.mv-rastreo { margin: 4px 0 10px; }
.mv-rastreo input { padding: 10px 14px; font-size: 15px; }
.mv-rastreo button { padding: 10px 18px; }

/* Acciones */
.header-acciones { display: flex; align-items: center; gap: 12px; }
.btn-icono { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--borde); color: var(--teal); transition: .25s; }
.btn-icono:hover { background: var(--teal); color: #fff; border-color: var(--teal); }
.hamburguesa { display: none; width: 46px; height: 46px; border-radius: 12px; background: var(--teal-claro); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.hamburguesa span { width: 22px; height: 2.5px; background: var(--teal); border-radius: 2px; }

/* Menú móvil */
.movil-overlay { position: fixed; inset: 0; background: rgba(6,47,49,.55); backdrop-filter: blur(3px); z-index: 90; opacity: 0; visibility: hidden; transition: .3s; }
.movil-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 90vw); background: #fff; z-index: 100;
    transform: translateX(100%); transition: transform .4s cubic-bezier(.4,0,.2,1); display: flex; flex-direction: column;
}
.movil-abierto .movil-overlay { opacity: 1; visibility: visible; }
.movil-abierto .movil-menu { transform: none; }
.movil-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--borde); }
.movil-head img { height: 46px; }
.movil-cerrar { font-size: 34px; color: var(--teal); line-height: 1; }
.movil-cuerpo { flex: 1; overflow-y: auto; padding: 8px 20px; }
.mv-grupo { border-bottom: 1px solid var(--borde); }
.mv-titulo { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-weight: 600; font-size: 17px; color: var(--teal-deep); }
.mv-titulo i { transition: transform .3s; color: var(--naranja); }
.mv-grupo.abierto .mv-titulo i { transform: rotate(180deg); }
.mv-links { max-height: 0; overflow: hidden; transition: max-height .35s; }
.mv-links a { display: block; padding: 10px 14px; color: var(--gris); border-left: 2px solid var(--teal-claro); }
.mv-links a:hover { color: var(--teal); border-color: var(--naranja); }
.mv-links .mv-sub { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal); padding: 14px 0 6px; }
.movil-pie { padding: 20px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--borde); }

/* Buscador */
.buscador { position: fixed; inset: 0; z-index: 120; background: rgba(6,47,49,.94); backdrop-filter: blur(6px); display: flex; justify-content: center; padding: 14vh 20px 20px; opacity: 0; visibility: hidden; transition: .3s; }
.buscador.abierto { opacity: 1; visibility: visible; }
.buscador-cerrar { position: absolute; top: 24px; right: 32px; color: #fff; font-size: 44px; line-height: 1; }
.buscador-box { width: 100%; max-width: 720px; }
.buscador-box > p { color: rgba(255,255,255,.7); margin-bottom: 14px; font-size: 18px; }
.buscador-input { display: flex; align-items: center; gap: 14px; background: #fff; border-radius: 60px; padding: 0 26px; }
.buscador-input i { color: var(--teal); font-size: 20px; }
.buscador-input input { flex: 1; border: none; outline: none; padding: 22px 0; font-size: 18px; }
.buscador-resultados { margin-top: 18px; display: flex; flex-direction: column; gap: 8px; max-height: 50vh; overflow-y: auto; }
.buscador-resultados a { display: flex; gap: 14px; align-items: center; color: #fff; padding: 14px 20px; border-radius: 14px; background: rgba(255,255,255,.07); transition: background .2s; }
.buscador-resultados a:hover { background: rgba(255,255,255,.16); }
.buscador-resultados a i { color: var(--naranja); width: 20px; }
.buscador-resultados small { margin-left: auto; opacity: .6; }

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; height: 760px; padding: 0; overflow: hidden; background: var(--teal-deep); color: #fff; }
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center;
    background:
        linear-gradient(100deg, rgba(6,47,49,.96) 0%, rgba(10,74,77,.86) 45%, rgba(14,106,108,.35) 100%),
        var(--img) center / cover no-repeat,
        radial-gradient(circle at 80% 30%, #1a9a9d 0%, var(--teal) 35%, var(--teal-deep) 80%);
}
.hero-slide::before {
    /* patrón de rutas */
    content: ''; position: absolute; inset: 0; opacity: .12;
    background-image:
        repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.5) 60px 61px),
        radial-gradient(rgba(255,255,255,.9) 1px, transparent 1.5px);
    background-size: auto, 28px 28px;
    mask-image: linear-gradient(90deg, transparent, #000 60%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.hero-slide.activo { opacity: 1; z-index: 1; }
.hero-grid { position: relative; z-index: 2; padding-bottom: 170px; }
.hero-texto { max-width: 720px; }
.hero-tag { display: inline-flex; gap: 8px; align-items: center; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: 8px 18px; border-radius: 50px; font-size: 14px; margin-bottom: 22px; backdrop-filter: blur(4px); }
.hero-tag i { color: var(--naranja); }
.hero h1 { font-size: clamp(36px, 4.8vw, 62px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; margin-bottom: 22px; }
.hero h1 span { color: var(--naranja); }
.hero-texto p { font-size: 19px; opacity: .88; max-width: 540px; margin-bottom: 34px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-slide .hero-texto > * { opacity: 0; transform: translateY(30px); transition: opacity .7s, transform .7s; }
.hero-slide.activo .hero-texto > * { opacity: 1; transform: none; }
.hero-slide.activo .hero-texto > *:nth-child(2) { transition-delay: .15s; }
.hero-slide.activo .hero-texto > *:nth-child(3) { transition-delay: .3s; }
.hero-slide.activo .hero-texto > *:nth-child(4) { transition-delay: .45s; }

/* Tarjeta de seguimiento */
.hero-visual-wrap { position: absolute; inset: 0; left: 50%; transform: translateX(-50%); z-index: 3; pointer-events: none; }
.hero-visual { position: absolute; right: 24px; top: 120px; width: 420px; }
.track-card {
    background: rgba(255,255,255,.97); color: var(--texto); border-radius: 22px; padding: 26px; box-shadow: 0 40px 80px rgba(0,0,0,.3);
    animation: flotar 6s ease-in-out infinite;
}
.track-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 14px; color: var(--gris); }
.track-guia strong { color: var(--teal-deep); }
.track-estado { display: flex; align-items: center; gap: 8px; background: rgba(243,146,0,.12); color: var(--naranja-dark); font-weight: 600; padding: 4px 12px; border-radius: 50px; font-size: 13px; }
.pulso { width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); animation: pulso 1.5s infinite; }
.track-ruta { display: flex; align-items: center; justify-content: space-between; background: var(--fondo); border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; }
.track-ruta small { display: block; color: var(--gris); font-size: 12px; }
.track-ruta strong { color: var(--teal-deep); font-size: 16px; }
.track-ruta > i { color: var(--naranja); font-size: 20px; }
.track-ruta em { display: block; margin-top: 2px; font-size: 12px; font-style: normal; font-weight: 600; color: var(--naranja-dark); }
.track-ruta > div:last-child { text-align: right; }
.track-pasos { display: flex; justify-content: space-between; position: relative; margin-bottom: 16px; }
.tp { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--gris); z-index: 1; width: 25%; }
.tp i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--fondo); color: #9fb4b4; font-size: 14px; border: 2px solid var(--borde); transition: background .4s, color .4s, border-color .4s, box-shadow .4s; }
.tp span { transition: color .4s; }
.tp.hecho i { background: var(--teal); color: #fff; border-color: var(--teal); }
.tp.actual i { background: var(--naranja); color: #fff; border-color: var(--naranja); box-shadow: 0 0 0 6px rgba(243,146,0,.2); animation: tp-pop .5s cubic-bezier(.3,1.8,.5,1), tp-pulso 1.6s ease-out .5s infinite; }
.tp.entregado i { background: #1faa59; color: #fff; border-color: #1faa59; box-shadow: 0 0 0 6px rgba(31,170,89,.2); animation: tp-pop .6s cubic-bezier(.3,1.8,.5,1); }
.tp.entregado span { color: #1a8f4b; font-weight: 600; }
.track-estado { transition: background .4s, color .4s; }
.track-estado.ok { background: rgba(31,170,89,.14); color: #1a8f4b; }
.track-estado.ok .pulso { background: #1faa59; }
.track-card.cambia #trackGuia, .track-card.cambia .track-ruta strong { animation: tp-texto .5s ease; }
.tp.actual span { color: var(--naranja-dark); font-weight: 600; }
.track-barra { height: 6px; background: var(--fondo); border-radius: 6px; overflow: hidden; }
.track-barra span { display: block; height: 100%; width: 65%; background: linear-gradient(90deg, var(--teal), var(--naranja)); border-radius: 6px; transition: width 1.2s cubic-bezier(.5,0,.3,1), background .4s; }
.track-barra span.sin-transicion { transition: none; }
.track-barra span.lleno { background: linear-gradient(90deg, var(--teal), #1faa59); }
@keyframes tp-pop { 0% { transform: scale(.6); } 100% { transform: scale(1); } }
@keyframes tp-pulso { 0% { box-shadow: 0 0 0 0 rgba(243,146,0,.45); } 100% { box-shadow: 0 0 0 12px rgba(243,146,0,0); } }
@keyframes tp-texto { 0% { opacity: 0; transform: translateY(6px); } 100% { opacity: 1; transform: none; } }
.float-chip { position: absolute; background: #fff; color: var(--teal-deep); font-weight: 600; font-size: 14px; padding: 12px 18px; border-radius: 50px; box-shadow: 0 18px 40px rgba(0,0,0,.25); display: flex; gap: 8px; align-items: center; white-space: nowrap; }
.float-chip i { color: var(--naranja); }
.chip-1 { left: -70px; bottom: -40px; animation: flotar 5s ease-in-out infinite .5s; }
.chip-2 { right: -20px; top: -26px; animation: flotar 7s ease-in-out infinite 1s; }

/* Carretera, paisaje y camión */
.hero-carretera { position: absolute; left: 0; right: 0; bottom: 70px; height: 160px; z-index: 2; pointer-events: none; }
.hero-carretera:has(.camion:hover), .hero-carretera:has(.camion.abierto), .hero-carretera:has(.camion :focus-visible) { z-index: 6; }
.paisaje { position: absolute; left: 0; right: 0; background-repeat: repeat-x; background-position: 0 100%; pointer-events: none; }
/* Paralaje: lo lejano se mueve lento, lo cercano rápido */
.paisaje-montanas { right: auto; width: calc(100% + 1000px); will-change: transform; bottom: 44px; height: 110px; background-image: url("../imagenes/paisaje-montanas.svg"); animation: paisaje-montanas 120s linear infinite; }
.paisaje-arboles  { right: auto; width: calc(100% + 700px); will-change: transform; bottom: 44px; height: 96px;  background-image: url("../imagenes/paisaje-arboles.svg");  animation: paisaje-arboles 36s linear infinite; }
.paisaje-postes   { right: auto; width: calc(100% + 480px); will-change: transform; bottom: 40px; height: 124px; background-image: url("../imagenes/paisaje-postes.svg");   animation: paisaje-postes 7s linear infinite; }
.via {
    position: absolute; left: 0; right: 0; bottom: 0; height: 46px; pointer-events: none;
    background:
        linear-gradient(rgba(255,255,255,.12) 0 2px, transparent 2px) ,
        radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.5px) 0 0 / 7px 7px,
        linear-gradient(#0a2c2e, #061f21);
}
.via::after {
    content: ''; position: absolute; left: 0; right: -92px; bottom: 20px; height: 3px; will-change: transform;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 44px, transparent 44px 92px);
    animation: linea .8s linear infinite;
}

.camion {
    position: absolute; bottom: 8px; left: 0; width: 380px; z-index: 2; will-change: transform; pointer-events: auto; cursor: pointer; outline: none;
    animation: conducir 26s linear infinite; -webkit-tap-highlight-color: transparent;
}
.camion svg { display: block; width: 100%; height: auto; overflow: visible; position: relative; z-index: 1; filter: drop-shadow(0 8px 10px rgba(0,0,0,.32)); }
.camion .carroceria { transform-box: fill-box; transform-origin: left bottom; animation: suspension .42s ease-in-out infinite alternate; }
.camion .rueda { transform-box: fill-box; transform-origin: center; animation: girar .42s linear infinite; }
.camion .haz { opacity: .35; animation: faros 4s ease-in-out infinite; }
.camion .stop { transition: fill .25s, filter .25s; }
.camion-sombra { position: absolute; left: 3%; right: 20%; bottom: -1px; height: 10px; border-radius: 50%; background: rgba(0,0,0,.4); filter: blur(4px); animation: sombra .42s ease-in-out infinite alternate; }

/* Humo del escape */
.camion-humo { position: absolute; left: 55%; top: 6%; width: 0; height: 0; z-index: 0; transition: opacity .4s; }
.camion-humo i { position: absolute; width: 14px; height: 14px; margin: -7px; border-radius: 50%; background: rgba(214,226,227,.5); filter: blur(2.5px); animation: humo 2s ease-out infinite; opacity: 0; }
.camion-humo i:nth-child(2) { animation-delay: .5s; }
.camion-humo i:nth-child(3) { animation-delay: 1s; }
.camion-humo i:nth-child(4) { animation-delay: 1.5s; }

/* Líneas de velocidad */
.camion-velocidad { position: absolute; left: -80px; top: 18%; width: 80px; height: 56%; opacity: .5; transition: opacity .3s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.55)) 0 8% / 100% 2px no-repeat,
                linear-gradient(90deg, transparent, rgba(255,255,255,.35)) 24px 42% / 70% 2px no-repeat,
                linear-gradient(90deg, transparent, rgba(255,255,255,.5)) 10px 78% / 88% 2px no-repeat;
    animation: velocidad .5s linear infinite; }

/* Menú con dos opciones al pasar el mouse / tocar */
.camion-menu {
    position: absolute; left: 40%; bottom: calc(100% + 14px); z-index: 3; width: max-content;
    background: #fff; border-radius: 18px; padding: 14px; box-shadow: 0 20px 44px rgba(0,0,0,.32);
    display: flex; flex-direction: column; gap: 8px; cursor: default;
    opacity: 0; visibility: hidden; transform: translate(-50%, 12px) scale(.85); transform-origin: 50% 100%;
    transition: opacity .25s, transform .35s cubic-bezier(.34,1.56,.64,1), visibility .25s;
}
.camion-menu::before { content: ''; position: absolute; left: 50%; bottom: -7px; width: 14px; height: 14px; background: #fff; transform: translateX(-50%) rotate(45deg); border-radius: 2px; }
.camion-menu::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 22px; } /* puente para no perder el hover */
.camion-menu-titulo { font-size: 12px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); text-align: center; padding-bottom: 2px; }
.cm-btn {
    display: flex; align-items: center; gap: 10px; padding: 11px 20px; border-radius: 50px; font-weight: 600; font-size: 15px;
    background: var(--teal-claro); color: var(--teal-deep); white-space: nowrap; transition: background .2s, color .2s, transform .2s;
}
.cm-btn i { color: var(--teal); width: 18px; text-align: center; transition: color .2s; }
.cm-btn:hover { background: var(--teal); color: #fff; transform: translateX(3px); }
.cm-btn:hover i { color: #fff; }
.cm-btn.naranja { background: var(--naranja); color: #fff; }
.cm-btn.naranja i { color: #fff; }
.cm-btn.naranja:hover { background: var(--naranja-dark); }

/* Hover / tocar: el camión frena, prende stops y hace cambio de luces */
.camion:hover, .camion:has(:focus-visible), .camion.abierto { animation-play-state: paused; }
.camion:hover .rueda, .camion:has(:focus-visible) .rueda, .camion.abierto .rueda { animation-play-state: paused; }
.camion:hover .carroceria, .camion:has(:focus-visible) .carroceria, .camion.abierto .carroceria { animation: frenar .55s ease-out forwards; }
.camion:hover .haz, .camion:has(:focus-visible) .haz, .camion.abierto .haz { animation: destello .35s ease-in-out 3; opacity: .95; }
.camion:hover .stop, .camion:has(:focus-visible) .stop, .camion.abierto .stop { fill: #ff3b2f; filter: drop-shadow(0 0 6px #ff3b2f); }
.camion:hover .camion-menu, .camion:has(:focus-visible) .camion-menu, .camion.abierto .camion-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1); }
.camion:hover .camion-humo, .camion:hover .camion-velocidad,
.camion.abierto .camion-humo, .camion.abierto .camion-velocidad { opacity: 0; }
.camion:hover .camion-sombra, .camion.abierto .camion-sombra { animation: none; }

.hero-controles { position: absolute; z-index: 4; bottom: 186px; left: 50%; transform: translateX(-50%); width: 100%; max-width: 1280px; padding: 0 24px; display: flex; gap: 16px; align-items: center; }
.hero-flecha { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.4); color: #fff; transition: .25s; }
.hero-flecha:hover { background: var(--naranja); border-color: var(--naranja); }
.hero-dots { display: flex; gap: 8px; }
.hero-dots button { width: 10px; height: 10px; border-radius: 10px; background: rgba(255,255,255,.4); transition: .35s; }
.hero-dots button.activo { width: 36px; background: var(--naranja); }

@keyframes flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 rgba(243,146,0,.6); } 100% { box-shadow: 0 0 0 10px rgba(243,146,0,0); } }
@keyframes cargar { from { width: 45%; } to { width: 72%; } }
@keyframes linea { to { transform: translateX(-92px); } }
@keyframes conducir { 0% { transform: translateX(-420px); } 100% { transform: translateX(110vw); } }
@keyframes girar { to { transform: rotate(360deg); } }
@keyframes suspension { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }
@keyframes sombra { from { transform: scaleX(1); opacity: 1; } to { transform: scaleX(.97); opacity: .8; } }
@keyframes frenar { 0% { transform: translateY(0) rotate(0); } 40% { transform: translateY(1.5px) rotate(.9deg); } 100% { transform: translateY(.5px) rotate(.25deg); } }
@keyframes faros { 0%, 100% { opacity: .3; } 50% { opacity: .5; } }
@keyframes destello { 0%, 100% { opacity: .95; } 50% { opacity: .2; } }
@keyframes humo { 0% { transform: translate(0, 0) scale(.4); opacity: .7; } 100% { transform: translate(-46px, -34px) scale(2); opacity: 0; } }
@keyframes velocidad { from { transform: translateX(10px); opacity: .6; } to { transform: translateX(-10px); opacity: .2; } }
@keyframes paisaje-montanas { to { transform: translateX(-1000px); } }
@keyframes paisaje-arboles { to { transform: translateX(-700px); } }
@keyframes paisaje-postes { to { transform: translateX(-480px); } }

/* =========================================================
   PANELES RASTREO / RECOGIDA
   ========================================================= */
.paneles { display: flow-root; padding: 0 0 80px; background: var(--fondo); position: relative; z-index: 5; }
.paneles-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 28px; margin-top: -70px; }
.panel { background: #fff; border-radius: 22px; padding: 38px; box-shadow: var(--sombra-2); }
.panel h3 { font-size: 24px; color: var(--teal-deep); }
.panel-sub { color: var(--gris); margin: 4px 0 22px; }
.rastreo-form { display: flex; background: var(--fondo); border-radius: 60px; padding: 6px; border: 1.5px solid var(--borde); transition: border .25s; }
.rastreo-form:focus-within { border-color: var(--teal); }
.rastreo-form input { flex: 1; border: none; background: transparent; outline: none; padding: 12px 20px; font-size: 16px; min-width: 0; }
.rastreo-form button { background: var(--teal); color: #fff; font-weight: 600; padding: 12px 30px; border-radius: 50px; transition: background .25s; }
.rastreo-form button:hover { background: var(--naranja); }
.rastreo-resultado { margin-top: 14px; font-size: 14px; color: var(--gris); min-height: 22px; }
.rastreo-resultado strong { color: var(--teal); }
.panel-sep { height: 1px; background: var(--borde); margin: 18px 0; }
.panel-link { color: var(--teal-2); font-weight: 500; display: inline-flex; gap: 10px; align-items: center; }
.panel-link:hover { color: var(--naranja); }
.panel-link i { transition: transform .25s; }
.panel-link:hover i { transform: translateX(6px); }

.opciones { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; margin-bottom: 14px; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion span { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border: 1.5px solid var(--borde); border-radius: 50px; cursor: pointer; font-size: 14px; font-weight: 500; color: var(--gris); transition: .2s; }
.opcion span:hover { border-color: var(--teal); }
.opcion input:checked + span { border-color: var(--teal); background: var(--teal-claro); color: var(--teal); }
.opcion input:focus-visible + span { outline: 2px solid var(--naranja); }
.fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
#recogidaForm input[type=text] { width: 100%; padding: 13px 20px; border: 1.5px solid var(--borde); border-radius: 50px; outline: none; transition: border .25s; }
#recogidaForm input[type=text]:focus { border-color: var(--teal); }

.accesos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 30px; }
.acceso {
    position: relative; overflow: hidden; isolation: isolate; display: flex; align-items: center; gap: 15px; min-height: 116px;
    background: #fff; padding: 24px 18px 24px 24px; border-radius: 20px; box-shadow: var(--sombra); color: var(--teal-deep);
    transition: opacity .8s ease, transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .4s;
}
/* La franja de la izquierda se expande y llena toda la tarjeta */
.acceso::before { content: ''; position: absolute; z-index: -1; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(120deg, var(--teal-2), var(--teal) 45%, var(--teal-deep)); transition: width .6s cubic-bezier(.7,0,.25,1); }
/* Brillo que cruza cada tarjeta de vez en cuando */
.acceso::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -50%; width: 35%; background: linear-gradient(100deg, transparent, rgba(14,106,108,.08), transparent); transform: skewX(-18deg); animation: ac-brillo 7s ease-in-out infinite; animation-delay: calc(var(--i) * 1.2s); }
.ac-ico { position: relative; flex-shrink: 0; width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: var(--teal-claro); color: var(--teal); transition: background .4s, color .4s, transform .7s cubic-bezier(.4,1.6,.5,1); }
.ac-ico::after { content: ''; position: absolute; inset: 0; border-radius: inherit; animation: ac-pulso 2.8s ease-out infinite; animation-delay: calc(var(--i) * .7s); }
.ac-txt { min-width: 0; }
.ac-txt strong { display: block; font-size: 18px; line-height: 1.25; transition: color .35s .1s; }
.ac-txt small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--gris); transition: color .35s .15s; }
.ac-flecha { margin-left: auto; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; background: #fff4e3; color: var(--naranja); transition: background .35s, color .35s, transform .35s; }
.ac-barra { position: absolute; left: 0; bottom: 0; height: 4px; width: 0; opacity: 0; background: linear-gradient(90deg, var(--naranja), #ffd08a); transition: opacity .3s; }

/* Movimiento propio de cada ícono */
.ac-a1 .ac-ico i { animation: ac-tecla 2.4s ease-in-out infinite; }
.ac-a2 .ac-ico i { animation: ac-charla 3s ease-in-out infinite; }
.ac-a3 .ac-ico i { animation: ac-pin 2.2s ease-in-out infinite; }
.ac-a4 .ac-ico i { animation: ac-mapa 3.4s ease-in-out infinite; }

/* Mouse encima o turno activo */
.acceso:hover, .acceso.activa { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(6,47,49,.25); }
.acceso:hover::before, .acceso.activa::before { width: 100%; }
.acceso:hover .ac-ico, .acceso.activa .ac-ico { background: var(--naranja); color: #fff; transform: rotateY(360deg) scale(1.06); }
.acceso:hover .ac-ico::after, .acceso.activa .ac-ico::after { animation-name: ac-pulso-naranja; animation-duration: 1.4s; }
.acceso:hover .ac-ico i, .acceso.activa .ac-ico i { animation-duration: .9s; }
.acceso:hover .ac-txt strong, .acceso.activa .ac-txt strong { color: #fff; }
.acceso:hover .ac-txt small, .acceso.activa .ac-txt small { color: rgba(255,255,255,.8); }
.acceso:hover .ac-flecha, .acceso.activa .ac-flecha { background: #fff; color: var(--teal); transform: rotate(-45deg); }
.acceso:hover .ac-flecha i, .acceso.activa .ac-flecha i { animation: ac-empuja .8s ease-in-out infinite; }
.acceso.activa .ac-barra { opacity: 1; width: 100%; transition: width var(--turno, 2.6s) linear, opacity .3s; }

@keyframes ac-brillo { 0%, 65% { left: -50%; } 100% { left: 130%; } }
@keyframes ac-pulso { 0% { box-shadow: 0 0 0 0 rgba(14,106,108,.35); } 70%, 100% { box-shadow: 0 0 0 14px rgba(14,106,108,0); } }
@keyframes ac-pulso-naranja { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.6); } 100% { box-shadow: 0 0 0 16px rgba(255,255,255,0); } }
@keyframes ac-tecla { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(.85); } 80% { transform: scale(1.1); } }
@keyframes ac-charla { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-4px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
@keyframes ac-pin { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(-7px); } 55% { transform: translateY(0) scale(1.1, .9); } 70% { transform: translateY(0) scale(1); } }
@keyframes ac-mapa { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes ac-empuja { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }

/* =========================================================
   SERVICIOS
   ========================================================= */
.servicios { background: #fff; }
.servicios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.servicio {
    --cx: 68px; --cy: 72px; /* centro del ícono: desde ahí se expande el fondo al pasar el mouse */
    display: flex; gap: 22px; padding: 36px 32px; border-radius: var(--radio); background: #fff; border: 1px solid var(--borde);
    transition: opacity .8s ease, transform .45s cubic-bezier(.3,1.4,.5,1), box-shadow .45s, border-color .35s; position: relative; overflow: hidden; isolation: isolate;
    animation: sv-respira 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1s);
}
.servicio > *:not(.sv-fondo):not(.sv-marca) { position: relative; z-index: 1; }
/* Barra superior + fondo teal que se expande en círculo desde el ícono */
.servicio::before { content: ''; position: absolute; z-index: 2; left: 0; top: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--naranja)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.sv-fondo { position: absolute; inset: 0; z-index: 0; background: radial-gradient(circle at var(--cx) var(--cy), var(--teal-2), var(--teal) 35%, var(--teal-deep)); clip-path: circle(0 at var(--cx) var(--cy)); transition: clip-path .7s cubic-bezier(.65,.05,.3,1); }
.sv-fondo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.6px); background-size: 20px 20px; }
/* Ícono gigante de marca de agua que flota en la esquina */
.sv-marca { position: absolute; z-index: 0; right: -18px; bottom: -22px; font-size: 130px; color: var(--teal); opacity: .05; transform: rotate(-12deg); animation: sv-marca 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -1.5s); transition: color .5s, opacity .5s; pointer-events: none; }

.servicio:hover, .servicio.activa { animation: none; transform: translateY(-10px); box-shadow: 0 30px 60px rgba(6,47,49,.25); border-color: transparent; }
.servicio:hover::before, .servicio.activa::before { transform: scaleX(1); }
.servicio:hover .sv-fondo, .servicio.activa .sv-fondo { clip-path: circle(160% at var(--cx) var(--cy)); }
.servicio:hover .sv-marca, .servicio.activa .sv-marca { color: #fff; opacity: .1; animation-duration: 3s; }

/* Ícono con "agua" que sube y baja por dentro */
.servicio-ico { flex-shrink: 0; position: relative; overflow: hidden; width: 72px; height: 72px; border-radius: 20px; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; font-size: 30px; transition: background .4s, color .4s, transform .5s cubic-bezier(.3,1.6,.5,1), box-shadow .4s; }
.servicio-ico i { position: relative; z-index: 1; transition: color .4s; }
.sv-agua { position: absolute; inset: 0; pointer-events: none; }
.sv-agua::before, .sv-agua::after {
    content: ''; position: absolute; left: 50%; width: 160px; height: 160px; margin-left: -80px; border-radius: 42%;
    background: rgba(14,106,108,.16); animation: sv-ola 6s linear infinite, sv-nivel 8s ease-in-out infinite; transition: background .4s;
}
.sv-agua::after { border-radius: 38%; background: rgba(14,106,108,.12); animation-duration: 9s, 8s; animation-delay: 0s, -2s; }
.servicio:hover .servicio-ico, .servicio.activa .servicio-ico { background: #fff; color: var(--teal); transform: rotate(-8deg) scale(1.08); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.servicio:hover .sv-agua::before, .servicio.activa .sv-agua::before { background: rgba(243,146,0,.35); animation-duration: 2.5s, 8s; }
.servicio:hover .sv-agua::after, .servicio.activa .sv-agua::after { background: rgba(243,146,0,.25); animation-duration: 3.5s, 8s; }

/* Movimiento propio de cada ícono */
.sv-a1 .servicio-ico i { animation: sv-maneja 1.6s ease-in-out infinite; }
.sv-a2 .servicio-ico i { transform-origin: 50% 100%; animation: sv-apila 2.2s ease-in-out infinite; }
.sv-a3 .servicio-ico i { animation: sv-sobre 3s ease-in-out infinite; }
.sv-a4 .servicio-ico i { animation: sv-late 2.4s ease-in-out infinite; }
.sv-a5 .servicio-ico i { transform-origin: 50% 0; animation: sv-toldo 2.8s ease-in-out infinite; }
.sv-a6 .servicio-ico i { animation: sv-moneda 2.6s ease-in-out infinite; }
.servicio:hover .servicio-ico i, .servicio.activa .servicio-ico i { animation-duration: .8s; }

.servicio h3 { font-size: 21px; color: var(--teal-deep); margin-bottom: 8px; line-height: 1.25; transition: color .4s .1s; }
.servicio p { color: var(--gris); font-size: 15px; margin-bottom: 14px; transition: color .4s .15s; }
.servicio a { color: var(--teal-2); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; padding: 6px 0; border-radius: 50px; transition: color .3s, background .35s, padding .35s, box-shadow .35s; }
.servicio a i { animation: sv-flecha 2.4s ease-in-out infinite; }
.servicio:hover h3, .servicio.activa h3 { color: #fff; }
.servicio:hover p, .servicio.activa p { color: rgba(255,255,255,.82); }
.servicio:hover a, .servicio.activa a { color: #fff; background: var(--naranja); padding: 8px 18px; box-shadow: 0 10px 22px rgba(243,146,0,.4); }
.servicio:hover a i, .servicio.activa a i { animation-duration: .8s; }
.servicio a:hover { background: #fff; color: var(--teal-deep); }

@keyframes sv-respira { 0%, 100% { box-shadow: 0 0 0 rgba(14,106,108,0); } 50% { box-shadow: 0 14px 30px rgba(14,106,108,.08); } }
@keyframes sv-marca { 0%, 100% { transform: rotate(-12deg) translateY(0); } 50% { transform: rotate(-4deg) translateY(-10px); } }
@keyframes sv-ola { to { transform: rotate(360deg); } }
@keyframes sv-nivel { 0%, 100% { top: 46px; } 50% { top: 30px; } }
@keyframes sv-maneja { 0%, 100% { transform: translateX(-3px); } 25% { transform: translateX(2px) translateY(-1px); } 50% { transform: translateX(4px); } 75% { transform: translateX(1px) translateY(-1px); } }
@keyframes sv-apila { 0%, 100% { transform: scale(1, 1); } 30% { transform: scale(1.1, .88); } 55% { transform: scale(.94, 1.1) translateY(-6px); } 75% { transform: scale(1.03, .97); } }
@keyframes sv-sobre { 0%, 100% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-5px) rotate(-8deg); } 70% { transform: translateY(-2px) rotate(5deg); } }
@keyframes sv-late { 0%, 100% { transform: scale(1); } 20% { transform: scale(1.12); } 40% { transform: scale(1); } 60% { transform: scale(1.06); } }
@keyframes sv-toldo { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }
@keyframes sv-moneda { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-7px) rotateY(180deg); } 60% { transform: translateY(0) rotateY(360deg); } }
@keyframes sv-flecha { 0%, 70%, 100% { transform: translateX(0); } 80% { transform: translateX(6px); } 90% { transform: translateX(0); } }

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: 70px 0; background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; position: relative; overflow: hidden; }
.stats::after { display: none; content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.5px); background-size: 26px 26px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; position: relative; z-index: 1; }
.stat { text-align: center; }
.stat > i { font-size: 30px; color: var(--naranja); margin-bottom: 10px; }
.stat-num, .stat-mas { font-size: 50px; font-weight: 800; line-height: 1; }
.stat-mas { color: var(--naranja); }
.stat p { margin-top: 6px; }
/* Linterna: penumbra con un foco de luz que sigue al mouse (lo mueve script.js con --lx / --ly) */
.linterna { isolation: isolate; }
.ad-franja.linterna > :not(.linterna-capa):not(.linterna-rejilla),
.empresas-inner.linterna > :not(.linterna-capa):not(.linterna-rejilla),
.ventajas.linterna > .container { position: relative; z-index: 1; }
.hero-slide .linterna-capa, .hero-slide .linterna-rejilla { z-index: 1; } /* entre el fondo del slide y el texto */
.linterna-capa, .linterna-rejilla { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.linterna-capa {
    background:
        radial-gradient(circle var(--lr, 240px) at var(--lx, 50%) var(--ly, 50%), rgba(255,231,190,.2), rgba(255,231,190,.07) 42%, transparent 70%),
        radial-gradient(circle calc(var(--lr, 240px) * 1.7) at var(--lx, 50%) var(--ly, 50%), transparent 25%, rgba(1,18,20,.5) 100%);
}
/* la rejilla de puntos se enciende en naranja solo donde alumbra la luz */
.linterna-rejilla {
    background-image: radial-gradient(rgba(255,196,110,.95) 1.3px, transparent 1.9px); background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(circle var(--lr, 240px) at var(--lx, 50%) var(--ly, 50%), #000, transparent 72%);
    mask-image: radial-gradient(circle var(--lr, 240px) at var(--lx, 50%) var(--ly, 50%), #000, transparent 72%);
}
.stat { --cerca: 0; }
.stat > i { display: inline-block; transform: scale(calc(1 + var(--cerca) * .3)) translateY(calc(var(--cerca) * -4px)); filter: drop-shadow(0 0 calc(var(--cerca) * 16px) rgba(243,146,0,.95)); }
.stat-num { text-shadow: 0 0 calc(var(--cerca) * 26px) rgba(255,222,170,.85); }
.stat p { opacity: calc(.7 + var(--cerca) * .3); }
.ad-franja-ico { --cerca: 0; filter: brightness(calc(1 + var(--cerca) * .25)) drop-shadow(0 0 calc(var(--cerca) * 20px) rgba(243,146,0,.8)); }

/* =========================================================
   COBERTURA
   ========================================================= */
.cobertura { background: var(--fondo); }
.cobertura-grid { display: grid; grid-template-columns: 420px 1fr; gap: 32px; align-items: stretch; }
.cob-panel { background: #fff; border-radius: 22px; padding: 28px; box-shadow: var(--sombra); display: flex; flex-direction: column; max-height: 640px; }
.cob-buscar { position: relative; display: flex; align-items: center; gap: 12px; background: var(--fondo); border: 1.5px solid transparent; border-radius: 16px; padding: 0 8px 0 18px; transition: border-color .25s, background .25s, box-shadow .25s; }
.cob-buscar:hover { border-color: var(--borde); }
.cob-buscar:focus-within { background: #fff; border-color: var(--teal); box-shadow: 0 0 0 5px rgba(14,106,108,.1), 0 12px 26px rgba(14,106,108,.12); }
.cob-buscar > i { color: var(--teal); transition: transform .3s; }
.cob-buscar:focus-within > i { transform: scale(1.15) rotate(-10deg); }
.cob-buscar input { flex: 1; border: none; outline: none; background: transparent; padding: 15px 0; min-width: 0; font-size: 15px; color: var(--texto); }
.cob-buscar input::placeholder { color: #8aa0a1; }
.cob-contador { font-size: 12px; font-weight: 600; color: var(--teal); background: var(--teal-claro); padding: 4px 10px; border-radius: 50px; white-space: nowrap; opacity: 0; transform: scale(.8); transition: .25s; }
.cob-limpiar { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--gris); background: transparent; opacity: 0; pointer-events: none; transform: rotate(-90deg) scale(.6); transition: .25s; }
.cob-limpiar:hover { background: var(--naranja); color: #fff; }
.cob-buscar.con-texto .cob-contador { opacity: 1; transform: scale(1); }
.cob-buscar.con-texto .cob-limpiar { opacity: 1; pointer-events: auto; transform: none; }
.cob-msg { font-size: 14px; min-height: 8px; margin: 10px 2px 8px; }
.cob-msg.si, .cob-msg.no { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; padding: 10px 14px; border-radius: 12px; animation: msg-entra .35s ease; }
.cob-msg.si { color: var(--teal); background: var(--teal-claro); font-weight: 600; }
.cob-msg.si span { font-weight: 500; font-size: 12px; color: var(--gris); }
.cob-msg.no { color: #9a5b00; background: #fff4e3; }
.cob-msg.no a { color: var(--naranja-dark); font-weight: 600; text-decoration: underline; }
.cob-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.cob-tab { display: flex; min-width: 0; white-space: nowrap; align-items: center; gap: 7px; padding: 7px 6px 7px 12px; border-radius: 50px; background: #fff; border: 1.5px solid var(--borde); font-size: 13px; font-weight: 500; color: var(--gris); transition: .25s; }
.cob-tab .ct-punto { flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 20%, transparent); transition: .25s; }
.cob-tab .ct-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.cob-tab .ct-num { flex-shrink: 0; margin-left: auto; min-width: 22px; padding: 2px 7px; border-radius: 50px; font-size: 11px; font-weight: 700; text-align: center; background: var(--fondo); color: var(--gris); transition: .25s; }
.cob-tab:hover { border-color: var(--c); color: var(--c); transform: translateY(-2px); }
.cob-tab.activo { background: var(--c); border-color: var(--c); color: #fff; box-shadow: 0 8px 18px color-mix(in srgb, var(--c) 35%, transparent); }
.cob-tab.activo .ct-punto { background: #fff; box-shadow: 0 0 0 3px rgba(255,255,255,.3); }
.cob-tab.activo .ct-num { background: rgba(255,255,255,.22); color: #fff; }
.cob-lista { overflow-y: auto; overflow-x: hidden; flex: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; align-content: start; padding-right: 6px; scrollbar-width: thin; scrollbar-color: var(--borde) transparent; }
.cob-lista li { display: flex; align-items: center; gap: 9px; font-size: 14px; padding: 8px 10px; border-radius: 10px; cursor: pointer; transition: background .2s, color .2s, transform .2s; animation: li-entra .35s ease backwards; animation-delay: var(--d, 0ms); }
.cob-lista li i { flex-shrink: 0; font-size: 12px; color: #9bb4b5; transition: .2s; }
.cob-lista li:hover, .cob-lista li.resaltado { background: var(--teal-claro); color: var(--teal); transform: translateX(3px); }
.cob-lista li:hover i, .cob-lista li.resaltado i { color: var(--naranja); }
.cob-lista li.hub { font-weight: 700; grid-column: 1 / -1; }
.cob-lista li.hub i { color: var(--naranja); }
.cob-lista li small { margin-left: auto; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .5px; color: var(--naranja-dark); background: #fff4e3; padding: 2px 7px; border-radius: 50px; }
.cob-lista li.resaltado { box-shadow: inset 3px 0 0 var(--naranja); }
.cob-lista mark { background: linear-gradient(transparent 55%, rgba(243,146,0,.35) 55%); color: inherit; padding: 0 1px; border-radius: 2px; }
.cob-lista li.region-titulo { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; cursor: default; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--teal-deep); padding: 14px 10px 6px; border-bottom: 1px solid var(--borde); border-radius: 0; margin-bottom: 4px; animation: none; }
.cob-lista li.region-titulo span { width: 10px; height: 10px; border-radius: 3px; filter: saturate(1.4) brightness(.85); }
.cob-lista li.region-titulo em { margin-left: auto; font-style: normal; font-weight: 600; color: var(--gris); letter-spacing: 0; }
.cob-lista li.region-titulo:hover { background: none; color: var(--teal-deep); transform: none; }
.cob-lista li.cob-vacio { grid-column: 1 / -1; flex-direction: column; text-align: center; gap: 6px; padding: 34px 16px; cursor: default; color: var(--gris); }
.cob-lista li.cob-vacio:hover { background: none; color: var(--gris); transform: none; }
.cob-lista li.cob-vacio i { font-size: 34px; color: var(--teal); opacity: .5; margin-bottom: 4px; }
.cob-lista li.cob-vacio strong { color: var(--teal-deep); font-size: 16px; }
@keyframes li-entra { from { opacity: 0; transform: translateY(8px); } }
@keyframes msg-entra { from { opacity: 0; transform: translateY(-6px); } }

.cob-mapa { background: linear-gradient(160deg, var(--teal-deep), #0b3f42); border-radius: 22px; position: relative; overflow: hidden; min-height: 620px; isolation: isolate; }
.cob-mapa::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px); background-size: 22px 22px; pointer-events: none; }
#mapaRutas { position: absolute; inset: 0; background: transparent; font-family: 'Poppins', sans-serif; z-index: 1; }
#mapaRutas .leaflet-interactive:focus { outline: none; }
.ruta { animation: flujo 1.4s linear infinite; transition: stroke-opacity .4s; }
/* Marcadores del mapa */
.nodo-mk { cursor: pointer; transition: opacity .35s; }
.nodo-mk .mk-punto { position: absolute; inset: 0; border-radius: 50%; background: var(--c); border: 2.5px solid var(--teal-deep); transition: transform .25s; }
.nodo-mk .mk-halo { position: absolute; inset: -6px; border-radius: 50%; background: var(--c); opacity: 0; }
.nodo-mk:hover .mk-punto, .nodo-mk.activo .mk-punto { transform: scale(1.45); }
.nodo-mk.activo .mk-halo { animation: halo 1.4s ease-out infinite; }
.mk-santander { --c: #4fd1c5; }
.mk-norte { --c: #8ecbff; }
.mk-bolivar { --c: #ffd166; }
.mk-cesar { --c: #ff9f80; }
.mk-hub { --c: var(--naranja); }
.mk-hub .mk-halo { animation: halo 2.4s ease-out infinite; }
.nodo-mk.atenuado { opacity: .15; }
/* Etiquetas y tooltips */
.leaflet-tooltip.mk-label { background: none; border: none; box-shadow: none; color: #fff; font-weight: 600; font-size: 12px; padding: 0; text-shadow: 0 0 3px var(--teal-deep), 0 0 6px var(--teal-deep), 0 0 2px #000; }
.leaflet-tooltip.mk-label::before, .leaflet-tooltip.dpto-tip::before { display: none; }
.zoom-cerca .leaflet-tooltip.dpto-tip { display: none; }
.leaflet-tooltip.dpto-tip { pointer-events: none; }
.leaflet-tooltip.mk-tip, .leaflet-tooltip.dpto-tip { background: #fff; color: var(--teal-deep); border: none; border-radius: 10px; padding: 8px 14px; font-family: 'Poppins', sans-serif; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.leaflet-tooltip.mk-tip small { display: block; font-weight: 400; color: var(--gris); }
.leaflet-tooltip.dpto-tip { background: rgba(6,47,49,.92); color: #fff; font-weight: 500; }
/* Controles del mapa */
#mapaRutas .leaflet-control-zoom { border: none; box-shadow: 0 8px 20px rgba(0,0,0,.25); border-radius: 12px; overflow: hidden; margin: 18px; }
#mapaRutas .leaflet-control-zoom a { width: 38px; height: 38px; line-height: 38px; color: var(--teal-deep); border-color: var(--borde); }
#mapaRutas .leaflet-control-zoom a:hover { background: var(--naranja); color: #fff; }
.mapa-vistas { position: absolute; top: 18px; right: 18px; z-index: 2; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.mapa-vistas button { background: rgba(255,255,255,.95); color: var(--teal-deep); font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 50px; box-shadow: 0 8px 20px rgba(0,0,0,.2); display: flex; gap: 8px; align-items: center; transition: .25s; }
.mapa-vistas button i { color: var(--naranja); }
.mapa-vistas button:hover { background: var(--naranja); color: #fff; }
.mapa-vistas button:hover i { color: #fff; }
.mapa-leyenda { position: absolute; left: 18px; bottom: 18px; z-index: 2; pointer-events: none; background: rgba(6,47,49,.8); padding: 10px 14px; border-radius: 12px; display: flex; flex-wrap: wrap; gap: 8px 18px; color: rgba(255,255,255,.85); font-size: 12px; }
.mapa-leyenda span { display: flex; gap: 6px; align-items: center; }
.ley { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.ley.hub { background: var(--naranja); box-shadow: 0 0 0 3px rgba(243,146,0,.3); }
.ley.santander { background: #4fd1c5; }
.ley.norte { background: #8ecbff; }
.ley.bolivar { background: #ffd166; }
.ley.cesar { background: #ff9f80; }
@keyframes flujo { to { stroke-dashoffset: -18; } }
@keyframes halo { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.4); opacity: 0; } }

/* =========================================================
   CÓMO FUNCIONA
   ========================================================= */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; position: relative; }
.pasos::before { content: ''; position: absolute; top: 58px; left: 12.5%; right: 12.5%; border-top: 2px dashed var(--borde); }
/* Recorrido animado: la barra avanza y el camión pasa por cada paso */
.pasos-ruta { position: absolute; top: 57px; left: 12.5%; right: 12.5%; height: 4px; pointer-events: none; }
.pr-barra { position: absolute; left: 0; top: 0; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal), var(--naranja)); animation: pr-avance 9s linear infinite; }
.pr-camion { position: absolute; top: -17px; left: 0; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: var(--naranja); color: #fff; display: grid; place-items: center; font-size: 15px; box-shadow: 0 8px 18px rgba(243,146,0,.45); animation: pr-camion 9s linear infinite; }
.paso { text-align: center; position: relative; padding: 0 10px; }
.paso-num { position: absolute; top: -6px; left: 50%; transform: translateX(26px); background: var(--naranja); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 50px; z-index: 3; animation: paso-num 9s ease infinite; }
.paso-ico {
    position: relative; z-index: 2; width: 116px; height: 116px; border-radius: 50%; margin: 0 auto 20px; background: #fff;
    border: 2px solid var(--borde); display: grid; place-items: center; font-size: 38px; color: var(--teal);
    animation: paso-turno 9s ease infinite; transition: transform .35s, box-shadow .35s;
}
.paso-ico i { display: inline-block; animation: flotar-ico 3.2s ease-in-out infinite; }
.paso-ico::before { /* anillo punteado que gira al pasar el mouse */
    content: ''; position: absolute; inset: -11px; border-radius: 50%; border: 2px dashed var(--naranja); opacity: 0; transform: scale(.85);
    transition: opacity .3s, transform .3s;
}
/* Cada paso se ilumina cuando el camión llega */
.paso:nth-child(2) .paso-ico, .paso:nth-child(2) .paso-num { animation-delay: 0s; }
.paso:nth-child(3) .paso-ico, .paso:nth-child(3) .paso-num { animation-delay: 2.67s; }
.paso:nth-child(4) .paso-ico, .paso:nth-child(4) .paso-num { animation-delay: 5.33s; }
.paso:nth-child(5) .paso-ico, .paso:nth-child(5) .paso-num { animation-delay: 8s; }
.paso:nth-child(3) .paso-ico i { animation-delay: .4s; }
.paso:nth-child(4) .paso-ico i { animation-delay: .8s; }
.paso:nth-child(5) .paso-ico i { animation-delay: 1.2s; }
.paso h3 { font-size: 20px; color: var(--teal-deep); margin-bottom: 6px; transition: color .3s; }
.paso p { color: var(--gris); font-size: 15px; transition: color .3s; }
/* Hover */
.paso:hover .paso-ico { animation: none; background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-8px) scale(1.06); box-shadow: 0 20px 40px rgba(14,106,108,.32); }
.paso:hover .paso-ico i { animation: salto-ico .6s ease; }
.paso:hover .paso-ico::before { opacity: 1; transform: scale(1); animation: girar 9s linear infinite; }
.paso:hover h3 { color: var(--teal); }
.paso:hover p { color: var(--texto); }
@keyframes pr-avance { 0% { width: 0; opacity: 1; } 88.9% { width: 100%; opacity: 1; } 100% { width: 100%; opacity: 0; } }
@keyframes pr-camion { 0% { left: 0; opacity: 0; } 4% { opacity: 1; } 88.9% { left: 100%; opacity: 1; } 96%, 100% { left: 100%; opacity: 0; } }
@keyframes paso-turno {
    0%, 30%, 100% { background: #fff; color: var(--teal); border-color: var(--borde); box-shadow: 0 0 0 0 rgba(14,106,108,0); }
    5%, 22% { background: var(--teal); color: #fff; border-color: var(--teal); box-shadow: 0 0 0 10px rgba(14,106,108,.12), 0 16px 34px rgba(14,106,108,.3); }
}
@keyframes paso-num { 0%, 30%, 100% { transform: translateX(26px) scale(1); } 5%, 22% { transform: translateX(26px) scale(1.2); } }
@keyframes flotar-ico { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes salto-ico { 0% { transform: translateY(0) rotate(0); } 40% { transform: translateY(-10px) rotate(-10deg); } 70% { transform: translateY(2px) rotate(6deg); } 100% { transform: translateY(0) rotate(0); } }

/* =========================================================
   NOSOTROS
   ========================================================= */
.nosotros { background: var(--fondo); position: relative; overflow: hidden; }
.nosotros::before { content: ''; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -200px; bottom: -260px; background: radial-gradient(circle, rgba(243,146,0,.1), transparent 70%); animation: vj-mancha 18s ease-in-out infinite alternate; pointer-events: none; }
.nosotros-grid { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; align-items: center; }

/* ----- Visual de la izquierda ----- */
.ns-visual { position: relative; height: 520px; perspective: 1000px; }
.ns-main {
    position: absolute; inset: 40px 70px 50px 0; overflow: hidden; border-radius: 30px; color: #fff; text-align: center;
    display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px;
    background: radial-gradient(circle at 75% 15%, var(--teal-2), transparent 55%), linear-gradient(150deg, var(--teal), var(--teal-deep));
    box-shadow: 0 34px 70px rgba(6,47,49,.35); transition: transform .6s cubic-bezier(.3,1.4,.5,1);
}
.ns-visual:hover .ns-main { transform: rotateY(-8deg) rotateX(4deg) scale(1.02); }
.ns-rejilla { position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.6px); background-size: 22px 22px; }
.ns-anillo { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.25); animation: girar 26s linear infinite; }
.ns-anillo.a2 { width: 270px; height: 270px; margin: -135px; border: 2px solid rgba(243,146,0,.22); animation-duration: 40s; animation-direction: reverse; }
.ns-visual:hover .ns-anillo { animation-duration: 8s; }
.ns-orb { position: absolute; z-index: 1; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px; border-radius: 14px; display: grid; place-items: center; font-size: 17px; color: var(--teal-deep); background: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.25); animation: ns-orbita 16s linear infinite; }
.ns-orb i { animation: ns-contra 16s linear infinite; }
.ns-orb.o2 { animation-delay: -5.33s; } .ns-orb.o2 i { animation-delay: -5.33s; }
.ns-orb.o3 { animation-delay: -10.67s; background: var(--naranja); color: #fff; } .ns-orb.o3 i { animation-delay: -10.67s; }
.ns-visual:hover .ns-orb, .ns-visual:hover .ns-orb i { animation-duration: 6s; }
@keyframes ns-orbita { from { transform: rotate(0) translateX(100px); } to { transform: rotate(360deg) translateX(100px); } }
@keyframes ns-contra { from { transform: rotate(0); } to { transform: rotate(-360deg); } }
.ns-logo { position: relative; width: 132px; height: 132px; border-radius: 36px; display: grid; place-items: center; margin-bottom: 64px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(4px); animation: ns-respira 4s ease-in-out infinite; }
.ns-logo::after { content: ''; position: absolute; inset: -1px; border-radius: inherit; animation: wa-onda 2.6s ease-out infinite; }
.ns-logo img { width: 92px; transition: transform .6s cubic-bezier(.3,1.6,.5,1); }
.ns-visual:hover .ns-logo img { transform: scale(1.12) rotate(-6deg); }
.ns-main strong { position: relative; z-index: 2; font-size: 30px; font-style: italic; font-weight: 800; }
.ns-sub { position: relative; z-index: 2; opacity: .8; }
.ns-via { position: absolute; left: 0; right: 0; bottom: 30px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 22px, transparent 22px 40px); animation: ad-via 1.4s linear infinite; }
.ns-camion { position: absolute; bottom: 3px; left: -50px; font-size: 24px; color: var(--naranja); animation: ad-cruza 8s linear infinite; }
@keyframes ns-respira { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
/* Datos flotantes */
.ns-dato { position: absolute; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 20px; background: #fff; box-shadow: var(--sombra-2); animation: flotar 6s ease-in-out infinite; transition: transform .4s cubic-bezier(.3,1.6,.5,1), box-shadow .3s; }
.ns-dato i { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; color: var(--naranja); background: rgba(243,146,0,.12); transition: background .3s, color .3s, transform .5s; }
.ns-dato strong { display: block; font-size: 26px; line-height: 1; color: var(--teal-deep); }
.ns-dato span { color: var(--gris); font-size: 14px; }
.ns-dato.d1 { right: 0; top: 0; }
.ns-dato.d2 { right: 30px; bottom: 0; animation-delay: -2s; }
.ns-dato.d3 { left: -24px; top: 44%; animation-delay: -4s; }
.ns-dato:hover { animation-play-state: paused; transform: scale(1.08); box-shadow: 0 24px 46px rgba(6,47,49,.2); }
.ns-dato:hover i { background: var(--naranja); color: #fff; transform: rotate(-12deg); }
.ns-visual { pointer-events: auto; }

/* ----- Texto ----- */
.nosotros-texto h2 { font-size: clamp(28px, 3.6vw, 42px); color: var(--teal-deep); line-height: 1.15; margin: 14px 0 18px; }
.nosotros-texto h2 span { background: linear-gradient(100deg, var(--teal) 0 40%, var(--naranja) 50%, var(--teal) 60% 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vj-brilla 6s ease-in-out infinite; }
.nosotros-texto > p { color: var(--gris); font-size: 17px; margin-bottom: 18px; }
.ns-cita { position: relative; padding: 14px 18px 14px 50px; border-radius: 16px; background: #fff; border-left: 4px solid var(--naranja); font-style: italic; color: var(--teal-deep) !important; font-size: 15.5px !important; box-shadow: var(--sombra); }
.ns-cita i { position: absolute; left: 18px; top: 16px; color: var(--naranja); }

/* Botones Misión / Visión / Valores: selector con indicador que se desliza */
.ns-tabs { --ns-i: 0; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 6px; margin: 26px 0 16px; border-radius: 20px; background: #fff; box-shadow: var(--sombra); }
.ns-indicador { position: absolute; top: 6px; bottom: 6px; left: 6px; width: calc((100% - 12px) / 3); border-radius: 15px; overflow: hidden; background: linear-gradient(120deg, var(--teal), var(--teal-deep)); box-shadow: 0 10px 24px rgba(14,106,108,.35); transform: translateX(calc(var(--ns-i) * 100%)); transition: transform .55s cubic-bezier(.6,-0.2,.3,1.3); }
.ns-barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--naranja); }
.ns-indicador.corre .ns-barra { animation: ns-tiempo var(--ns-tiempo, 6s) linear forwards; }
.ns-tabs.pausa .ns-barra { animation-play-state: paused; }
@keyframes ns-tiempo { to { width: 100%; } }
.ns-tab { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 10px; border-radius: 15px; font-weight: 600; font-size: 15px; color: var(--teal-deep); transition: color .35s; }
.ns-tab i { color: var(--naranja); transition: transform .5s cubic-bezier(.3,1.6,.5,1), color .35s; }
.ns-tab:not(.activo):hover { color: var(--teal); }
.ns-tab:hover i { transform: scale(1.25) rotate(-12deg); }
.ns-tab.activo { color: #fff; }
.ns-tab.activo i { color: #ffd08a; }

/* Paneles oscuros con emblema animado */
.ns-paneles { position: relative; display: grid; margin-bottom: 28px; }
.ns-panel {
    grid-area: 1 / 1; position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; padding: 30px 32px; border-radius: 26px; color: #fff;
    background: radial-gradient(circle at 92% 10%, var(--teal-2), transparent 55%), linear-gradient(140deg, var(--teal), var(--teal-deep));
    box-shadow: 0 24px 50px rgba(6,47,49,.25);
    opacity: 0; visibility: hidden; transform: translateX(30px) scale(.98); transition: opacity .45s, transform .6s cubic-bezier(.3,1.4,.5,1), visibility .45s;
}
.ns-panel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.6px); background-size: 20px 20px; pointer-events: none; }
.ns-panel.activo { opacity: 1; visibility: visible; transform: none; }
.ns-panel-txt { position: relative; flex: 1; min-width: 0; }
.ns-etq { display: inline-block; padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #ffd08a; background: rgba(255,255,255,.1); }
.ns-panel h4 { font-size: 22px; margin: 12px 0 8px; }
.ns-panel p { font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.88); margin-bottom: 16px; }
.ns-panel mark { color: #fff; font-weight: 600; background: linear-gradient(transparent 60%, rgba(243,146,0,.55) 60%); padding: 0 2px; }
.ns-puntos { display: flex; flex-wrap: wrap; gap: 8px; }
.ns-puntos li { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 50px; font-size: 13px; font-weight: 500; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); transition: background .3s, transform .3s; }
.ns-puntos li i { font-size: 10px; color: var(--naranja); }
.ns-puntos li:hover { background: var(--naranja); transform: translateY(-2px); }
.ns-puntos li:hover i { color: #fff; }
/* animación de entrada del contenido al cambiar de botón */
.ns-panel.activo .ns-etq, .ns-panel.activo h4, .ns-panel.activo p, .ns-panel.activo .ns-puntos li, .ns-panel.activo .ns-valor { animation: ns-entra .55s ease both; }
.ns-panel.activo h4 { animation-delay: .06s; }
.ns-panel.activo p { animation-delay: .12s; }
.ns-panel.activo .ns-puntos li:nth-child(1) { animation-delay: .2s; }
.ns-panel.activo .ns-puntos li:nth-child(2) { animation-delay: .27s; }
.ns-panel.activo .ns-puntos li:nth-child(3) { animation-delay: .34s; }
@keyframes ns-entra { from { opacity: 0; transform: translateY(12px); } }

/* Emblema: radar (misión) y ojo que escanea (visión) */
.ns-emblema { position: relative; flex-shrink: 0; width: 130px; height: 130px; display: grid; place-items: center; }
.ns-emblema i { position: relative; z-index: 1; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); box-shadow: 0 12px 28px rgba(243,146,0,.5); transition: transform .5s cubic-bezier(.3,1.6,.5,1); }
.ns-panel.activo .ns-emblema i { animation: ns-pop .7s cubic-bezier(.3,1.6,.5,1); }
.ns-panel:hover .ns-emblema i { transform: scale(1.12) rotate(-10deg); }
.ns-emblema span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); }
.radar span { animation: ns-radar 3s ease-out infinite; }
.radar span:nth-child(2) { animation-delay: 1s; }
.radar span:nth-child(3) { animation-delay: 2s; }
.escaner span { border: none; }
.escaner span:nth-child(1) { border: 2px dashed rgba(255,255,255,.3); animation: girar 14s linear infinite; }
.escaner span:nth-child(2) { inset: 10px; background: conic-gradient(from var(--ang, 0deg), transparent 0 75%, rgba(255,208,138,.55) 100%); animation: vj-giro 2.6s linear infinite; }
.escaner span:nth-child(3) { inset: 26px; border: 2px solid rgba(255,255,255,.2); }
.ns-panel:hover .radar span { animation-duration: 1.5s; }
.ns-panel:hover .escaner span:nth-child(2) { animation-duration: 1s; }
@keyframes ns-radar { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes ns-pop { 0% { transform: scale(.4) rotate(-40deg); } 100% { transform: none; } }

/* Valores */
.ns-valores { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.ns-valor { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); transition: background .35s, transform .35s cubic-bezier(.3,1.6,.5,1), border-color .35s; }
.ns-valor i { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: #fff; background: var(--naranja); transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s; }
.ns-valor strong { display: block; font-size: 15px; }
.ns-valor span { font-size: 12.5px; color: rgba(255,255,255,.75); }
.ns-valor:hover { background: rgba(255,255,255,.16); border-color: rgba(243,146,0,.6); transform: translateY(-4px); }
.ns-valor:hover i { background: #fff; color: var(--naranja); transform: rotate(-12deg) scale(1.08); }
.ns-panel.activo .ns-valor:nth-child(2) { animation-delay: .08s; }
.ns-panel.activo .ns-valor:nth-child(3) { animation-delay: .16s; }
.ns-panel.activo .ns-valor:nth-child(4) { animation-delay: .24s; }
.ns-btns { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ns-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--teal); }
.ns-link i { transition: transform .3s; }
.ns-link:hover { color: var(--naranja); }
.ns-link:hover i { transform: translateX(5px); }

/* =========================================================
   VENTAJAS
   ========================================================= */
.ventajas { background: var(--teal-deep); position: relative; overflow: hidden; isolation: isolate; }
.ventajas::before, .ventajas::after { content: ''; position: absolute; border-radius: 50%; z-index: -1; pointer-events: none; }
.ventajas::before { width: 700px; height: 700px; background: radial-gradient(circle, rgba(19,132,135,.5), transparent 70%); right: -200px; top: -250px; animation: vj-mancha 16s ease-in-out infinite alternate; }
.ventajas::after { width: 560px; height: 560px; background: radial-gradient(circle, rgba(243,146,0,.14), transparent 70%); left: -180px; bottom: -220px; animation: vj-mancha 19s ease-in-out infinite alternate-reverse; }
/* Partículas que suben despacio por el fondo */
.ventajas-particulas { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.ventajas-particulas span { position: absolute; bottom: -20px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); animation: vj-sube 14s linear infinite; }
.ventajas-particulas span:nth-child(1) { left: 6%; animation-delay: 0s; }
.ventajas-particulas span:nth-child(2) { left: 18%; animation-delay: -5s; width: 4px; height: 4px; background: rgba(243,146,0,.5); }
.ventajas-particulas span:nth-child(3) { left: 31%; animation-delay: -9s; }
.ventajas-particulas span:nth-child(4) { left: 46%; animation-delay: -2s; width: 3px; height: 3px; }
.ventajas-particulas span:nth-child(5) { left: 59%; animation-delay: -11s; width: 5px; height: 5px; background: rgba(243,146,0,.45); }
.ventajas-particulas span:nth-child(6) { left: 72%; animation-delay: -7s; }
.ventajas-particulas span:nth-child(7) { left: 84%; animation-delay: -3s; width: 4px; height: 4px; }
.ventajas-particulas span:nth-child(8) { left: 94%; animation-delay: -12s; background: rgba(243,146,0,.4); }
.ventajas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; perspective: 1000px; }

.ventaja {
    --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
    position: relative; overflow: hidden; isolation: isolate;
    background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radio); padding: 34px; color: #fff;
    transition: opacity .8s ease, transform .8s ease, background .35s, border-color .35s, box-shadow .35s;
}
.ventaja.visible { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.ventaja.visible.activa:not(:hover) { transform: translateY(-8px) scale(1.02); }
.ventaja.visible.inclinada { transition: opacity .8s, transform .12s linear, background .35s, border-color .35s, box-shadow .35s; transition-delay: 0s !important; }
/* Luz que sigue al mouse */
.ventaja::before {
    content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .35s;
    background: radial-gradient(380px circle at var(--mx) var(--my), rgba(243,146,0,.16), transparent 45%);
}
/* Brillo que cruza la tarjeta de vez en cuando, una tarjeta tras otra */
.ventaja::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.07), transparent);
    transform: skewX(-18deg); animation: vj-brillo 9s ease-in-out infinite; animation-delay: calc(var(--i) * 1.1s);
}
.ventaja:hover, .ventaja.activa { background: rgba(255,255,255,.08); border-color: rgba(243,146,0,.55); box-shadow: 0 26px 50px rgba(0,0,0,.3), 0 0 0 1px rgba(243,146,0,.15); }
.ventaja:hover::before, .ventaja.activa::before { opacity: 1; }

.vj-num { position: absolute; top: 18px; right: 24px; font-size: 54px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.12); transition: .4s; }
.ventaja:hover .vj-num, .ventaja.activa .vj-num { -webkit-text-stroke-color: rgba(243,146,0,.6); transform: translateY(-4px) scale(1.08); }

.vj-ico { position: relative; width: 66px; height: 66px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 22px; background: rgba(243,146,0,.12); transition: background .35s, transform .35s, box-shadow .35s; }
.vj-ico::before { /* borde giratorio */
    content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 1.5px;
    background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--naranja) 85%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: vj-giro 4s linear infinite; animation-delay: calc(var(--i) * -.7s);
}
.vj-ico i { font-size: 28px; color: var(--naranja); transition: color .35s; }
.ventaja:hover .vj-ico, .ventaja.activa .vj-ico { background: var(--naranja); transform: translateY(-4px) rotate(-6deg); box-shadow: 0 14px 28px rgba(243,146,0,.4); }
.ventaja:hover .vj-ico i, .ventaja.activa .vj-ico i { color: #fff; }
/* Movimiento propio de cada ícono (sin mouse lento, con mouse rápido) */
.vj-latido i { animation: vj-latido 2.6s ease-in-out infinite; }
.vj-tic i { animation: vj-tic 2s steps(1) infinite; }
.vj-vaiven i { transform-origin: 50% 100%; animation: vj-vaiven 3s ease-in-out infinite; }
.vj-flota i { animation: vj-flota 3s ease-in-out infinite; }
.vj-columpio i { transform-origin: 20% 20%; animation: vj-vaiven 2.6s ease-in-out infinite; }
.vj-rueda i { animation: vj-rueda 2.4s ease-in-out infinite; }
.ventaja:hover .vj-ico i, .ventaja.activa .vj-ico i { animation-duration: .9s; }
.ventaja:hover .vj-tic i, .ventaja.activa .vj-tic i { animation-duration: .5s; }

.ventaja h3 { position: relative; display: inline-block; font-size: 20px; margin-bottom: 10px; padding-bottom: 6px; }
.ventaja h3::after { content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 0; border-radius: 2px; background: var(--naranja); transition: width .45s ease; }
.ventaja:hover h3::after, .ventaja.activa h3::after { width: 100%; }
.ventaja p { opacity: .72; font-size: 15px; transition: opacity .35s, transform .35s; }
.ventaja:hover p, .ventaja.activa p { opacity: .95; transform: translateX(4px); }

/* Marca del título con brillo que pasa */
.vj-brilla { background: linear-gradient(100deg, #fff 0 40%, var(--naranja) 50%, #fff 60% 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: vj-brilla 5s ease-in-out infinite; }

/* Turno: las tarjetas se encienden una tras otra (12 s, 2 s cada una) */
.vj-borde { position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; opacity: 0;
    background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, var(--naranja) 80%, #ffd08a 88%, transparent 96%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: vj-giro 3s linear infinite; transition: opacity .4s;
}
.ventaja:hover .vj-borde, .ventaja.activa .vj-borde { opacity: 1; animation-duration: 1.6s; }

/* Chispa que orbita el ícono */
.vj-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 10px 2px rgba(243,146,0,.7); animation: vj-orbita 5s linear infinite; animation-delay: calc(var(--i) * -.8s); }
.ventaja:hover .vj-ico::after, .ventaja.activa .vj-ico::after { background: #fff; animation-duration: 1.2s; }

/* Ondas al pasar el mouse */
.vj-ondas, .vj-ondas::before { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.vj-ondas::before { content: ''; }
.ventaja:hover .vj-ondas, .ventaja.activa .vj-ondas { animation: vj-onda 1.4s ease-out infinite; }
.ventaja:hover .vj-ondas::before, .ventaja.activa .vj-ondas::before { animation: vj-onda 1.4s ease-out .7s infinite; }

/* Ícono "magnético" que sigue un poco al mouse */
.ventaja:hover .vj-ico, .ventaja.activa .vj-ico { translate: var(--px, 0) var(--py, 0); }

/* Acción especial de cada ícono al pasar el mouse */
.ventaja:hover .vj-latido i, .ventaja.activa .vj-latido i { animation: vj-latido .9s ease-in-out infinite; }
.ventaja:hover .vj-tic i, .ventaja.activa .vj-tic i { animation: vj-vuelta 1s cubic-bezier(.6,-0.3,.4,1.3) infinite; }
.ventaja:hover .vj-vaiven i, .ventaja.activa .vj-vaiven i { animation: vj-vaiven .5s ease-in-out infinite; }
.ventaja:hover .vj-flota i, .ventaja.activa .vj-flota i { animation: vj-rebote .7s ease-in-out infinite; }
.ventaja:hover .vj-columpio i, .ventaja.activa .vj-columpio i { animation: vj-vaiven .45s ease-in-out infinite; }
.ventaja:hover .vj-rueda i, .ventaja.activa .vj-rueda i { animation: vj-arranca 1.3s ease-in-out infinite; }

/* Chispas que saltan del ícono al entrar el mouse (las crea script.js) */
.vj-chispa { position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: var(--naranja); pointer-events: none; animation: vj-chispa .8s ease-out forwards; }
.vj-chispa:nth-child(even) { background: #fff; width: 4px; height: 4px; margin: -2px; }

/* Barra de progreso del turno al pie de la tarjeta */
.vj-barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; opacity: 0; background: linear-gradient(90deg, var(--naranja), #ffd08a); border-radius: 0 3px 3px 0; transition: opacity .3s; }
.ventaja.activa .vj-barra { opacity: 1; width: 100%; transition: width var(--turno, 2.6s) linear, opacity .3s; }
.ventaja:hover .vj-barra { opacity: 1; width: 100%; transition: width .5s, opacity .3s; }

@keyframes vj-brilla { 0%, 20% { background-position: 100% 0; } 60%, 100% { background-position: 0 0; } }
@keyframes vj-orbita { from { transform: rotate(0) translateX(46px); } to { transform: rotate(360deg) translateX(46px); } }
@keyframes vj-onda { 0% { box-shadow: 0 0 0 0 rgba(243,146,0,.55); } 100% { box-shadow: 0 0 0 22px rgba(243,146,0,0); } }
@keyframes vj-vuelta { 0% { transform: rotate(0); } 100% { transform: rotate(360deg); } }
@keyframes vj-rebote { 0%, 100% { transform: translateY(0) scale(1); } 40% { transform: translateY(-8px) scale(1.08); } 70% { transform: translateY(1px) scale(.96, 1.04); } }
@keyframes vj-arranca { 0% { transform: translateX(0); opacity: 1; } 40% { transform: translateX(46px); opacity: 0; } 41% { transform: translateX(-46px); opacity: 0; } 75% { transform: translateX(3px); opacity: 1; } 100% { transform: translateX(0); } }
@keyframes vj-chispa { 0% { transform: translate(0, 0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0); opacity: 0; } }

@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
@keyframes vj-giro { to { --ang: 360deg; } }
@keyframes vj-mancha { from { transform: translate(0, 0) scale(1); } to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes vj-sube { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { transform: translateY(-900px); opacity: 0; } }
@keyframes vj-brillo { 0%, 70% { left: -60%; } 100% { left: 130%; } }
@keyframes vj-latido { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.14); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }
@keyframes vj-tic { 0% { transform: rotate(0); } 25% { transform: rotate(8deg); } 50% { transform: rotate(0); } 75% { transform: rotate(-8deg); } }
@keyframes vj-vaiven { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes vj-flota { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes vj-rueda { 0%, 100% { transform: translateX(-4px); } 50% { transform: translateX(4px) rotate(-3deg); } 60% { transform: translateX(4px) rotate(0); } }

/* =========================================================
   EMPRESAS
   ========================================================= */
.empresas { padding: 90px 0; background: #fff; }
.empresas-inner { background: linear-gradient(115deg, var(--teal), var(--teal-deep)); border-radius: 30px; padding: 60px; color: #fff; display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.empresas-inner::after { content: ''; position: absolute; right: -80px; bottom: -120px; width: 380px; height: 380px; border-radius: 50%; border: 50px solid rgba(243,146,0,.12); }
.empresas-texto h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.2; margin: 14px 0; }
.empresas-texto p { opacity: .85; margin-bottom: 20px; }
.empresas-texto ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.empresas-texto li { display: flex; gap: 10px; align-items: center; }
.empresas-texto li i { color: var(--naranja); }
.empresas-cta { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }

/* =========================================================
   TESTIMONIOS
   ========================================================= */
.testimonios { background: var(--fondo); }
.test-track { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.test-carousel { overflow: hidden; margin: 0 -12px; padding: 34px 0 30px; }
.test-card { flex: 0 0 calc(100% / 3); padding: 0 12px; display: flex; }
.test-caja {
    position: relative; flex: 1; display: flex; flex-direction: column; background: #fff; border-radius: 24px; padding: 40px 30px 26px;
    box-shadow: 0 10px 30px rgba(6,47,49,.07); border: 1px solid rgba(14,106,108,.08); isolation: isolate;
    transition: transform .45s cubic-bezier(.3,1.4,.5,1), box-shadow .4s, border-color .4s;
}
/* borde degradado que aparece al pasar el mouse */
.test-caja::before { content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 2px; background: linear-gradient(135deg, var(--teal), var(--naranja)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; pointer-events: none; }
/* comilla gigante de fondo */
.test-caja::after { content: '\201D'; position: absolute; z-index: -1; right: 22px; bottom: -40px; font-family: Georgia, serif; font-size: 200px; line-height: 1; color: var(--teal); opacity: .05; transition: opacity .4s, transform .5s; }
.test-caja:hover { transform: translateY(-8px); box-shadow: 0 28px 54px rgba(6,47,49,.16); border-color: transparent; }
.test-caja:hover::before { opacity: 1; }
.test-caja:hover::after { opacity: .1; transform: translateY(-8px) rotate(-6deg); }

/* sello con la comilla que sobresale del borde superior */
.test-comilla { position: absolute; top: -26px; left: 30px; width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); box-shadow: 0 12px 24px rgba(14,106,108,.35); transform: rotate(-6deg); transition: transform .5s cubic-bezier(.3,1.8,.5,1), background .4s; }
.test-caja:hover .test-comilla { transform: rotate(6deg) scale(1.08); background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); }

.test-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.test-estrellas { display: inline-flex; gap: 3px; padding: 6px 12px; border-radius: 50px; background: #fff4e3; color: var(--naranja); font-size: 13px; }
.test-caja:hover .test-estrellas i { animation: test-estrella .5s ease both; }
.test-estrellas i:nth-child(2) { animation-delay: .06s !important; }
.test-estrellas i:nth-child(3) { animation-delay: .12s !important; }
.test-estrellas i:nth-child(4) { animation-delay: .18s !important; }
.test-estrellas i:nth-child(5) { animation-delay: .24s !important; }
.test-servicio { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--teal); background: var(--teal-claro); padding: 6px 12px; border-radius: 50px; }

.test-texto { flex: 1; color: var(--texto); font-size: 16.5px; line-height: 1.7; margin-bottom: 22px; }

.test-autor { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px dashed var(--borde); }
.test-autor .avatar { position: relative; flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--teal-2), var(--teal-deep)); box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(243,146,0,.5); }
.test-autor strong { display: block; color: var(--teal-deep); font-size: 16px; }
.test-autor small { color: var(--gris); font-size: 13px; }
.test-ciudad { margin-left: auto; flex-shrink: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--gris); }
.test-ciudad i { color: var(--naranja); }
@keyframes test-estrella { 0% { transform: scale(1); } 50% { transform: scale(1.4) rotate(15deg); } 100% { transform: scale(1); } }
.test-controles { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 36px; }
.test-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--borde); color: var(--teal); background: #fff; transition: .25s; }
.test-btn:hover { background: var(--teal); color: #fff; }
.test-dots { display: flex; gap: 8px; }
.test-dots button { width: 10px; height: 10px; border-radius: 10px; background: var(--borde); transition: .3s; }
.test-dots button.activo { width: 30px; background: var(--naranja); }

/* =========================================================
   COTIZAR
   ========================================================= */
.cotizar { background: linear-gradient(120deg, var(--teal-deep) 0%, var(--teal) 100%); color: #fff; position: relative; overflow: hidden; }
.cotizar::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 70px, rgba(255,255,255,.04) 70px 71px); }
.cotizar-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: center; position: relative; }
.cotizar-texto h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.15; margin: 16px 0; }
.cotizar-texto p { opacity: .85; font-size: 17px; margin-bottom: 30px; }
.cot-beneficios { display: flex; flex-direction: column; gap: 14px; }
.cot-beneficios div { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.cot-beneficios i { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: var(--naranja); }
.cotizar-form { background: #fff; color: var(--texto); border-radius: 24px; padding: 38px; box-shadow: 0 40px 80px rgba(0,0,0,.25); }
.pasos-form { display: flex; gap: 10px; margin-bottom: 26px; }
.pf { flex: 1; text-align: center; padding: 10px; border-radius: 50px; background: var(--fondo); font-weight: 600; font-size: 14px; color: var(--gris); transition: .3s; }
.pf.activo { background: var(--teal); color: #fff; }
.form-paso { display: none; }
.form-paso.activo { display: block; animation: aparecer .4s ease; }
.campo { margin-bottom: 14px; }
.campo label { display: block; font-size: 13px; font-weight: 600; color: var(--teal-deep); margin-bottom: 6px; }
.campo input, .campo select, .campo textarea { width: 100%; padding: 13px 16px; border: 1.5px solid var(--borde); border-radius: 12px; outline: none; background: #fff; transition: border .25s, box-shadow .25s; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,106,108,.1); }
.campo.error input { border-color: #e74c3c; }
.cotizar-form .fila-2 { margin-bottom: 0; }
.form-botones { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
@keyframes aparecer { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }

/* =========================================================
   OFICINAS
   ========================================================= */
.oficinas { background: #fff; }
.oficinas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.oficina-asesor { grid-column: span 2; }
.oficina { border: 1px solid var(--borde); border-radius: 22px; padding: 34px; transition: .35s; display: flex; flex-direction: column; }
.oficina:hover { box-shadow: var(--sombra-2); transform: translateY(-6px); border-color: transparent; }
.oficina-top { margin-bottom: 18px; }
.oficina-top > i { width: 58px; height: 58px; border-radius: 16px; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.oficina-top h3 { font-size: 24px; color: var(--teal-deep); }
.oficina-top span { color: var(--naranja); font-weight: 500; font-size: 14px; }
.oficina ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; color: var(--gris); flex: 1; }
.oficina li { display: flex; gap: 10px; }
.oficina li i { color: var(--teal); margin-top: 5px; }
.oficina-btns { display: flex; gap: 10px; }
.oficina-btns a { flex: 1; padding: 12px; }
.oficina-redes { background: linear-gradient(145deg, var(--teal), var(--teal-deep)); color: #fff; border: none; }
.oficina-redes .oficina-top > i { background: rgba(255,255,255,.12); color: var(--naranja); }
.oficina-redes .oficina-top h3 { color: #fff; }
.oficina-redes .oficina-top span { color: rgba(255,255,255,.7); }
.oficina-redes p { opacity: .85; margin-bottom: 22px; flex: 1; }
.redes-grandes { display: flex; gap: 12px; }
.redes-grandes a { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; font-size: 22px; transition: .25s; }
.redes-grandes a:hover { background: var(--naranja); transform: translateY(-4px); }

/* =========================================================
   FAQ
   ========================================================= */
.faq { background: var(--fondo); position: relative; overflow: hidden; }
.faq::before { content: ''; position: absolute; width: 560px; height: 560px; border-radius: 50%; right: -220px; top: -200px; background: radial-gradient(circle, rgba(14,106,108,.1), transparent 70%); animation: vj-mancha 18s ease-in-out infinite alternate; pointer-events: none; }
.faq-grid { position: relative; display: grid; grid-template-columns: 1fr 1.5fr; gap: 60px; align-items: start; }
.faq-intro { position: sticky; top: 120px; }
.faq-intro h2 { font-size: clamp(28px, 3.6vw, 40px); color: var(--teal-deep); margin: 14px 0; line-height: 1.2; }
.faq-intro p { color: var(--gris); margin-bottom: 24px; }

/* Chat animado: el cliente pregunta (izquierda) y Trasladarc responde (derecha) */
.faq-chat { position: relative; max-width: 380px; margin-top: 36px; border-radius: 26px; background: #fff; box-shadow: 0 26px 54px rgba(6,47,49,.16); transition: transform .5s cubic-bezier(.3,1.4,.5,1), box-shadow .4s; }
.faq-chat:hover { transform: rotate(-2deg) translateY(-6px); box-shadow: 0 34px 64px rgba(6,47,49,.22); }
.fc-head { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 26px 26px 0 0; color: #fff; background: linear-gradient(120deg, var(--teal-deep), var(--teal)); }
.fc-head > div { flex: 1; }
.fc-avatar { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.15); }
.fc-avatar img { width: 28px; }
.fc-avatar::after { content: ''; position: absolute; right: 0; bottom: 0; width: 11px; height: 11px; border-radius: 50%; background: #25d366; border: 2px solid var(--teal-deep); }
.fc-head strong { display: block; font-size: 15px; }
.fc-volver { font-size: 14px; opacity: .8; margin-right: -4px; }
.fc-avatar i { font-size: 18px; color: #fff; }
.fc-head.cambia .fc-avatar, .fc-head.cambia .fc-nombre { animation: ns-entra .5s ease both; }
.fc-nombre { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 230px; }
/* Llamada debajo del chat */
.fc-llamada { display: flex; align-items: center; gap: 14px; max-width: 380px; margin-top: 18px; padding: 12px 18px 12px 12px; border-radius: 18px; background: #fff; color: var(--teal-deep); box-shadow: var(--sombra); transition: transform .4s cubic-bezier(.3,1.5,.5,1), background .3s, color .3s, box-shadow .3s; }
.fc-llamada > span { flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 18px; color: #fff; background: var(--naranja); box-shadow: 0 8px 18px rgba(243,146,0,.35); }
.fc-llamada > span i { animation: ad-timbre 2.5s ease-in-out infinite; }
.fc-llamada small { display: block; font-size: 12.5px; color: var(--gris); transition: color .3s; }
.fc-llamada strong { font-size: 18px; }
.fc-llamada > i { margin-left: auto; color: var(--naranja); transition: transform .3s, color .3s; }
.fc-llamada:hover { transform: translateY(-4px); background: var(--teal); color: #fff; box-shadow: 0 18px 36px rgba(14,106,108,.3); }
.fc-llamada:hover small { color: rgba(255,255,255,.8); }
.fc-llamada:hover > i { color: #fff; transform: translateX(5px); }
.fc-estado { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: .85; }
.fc-estado i { width: 7px; height: 7px; border-radius: 50%; background: #25d366; animation: pulso 1.5s infinite; }
.fc-estado.escribiendo span { color: #ffd08a; }
.fc-acciones { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.fc-acciones > i { opacity: .8; padding: 0 4px; }
.fc-llamar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255,255,255,.12); transition: background .3s, transform .3s; }
.fc-llamar i { animation: ad-timbre 2.5s ease-in-out infinite; }
.fc-llamar:hover { background: var(--naranja); transform: scale(1.1); }
.fc-cuerpo { height: 250px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 14px; background: radial-gradient(rgba(14,106,108,.07) 1px, transparent 1.5px) 0 0 / 16px 16px, var(--fondo); }
.fc-mensajes { display: flex; flex-direction: column; gap: 8px; transition: opacity .4s, transform .4s; }
.fc-mensajes.sale { opacity: 0; transform: translateY(-20px); }
.fc-msg { max-width: 80%; padding: 9px 13px 7px; font-size: 13.5px; line-height: 1.4; border-radius: 16px; box-shadow: 0 3px 8px rgba(0,0,0,.06); animation: fc-entra .45s cubic-bezier(.3,1.5,.5,1) both; }
.fc-msg small { display: flex; justify-content: flex-end; align-items: center; gap: 4px; margin-top: 2px; font-size: 10px; opacity: .7; }
.fc-msg.cliente { align-self: flex-start; color: var(--teal-deep); background: #fff; border-bottom-left-radius: 4px; transform-origin: bottom left; }
.fc-msg.empresa { align-self: flex-end; color: #fff; background: linear-gradient(120deg, var(--teal), var(--teal-deep)); border-bottom-right-radius: 4px; transform-origin: bottom right; }
.fc-msg.empresa small i { color: rgba(255,255,255,.6); transition: color .3s; }
.fc-msg.empresa.leido small i { color: #8ee6ff; }
.fc-escribiendo { align-self: flex-start; display: flex; gap: 4px; padding: 12px 14px; border-radius: 16px; border-bottom-left-radius: 4px; background: #fff; animation: fc-entra .3s ease both; }
.fc-escribiendo span { width: 7px; height: 7px; border-radius: 50%; background: var(--teal); animation: fc-punto 1s ease-in-out infinite; }
.fc-escribiendo span:nth-child(2) { animation-delay: .15s; }
.fc-escribiendo span:nth-child(3) { animation-delay: .3s; }
@keyframes fc-entra { from { opacity: 0; transform: translateY(12px) scale(.85); } }
@keyframes fc-punto { 0%, 100% { transform: translateY(0); opacity: .4; } 50% { transform: translateY(-4px); opacity: 1; } }
/* Barra donde "escribe" Trasladarc */
.fc-input { display: flex; align-items: center; gap: 2px; margin: 0; padding: 10px 10px 10px 18px; border-top: 1px solid var(--borde); border-radius: 0 0 26px 26px; background: #fff; font-size: 13.5px; color: var(--teal-deep); min-height: 58px; }
.fc-escrito { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: 260px; }
.fc-escrito:empty::before { content: 'Escribe un mensaje…'; color: #9fb4b4; }
.fc-cursor { width: 2px; height: 16px; background: var(--teal); animation: fc-cursor 1s steps(1) infinite; }
.fc-escrito:empty + .fc-cursor { display: none; }
.fc-enviar { margin-left: auto; flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--naranja); transition: transform .3s; }
.fc-enviar.envia { animation: fc-envia .5s ease; }
@keyframes fc-cursor { 50% { opacity: 0; } }
@keyframes fc-envia { 0% { transform: scale(1); } 40% { transform: scale(.8) rotate(-20deg); } 100% { transform: scale(1); } }
/* signos de pregunta flotando alrededor */
.fc-q { position: absolute; z-index: -1; font-size: 54px; font-weight: 800; color: var(--naranja); opacity: .25; animation: fc-flota 6s ease-in-out infinite; pointer-events: none; }
.fc-q.q1 { top: -40px; right: 10px; }
.fc-q.q2 { bottom: -30px; left: -28px; font-size: 40px; color: var(--teal); animation-delay: -2s; }
.fc-q.q3 { top: 40%; right: -34px; font-size: 32px; animation-delay: -4s; }
.faq-chat:hover .fc-q { opacity: .6; animation-duration: 2s; }
@keyframes fc-flota { 0%, 100% { transform: translateY(0) rotate(-10deg); } 50% { transform: translateY(-14px) rotate(10deg); } }

/* Preguntas */
.faq-lista { display: flex; flex-direction: column; gap: 14px; }
.faq-item { position: relative; background: #fff; border-radius: 18px; box-shadow: var(--sombra); overflow: hidden; isolation: isolate; transition: transform .4s cubic-bezier(.3,1.5,.5,1), box-shadow .4s; }
/* barra lateral que se enciende */
.faq-item::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, var(--teal), var(--naranja)); transform: scaleY(0); transform-origin: top; transition: transform .45s ease; }
/* destello que recorre las preguntas una tras otra */
.faq-item::after { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; left: -40%; width: 30%; background: linear-gradient(100deg, transparent, rgba(14,106,108,.08), transparent); transform: skewX(-18deg); animation: faq-brillo 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
.faq-q { width: 100%; text-align: left; display: flex; gap: 16px; align-items: center; padding: 20px 24px; font-weight: 600; font-size: 17px; color: var(--teal-deep); }
.faq-q .faq-txt { flex: 1; transition: transform .35s, color .3s; }
.faq-ico { width: 44px; height: 44px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center; font-size: 17px; color: var(--teal); background: var(--teal-claro); transition: background .35s, color .35s, transform .5s cubic-bezier(.3,1.6,.5,1); animation: faq-turno 9s ease-in-out infinite; animation-delay: calc(var(--i, 0) * 1.2s); }
.faq-q > .fa-plus { width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--teal-claro); color: var(--teal); display: grid; place-items: center; font-size: 13px; transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s; }
.faq-q { background: linear-gradient(90deg, var(--teal-claro), transparent 70%) no-repeat; background-size: 0% 100%; transition: background-size .5s ease; }
.faq-item:hover .faq-q, .faq-item.turno .faq-q { background-size: 100% 100%; }
.faq-item:hover, .faq-item.turno { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(6,47,49,.12); }
.faq-item.turno::before { transform: scaleY(1); }
.faq-item.turno .faq-txt { transform: translateX(4px); color: var(--teal); }
.faq-item.turno .faq-ico { background: var(--teal); color: #fff; animation: faq-salta .7s cubic-bezier(.3,1.6,.5,1); }
.faq-item.turno .faq-q > .fa-plus { transform: rotate(90deg); background: var(--teal); color: #fff; }
.faq-ico i { transition: transform .5s; }
.faq-item:hover .faq-ico i { animation: faq-sacude .6s ease; }
@keyframes faq-salta { 0% { transform: scale(1); } 40% { transform: scale(1.25) rotate(-12deg); } 100% { transform: rotate(-10deg) scale(1.06); } }
@keyframes faq-sacude { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-15deg); } 60% { transform: rotate(10deg); } }
.faq-item:hover::before, .faq-item.abierto::before { transform: scaleY(1); }
.faq-item:hover .faq-txt { transform: translateX(4px); color: var(--teal); }
.faq-item:hover .faq-ico { background: var(--teal); color: #fff; transform: rotate(-10deg) scale(1.06); animation: none; }
.faq-item:hover .faq-q > .fa-plus { transform: rotate(90deg); background: var(--teal); color: #fff; }
.faq-item.abierto { box-shadow: 0 22px 44px rgba(6,47,49,.14); }
.faq-item.abierto .faq-ico { background: var(--naranja); color: #fff; animation: none; transform: rotate(-10deg); }
.faq-item.abierto .faq-q > .fa-plus { transform: rotate(45deg); background: var(--naranja); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding: 0 26px 22px 84px; color: var(--gris); opacity: 0; transform: translateY(-8px); transition: opacity .35s .1s, transform .35s .1s; }
.faq-item.abierto .faq-a p { opacity: 1; transform: none; }
@keyframes faq-brillo { 0%, 80% { left: -40%; } 100% { left: 130%; } }
@keyframes faq-turno { 0%, 80%, 100% { transform: none; box-shadow: none; } 86% { transform: scale(1.12) rotate(-8deg); box-shadow: 0 0 0 6px rgba(14,106,108,.12); } 92% { transform: none; } }

/* =========================================================
   ÚNETE
   ========================================================= */
.unete { padding: 0; background: var(--fondo); position: relative; z-index: 2; }
.unete-inner {
    background: linear-gradient(110deg, var(--naranja), var(--naranja-dark)); border-radius: 26px; padding: 46px 56px; color: #fff;
    display: flex; justify-content: space-between; align-items: center; gap: 30px; box-shadow: 0 30px 60px rgba(217,127,0,.3);
    position: relative; overflow: hidden; transition: transform .35s, box-shadow .35s, opacity .8s;
}
.unete-inner::after { /* destello que recorre la tarjeta */
    content: ''; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-20deg);
    animation: destello-tarjeta 6s ease-in-out infinite;
}
.unete-inner:hover { transform: translateY(-6px); box-shadow: 0 40px 70px rgba(217,127,0,.4); }
.unete-inner h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.unete-inner p { opacity: .9; }
.unete-inner .btn-naranja { background: #fff; color: var(--naranja-dark); box-shadow: none; position: relative; z-index: 1; }
.unete-inner .btn-naranja:hover { background: var(--teal-deep); color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
/* Olas animadas */
.footer-olas { position: relative; z-index: 1; height: 160px; margin-top: -70px; background: var(--fondo); }
.footer-olas canvas { display: block; width: 100%; height: 100%; }

.footer { background: var(--teal-deep); color: rgba(255,255,255,.72); position: relative; overflow: hidden; margin-top: -1px; }
.footer > *:not(.footer-luces):not(.footer-red):not(.linterna-capa):not(.linterna-rejilla) { position: relative; z-index: 1; }
.footer-red { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* Luces de fondo que flotan */
.footer-luces span { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.footer-luces span:nth-child(1) { width: 420px; height: 420px; background: #138487; opacity: .45; top: -160px; left: -120px; animation: derivar 18s ease-in-out infinite alternate; }
.footer-luces span:nth-child(2) { width: 320px; height: 320px; background: var(--naranja); opacity: .14; top: 30%; right: -100px; animation: derivar 22s ease-in-out infinite alternate-reverse; }
.footer-luces span:nth-child(3) { width: 380px; height: 380px; background: #0e6a6c; opacity: .4; bottom: -200px; left: 40%; animation: derivar 26s ease-in-out infinite alternate; }

/* Marca, WhatsApp y suscripción */
.footer-top { display: grid; grid-template-columns: 1.25fr 1fr 1.2fr; gap: 40px; align-items: center; padding: 26px 24px 34px; }
.ft-logo { position: relative; display: inline-block; width: 210px; height: 70px; transition: transform .35s; }
.ft-logo img { width: 100%; height: 100%; object-fit: contain; filter: brightness(0) invert(1); transition: filter .35s; }
.ft-logo::after { /* brillo que recorre las letras del logo */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(100deg, transparent 35%, rgba(243,146,0,.95) 50%, transparent 65%) no-repeat;
    background-size: 250% 100%; animation: brillo-logo 5s ease-in-out infinite;
    -webkit-mask: url("../logos/trasladarc-logo-texto.png") center / contain no-repeat; mask: url("../logos/trasladarc-logo-texto.png") center / contain no-repeat;
}
.ft-logo:hover { transform: translateX(6px); }
.ft-logo:hover img { filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(255,255,255,.45)); }
.ft-marca p { margin-top: 14px; max-width: 380px; font-size: 15px; }

.ft-whatsapp { display: flex; align-items: center; gap: 16px; padding: 18px 22px; border-radius: 22px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); transition: background .3s, border-color .3s, transform .3s, opacity .8s; }
.ft-whatsapp:hover { background: rgba(37,211,102,.12); border-color: #25d366; transform: translateY(-5px); }
.ft-wa-ico { position: relative; width: 58px; height: 58px; flex-shrink: 0; border-radius: 50%; background: #25d366; color: #fff; font-size: 30px; display: grid; place-items: center; }
.ft-wa-ico::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: halo 2s ease-out infinite; }
.ft-whatsapp:hover .ft-wa-ico i { animation: timbre .5s ease-in-out 2; }
.ft-whatsapp small { display: block; font-size: 13px; }
.ft-whatsapp strong { display: block; font-size: 30px; line-height: 1.1; color: #fff; font-weight: 800; letter-spacing: .5px; }

.ft-news label { display: block; color: #fff; font-weight: 600; margin-bottom: 10px; }
.news-form { display: flex; background: rgba(255,255,255,.08); border-radius: 60px; padding: 6px; border: 1px solid rgba(255,255,255,.15); transition: border-color .3s; }
.news-form:focus-within { border-color: var(--naranja); }
.news-form input { flex: 1; background: none; border: none; outline: none; color: #fff; padding: 12px 18px; min-width: 0; }
.news-form input::placeholder { color: rgba(255,255,255,.5); }
.news-form button { background: var(--naranja); color: #fff; font-weight: 600; padding: 12px 22px; border-radius: 50px; display: flex; gap: 8px; align-items: center; transition: background .25s; }
.news-form button:hover { background: var(--naranja-dark); }
.news-form button:hover i { animation: despegar .6s ease-in-out; }

/* Ruta con camión */
.footer-ruta { padding: 6px 24px 14px; }
.fr-linea { position: relative; height: 56px; margin: 0 70px; }
.fr-linea::before { content: ''; position: absolute; left: 0; right: 0; top: 34px; border-top: 2px dashed rgba(255,255,255,.2); }
.fr-pin { position: absolute; left: var(--x); top: 0; transform: translateX(-50%); display: flex; flex-direction: column-reverse; align-items: center; gap: 8px; }
.fr-pin b { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.75); white-space: nowrap; }
.fr-pin i { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--naranja); box-shadow: 0 0 0 4px rgba(243,146,0,.2); }
.fr-pin i::after { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--naranja); animation: halo 2.4s ease-out infinite; }
/* Cada ciudad se enciende cuando el camión llega */
.fr-pin i { animation: fr-pin 12s ease infinite; animation-delay: var(--d); }
.fr-pin b { animation: fr-label 12s ease infinite; animation-delay: var(--d); }
.fr-estela { position: absolute; left: 0; top: 33px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, rgba(243,146,0,.15), var(--naranja)); box-shadow: 0 0 14px rgba(243,146,0,.6); animation: fr-estela 12s linear infinite; }
.fr-camion { position: absolute; top: 21px; left: 0; transform: translateX(-50%); color: #fff; font-size: 22px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.4)); animation: fr-viaje 12s linear infinite; }
.fr-globo { position: absolute; left: 50%; bottom: calc(100% + 6px); background: #fff; color: var(--teal-deep); font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 9px; border-radius: 50px; white-space: nowrap; animation: fr-globo 1.2s ease-in-out infinite; }
.fr-globo::after { content: ''; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; background: #fff; transform: translateX(-50%) rotate(45deg); }

/* Marca gigante con letras en ola */
.footer-gigante { text-align: center; overflow: hidden; line-height: .82; padding-top: 30px; user-select: none; }
.fg-texto { display: inline-flex; font-size: clamp(64px, 15.5vw, 250px); font-weight: 800; font-style: italic; letter-spacing: -.02em; margin-bottom: -.16em; }
.fg-texto span {
    display: inline-block; cursor: default;
    color: rgba(31,163,166,.16); -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
    animation: letra-ola 3.4s ease-in-out infinite; animation-delay: calc(var(--i) * .13s);
}
.fg-texto span.salta { animation: letra-salto .75s cubic-bezier(.34,1.56,.64,1); color: var(--naranja); -webkit-text-stroke-color: var(--naranja); }

/* Columnas */
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; padding: 44px 24px 50px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-col h4 { color: #fff; font-size: 17px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 30px; height: 3px; border-radius: 3px; background: var(--naranja); transition: width .4s; }
.footer-col:hover h4::after { width: 70px; }
.footer-col > a { position: relative; display: flex; align-items: center; width: fit-content; padding: 6px 0; font-size: 15px; transition: color .25s; }
.footer-col > a::before { content: '→'; display: inline-block; width: 0; opacity: 0; overflow: hidden; color: var(--naranja); transition: width .25s, opacity .25s, margin .25s; }
.footer-col > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--naranja); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.footer-col > a:hover { color: #fff; }
.footer-col > a:hover::before { width: 16px; opacity: 1; margin-right: 4px; }
.footer-col > a:hover::after { transform: scaleX(1); }
.ft-rastreo { display: flex; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50px; padding: 4px; margin-bottom: 12px; transition: border-color .3s; }
.ft-rastreo:focus-within { border-color: var(--naranja); }
.ft-rastreo input { flex: 1; min-width: 0; background: none; border: none; outline: none; color: #fff; padding: 8px 14px; font-size: 14px; }
.ft-rastreo input::placeholder { color: rgba(255,255,255,.55); }
.ft-rastreo button { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--naranja); color: #fff; transition: background .25s, transform .25s; }
.ft-rastreo button:hover { background: var(--naranja-dark); transform: rotate(-12deg) scale(1.08); }

/* Municipios en movimiento */
.footer-marquee { display: flex; align-items: stretch; border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.14); }
.fm-titulo { flex-shrink: 0; display: flex; align-items: center; gap: 8px; padding: 14px 36px 14px 24px; background: var(--naranja); color: #fff; font-weight: 700; font-size: 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 16px) 100%, 0 100%); }
.fm-ventana { flex: 1; overflow: hidden; display: flex; align-items: center; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.fm-track { display: flex; width: max-content; animation: marquesina 70s linear infinite; }
.footer-marquee:hover .fm-track { animation-play-state: paused; }
.fm-item { display: inline-flex; align-items: center; gap: 8px; padding: 0 20px; font-size: 14px; white-space: nowrap; cursor: default; transition: color .2s, transform .2s; }
.fm-item i { font-size: 6px; color: var(--naranja); }
.fm-item.hub { color: #fff; font-weight: 600; }
.fm-item:hover { color: var(--naranja); transform: translateY(-2px); }

/* Barra inferior */
.footer-bottom { background: #041f21; padding: 16px 0; font-size: 14px; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.fb-links a { margin: 0 11px; transition: color .2s; }
.fb-links a:hover { color: var(--naranja); }
.footer-redes { display: flex; gap: 10px; }
.footer-redes a { position: relative; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; overflow: hidden; transition: transform .3s; }
.footer-redes a::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: var(--c, var(--naranja)); transform: translateY(100%); transition: transform .3s; }
.footer-redes a i { position: relative; z-index: 1; transition: transform .45s; }
.footer-redes a:hover { transform: translateY(-4px); }
.footer-redes a:hover::before { transform: translateY(0); }
.footer-redes a:hover i { transform: rotateY(360deg); }

@keyframes ola { 0% { transform: translate3d(-90px, 0, 0); } 100% { transform: translate3d(85px, 0, 0); } }
@keyframes derivar { from { transform: translate(0, 0) scale(1); } to { transform: translate(80px, 40px) scale(1.15); } }
@keyframes brillo-logo { 0%, 60% { background-position: 120% 0; } 100% { background-position: -20% 0; } }
@keyframes destello-tarjeta { 0%, 55% { left: -40%; } 100% { left: 130%; } }
@keyframes timbre { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(14deg); } }
@keyframes despegar { 0% { transform: translate(0, 0); } 50% { transform: translate(6px, -6px); opacity: 0; } 51% { transform: translate(-6px, 6px); opacity: 0; } 100% { transform: translate(0, 0); opacity: 1; } }
@keyframes marquesina { to { transform: translateX(-50%); } }
@keyframes fr-viaje { 0% { left: 0; opacity: 0; } 3% { opacity: 1; } 83.3% { left: 100%; opacity: 1; } 92%, 100% { left: 100%; opacity: 0; } }
@keyframes fr-estela { 0% { width: 0; opacity: 1; } 83.3% { width: 100%; opacity: 1; } 95%, 100% { width: 100%; opacity: 0; } }
@keyframes fr-pin { 0%, 34%, 100% { background: var(--naranja); transform: scale(1); box-shadow: 0 0 0 4px rgba(243,146,0,.2); } 3%, 26% { background: #fff; transform: scale(1.4); box-shadow: 0 0 0 6px rgba(243,146,0,.35), 0 0 20px var(--naranja); } }
@keyframes fr-label { 0%, 34%, 100% { color: rgba(255,255,255,.7); transform: translateY(0); } 3%, 26% { color: #fff; transform: translateY(-3px); } }
@keyframes fr-globo { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, -4px); } }
@keyframes letra-ola { 0%, 100% { transform: translateY(0); color: rgba(31,163,166,.16); -webkit-text-stroke-color: rgba(255,255,255,.14); } 50% { transform: translateY(-14px); color: rgba(243,146,0,.5); -webkit-text-stroke-color: rgba(243,146,0,.8); } }
@keyframes letra-salto { 0% { transform: translateY(0) rotate(0) scale(1); } 35% { transform: translateY(-38px) rotate(-6deg) scale(1.08); } 65% { transform: translateY(4px) rotate(3deg); } 100% { transform: translateY(0) rotate(0) scale(1); } }

/* =========================================================
   MODAL, WHATSAPP, VOLVER ARRIBA
   ========================================================= */
.modal { position: fixed; inset: 0; z-index: 130; background: rgba(6,47,49,.6); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: .3s; }
.modal.abierto { opacity: 1; visibility: visible; }
.modal-box { background: #fff; border-radius: 24px; padding: 44px 36px; max-width: 420px; text-align: center; transform: scale(.85); transition: transform .35s cubic-bezier(.34,1.56,.64,1); }
.modal.abierto .modal-box { transform: scale(1); }
.modal-ico { font-size: 60px; color: var(--teal); margin-bottom: 12px; }
.modal-box h3 { font-size: 24px; color: var(--teal-deep); margin-bottom: 8px; }
.modal-box p { color: var(--gris); margin-bottom: 24px; }

.wa-widget { position: fixed; right: 26px; bottom: 26px; z-index: 80; }
/* Botón flotante de WhatsApp con los colores de la marca */
.wa-btn {
    position: relative; width: 66px; height: 66px; border-radius: 50%; color: #fff; font-size: 31px; isolation: isolate;
    background: radial-gradient(circle at 30% 25%, var(--teal-2), var(--teal) 55%, var(--teal-deep));
    box-shadow: 0 14px 30px rgba(6,47,49,.45), inset 0 -5px 12px rgba(0,0,0,.25);
    transition: transform .4s cubic-bezier(.3,1.6,.5,1), background .4s, box-shadow .4s;
}
.wa-btn i { position: relative; z-index: 1; display: inline-block; animation: wa-saluda 5s ease-in-out infinite; }
/* aro de luz naranja que gira alrededor */
.wa-btn::before {
    content: ''; position: absolute; inset: -5px; z-index: -1; border-radius: 50%; padding: 3px;
    background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, var(--naranja) 80%, #ffd08a 90%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: vj-giro 2.8s linear infinite;
}
/* ondas que salen del botón */
.wa-btn::after { content: ''; position: absolute; inset: 0; z-index: -2; border-radius: 50%; animation: wa-onda 2.4s ease-out infinite; }
.wa-btn:hover { transform: scale(1.1) rotate(-8deg); background: radial-gradient(circle at 30% 25%, #ffb547, var(--naranja) 55%, var(--naranja-dark)); box-shadow: 0 16px 34px rgba(243,146,0,.5), inset 0 -5px 12px rgba(0,0,0,.2); }
.wa-btn:hover i { animation: wa-sacude .6s ease-in-out infinite; }
.wa-btn:hover::before { background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, #fff 80%, var(--teal-2) 90%, transparent); animation-duration: 1.2s; }
.wa-badge { position: absolute; z-index: 2; top: -4px; right: -4px; width: 24px; height: 24px; border-radius: 50%; background: var(--naranja); border: 2px solid #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; animation: wa-rebote 2.4s ease-in-out infinite; }
.wa-txt { position: absolute; right: calc(100% + 14px); top: 50%; padding: 9px 16px; border-radius: 50px; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--teal-deep); background: #fff; box-shadow: var(--sombra-2); opacity: 0; transform: translate(10px, -50%); pointer-events: none; transition: opacity .3s, transform .3s; }
.wa-txt::after { content: ''; position: absolute; right: -5px; top: 50%; width: 10px; height: 10px; margin-top: -5px; background: #fff; transform: rotate(45deg); }
.wa-btn:hover .wa-txt { opacity: 1; transform: translate(0, -50%); }
.wa-widget:has(.wa-popup.abierto) .wa-txt { display: none; }
@keyframes wa-saluda { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-16deg) scale(1.1); } 88% { transform: rotate(14deg) scale(1.1); } 92% { transform: rotate(-8deg); } 96% { transform: rotate(4deg); } }
@keyframes wa-sacude { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-12deg); } 75% { transform: rotate(12deg); } }
@keyframes wa-onda { 0% { box-shadow: 0 0 0 0 rgba(14,106,108,.55); } 100% { box-shadow: 0 0 0 22px rgba(14,106,108,0); } }
@keyframes wa-rebote { 0%, 70%, 100% { transform: translateY(0); } 78% { transform: translateY(-5px); } 86% { transform: translateY(0); } 92% { transform: translateY(-2px); } }
.wa-popup { position: absolute; right: 0; bottom: 80px; width: 340px; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--sombra-2); opacity: 0; visibility: hidden; transform: translateY(16px) scale(.96); transform-origin: bottom right; transition: .3s; }
.wa-popup.abierto { opacity: 1; visibility: visible; transform: none; }
.wa-head { background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; display: flex; align-items: center; gap: 12px; padding: 16px; }
.wa-head > div:nth-child(2) { flex: 1; }
.wa-head strong { display: block; }
.wa-head span { font-size: 12px; opacity: .85; display: flex; gap: 6px; align-items: center; }
.wa-head button { font-size: 26px; line-height: 1; }
.wa-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); display: grid; place-items: center; }
.wa-avatar img { width: 34px; }
.wa-dot { width: 8px; height: 8px; border-radius: 50%; background: #25d366; display: inline-block; }
.wa-body { background: #ece5dd; padding: 24px 16px; min-height: 140px; }
.wa-burbuja { background: #fff; padding: 12px 16px; border-radius: 0 12px 12px 12px; font-size: 14px; max-width: 85%; box-shadow: 0 1px 2px rgba(0,0,0,.1); }
.wa-pie { display: flex; padding: 10px; gap: 8px; }
.wa-pie input { flex: 1; border: 1px solid var(--borde); border-radius: 50px; padding: 10px 16px; outline: none; }
.wa-pie button { width: 42px; height: 42px; border-radius: 50%; background: var(--naranja); color: #fff; transition: transform .3s, background .3s; }
.wa-pie button:hover { background: var(--teal); transform: rotate(-20deg) scale(1.08); }

/* Botón de subir: anillo naranja que se llena según el avance en la página */
.btn-top {
    position: fixed; left: 26px; bottom: 26px; z-index: 80; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--teal); font-size: 17px; box-shadow: 0 12px 28px rgba(6,47,49,.22);
    opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8);
    transition: opacity .35s, visibility .35s, transform .45s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s, box-shadow .3s;
}
.btn-top.visible { opacity: 1; visibility: visible; transform: none; }
.btn-top i { position: relative; z-index: 1; animation: bt-sube 2.2s ease-in-out infinite; }
.bt-anillo { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.bt-anillo circle { fill: none; stroke-width: 3.5; }
.bt-pista { stroke: var(--teal-claro); }
.bt-progreso { stroke: var(--naranja); stroke-linecap: round; stroke-dasharray: 157.08; stroke-dashoffset: calc(157.08 * (1 - var(--avance, 0))); transition: stroke-dashoffset .15s linear; }
.btn-top:hover { background: var(--teal); color: #fff; box-shadow: 0 16px 34px rgba(14,106,108,.4); transform: translateY(-4px); }
.btn-top:hover .bt-pista { stroke: rgba(255,255,255,.2); }
.btn-top:hover i { animation: bt-despega .7s ease-in-out infinite; }
@keyframes bt-sube { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(-3px); } }
@keyframes bt-despega { 0% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(-16px); opacity: 0; } 46% { transform: translateY(14px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1200px) {
    .menu-link { padding: 0 13px; font-size: 15px; }
    .menu-link::after { left: 13px; right: 13px; }
    .hero-visual { width: 360px; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .ft-marca { grid-column: 1 / -1; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
    :root { --header-h: 80px; }
    .menu, .btn-icono, .topbar-lema { display: none; }
    .hamburguesa { display: flex; }
    .logo-full { height: 70px; }
    .hero { height: auto; min-height: 640px; }
    .hero-slides { position: relative; height: 640px; }
    .hero-visual-wrap { display: none; }
    .hero-controles { bottom: 176px; }
    .servicios-grid, .ventajas-grid { grid-template-columns: 1fr 1fr; }
    .accesos { grid-template-columns: 1fr 1fr; }
    .cobertura-grid { grid-template-columns: 1fr; }
    .cob-panel { max-height: 480px; }
    .nosotros-grid, .cotizar-grid, .faq-grid { grid-template-columns: 1fr; gap: 50px; }
    .faq-intro { position: static; }
    .empresas-inner { grid-template-columns: 1fr; padding: 44px; }
    .test-card { flex-basis: 50%; }
    .oficinas-grid { grid-template-columns: 1fr 1fr; }
    .oficina-redes { grid-column: 1 / -1; }
    .pasos { grid-template-columns: 1fr 1fr; row-gap: 50px; }
    .pasos::before, .pasos-ruta { display: none; }
}
@media (max-width: 768px) {
    section { padding: 72px 0; }
    .container { padding: 0 16px; }
    .topbar-links .tb-item:nth-child(3), .topbar-links .tb-item:nth-child(4) { display: none; }
    .topbar-inner { justify-content: flex-end; }
    .promo-bar { font-size: 13px; padding: 10px 44px 10px 16px; text-align: left; }
    .btn-naranja.lg, .btn-outline.lg { padding: 14px 24px; font-size: 15px; }
    .header-acciones > .btn-naranja { display: none; }
    .logo { min-width: 0; }
    .logo-full { height: 50px; }

    .hero-texto p { font-size: 16px; }
    .paneles-grid { grid-template-columns: minmax(0,1fr); margin-top: -50px; }
    .hero-slides { height: 740px; }
    .camion { width: 250px; }
    .camion-menu { padding: 10px; left: 50%; }
    .cm-btn { font-size: 13px; padding: 9px 16px; }
    .hero-carretera { height: 120px; }
    .hero-grid { padding-bottom: 230px; }
    .hero-controles { bottom: 176px; }
    .hero-flecha { width: 38px; height: 38px; }
    .opciones span i { display: none; }
    .tb-item > a, .tb-buscar { padding: 0 12px; }
    .panel { padding: 28px 22px; }
    .fila-2 { grid-template-columns: 1fr; }
    .opciones span { font-size: 13px; padding: 10px 6px; }
    .accesos, .servicios-grid, .ventajas-grid, .oficinas-grid { grid-template-columns: 1fr; }
    .servicio { padding: 28px 22px; --cx: 58px; --cy: 64px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .stat-num, .stat-mas { font-size: 38px; }
    .cob-lista { grid-template-columns: 1fr; }
    .cob-mapa { min-height: 500px; }
    .mapa-vistas { top: 12px; right: 12px; }
    .mapa-vistas button { padding: 7px 12px; font-size: 12px; }
    .mapa-leyenda { left: 10px; right: 10px; bottom: 10px; }
    .ns-visual { height: 420px; }
    .ns-main { inset: 40px 20px 50px 0; }
    .ns-dato.d3 { left: 0; }
    .ns-valores { grid-template-columns: 1fr; }
    .ns-emblema { display: none; }
    .empresas-inner { padding: 34px 22px; border-radius: 22px; }
    .empresas-texto ul { grid-template-columns: 1fr; }
    .test-card { flex-basis: 100%; }
    .cotizar-form { padding: 26px 20px; }
    .unete-inner { flex-direction: column; text-align: center; padding: 36px 24px; }
    .footer-olas { height: 110px; margin-top: -50px; }
    .fg-texto span { -webkit-text-stroke-width: 1px; }
    .footer-top { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
    .ft-marca p { margin-left: auto; margin-right: auto; }
    .ft-whatsapp strong { font-size: 24px; }
    .ft-news { width: 100%; }
    .fr-linea { margin: 0 24px; }
    .fr-pin b { font-size: 10px; }
    .fr-pin:nth-child(3) b, .fr-pin:nth-child(4) b { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding: 36px 16px 40px; }
    .ft-portal { grid-column: 1 / -1; }
    .fm-titulo { padding: 12px 26px 12px 14px; font-size: 13px; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .fb-links a { margin: 0 8px; }
    .pasos { grid-template-columns: 1fr; }
    .wa-popup { width: calc(100vw - 40px); }
    .wa-widget { right: 16px; bottom: 16px; }
    .btn-top { left: 16px; bottom: 16px; }
    .faq-q { font-size: 15px; padding: 16px 18px; gap: 12px; }
    .faq-ico { width: 38px; height: 38px; }
    .faq-a p { padding: 0 20px 20px; }
    .faq-chat { display: none; }
    .fc-llamada { max-width: none; }
}


/* =========================================================
   VENTANA DE RASTREO (Gelotra incrustado)
   ========================================================= */
.rastreo-modal { position: fixed; inset: 0; z-index: 140; background: rgba(6,47,49,.65); backdrop-filter: blur(5px); display: flex; align-items: center; justify-content: center; padding: 24px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.rastreo-modal.abierto { opacity: 1; visibility: visible; }
.rm-caja { width: min(1000px, 100%); height: min(86vh, 820px); background: #fff; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 40px 90px rgba(0,0,0,.35); transform: translateY(24px) scale(.97); transition: transform .4s cubic-bezier(.34,1.3,.64,1); }
.rastreo-modal.abierto .rm-caja { transform: none; }
.rm-head { display: flex; align-items: center; gap: 18px; padding: 18px 22px; background: linear-gradient(120deg, var(--teal-deep), var(--teal)); color: #fff; }
.rm-titulo { display: flex; align-items: center; gap: 14px; margin-right: auto; min-width: 0; }
.rm-ico { width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 20px; color: var(--naranja); }
.rm-titulo strong { display: block; font-size: 18px; line-height: 1.2; }
.rm-titulo span { font-size: 14px; opacity: .85; }
.rm-titulo b { color: #ffd08a; letter-spacing: .5px; }
.rm-buscar { display: flex; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; padding: 4px; }
.rm-buscar input { background: none; border: none; outline: none; color: #fff; padding: 8px 14px; width: 190px; font-size: 14px; }
.rm-buscar input::placeholder { color: rgba(255,255,255,.65); }
.rm-buscar button { width: 38px; height: 38px; border-radius: 50%; background: var(--naranja); color: #fff; }
.rm-buscar button:hover { background: var(--naranja-dark); }
.rm-cerrar { width: 42px; height: 42px; flex-shrink: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 1; transition: background .2s; }
.rm-cerrar:hover { background: rgba(255,255,255,.28); }
.rm-cuerpo { position: relative; flex: 1; background: var(--fondo); }
.rm-cuerpo iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.rm-cargando { position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #fff; color: var(--teal-deep); font-weight: 600; transition: opacity .3s, visibility .3s; }
.rm-cargando.oculto { opacity: 0; visibility: hidden; }
.rm-spinner { width: 46px; height: 46px; border-radius: 50%; border: 4px solid var(--teal-claro); border-top-color: var(--naranja); animation: girar .8s linear infinite; }
.rm-pie { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 14px 22px; border-top: 1px solid var(--borde); font-size: 14px; color: var(--gris); }
.rm-pie i.fa-circle-info { color: var(--teal); margin-right: 6px; }
.rm-pie a { display: inline-flex; align-items: center; gap: 8px; color: #128c4a; font-weight: 600; }
.rm-pie a:hover { color: #0b6b37; }
@media (max-width: 768px) {
    .rastreo-modal { padding: 0; }
    .rm-caja { height: 100%; border-radius: 0; }
    .rm-head { flex-wrap: wrap; padding: 14px 16px; gap: 12px; }
    .rm-buscar { order: 3; width: 100%; }
    .rm-buscar input { flex: 1; width: auto; }
    .rm-pie { padding: 12px 16px; font-size: 13px; }
}
/* ===== Servicios adicionales (mudanzas y embalaje) ===== */
.adicionales { background: var(--fondo); position: relative; overflow: hidden; }
.adicionales::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(14,106,108,.07) 1.5px, transparent 2px); background-size: 26px 26px; pointer-events: none; }
.adicionales-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.adicional { display: flex; flex-direction: column; position: relative; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--sombra); transition: opacity .8s ease, transform .8s ease, box-shadow .4s; }
.adicional.visible:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(6,47,49,.18); }

/* Escena animada de cada tarjeta */
.ad-escena { position: relative; height: 200px; overflow: hidden; background: linear-gradient(160deg, var(--teal-2), var(--teal) 55%, var(--teal-deep)); }
.ad-escena::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.5px); background-size: 18px 18px; }
.ad-sol { position: absolute; width: 150px; height: 150px; border-radius: 50%; top: -40px; right: -30px; background: radial-gradient(circle, rgba(243,146,0,.55), rgba(243,146,0,0) 70%); animation: ad-sol 6s ease-in-out infinite; }
.ad-principal { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); font-size: 74px; color: #fff; filter: drop-shadow(0 12px 20px rgba(0,0,0,.25)); animation: ad-respira 4s ease-in-out infinite; transition: color .4s; }
.ad-f { position: absolute; font-size: 22px; color: rgba(255,255,255,.85); width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.12); backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,.18); transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .4s, color .4s; }
.ad-f1 { left: 12%; top: 22%; animation: ad-flota 3.4s ease-in-out infinite; }
.ad-f2 { right: 13%; top: 46%; animation: ad-flota 3.8s ease-in-out -1.2s infinite; }
.ad-f3 { left: 20%; top: 60%; animation: ad-flota 4.2s ease-in-out -2.1s infinite; }
.ad-via { position: absolute; left: 0; right: 0; bottom: 18px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.45) 0 22px, transparent 22px 40px); animation: ad-via 1.4s linear infinite; }
.ad-vehiculo { position: absolute; bottom: 22px; left: -60px; font-size: 26px; color: var(--naranja); filter: drop-shadow(0 4px 6px rgba(0,0,0,.3)); animation: ad-cruza 7s linear infinite; animation-delay: calc(var(--i) * -2.3s); }
/* Hover: la escena "se activa" */
.adicional:hover .ad-principal { color: #ffe2b3; animation-duration: 1.4s; }
.adicional:hover .ad-f { background: var(--naranja); color: #fff; border-color: transparent; }
.adicional:hover .ad-f1 { transform: translate(-10px, -8px) rotate(-12deg) scale(1.12); }
.adicional:hover .ad-f2 { transform: translate(10px, -10px) rotate(10deg) scale(1.12); }
.adicional:hover .ad-f3 { transform: translate(-8px, 8px) rotate(8deg) scale(1.12); }
.adicional:hover .ad-vehiculo { animation-duration: 2.6s; }
.adicional:hover .ad-via { animation-duration: .5s; }

/* Contenido */
.ad-cuerpo { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 26px 28px 30px; }
.ad-cuerpo .ad-lista { align-self: stretch; }
.ad-cuerpo .ad-btn { margin-top: auto; }
.ad-tag { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--naranja-dark); background: #fff4e3; padding: 5px 12px; border-radius: 50px; }
.adicional h3 { font-size: 23px; color: var(--teal-deep); margin: 14px 0 10px; position: relative; display: inline-block; }
.adicional h3::after { content: ''; position: absolute; left: 0; bottom: -4px; height: 3px; width: 34px; border-radius: 3px; background: var(--naranja); transition: width .45s; }
.adicional:hover h3::after { width: 100%; }
.ad-intro { color: var(--gris); font-size: 15px; margin-bottom: 6px; }
.ad-lista { display: grid; gap: 4px; margin: 14px 0 22px; }
.ad-lista li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 12px; border-radius: 14px; transition: background .3s, transform .3s; opacity: 0; transform: translateX(-14px); }
.adicional.visible .ad-lista li { opacity: 1; transform: none; transition: opacity .5s ease, transform .5s ease, background .3s; }
.adicional.visible .ad-lista li:nth-child(1) { transition-delay: .25s; }
.adicional.visible .ad-lista li:nth-child(2) { transition-delay: .35s; }
.adicional.visible .ad-lista li:nth-child(3) { transition-delay: .45s; }
.adicional.visible .ad-lista li:nth-child(4) { transition-delay: .55s; }
.adicional.visible .ad-lista li:nth-child(5) { transition-delay: .65s; }
.ad-lista li:hover { background: var(--teal-claro); transform: translateX(4px); transition-delay: 0s !important; }
.ad-lista li > i { flex-shrink: 0; width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; font-size: 16px; color: var(--teal); background: var(--teal-claro); transition: background .3s, color .3s, transform .3s; }
.ad-lista li:hover > i { background: var(--teal); color: #fff; transform: rotate(-8deg) scale(1.08); }
.ad-lista strong { display: block; color: var(--teal-deep); font-size: 15px; }
.ad-lista div { color: var(--gris); font-size: 14px; line-height: 1.5; }
.ad-btn { display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px; border-radius: 50px; font-weight: 600; color: #fff; background: var(--teal); position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .3s; }
.ad-btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--naranja); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.ad-btn i { transition: transform .3s; }
.ad-btn:hover { box-shadow: 0 12px 26px rgba(243,146,0,.4); }
.ad-btn:hover::before { transform: scaleX(1); }
.ad-btn:hover i { transform: translateX(5px); }

/* Franja de llamada a la acción */
.ad-franja { position: relative; margin-top: 46px; display: flex; align-items: center; gap: 24px; padding: 26px 32px; border-radius: 22px; color: #fff; overflow: hidden; background: linear-gradient(110deg, var(--teal-deep), var(--teal) 60%, var(--teal-2)); box-shadow: 0 20px 44px rgba(6,47,49,.22); }
.ad-franja::after { content: ''; position: absolute; top: 0; bottom: 0; width: 30%; left: -40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.12), transparent); transform: skewX(-18deg); animation: ad-brillo 6s ease-in-out infinite; pointer-events: none; }
.ad-franja-ico { flex-shrink: 0; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; background: var(--naranja); box-shadow: 0 10px 24px rgba(243,146,0,.45); animation: ad-carga 2.4s ease-in-out infinite; }
.ad-franja-txt { flex: 1; min-width: 0; }
.ad-franja-txt strong { display: block; font-size: 20px; }
.ad-franja-txt span { opacity: .8; font-size: 15px; }
.ad-franja-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ad-tel { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 50px; border: 1.5px solid rgba(255,255,255,.4); font-weight: 600; transition: background .3s, color .3s, border-color .3s; }
.ad-tel:hover { background: #fff; color: var(--teal-deep); border-color: #fff; }
.ad-tel i { animation: ad-timbre 2.5s ease-in-out infinite; }

@keyframes ad-sol { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes ad-respira { 0%, 100% { transform: translate(-50%, -50%) scale(1); } 50% { transform: translate(-50%, -54%) scale(1.04); } }
@keyframes ad-flota { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
@keyframes ad-via { to { background-position: -40px 0; } }
@keyframes ad-cruza { 0% { left: -60px; } 100% { left: calc(100% + 60px); } }
@keyframes ad-brillo { 0%, 60% { left: -40%; } 100% { left: 130%; } }
@keyframes ad-carga { 0%, 100% { transform: translateY(0) rotate(0); } 30% { transform: translateY(-6px) rotate(-6deg); } 60% { transform: translateY(0) rotate(4deg); } }
@keyframes ad-timbre { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-18deg); } 80% { transform: rotate(16deg); } 85% { transform: rotate(-12deg); } 90% { transform: rotate(8deg); } }

@media (max-width: 1024px) {
    .adicionales-grid { grid-template-columns: 1fr 1fr; }
    .ad-franja { flex-wrap: wrap; }
}
@media (max-width: 768px) {
    .adicionales-grid { grid-template-columns: 1fr; }
    .ad-franja { padding: 24px; text-align: center; justify-content: center; }
    .ad-franja-btns { justify-content: center; width: 100%; }
}

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
/* Menú: la sección en la que estás queda marcada */
.menu-item.actual .menu-link { color: var(--teal); }
.menu-item.actual .menu-link::after { transform: scaleX(1); }

/* ----- Encabezado de cada página ----- */
.pagina-hero { position: relative; overflow: hidden; padding: 70px 0 110px; color: #fff; background: radial-gradient(circle at 80% 20%, var(--teal-2), transparent 55%), linear-gradient(120deg, var(--teal-deep), var(--teal)); }
.pagina-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.5px); background-size: 26px 26px; pointer-events: none; }
.pagina-hero > .container { position: relative; z-index: 1; }
.ph-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.ph-migas { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14px; margin-bottom: 22px; animation: ph-entra .6s ease both; }
.ph-migas a { display: inline-flex; align-items: center; gap: 7px; color: rgba(255,255,255,.8); padding: 6px 12px; border-radius: 50px; background: rgba(255,255,255,.1); transition: background .25s, color .25s; }
.ph-migas a:hover { background: var(--naranja); color: #fff; }
.ph-migas > i { font-size: 10px; opacity: .5; }
.ph-migas span { color: rgba(255,255,255,.75); }
.ph-migas strong { color: #ffd08a; }
.pagina-hero h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.08; font-weight: 800; letter-spacing: -1px; margin-bottom: 18px; animation: ph-entra .7s .1s ease both; }
.pagina-hero h1 span { color: var(--naranja); }
.ph-texto p { font-size: 18px; opacity: .88; max-width: 560px; animation: ph-entra .7s .2s ease both; }
.ph-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; animation: ph-entra .7s .3s ease both; }
/* Ícono grande con anillos y otros íconos girando alrededor */
.ph-visual { position: relative; width: 300px; height: 300px; margin-left: auto; animation: ph-entra .8s .2s ease both; }
.ph-anillo { position: absolute; inset: 30px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.22); animation: girar 30s linear infinite; }
.ph-anillo.a2 { inset: 0; border-style: solid; border-color: rgba(243,146,0,.25); animation-duration: 45s; animation-direction: reverse; }
.ph-ico { position: absolute; inset: 85px; border-radius: 34px; display: grid; place-items: center; font-size: 52px; color: #fff; background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); box-shadow: 0 24px 50px rgba(243,146,0,.45); transform: rotate(-8deg); animation: ph-flota 5s ease-in-out infinite; }
.ph-orb { position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px; border-radius: 15px; display: grid; place-items: center; font-size: 19px; color: var(--teal-deep); background: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.2); animation: ph-orbita 14s linear infinite; }
.ph-orb i { animation: ph-contra 14s linear infinite; }
.ph-orb.o2 { animation-delay: -4.67s; } .ph-orb.o2 i { animation-delay: -4.67s; }
.ph-orb.o3 { animation-delay: -9.33s; } .ph-orb.o3 i { animation-delay: -9.33s; }
/* Vía con un camión que la cruza */
.ph-via { position: absolute; left: 0; right: 0; bottom: 34px; height: 3px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 26px, transparent 26px 50px); animation: ad-via 1.6s linear infinite; }
.ph-camion { position: absolute; bottom: 4px; left: -60px; font-size: 26px; color: var(--naranja); filter: drop-shadow(0 4px 8px rgba(0,0,0,.3)); animation: ad-cruza 11s linear infinite; }
@keyframes ph-entra { from { opacity: 0; transform: translateY(24px); } }
@keyframes ph-flota { 0%, 100% { transform: rotate(-8deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-10px); } }
@keyframes ph-orbita { from { transform: rotate(0) translateX(150px); } to { transform: rotate(360deg) translateX(150px); } }
@keyframes ph-contra { from { transform: rotate(0); } to { transform: rotate(-360deg); } }

/* ----- Tarjetas informativas (tarifas, consejos) ----- */
.pg-info { background: #fff; }
.pg-info + .pg-info, .pg-reglas { background: var(--fondo); }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-grid.tres { grid-template-columns: repeat(3, 1fr); }
.info-card { position: relative; overflow: hidden; padding: 32px 28px; border-radius: 22px; background: #fff; border: 1px solid var(--borde); transition: opacity .8s ease, transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .4s, border-color .4s; }
.pg-info + .pg-info .info-card { border-color: transparent; box-shadow: var(--sombra); }
.info-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--teal), var(--naranja)); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.info-num { position: absolute; top: 16px; right: 22px; font-size: 46px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--borde); transition: -webkit-text-stroke-color .4s, transform .4s; }
.info-ico { width: 62px; height: 62px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; margin-bottom: 20px; color: var(--teal); background: var(--teal-claro); transition: background .4s, color .4s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.info-ico i { animation: flotar-ico 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.info-card h3 { font-size: 19px; color: var(--teal-deep); margin-bottom: 8px; }
.info-card p { color: var(--gris); font-size: 15px; }
.info-card:hover { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(6,47,49,.14); border-color: transparent; }
.info-card:hover::after { transform: scaleX(1); }
.info-card:hover .info-num { -webkit-text-stroke-color: var(--naranja); transform: scale(1.1); }
.info-card:hover .info-ico { background: var(--naranja); color: #fff; transform: rotate(-8deg) scale(1.08); }
.pg-aviso { margin-top: 36px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 22px 26px; border-radius: 20px; background: var(--teal-claro); color: var(--teal-deep); }
.pg-aviso > i { font-size: 26px; color: var(--teal); }
.pg-aviso > div { flex: 1; min-width: 240px; }

/* ----- Rastreo y recogida ----- */
.pg-rastreo, .pg-recogida { background: var(--fondo); }
.pg-rastreo-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; }
.pg-panel { padding: 44px; }
.pg-panel h2 { font-size: clamp(26px, 3vw, 34px); color: var(--teal-deep); margin: 12px 0 8px; }
.pg-ayuda { padding: 38px 34px; border-radius: 24px; color: #fff; background: linear-gradient(140deg, var(--teal), var(--teal-deep)); box-shadow: var(--sombra); }
.pg-ayuda h3 { display: flex; align-items: center; gap: 12px; font-size: 21px; margin-bottom: 22px; }
.pg-ayuda h3 i { color: var(--naranja); }
.pg-ayuda ul { display: grid; gap: 16px; margin-bottom: 24px; }
.pg-ayuda li { display: flex; gap: 14px; align-items: flex-start; font-size: 14.5px; color: rgba(255,255,255,.8); }
.pg-ayuda li strong { display: block; color: #fff; font-size: 15.5px; margin-bottom: 2px; }
.pg-ayuda li > span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--naranja); color: #fff; box-shadow: 0 0 0 5px rgba(243,146,0,.2); }
.pg-nota { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.1); font-size: 14px; }
.pg-nota i { color: var(--naranja); margin-top: 3px; }
.pg-accesos { padding: 0 0 100px; background: var(--fondo); }
.pg-accesos .accesos { margin-top: 0; }

/* ----- Artículos restringidos y valor declarado ----- */
.pg-reglas-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pg-regla { padding: 38px; border-radius: 24px; background: #fff; box-shadow: var(--sombra); scroll-margin-top: 120px; }
.pg-regla.destacada { background: linear-gradient(140deg, var(--teal), var(--teal-deep)); color: #fff; }
.pg-regla-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.pg-regla-top i { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: #d64545; box-shadow: 0 10px 22px rgba(214,69,69,.35); }
.pg-regla.destacada .pg-regla-top i { background: var(--naranja); box-shadow: 0 10px 22px rgba(243,146,0,.4); }
.pg-regla h2 { font-size: 24px; color: var(--teal-deep); }
.pg-regla.destacada h2 { color: #fff; }
.pg-regla > p { color: var(--gris); margin-bottom: 18px; }
.pg-regla.destacada > p { color: rgba(255,255,255,.85); }
.pg-prohibidos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.pg-prohibidos li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fdf0f0; color: #8a2c2c; font-size: 14.5px; font-weight: 500; transition: transform .3s, background .3s; }
.pg-prohibidos li i { color: #d64545; width: 18px; text-align: center; }
.pg-prohibidos li:hover { transform: translateX(4px); background: #fbe2e2; }
.pg-checks { display: grid; gap: 12px; }
.pg-checks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: rgba(255,255,255,.9); }
.pg-checks li i { flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(255,255,255,.15); color: #ffd08a; }
section[id], .pg-regla[id] { scroll-margin-top: 110px; }

@media (max-width: 1024px) {
    .ph-grid { grid-template-columns: 1fr; }
    .ph-visual { display: none; }
    .info-grid, .info-grid.tres { grid-template-columns: 1fr 1fr; }
    .pg-rastreo-grid, .pg-reglas-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .pagina-hero { padding: 50px 0 90px; }
    .info-grid, .info-grid.tres, .pg-prohibidos { grid-template-columns: 1fr; }
    .pg-panel, .pg-ayuda, .pg-regla { padding: 28px 22px; }
}

/* =========================================================
   PÁGINAS DE SERVICIOS (cada una con su propio esquema)
   ========================================================= */
.mega-col h5 a { display: inline-flex; align-items: center; gap: 8px; padding: 0; color: inherit; font-size: inherit; }
.mega-col h5 a i { font-size: 11px; color: var(--naranja); opacity: 0; transform: translateX(-6px); transition: opacity .25s, transform .25s; }
.mega-col h5 a:hover { padding: 0; color: var(--teal); }
.mega-col:hover h5 a i { opacity: 1; transform: none; }
.mv-sub-link { display: flex; align-items: center; gap: 8px; color: var(--teal) !important; }
.ph-migas a.ph-miga-link { padding: 0; background: none; color: rgba(255,255,255,.75); }
.ph-migas a.ph-miga-link:hover { background: none; color: #ffd08a; }
.pg-lista { display: grid; gap: 10px; margin: 18px 0 24px; }
.pg-lista li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--texto); }
.pg-lista li i { flex-shrink: 0; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; color: #fff; background: var(--teal); }
.pg-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Franja final de llamado a la acción */
.pg-cta-wrap { padding: 0 0 100px; background: inherit; }
.pg-cta { position: relative; overflow: hidden; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; padding: 34px 38px; border-radius: 26px; color: #fff; background: linear-gradient(110deg, var(--teal-deep), var(--teal) 60%, var(--teal-2)); box-shadow: 0 24px 50px rgba(6,47,49,.25); }
.pg-cta-ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; background: var(--naranja); box-shadow: 0 10px 24px rgba(243,146,0,.45); animation: ad-carga 2.4s ease-in-out infinite; }
.pg-cta-txt { flex: 1; min-width: 220px; }
.pg-cta-txt strong { display: block; font-size: 22px; }
.pg-cta-txt span { opacity: .82; }
.pg-cta-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.pg-cta.linterna > :not(.linterna-capa):not(.linterna-rejilla) { position: relative; z-index: 1; }

/* ----- 1. Transporte: filas en zigzag ----- */
.tr-filas { background: #fff; }
.tr-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 50px 0; scroll-margin-top: 110px; }
.tr-fila + .tr-fila { border-top: 1px dashed var(--borde); }
.tr-fila:nth-of-type(even) .tr-visual { order: 2; }
.tr-visual { position: relative; }
.tr-visual .ad-escena { height: 340px; border-radius: 30px; box-shadow: 0 30px 60px rgba(6,47,49,.2); }
.tr-visual .ad-principal { font-size: 110px; }
.tr-visual .ad-f { width: 58px; height: 58px; font-size: 26px; border-radius: 18px; }
.tr-visual .ad-vehiculo { font-size: 34px; bottom: 26px; }
.tr-num { position: absolute; top: -26px; left: -18px; font-size: 92px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--naranja); opacity: .8; transition: transform .5s; }
.tr-fila:nth-of-type(even) .tr-num { left: auto; right: -18px; }
.tr-texto h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--teal-deep); margin: 12px 0 10px; }
.tr-texto > p { color: var(--gris); font-size: 17px; }
.tr-fila:hover .ad-principal { color: #ffe2b3; animation-duration: 1.4s; }
.tr-fila:hover .ad-f { background: var(--naranja); color: #fff; border-color: transparent; }
.tr-fila:hover .ad-f1 { transform: translate(-12px, -10px) rotate(-12deg) scale(1.12); }
.tr-fila:hover .ad-f2 { transform: translate(12px, -12px) rotate(10deg) scale(1.12); }
.tr-fila:hover .ad-f3 { transform: translate(-10px, 10px) rotate(8deg) scale(1.12); }
.tr-fila:hover .ad-vehiculo { animation-duration: 2.8s; }
.tr-fila:hover .tr-num { transform: scale(1.1) rotate(-4deg); }

/* ----- 2. Paquetería: recorrido + pestañas ----- */
.pq-viaje { background: var(--fondo); }
.pq-tipos { background: #fff; }
.pq-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 44px; scroll-margin-top: 110px; }
.pq-tab { display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border-radius: 20px; background: var(--fondo); border: 2px solid transparent; transition: background .3s, border-color .3s, transform .3s, box-shadow .3s; }
.pq-tab > i { width: 50px; height: 50px; flex-shrink: 0; border-radius: 15px; display: grid; place-items: center; font-size: 20px; color: var(--teal); background: #fff; transition: background .3s, color .3s; }
.pq-tab strong { display: block; color: var(--teal-deep); font-size: 16px; }
.pq-tab small { color: var(--gris); font-size: 13px; }
.pq-tab:hover { transform: translateY(-3px); }
.pq-tab.activo { background: #fff; border-color: var(--teal); box-shadow: 0 16px 34px rgba(14,106,108,.15); }
.pq-tab.activo > i { background: var(--naranja); color: #fff; }
.pq-panel { display: none; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.pq-panel.activo { display: grid; animation: pq-entra .5s ease both; }
@keyframes pq-entra { from { opacity: 0; transform: translateY(14px); } }
.pq-panel-txt h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--teal-deep); margin: 12px 0 10px; }
.pq-panel-txt > p { color: var(--gris); font-size: 17px; }
.pq-panel-visual { display: grid; place-items: center; padding: 40px; border-radius: 30px; background: radial-gradient(circle at 30% 20%, var(--teal-2), var(--teal-deep)); }
.pq-ticket { width: 100%; max-width: 340px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 30px 60px rgba(0,0,0,.3); transform: rotate(-3deg); animation: pq-ticket 5s ease-in-out infinite; }
.pq-t-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 2px dashed var(--borde); }
.pq-t-top span { font-weight: 800; color: var(--teal); }
.pq-t-top span i { color: var(--naranja); }
.pq-t-top em { font-size: 11px; font-style: normal; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--naranja-dark); background: #fff4e3; padding: 3px 8px; border-radius: 50px; }
.pq-t-guia { margin: 14px 0; font-size: 26px; font-weight: 800; color: var(--teal-deep); letter-spacing: 1px; }
.pq-t-guia b { color: var(--naranja); }
.pq-t-fila { display: flex; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--borde); font-size: 14px; }
.pq-t-fila small { color: var(--gris); }
.pq-t-fila strong { color: var(--teal-deep); text-align: right; }
.pq-t-ruta { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--teal); font-size: 18px; }
.pq-t-ruta span { flex: 1; border-top: 2px dashed var(--naranja); }
.pq-t-cobro { margin-top: 14px; padding: 12px 14px; border-radius: 14px; background: #fff4e3; }
.pq-t-cobro small { display: block; color: var(--naranja-dark); font-size: 12px; font-weight: 600; }
.pq-t-cobro strong { font-size: 26px; color: var(--teal-deep); }
.pq-t-barras { height: 44px; margin-top: 16px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--teal-deep) 0 3px, transparent 3px 6px, var(--teal-deep) 6px 7px, transparent 7px 11px, var(--teal-deep) 11px 15px, transparent 15px 17px); opacity: .85; }
@keyframes pq-ticket { 0%, 100% { transform: rotate(-3deg) translateY(0); } 50% { transform: rotate(-1deg) translateY(-10px); } }
.pq-consejos { padding: 0 0 100px; background: #fff; }
.pq-consejos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pq-consejo { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: 20px; background: var(--fondo); color: var(--teal-deep); transition: background .3s, color .3s, transform .3s; }
.pq-consejo > i:first-child { font-size: 26px; color: var(--naranja); }
.pq-consejo strong { display: block; }
.pq-consejo span { font-size: 13.5px; color: var(--gris); transition: color .3s; }
.pq-consejo > i:last-child { margin-left: auto; transition: transform .3s; }
.pq-consejo:hover { background: var(--teal); color: #fff; transform: translateY(-4px); }
.pq-consejo:hover span { color: rgba(255,255,255,.8); }
.pq-consejo:hover > i:last-child { transform: translateX(5px); }

/* ----- 3. Logística: mosaico + flujo ----- */
.lg-sec { background: #fff; }
.lg-bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: auto auto; gap: 22px; }
.lg-tile { position: relative; overflow: hidden; padding: 32px; border-radius: 26px; background: var(--fondo); color: var(--texto); scroll-margin-top: 110px; transition: transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .4s; }
.lg-tile:hover { transform: translateY(-8px); box-shadow: 0 26px 50px rgba(6,47,49,.15); }
.lg-grande { grid-row: span 2; color: #fff; background: radial-gradient(circle at 90% 10%, var(--teal-2), transparent 55%), linear-gradient(150deg, var(--teal), var(--teal-deep)); }
.lg-grande .pg-lista li { color: rgba(255,255,255,.9); }
.lg-grande .pg-lista li i { background: var(--naranja); }
.lg-grande h2 { color: #fff !important; }
.lg-grande > p { color: rgba(255,255,255,.85) !important; }
.lg-tile h2 { font-size: 24px; color: var(--teal-deep); margin: 10px 0 8px; }
.lg-tile > p { color: var(--gris); }
.lg-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; color: #fff; background: var(--teal); margin-bottom: 8px; transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s; }
.lg-grande .lg-ico { background: var(--naranja); }
.lg-tile:hover .lg-ico { transform: rotate(-10deg) scale(1.1); background: var(--naranja); }
.lg-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--teal); }
.lg-link i { transition: transform .3s; }
.lg-tile:hover .lg-link i { transform: translateX(5px); }
.lg-oscuro { grid-column: span 2; color: #fff; background: linear-gradient(110deg, var(--naranja), var(--naranja-dark)); }
.lg-oscuro h2, .lg-oscuro > p, .lg-oscuro .lg-link { color: #fff !important; }
.lg-oscuro .lg-ico { background: rgba(255,255,255,.2); }
.lg-oscuro:hover .lg-link i { transform: translateY(4px); }
/* Estantería animada en la tarjeta grande */
.lg-estantes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 24px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.08); }
.lg-estantes span { height: 28px; border-radius: 6px; background: rgba(255,255,255,.18); animation: lg-caja 4.5s ease-in-out infinite; }
.lg-estantes span:nth-child(3n+2) { animation-delay: -1.5s; }
.lg-estantes span:nth-child(3n) { animation-delay: -3s; }
.lg-estantes span:nth-child(4), .lg-estantes span:nth-child(8) { background: rgba(243,146,0,.7); }
@keyframes lg-caja { 0%, 100% { transform: translateY(0); opacity: 1; } 45% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(-6px); opacity: .5; } 65% { transform: translateY(0); opacity: 1; } }
.lg-flujo-sec { background: var(--fondo); }
.lg-flujo { display: flex; align-items: flex-start; justify-content: center; gap: 10px; }
.lg-paso { flex: 1; max-width: 240px; text-align: center; padding: 10px; }
.lg-paso-ico { position: relative; width: 96px; height: 96px; margin: 0 auto 18px; border-radius: 28px; display: grid; place-items: center; font-size: 34px; color: var(--teal); background: #fff; box-shadow: var(--sombra); animation: lg-turno 8s ease infinite; animation-delay: calc(var(--i) * 2s); }
.lg-paso-ico b { position: absolute; top: -10px; right: -10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: #fff; background: var(--naranja); }
.lg-paso h3 { color: var(--teal-deep); font-size: 19px; margin-bottom: 6px; }
.lg-paso p { color: var(--gris); font-size: 14.5px; }
.lg-flecha { margin-top: 36px; color: var(--naranja); font-size: 20px; animation: lg-flecha 1.4s ease-in-out infinite; }
@keyframes lg-turno { 0%, 30%, 100% { background: #fff; color: var(--teal); transform: none; } 5%, 22% { background: var(--teal); color: #fff; transform: translateY(-8px) rotate(-6deg); } }
@keyframes lg-flecha { 0%, 100% { transform: translateX(0); opacity: .5; } 50% { transform: translateX(6px); opacity: 1; } }

/* ----- 4. Comercio: ciclo + tarjetas + comparación ----- */
.co-cards-sec { background: var(--fondo); }
.co-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.co-comp-sec { background: #fff; }
.co-tabla { max-width: 960px; margin: 0 auto; border-radius: 24px; overflow: hidden; box-shadow: var(--sombra); }
.co-fila { display: grid; grid-template-columns: 1fr 1.3fr 1.3fr; }
.co-fila > span { display: flex; align-items: center; gap: 10px; padding: 18px 22px; border-bottom: 1px solid var(--borde); font-size: 15px; }
.co-fila > span:first-child { font-weight: 600; color: var(--teal-deep); background: var(--fondo); }
.co-fila > span:first-child i { color: var(--teal); width: 20px; }
.co-mal { color: var(--gris); }
.co-mal i { color: #d64545; }
.co-bien { color: var(--teal-deep); font-weight: 500; background: #f2faf9; }
.co-bien i { color: #fff; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 10px; background: var(--teal); }
.co-cab > span { font-weight: 700; color: #fff !important; background: var(--teal-deep) !important; }
.co-cab > span:last-child { background: var(--naranja) !important; }
.co-cab img { width: 22px; }
.co-fila:not(.co-cab):hover > span { background: var(--teal-claro); }

/* ----- 5. Empresas: planes + solicitud ----- */
.em-planes-sec { background: #fff; }
.em-planes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.em-plan { position: relative; display: flex; flex-direction: column; padding: 38px 32px; border-radius: 28px; background: #fff; border: 1.5px solid var(--borde); scroll-margin-top: 110px; transition: transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .4s, border-color .4s; }
.em-plan:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(6,47,49,.15); border-color: var(--teal); }
.em-plan.destacado { color: #fff; border-color: transparent; background: radial-gradient(circle at 90% 0%, var(--teal-2), transparent 60%), linear-gradient(160deg, var(--teal), var(--teal-deep)); box-shadow: 0 30px 60px rgba(6,47,49,.3); transform: translateY(-14px); }
.em-plan.destacado:hover { transform: translateY(-22px); }
.em-cinta { position: absolute; top: 18px; right: 18px; padding: 6px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; color: #fff; background: var(--naranja); animation: pulso-cinta 2.4s ease-in-out infinite; }
@keyframes pulso-cinta { 0%, 100% { box-shadow: 0 0 0 0 rgba(243,146,0,.5); } 50% { box-shadow: 0 0 0 8px rgba(243,146,0,0); } }
.em-plan-ico { width: 70px; height: 70px; border-radius: 22px; display: grid; place-items: center; font-size: 30px; color: var(--teal); background: var(--teal-claro); margin-bottom: 20px; transition: transform .5s cubic-bezier(.3,1.6,.5,1), background .3s, color .3s; }
.em-plan.destacado .em-plan-ico { color: #fff; background: var(--naranja); }
.em-plan:hover .em-plan-ico { transform: rotate(-10deg) scale(1.08); }
.em-plan h3 { font-size: 23px; color: var(--teal-deep); margin-bottom: 8px; }
.em-plan > p { color: var(--gris); }
.em-plan.destacado h3 { color: #fff; }
.em-plan.destacado > p, .em-plan.destacado .pg-lista li { color: rgba(255,255,255,.85); }
.em-plan.destacado .pg-lista li i { background: var(--naranja); }
.em-sep { height: 1px; margin: 22px 0 4px; background: var(--borde); }
.em-plan.destacado .em-sep { background: rgba(255,255,255,.2); }
.em-plan .pg-lista { flex: 1; }
.em-elegir { justify-content: center; }
.em-solicitud-sec { background: var(--fondo); }
.em-solicitud { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.em-sol-txt h2 { font-size: clamp(28px, 3.4vw, 40px); color: var(--teal-deep); margin: 12px 0 10px; }
.em-sol-txt > p { color: var(--gris); font-size: 17px; }
.em-sol-pasos { display: grid; gap: 14px; margin-top: 26px; }
.em-sol-pasos li { display: flex; align-items: center; gap: 14px; font-weight: 600; color: var(--teal-deep); }
.em-sol-pasos span { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--naranja); box-shadow: 0 0 0 6px #fff4e3; }
.em-form { box-shadow: var(--sombra-2); }
.em-form .fila-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ----- Portada de servicios: categorías ----- */
.sv-cats-sec { background: var(--fondo); }
.sv-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.sv-cat { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 28px 22px; border-radius: 24px; background: #fff; color: var(--teal-deep); box-shadow: var(--sombra); isolation: isolate; transition: transform .45s cubic-bezier(.3,1.5,.5,1), box-shadow .4s, color .4s; }
.sv-cat::before { content: ''; position: absolute; z-index: -1; inset: auto 0 0 0; height: 0; background: linear-gradient(160deg, var(--teal), var(--teal-deep)); transition: height .5s cubic-bezier(.7,0,.25,1); }
.sv-cat-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; font-size: 26px; margin-bottom: 8px; color: var(--teal); background: var(--teal-claro); transition: background .4s, color .4s, transform .5s cubic-bezier(.3,1.6,.5,1); animation: flotar-ico 3.2s ease-in-out infinite; animation-delay: calc(var(--i) * -.6s); }
.sv-cat strong { font-size: 17px; }
.sv-cat small { color: var(--gris); font-size: 13.5px; flex: 1; transition: color .4s; }
.sv-cat-ir { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--naranja); }
.sv-cat-ir i { transition: transform .3s; }
.sv-cat:hover { transform: translateY(-10px); color: #fff; box-shadow: 0 26px 50px rgba(6,47,49,.25); }
.sv-cat:hover::before { height: 100%; }
.sv-cat:hover .sv-cat-ico { background: var(--naranja); color: #fff; transform: rotate(-10deg); }
.sv-cat:hover small { color: rgba(255,255,255,.8); }
.sv-cat:hover .sv-cat-ir i { transform: translateX(6px); }

@media (max-width: 1200px) {
    .sv-cats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
    .tr-fila, .pq-panel.activo, .em-solicitud { grid-template-columns: 1fr; gap: 36px; }
    .tr-fila:nth-of-type(even) .tr-visual { order: 0; }
    .lg-bento { grid-template-columns: 1fr 1fr; }
    .lg-grande { grid-row: auto; grid-column: span 2; }
    .co-cards, .em-planes, .pq-consejos-grid { grid-template-columns: 1fr; }
    .em-plan.destacado { transform: none; }
    .sv-cats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .pq-tabs { grid-template-columns: 1fr; }
    .lg-bento { grid-template-columns: 1fr; }
    .lg-grande, .lg-oscuro { grid-column: auto; }
    .lg-flujo { flex-direction: column; align-items: center; }
    .lg-flecha { transform: rotate(90deg); margin: 0; animation: none; }
    .co-fila { grid-template-columns: 1fr; }
    .co-cab { display: none; }
    .em-form .fila-2 { grid-template-columns: 1fr; }
    .sv-cats { grid-template-columns: 1fr; }
    .tr-visual .ad-escena { height: 260px; }
}

/* =========================================================
   FOTOS Y VIDEO
   ========================================================= */
/* Fotos del slider de inicio */
.hero-slide:nth-child(1) { --img: url("../imagenes/camion-trasladarc.jpg"); }
.hero-slide:nth-child(2) { --img: url("../imagenes/trasladarc-trabajo-duro.jpg"); }
.hero-slide:nth-child(3) { --img: url("../imagenes/recortes/edificio.jpg"); }
.hero-slide { background:
    linear-gradient(100deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.56) 44%, rgba(0,0,0,0) 76%),
    var(--img) center / cover no-repeat, var(--teal-deep); }
/* en el inicio la linterna solo alumbra, sin oscurecer la foto */
.hero-slide .linterna-capa, .pagina-hero .linterna-capa, .stats .linterna-capa, .ventajas .linterna-capa, .cotizar .linterna-capa, .empresas-inner .linterna-capa { background: radial-gradient(circle var(--lr, 240px) at var(--lx, 50%) var(--ly, 50%), rgba(255,231,190,.16), transparent 70%); }

/* Encabezado de cada página: foto de fondo + imagen enmarcada */
/* la foto va en el HTML (background-image) y aquí su capa de color */
.pagina-hero[style], .pg-ayuda[style], .pg-regla.destacada[style], .lg-grande[style], .co-card-top[style], .pq-panel-visual[style], .ad-escena.con-foto { background-size: cover; background-position: center; background-repeat: no-repeat; background-color: var(--teal-deep); }
.pagina-hero[style] { --capa: linear-gradient(100deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.36) 42%, rgba(0,0,0,0) 72%); background-position: right center; }
.ph-foto { position: relative; margin: 0 0 0 auto; width: 100%; max-width: 540px; animation: ph-entra .8s .2s ease both; }
.ph-foto img { position: relative; display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.45); transform: rotate(-1.5deg); transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.ph-foto:hover img { transform: rotate(0) scale(1.03); }
.ph-aro { position: absolute; inset: -8px; border-radius: 28px; padding: 3px; transform: rotate(-1.5deg);
    background: conic-gradient(from var(--ang, 0deg), transparent 0 55%, var(--naranja) 80%, #ffd08a 90%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: vj-giro 5s linear infinite; }
.ph-sello { position: absolute; left: -22px; bottom: -22px; width: 74px; height: 74px; border-radius: 22px; display: grid; place-items: center; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); box-shadow: 0 16px 32px rgba(243,146,0,.5); animation: ph-flota 5s ease-in-out infinite; }

/* la foto del encabezado se ve limpia: sin puntos encima y el texto con sombra */
.pagina-hero[style]::before, .pagina-hero .linterna-rejilla { display: none; }
.pagina-hero[style] h1, .pagina-hero[style] .ph-texto p, .pagina-hero[style] .ph-migas > span, .pagina-hero[style] .ph-migas > strong { text-shadow: 0 2px 14px rgba(0,0,0,.6), 0 1px 3px rgba(0,0,0,.5); }
.pagina-hero[style] .ph-texto p { opacity: 1; width: fit-content; padding: 10px 16px; border-radius: 14px; background: rgba(0,0,0,.5); backdrop-filter: blur(5px); }
.pagina-hero[style] .ph-via { background: repeating-linear-gradient(90deg, rgba(255,255,255,.75) 0 26px, transparent 26px 50px); }

/* Fondos con foto en las secciones oscuras */
.stats { background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)), url("../imagenes/trasladarc-trabajo-duro.jpg") center / cover no-repeat; }
.ventajas { background: linear-gradient(rgba(0,0,0,.3), rgba(0,0,0,.38)), url("../imagenes/trasladarc-oficina2.jpg") center / cover no-repeat; }
.cotizar { background: linear-gradient(rgba(0,0,0,.28), rgba(0,0,0,.28)), url("../imagenes/camion-trasladarc.jpg") center / cover no-repeat; }
.empresas-inner { background: linear-gradient(100deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.6) 52%, rgba(0,0,0,.05) 100%), url("../imagenes/trasladarc-trabajo-duro.jpg") center / cover no-repeat; }
.pg-ayuda[style] { --capa: linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.68)); }
.pg-regla.destacada[style] { --capa: linear-gradient(rgba(0,0,0,.42), rgba(0,0,0,.62)); }
.lg-grande[style] { --capa: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.68)); }
.pq-panel-visual[style] { --capa: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.25)); }

/* Escenas animadas con foto: se quedan los íconos flotantes y el vehículo */
.ad-escena.con-foto { --capa: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.5) 100%); }
.ad-escena.con-foto::before, .ad-escena.con-foto .ad-sol, .ad-escena.con-foto .ad-principal { display: none; }
.ad-escena.con-foto .ad-f { background: rgba(6,47,49,.55); }

/* Tarjetas de servicios con foto */
.servicio { --pv: 36px; --ph: 32px; --cy: 226px; flex-wrap: wrap; }
.sv-foto { flex: 0 0 calc(100% + var(--ph) * 2); width: calc(100% + var(--ph) * 2); max-width: none; height: 170px; margin: calc(var(--pv) * -1) calc(var(--ph) * -1) 20px; object-fit: cover; transition: transform .6s ease; }
.servicio > div:not(.servicio-ico) { flex: 1 1 0; min-width: 0; }
.servicio:hover .sv-foto, .servicio.activa .sv-foto { transform: scale(1.06); }

/* Mosaico de logística */
.lg-foto { display: block; width: calc(100% + 64px); max-width: none; height: 150px; margin: -32px -32px 18px; object-fit: cover; transition: transform .6s ease; }
.lg-tile:hover .lg-foto { transform: scale(1.06); }

/* Cuadro de Nosotros con imagen */
.ns-main.ns-con-foto { padding: 0; background: var(--teal-deep); }
.ns-con-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.ns-visual:hover .ns-con-foto img { transform: scale(1.06); }
.ns-pie { position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 24px 22px; text-align: left; background: linear-gradient(transparent, rgba(6,47,49,.92)); }
.ns-pie strong, .ns-pie .ns-sub { display: block; }

/* Galería de instalaciones */
.galeria { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: 210px; gap: 16px; margin-top: 40px; }
.galeria figure { position: relative; margin: 0; overflow: hidden; border-radius: 20px; box-shadow: var(--sombra); }
.galeria figure:first-child { grid-row: span 2; }
.galeria figure:last-child { grid-column: span 2; }
.galeria img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.galeria figcaption { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 50px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(6,47,49,.82); backdrop-filter: blur(4px); transition: background .3s, transform .3s; }
.galeria figcaption i { color: var(--naranja); transition: color .3s; }
.galeria figure:hover img { transform: scale(1.08); }
.galeria figure:hover figcaption { background: var(--naranja); transform: translateY(-4px); }
.galeria figure:hover figcaption i { color: #fff; }

/* Sección del video */
.vid-sec { position: relative; overflow: hidden; color: #fff; background: radial-gradient(circle at 78% 30%, var(--teal-2), transparent 50%), linear-gradient(120deg, var(--teal-deep), #0a4a4d); }
.vid-sec::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.5px); background-size: 24px 24px; pointer-events: none; }
.vid-grid { position: relative; display: grid; grid-template-columns: 1fr 1.6fr; gap: 60px; align-items: center; }
.vid-txt h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.12; margin: 14px 0 14px; }
.vid-txt h2 span { color: var(--naranja); }
.vid-txt > p { font-size: 17px; opacity: .85; margin-bottom: 20px; }
.vid-datos { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.vid-datos li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 50px; font-size: 13.5px; font-weight: 500; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.vid-datos i { color: var(--naranja); }
.vid-marco { position: relative; }
.vid-resplandor { position: absolute; inset: -30px; border-radius: 50px; background: radial-gradient(circle, rgba(243,146,0,.3), transparent 68%); animation: ad-sol 5s ease-in-out infinite; }
.vid-pantalla { position: relative; overflow: hidden; aspect-ratio: 854 / 480; border-radius: 24px; background: #000; border: 3px solid rgba(255,255,255,.14); box-shadow: 0 40px 80px rgba(0,0,0,.45); isolation: isolate; }
.vid-pantalla::before { content: ''; position: absolute; z-index: 2; inset: -3px; border-radius: 24px; padding: 3px; pointer-events: none;
    background: conic-gradient(from var(--ang, 0deg), transparent 0 60%, var(--naranja) 82%, #ffd08a 90%, transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    animation: vj-giro 4s linear infinite; }
.vid-pantalla video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.vid-play { position: absolute; z-index: 3; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px; border-radius: 50%; font-size: 30px; color: #fff; background: var(--naranja); box-shadow: 0 16px 34px rgba(243,146,0,.55); transition: transform .35s cubic-bezier(.3,1.6,.5,1), opacity .3s, visibility .3s; }
.vid-play::after { content: ''; position: absolute; inset: 0; border-radius: 50%; animation: vid-onda 2s ease-out infinite; }
.vid-play:hover { transform: scale(1.12); }
.vid-pantalla.reproduciendo .vid-play { opacity: 0; visibility: hidden; }
.vid-sonido { position: absolute; z-index: 3; right: 14px; top: 14px; display: none; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 50px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(6,47,49,.85); transition: background .3s; animation: wa-rebote 2.4s ease-in-out infinite; }
.vid-sonido:hover { background: var(--naranja); }
.vid-pantalla.sin-sonido .vid-sonido { display: inline-flex; }
.vid-barra { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: 5px; background: rgba(255,255,255,.2); }
.vid-barra span { display: block; height: 100%; width: 0; background: var(--naranja); }
.vid-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 50px; font-size: 13.5px; font-weight: 600; color: var(--teal-deep); background: #fff; box-shadow: var(--sombra-2); animation: flotar 6s ease-in-out infinite; }
.vid-chip i { color: var(--naranja); }
.vid-chip.c1 { left: -18px; bottom: 34px; }
.vid-chip.c1 i { font-size: 9px; color: #25d366; }
.vid-chip.c2 { right: -14px; bottom: 30px; animation-delay: -3s; }
@keyframes vid-onda { 0% { box-shadow: 0 0 0 0 rgba(243,146,0,.6); } 100% { box-shadow: 0 0 0 30px rgba(243,146,0,0); } }

@media (max-width: 1024px) {
    .vid-grid { grid-template-columns: 1fr; gap: 40px; }
    .ph-foto { margin: 12px 0 0; }
    .galeria { grid-template-columns: 1fr 1fr; }
    .galeria figure:first-child { grid-row: auto; grid-column: span 2; }
}
@media (max-width: 768px) {
    .servicio { --pv: 28px; --ph: 22px; --cy: 218px; }
    .vid-play { width: 72px; height: 72px; margin: -36px; font-size: 24px; }
    .vid-chip.c1 { left: 8px; bottom: -16px; }
    .vid-chip.c2 { right: 8px; top: -16px; bottom: auto; }
    .galeria { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .galeria figure:first-child, .galeria figure:last-child { grid-column: auto; }
    .ph-sello { left: -8px; bottom: -14px; width: 60px; height: 60px; font-size: 22px; }
}

/* =========================================================
   COTIZADOR (cotizar.html)
   ========================================================= */
.cz { background: var(--fondo); padding: 70px 0 90px; position: relative; }
.cz [hidden] { display: none !important; }
.cz-grid { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 30px; align-items: start; }
.cz-bloque { padding: 28px 30px; margin-bottom: 18px; border-radius: 24px; background: #fff; box-shadow: var(--sombra); }
.cz-bloque h2 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-size: 21px; color: var(--teal-deep); }
.cz-bloque h2 b { font-weight: inherit; }
.cz-bloque h2 > span { flex-shrink: 0; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--teal), var(--teal-deep)); }

/* Tipo de envío */
.cz-tipos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cz-tipo input, .cz-extra input { position: absolute; opacity: 0; pointer-events: none; }
.cz-tipo > span { display: flex; flex-direction: column; align-items: center; gap: 4px; height: 100%; padding: 18px 8px; text-align: center; cursor: pointer; border-radius: 18px; border: 2px solid var(--borde); transition: border-color .25s, background .25s, transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .25s; }
.cz-tipo i { width: 52px; height: 52px; margin-bottom: 6px; border-radius: 16px; display: grid; place-items: center; font-size: 22px; color: var(--teal); background: var(--teal-claro); transition: background .25s, color .25s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.cz-tipo strong { color: var(--teal-deep); font-size: 15.5px; }
.cz-tipo small { color: var(--gris); font-size: 12.5px; line-height: 1.3; }
.cz-tipo:hover > span { transform: translateY(-3px); border-color: var(--teal-2); }
.cz-tipo input:checked + span { border-color: var(--teal); background: #f2faf9; box-shadow: 0 12px 26px rgba(14,106,108,.14); }
.cz-tipo input:checked + span i { color: #fff; background: var(--naranja); transform: rotate(-6deg); }
.cz-tipo input:focus-visible + span, .cz-extra input:focus-visible + span { outline: 3px solid rgba(243,146,0,.5); outline-offset: 2px; }

/* Ciudades */
.cz-ruta { display: grid; grid-template-columns: 1fr 46px 1fr; gap: 12px; align-items: end; }
.cz-ciudad { position: relative; min-width: 0; }
.cz-ciudad label { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.cz-ciudad label i { color: var(--naranja); }
.cz-ciudad input { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--borde); outline: none; background: #fff; transition: border .25s, box-shadow .25s; }
.cz-ciudad input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,106,108,.1); }
.cz-opciones { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; display: none; overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 20px 44px rgba(6,47,49,.2); }
.cz-opciones.abierta { display: block; }
.cz-opciones li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; font-size: 14.5px; color: var(--teal-deep); cursor: pointer; }
.cz-opciones li i { color: var(--teal); width: 16px; text-align: center; }
.cz-opciones li small { margin-left: auto; color: var(--gris); font-size: 12px; }
.cz-opciones li:hover, .cz-opciones li.marcada { background: var(--teal-claro); }
.cz-opciones .cz-sin { color: var(--gris); cursor: default; }
.cz-cambiar { width: 46px; height: 46px; border-radius: 50%; color: var(--teal); background: var(--teal-claro); transition: background .25s, color .25s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.cz-cambiar:hover { color: #fff; background: var(--teal); }
.cz-cambiar.girado { transform: rotate(180deg); }
.cz-aviso { margin-top: 12px; padding: 11px 14px; border-radius: 12px; font-size: 14px; color: #9a5b00; background: #fff4e3; }
.cz-aviso a { font-weight: 600; text-decoration: underline; }

/* Paquetes */
.cz-paquete { position: relative; display: grid; grid-template-columns: 30px repeat(5, minmax(0, 1fr)); gap: 10px; align-items: end; padding: 14px; margin-bottom: 10px; border-radius: 16px; border: 1.5px solid var(--borde); transition: border-color .25s, background .25s; }
.cz-paquete.activo { border-color: var(--teal); background: #f7fcfb; }
.cz-num { align-self: center; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; color: #fff; background: var(--teal); }
.cz-paquete label > span { display: block; margin-bottom: 5px; font-size: 12.5px; font-weight: 600; color: var(--teal-deep); }
.cz-paquete label > div { position: relative; }
.cz-paquete input { width: 100%; padding: 11px 32px 11px 11px; border-radius: 11px; border: 1.5px solid var(--borde); outline: none; background: #fff; -moz-appearance: textfield; transition: border .25s, box-shadow .25s; }
.cz-paquete input::-webkit-outer-spin-button, .cz-paquete input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cz-paquete input:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14,106,108,.1); }
.cz-paquete em { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); font-size: 11px; font-style: normal; color: var(--gris); pointer-events: none; }
.cz-quitar { position: absolute; top: -9px; right: -9px; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; color: #fff; background: #d64545; transition: transform .25s; }
.cz-quitar:hover { transform: scale(1.15); }
.cz-agregar { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 600; color: var(--teal-2); transition: color .25s; }
.cz-agregar:hover { color: var(--naranja); }
.cz-referencias { margin-top: 22px; padding-top: 20px; border-top: 1px dashed var(--borde); }
.cz-referencias h3 { font-size: 17px; color: var(--teal-deep); }
.cz-referencias p { margin: 2px 0 14px; font-size: 14px; color: var(--gris); }
.cz-cajas { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.cz-ref { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 10px 6px 12px; text-align: center; border-radius: 16px; background: #fff; border: 1.5px solid var(--borde); transition: border-color .25s, transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .25s; }
.cz-ref-escena { display: grid; place-items: center; width: 100%; height: 92px; perspective: 500px; }
.cz-ref strong { font-size: 12.5px; line-height: 1.2; color: var(--teal-deep); }
.cz-ref small { font-size: 11px; color: var(--gris); }
.cz-ref em { font-size: 11px; font-style: normal; font-weight: 600; color: var(--naranja-dark); }
.cz-ref:hover { transform: translateY(-4px); border-color: var(--teal-2); box-shadow: 0 12px 24px rgba(6,47,49,.1); }
.cz-ref:hover .caja3d { transform: rotateX(-24deg) rotateY(-12deg); }
.cz-ref.activa { border-color: var(--naranja); box-shadow: 0 12px 24px rgba(243,146,0,.2); }
.cz-doc { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 16px; background: var(--teal-claro); color: var(--teal-deep); }
.cz-doc > i { font-size: 26px; color: var(--teal); }
.cz-doc strong, .cz-doc span { display: block; }
.cz-doc span { font-size: 14px; color: var(--gris); }
.cz-doc label { margin-left: auto; display: flex; align-items: center; gap: 8px; font-weight: 600; }
.cz-doc input { width: 76px; padding: 10px; border-radius: 11px; border: 1.5px solid var(--borde); outline: none; }
.cz-mudanza label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--teal-deep); }
.cz-mudanza textarea { width: 100%; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--borde); outline: none; resize: vertical; }
.cz-mudanza textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,106,108,.1); }
.cz-valor { display: grid; grid-template-columns: 1fr 240px; gap: 16px; align-items: center; margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--borde); }
.cz-valor label { font-weight: 600; color: var(--teal-deep); }
.cz-valor small { display: block; font-size: 13px; font-weight: 400; color: var(--gris); }
.cz-moneda { display: flex; align-items: center; gap: 8px; padding: 0 14px; border-radius: 14px; border: 1.5px solid var(--borde); transition: border .25s, box-shadow .25s; }
.cz-moneda:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14,106,108,.1); }
.cz-moneda span { flex-shrink: 0; font-size: 13.5px; font-weight: 600; color: var(--gris); }
.cz-moneda input { flex: 1; min-width: 0; padding: 13px 0; border: none; outline: none; background: none; text-align: right; font-weight: 600; }

/* Opciones */
.cz-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cz-extra > span { display: flex; align-items: center; gap: 10px; padding: 13px 15px; cursor: pointer; font-size: 14.5px; font-weight: 500; color: var(--teal-deep); border-radius: 14px; border: 1.5px solid var(--borde); transition: border-color .25s, background .25s; }
.cz-extra i { width: 20px; text-align: center; color: var(--teal); }
.cz-extra > span::after { content: ''; margin-left: auto; width: 20px; height: 20px; border-radius: 6px; border: 2px solid var(--borde); transition: background .2s, border-color .2s; }
.cz-extra input:checked + span { border-color: var(--teal); background: #f2faf9; }
.cz-extra input:checked + span::after { border-color: var(--naranja); background: var(--naranja) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' d='M3 8.5l3.2 3L13 4.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.cz-cobro { margin-top: 12px; }
.cz-datos { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }

/* Resumen */
.cz-resumen { position: sticky; top: 112px; padding: 24px; border-radius: 26px; color: #fff; background: radial-gradient(circle at 90% 0%, var(--teal-2), transparent 55%), linear-gradient(160deg, var(--teal), var(--teal-deep)); box-shadow: 0 30px 60px rgba(6,47,49,.28); }
.cz-res-top { display: flex; justify-content: space-between; align-items: center; font-size: 19px; }
.cz-res-top span { font-size: 14px; font-weight: 700; color: #ffd08a; }
.cz-progreso { height: 6px; margin: 10px 0 8px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,.16); }
.cz-progreso span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, #ffd08a, var(--naranja)); transition: width .5s ease; }
.cz-escena { position: relative; height: 250px; padding-bottom: 26px; display: grid; place-items: center; perspective: 900px; }
.cz-giro { transform-style: preserve-3d; animation: cz-mece 7s ease-in-out infinite; }
.cz-giro.salta { animation: cz-salta .7s cubic-bezier(.3,1.5,.5,1), cz-mece 7s ease-in-out .7s infinite; }
.cz-escena { cursor: grab; touch-action: none; user-select: none; }
.cz-escena.sobre { cursor: default; }
.cz-escena.agarrada { cursor: grabbing; }
.cz-giro.arrastrando { animation: none; transform: scale(var(--zoom, 1)); transition: transform .25s ease; }
.cz-giro.volviendo { transition: transform .9s ease; }
.cz-zoom { position: absolute; z-index: 3; right: 0; bottom: 40px; display: flex; flex-direction: column; gap: 6px; }
.cz-zoom button { width: 36px; height: 36px; border-radius: 12px; font-size: 13px; color: #fff; background: rgba(255,255,255,.16); transition: background .25s, transform .25s; }
.cz-zoom button:hover { background: var(--naranja); transform: scale(1.1); }
.cz-escena.sobre .cz-zoom { display: none; }
.cz-giro.arrastrando .caja3d { transition: none; }
.cz-giro.volviendo .caja3d { transition: transform .95s cubic-bezier(.3,1.25,.5,1); }
.cz-pista { position: absolute; left: 0; top: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 50px; font-size: 12px; font-weight: 600; background: rgba(255,255,255,.14); opacity: .85; pointer-events: none; transition: opacity .3s; }
.cz-pista i { color: #ffd08a; animation: cz-mano 2.4s ease-in-out infinite; }
.cz-escena.agarrada .cz-pista, .cz-escena.sobre .cz-pista { opacity: 0; }
@keyframes cz-mano { 0%, 100% { transform: translateX(-2px); } 50% { transform: translateX(3px); } }
.cz-sombra { position: absolute; left: 50%; bottom: 30px; width: 190px; height: 24px; margin-left: -95px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.4), transparent 70%); }
.cz-etq { position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%); padding: 5px 13px; border-radius: 50px; white-space: nowrap; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.14); }
.cz-cantidad { position: absolute; top: 8px; right: 0; padding: 5px 11px; border-radius: 50px; font-size: 12.5px; font-weight: 700; background: var(--naranja); }
@keyframes cz-mece { 0%, 100% { transform: rotateY(0); } 25% { transform: rotateY(12deg); } 75% { transform: rotateY(-12deg); } }
@keyframes cz-salta { 0% { transform: translateY(-34px) scale(.9); } 60% { transform: translateY(4px); } 100% { transform: none; } }

/* Caja de cartón con cinta y etiqueta */
.caja3d { --w: 120px; --h: 90px; --d: 90px; position: relative; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-36deg); transition: transform .5s ease; }
.cara { position: absolute; left: 0; top: 0; display: grid; place-items: center; overflow: hidden; backface-visibility: hidden; box-shadow: inset 0 0 0 1px rgba(90,55,20,.28); transition: width .5s ease, height .5s ease, margin .5s ease, transform .5s ease; }
.cara.frente, .cara.atras { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); background: linear-gradient(135deg, #d8ad78, #c4935a); }
.cara.der, .cara.izq { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); background: linear-gradient(135deg, #bb8850, #a87542); }
.cara.tapa, .cara.base { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); background: linear-gradient(135deg, #e6c394, #d6aa74); }
.cara.frente { transform: translateZ(calc(var(--d) / 2)); }
.cara.atras { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.cara.der { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.cara.izq { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.cara.tapa { transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }
.cara.base { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
/* cinta teal que cruza la caja */
.cara.tapa::after, .cara.frente::after { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 16%; transform: translateX(-50%); background: rgba(14,106,108,.82); }
.cara.frente::after { bottom: auto; height: 22%; }
.cara.frente img { position: relative; z-index: 1; width: 58%; max-height: 42%; margin-top: 12%; object-fit: contain; padding: 3px 5px; border-radius: 3px; background: rgba(255,255,255,.9); }
.cara.frente i { position: absolute; right: 7%; bottom: 8%; font-size: 12px; color: rgba(70,40,10,.55); }
.cz-ref .cara.frente img { display: none; }
.cz-ref .cara.frente i { display: none; }
/* Sobre de documentos: solapa, sello y carta que sale */
.cz-sobre { position: relative; display: none; width: 236px; height: 152px; filter: drop-shadow(0 16px 20px rgba(0,0,0,.32)); animation: cs-flota 5s ease-in-out infinite; }
.cz-escena.sobre .cz-giro { display: none; }
.cz-escena.sobre .cz-sobre { display: block; }
.cs-atras, .cs-otro { position: absolute; inset: 0; border-radius: 8px; }
.cs-atras { background: linear-gradient(180deg, #0a4a4d, #0e6a6c); }
.cs-otro { display: none; background: linear-gradient(160deg, #efe6d4, #dccfb6); box-shadow: inset 0 0 0 1px rgba(90,70,40,.14); }
.cs-otro.o1 { transform: rotate(-5deg) translate(-7px, 5px); }
.cs-otro.o2 { transform: rotate(4deg) translate(8px, 7px); }
.cz-sobre.varios .cs-otro { display: block; }
.cs-carta { position: absolute; z-index: 2; left: 16px; right: 16px; top: 10px; height: 128px; padding: 12px 14px; border-radius: 4px; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.2); animation: cs-carta 8s ease-in-out infinite; transition: transform .6s cubic-bezier(.3,1.3,.5,1); }
.cs-carta img { display: block; width: 88px; margin-bottom: 8px; }
.cs-carta i { display: block; height: 5px; margin-bottom: 6px; border-radius: 3px; background: #dde6e6; }
.cs-carta i:nth-of-type(2) { width: 84%; }
.cs-carta i:nth-of-type(3) { width: 62%; }
.cs-bolsillo { position: absolute; z-index: 3; inset: 0; border-radius: 8px; overflow: hidden; clip-path: polygon(0 0, 50% 56%, 100% 0, 100% 100%, 0 100%); background: linear-gradient(115deg, rgba(0,0,0,.06) 0 49.8%, transparent 50%), linear-gradient(245deg, rgba(0,0,0,.09) 0 49.8%, transparent 50%), linear-gradient(180deg, #f8f2e6, #eadfc9); }
/* franja de correo en el borde inferior */
.cs-bolsillo::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: repeating-linear-gradient(115deg, var(--teal) 0 14px, #f8f2e6 14px 22px, var(--naranja) 22px 36px, #f8f2e6 36px 44px); }
.cs-texto { position: absolute; z-index: 4; left: 0; right: 0; bottom: 18px; text-align: center; font-size: 10.5px; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; color: var(--teal); }
.cs-solapa { position: absolute; z-index: 5; left: 0; right: 0; top: 0; height: 92px; transform-origin: top center; clip-path: polygon(0 0, 100% 0, 50% 100%); background: linear-gradient(180deg, #fffaf0, #e9dcc3); animation: cs-solapa 8s ease-in-out infinite; transition: transform .6s ease; }
.cs-sello { position: absolute; z-index: 6; left: 50%; top: 66px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #ffb547, var(--naranja) 55%, var(--naranja-dark)); box-shadow: 0 4px 10px rgba(0,0,0,.3), inset 0 0 0 3px rgba(255,255,255,.28); animation: cs-sello 8s ease-in-out infinite; transition: opacity .3s, transform .3s; }
.cs-sello img { width: 28px; }
.cz-escena.sobre:hover .cs-solapa { animation: none; transform: rotateX(180deg); z-index: 1; }
.cz-escena.sobre:hover .cs-carta { animation: none; transform: translateY(-46px); }
.cz-escena.sobre:hover .cs-sello { animation: none; opacity: 0; transform: scale(.6); }
@keyframes cs-flota { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }
@keyframes cs-solapa { 0%, 44% { transform: rotateX(0); z-index: 5; } 52% { transform: rotateX(180deg); z-index: 1; } 86% { transform: rotateX(180deg); z-index: 1; } 94%, 100% { transform: rotateX(0); z-index: 5; } }
@keyframes cs-carta { 0%, 52% { transform: translateY(0); } 62%, 78% { transform: translateY(-46px); } 88%, 100% { transform: translateY(0); } }
@keyframes cs-sello { 0%, 40% { opacity: 1; transform: scale(1); } 46%, 90% { opacity: 0; transform: scale(.6); } 96%, 100% { opacity: 1; transform: scale(1); } }

.cz-mini-ruta { display: grid; grid-template-columns: minmax(0, 1fr) 62px minmax(0, 1fr); gap: 6px; align-items: center; margin-top: 14px; padding: 12px; border-radius: 16px; background: rgba(255,255,255,.1); }
.cz-mini-ruta small { display: block; font-size: 11.5px; opacity: .75; }
.cz-mini-ruta strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14.5px; }
.cz-mini-ruta > div:last-child { text-align: right; }
.cz-linea { position: relative; height: 20px; }
.cz-linea span { position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255,255,255,.4); }
.cz-linea i { position: absolute; left: 0; top: 2px; font-size: 14px; color: var(--naranja); opacity: .45; }
.cz-mini-ruta.lista .cz-linea i { opacity: 1; animation: cz-camion 2.6s ease-in-out infinite; }
@keyframes cz-camion { 0% { left: 0; } 100% { left: calc(100% - 16px); } }
.cz-datos-res { margin: 12px 0 0; }
.cz-datos-res > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 2px; font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.12); }
.cz-datos-res dt { opacity: .8; white-space: nowrap; }
.cz-datos-res dt i { width: 18px; color: #ffd08a; }
.cz-datos-res dd { margin: 0; font-weight: 600; text-align: right; }
.cz-nota { margin-top: 12px; font-size: 13px; opacity: .85; }
.cz-nota i { color: #ffd08a; }
.cz-falta { min-height: 19px; margin: 10px 0 8px; font-size: 13px; color: #ffd08a; }
.cz-falta.ok { color: #8ff0c0; font-weight: 600; }
.cz-enviar { width: 100%; padding: 15px; border-radius: 50px; font-weight: 700; color: #fff; background: var(--naranja); box-shadow: 0 12px 26px rgba(243,146,0,.4); transition: transform .3s, background .3s, box-shadow .3s; }
.cz-enviar:not(:disabled):hover { transform: translateY(-3px); background: var(--naranja-dark); }
.cz-enviar:disabled { cursor: not-allowed; color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); box-shadow: none; }

@media (max-width: 1200px) {
    .cz-grid { grid-template-columns: minmax(0, 1fr) 340px; }
    .cz-cajas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .cz-grid { grid-template-columns: minmax(0, 1fr); }
    .cz-resumen { position: static; }
}
@media (max-width: 768px) {
    .cz { padding: 40px 0 70px; }
    .cz-bloque { padding: 22px 18px; }
    .cz-tipos, .cz-extras, .cz-datos { grid-template-columns: 1fr 1fr; }
    .cz-extras, .cz-datos { grid-template-columns: 1fr; }
    .cz-ruta { grid-template-columns: 1fr; }
    .cz-cambiar { justify-self: center; transform: rotate(90deg); }
    .cz-paquete { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cz-num { grid-column: 1 / -1; }
    .cz-cajas { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cz-valor { grid-template-columns: 1fr; }
    .cz-doc { flex-wrap: wrap; }
    .cz-doc label { margin-left: 0; }
}

/* Demostración: cómo se calcula una cotización */
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 34px; align-items: stretch; margin-bottom: 40px; padding: 30px; border-radius: 30px; color: #fff; background: radial-gradient(circle at 12% 0%, var(--teal-2), transparent 55%), linear-gradient(140deg, var(--teal), var(--teal-deep)); box-shadow: 0 30px 60px rgba(6,47,49,.25); }
.calc-panel { display: flex; flex-direction: column; min-width: 0; }
.calc-top { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 8px; }
.calc-paso { font-size: 20px; font-weight: 700; }
.calc-puntos { display: flex; gap: 6px; }
.calc-puntos i { width: 26px; height: 6px; border-radius: 6px; background: rgba(255,255,255,.2); transition: background .4s; }
.calc-puntos i.activo { background: var(--naranja); }
.calc-escenario { position: relative; flex: 1; min-height: 330px; overflow: hidden; border-radius: 22px; background: radial-gradient(rgba(255,255,255,.09) 1px, transparent 1.5px) 0 0 / 20px 20px, rgba(0,0,0,.14); }
.calc-esc { position: absolute; inset: 0; display: none; }
.calc-esc.activa { display: block; animation: calc-entra .4s ease; }
.calc-gran { position: absolute; left: 0; right: 0; bottom: 22px; text-align: center; font-size: 38px; font-weight: 800; color: #ffd08a; }
.calc-gran b { font-weight: inherit; }
@keyframes calc-entra { from { opacity: 0; } }

/* 1. Báscula */
.calc-bascula { position: absolute; left: 50%; bottom: 24px; width: 280px; margin-left: -140px; }
.cb-plato { display: block; height: 14px; margin: 0 18px; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #e8eeee, #aebdbd); }
.e-peso.activa .cb-plato { animation: cb-baja .5s .55s ease; }
.cb-cuerpo { display: block; padding: 12px; text-align: center; font-size: 28px; font-weight: 800; color: #8ff0c0; font-variant-numeric: tabular-nums; border-radius: 14px; background: #06282a; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.calc-caja-cae, .calc-caja-fija { position: absolute; left: 50%; perspective: 700px; }
.calc-caja-cae { bottom: 168px; }
.calc-caja-fija { top: 118px; }
.e-peso.activa .calc-caja-cae { animation: cb-cae .75s cubic-bezier(.5,0,.8,.6) both; }
.calc-esc .caja3d { transform: rotateX(-22deg) rotateY(-34deg); }
@keyframes cb-cae { 0% { transform: translateY(-220px); } 72% { transform: translateY(0); } 86% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes cb-baja { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(6px); } }

/* 2. Medidas */
.calc-cota { position: absolute; padding: 6px 12px; border-radius: 50px; font-size: 15px; font-weight: 700; color: var(--teal-deep); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.25); opacity: 0; }
.calc-cota small { font-size: 11px; font-weight: 600; color: var(--gris); }
.calc-cota.c1 { left: 17%; top: 26%; }
.calc-cota.c2 { right: 17%; top: 24%; }
.calc-cota.c3 { right: 20%; top: 50%; }
.e-medidas.activa .calc-cota { animation: calc-pop .5s cubic-bezier(.3,1.7,.5,1) both; }
.e-medidas.activa .calc-cota.c1 { animation-delay: .2s; }
.e-medidas.activa .calc-cota.c2 { animation-delay: .6s; }
.e-medidas.activa .calc-cota.c3 { animation-delay: 1s; }
@keyframes calc-pop { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }

/* 3. Ruta */
.calc-via { position: absolute; left: 7%; right: 7%; top: 130px; height: 60px; }
.cv-pin { position: absolute; top: -36px; display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 13px; font-weight: 600; }
.cv-pin i { font-size: 26px; color: var(--naranja); }
.cv-pin.p1 { left: -8px; }
.cv-pin.p2 { right: -2px; }
.cv-linea { position: absolute; left: 38px; right: 28px; top: 34px; height: 5px; border-radius: 5px; background: repeating-linear-gradient(90deg, rgba(255,255,255,.35) 0 14px, transparent 14px 24px); }
.cv-linea span { display: block; height: 100%; width: 0; border-radius: 5px; background: linear-gradient(90deg, #ffd08a, var(--naranja)); }
.cv-camion { position: absolute; left: 30px; top: 8px; font-size: 26px; color: #fff; }
.e-ruta.activa .cv-linea span { animation: cv-llena 2s .2s ease-in-out both; }
.e-ruta.activa .cv-camion { animation: cv-viaja 2s .2s ease-in-out both; }
@keyframes cv-llena { to { width: 100%; } }
@keyframes cv-viaja { to { left: calc(100% - 66px); } }

/* 4. Valor declarado */
.calc-escudo { position: absolute; left: 50%; top: 38px; width: 150px; height: 170px; margin-left: -75px; font-size: 150px; line-height: 170px; text-align: center; color: rgba(255,255,255,.14); }
.calc-escudo i { position: absolute; inset: 0; line-height: inherit; }
.cs-lleno { color: var(--naranja); clip-path: inset(100% 0 0 0); filter: drop-shadow(0 0 22px rgba(243,146,0,.5)); }
.e-valor.activa .cs-lleno { animation: cs-llena 1.5s .2s ease-out both; }
@keyframes cs-llena { to { clip-path: inset(0 0 0 0); } }

/* 5. Servicios extra */
.e-extras.activa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.calc-extra { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 50px; font-size: 17px; font-weight: 600; color: var(--teal-deep); background: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.25); opacity: 0; }
.calc-extra i { color: var(--naranja); }
.e-extras.activa .calc-extra { animation: calc-pop .5s cubic-bezier(.3,1.7,.5,1) both; }
.e-extras.activa .x1 { animation-delay: .15s; }
.e-extras.activa .x2 { animation-delay: .55s; }
.e-extras.activa .x3 { animation-delay: .95s; }

/* 6. Lista */
.e-listo.activa { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 20px; }
.e-listo strong { font-size: 30px; }
.e-listo > span:last-child { opacity: .85; }
.calc-check { width: 96px; height: 96px; margin-bottom: 10px; border-radius: 50%; display: grid; place-items: center; font-size: 42px; color: #fff; background: #1faa59; box-shadow: 0 0 0 12px rgba(31,170,89,.2); animation: calc-pop .6s cubic-bezier(.3,1.7,.5,1) both; }

/* Recibo */
.calc-recibo-zona { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.calc-recibo { position: relative; flex: 1; padding: 20px 20px 30px; color: var(--teal-deep); background: #fff; border-radius: 14px 14px 0 0; box-shadow: 0 18px 34px rgba(0,0,0,.25);
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x; }
.cr-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 2px dashed var(--borde); }
.cr-top img { width: 120px; }
.cr-top em { padding: 3px 9px; border-radius: 50px; font-size: 11px; font-style: normal; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--naranja-dark); background: #fff4e3; }
.calc-fila { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 14px; border-bottom: 1px solid var(--borde); opacity: .18; transition: opacity .35s, transform .35s; transform: translateX(-8px); }
.calc-fila span { color: var(--gris); }
.calc-fila strong { text-align: right; }
.calc-fila.lista { opacity: 1; transform: none; }
.cr-total { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; font-weight: 700; opacity: .18; transition: opacity .4s; }
.cr-total strong { font-size: 19px; color: var(--teal); }
.calc-recibo.sellado .cr-total { opacity: 1; }
.cr-sello { position: absolute; left: 34%; bottom: 20px; padding: 3px 12px; border-radius: 8px; border: 3px solid #1faa59; font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #1faa59; transform: rotate(-12deg) scale(2); opacity: 0; }
.calc-recibo.sellado .cr-sello { animation: cr-sella .4s .35s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes cr-sella { to { opacity: .9; transform: rotate(-12deg) scale(1); } }
.calc-cta { justify-content: center; }
/* tarjeta encendida por la demostración */
.info-card.activa { transform: translateY(-8px); box-shadow: 0 24px 46px rgba(6,47,49,.14); border-color: transparent; }
.info-card.activa::after { transform: scaleX(1); }
.info-card.activa .info-num { -webkit-text-stroke-color: var(--naranja); transform: scale(1.1); }
.info-card.activa .info-ico { background: var(--naranja); color: #fff; transform: rotate(-8deg) scale(1.08); }
@media (max-width: 1024px) {
    .calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 768px) {
    .calc { padding: 20px; }
    .calc-top { flex-direction: column; align-items: flex-start; }
    .calc-bascula { width: 230px; margin-left: -115px; }
    .calc-cota { font-size: 13px; padding: 5px 9px; }
    .calc-cota.c1 { left: 3%; }
    .calc-cota.c2, .calc-cota.c3 { right: 3%; }
    .cv-pin { font-size: 11.5px; }
    .calc-gran { font-size: 30px; }
}

.cz-ancho { grid-column: 1 / -1; }
.cz-datos select { appearance: auto; }
.pg-recogida { padding: 0 0 90px; }
.rc-pasos ul { grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) {
    .rc-pasos ul { grid-template-columns: 1fr; }
}

/* Consejos de empaque: la tarjeta se llena de teal desde abajo y cada ícono hace su acción */
.info-grid.tres .info-card { isolation: isolate; }
.info-grid.tres .info-card::before { content: ''; position: absolute; z-index: -1; left: 0; right: 0; bottom: 0; height: 0; background: linear-gradient(160deg, var(--teal-2), var(--teal) 45%, var(--teal-deep)); transition: height .55s cubic-bezier(.7,0,.25,1); }
.info-grid.tres .info-card h3, .info-grid.tres .info-card p { transition: color .35s .1s; }
.info-grid.tres .info-card::after { background: var(--naranja); transition: transform .3s; }
.info-grid.tres .info-card.activa::after { transition: transform var(--turno, 2.8s) linear; }
.info-grid.tres .info-card:hover::before, .info-grid.tres .info-card.activa::before { height: 100%; }
.info-grid.tres .info-card:hover h3, .info-grid.tres .info-card.activa h3 { color: #fff; }
.info-grid.tres .info-card:hover p, .info-grid.tres .info-card.activa p { color: rgba(255,255,255,.85); }
.info-grid.tres .info-card:hover .info-num, .info-grid.tres .info-card.activa .info-num { -webkit-text-stroke-color: rgba(255,255,255,.55); }
.info-grid.tres .info-card:hover .info-ico, .info-grid.tres .info-card.activa .info-ico { color: var(--naranja); background: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.25); }
.info-grid.tres .info-card:nth-child(1):hover .info-ico i, .info-grid.tres .info-card:nth-child(1).activa .info-ico i { animation: cj-lista 1s ease-in-out infinite; }
.info-grid.tres .info-card:nth-child(2):hover .info-ico i, .info-grid.tres .info-card:nth-child(2).activa .info-ico i { animation: cj-rebote .8s ease-in-out infinite; }
.info-grid.tres .info-card:nth-child(3):hover .info-ico i, .info-grid.tres .info-card:nth-child(3).activa .info-ico i { animation: cj-sella .9s ease-in-out infinite; }
.info-grid.tres .info-card:nth-child(4):hover .info-ico i, .info-grid.tres .info-card:nth-child(4).activa .info-ico i { transform-origin: 20% 20%; animation: cj-etiqueta .7s ease-in-out infinite; }
.info-grid.tres .info-card:nth-child(5):hover .info-ico i, .info-grid.tres .info-card:nth-child(5).activa .info-ico i { animation: cj-apila 1s ease-in-out infinite; }
.info-grid.tres .info-card:nth-child(6):hover .info-ico i, .info-grid.tres .info-card:nth-child(6).activa .info-ico i { animation: cj-hoja 1.2s ease-in-out infinite; }
@keyframes cj-lista { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.22) rotate(-6deg); } 60% { transform: scale(.94); } }
@keyframes cj-rebote { 0%, 100% { transform: translateY(0) scale(1, 1); } 45% { transform: translateY(-9px) scale(.95, 1.06); } 80% { transform: translateY(0) scale(1.1, .9); } }
@keyframes cj-sella { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px) rotate(4deg); } }
@keyframes cj-etiqueta { 0%, 100% { transform: rotate(-14deg); } 50% { transform: rotate(14deg); } }
@keyframes cj-apila { 0%, 100% { transform: translateY(0); } 35% { transform: translateY(-7px) rotate(-6deg); } 70% { transform: translateY(0) rotate(5deg); } }
@keyframes cj-hoja { 0%, 100% { transform: rotateY(0); } 50% { transform: rotateY(180deg); } }

/* sombra para el texto del slider sobre las fotos */
.hero-texto h1, .hero-texto p { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.pg-ayuda[style] li, .lg-grande[style] h2, .lg-grande[style] > p, .lg-grande[style] li, .pg-regla.destacada[style] h2, .pg-regla.destacada[style] > p, .pg-regla.destacada[style] li { text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* Escena de empaque: la caja se arma, se llena, se sella y se va en el camión */
.ep { --w: 170px; --h: 120px; --d: 120px; position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: stretch; margin-bottom: 44px; overflow: hidden; border-radius: 30px; color: #fff; background: linear-gradient(135deg, var(--teal-deep), var(--teal) 70%, var(--teal-2)); box-shadow: 0 30px 60px rgba(6,47,49,.28); }
.ep-escena { position: relative; height: 420px; overflow: hidden; perspective: 1000px; background: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.5px) 0 0 / 22px 22px; }
.ep-piso { position: absolute; left: 0; right: 0; bottom: 0; height: 74px; background: linear-gradient(180deg, rgba(0,0,0,.28), rgba(0,0,0,.12)); border-top: 2px solid rgba(255,255,255,.14); }
.ep-sombra { position: absolute; left: 50%; bottom: 44px; width: 260px; height: 30px; margin-left: -130px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.5), transparent 70%); opacity: 0; transition: opacity .4s; }

/* Caja */
.ep-rig { position: absolute; left: 50%; top: 62%; width: 0; height: 0; transform-style: preserve-3d; opacity: 0; transition: transform .7s cubic-bezier(.3,1.25,.5,1), opacity .3s; }
.ep-caja { position: absolute; width: 0; height: 0; transform-style: preserve-3d; transform: rotateX(-24deg) rotateY(-34deg); }
.ep-c { position: absolute; box-shadow: inset 0 0 0 1px rgba(90,55,20,.3); }
.ep-c.frente, .ep-c.atras { width: var(--w); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--w) / -2); background: linear-gradient(135deg, #dcb27c, #c4935a); }
.ep-c.der, .ep-c.izq { width: var(--d); height: var(--h); margin: calc(var(--h) / -2) 0 0 calc(var(--d) / -2); background: linear-gradient(135deg, #bb8850, #a87542); }
.ep-c.fondo { width: var(--w); height: var(--d); margin: calc(var(--d) / -2) 0 0 calc(var(--w) / -2); background: #7d5730; }
.ep-c.frente { transform: translateZ(calc(var(--d) / 2)); }
.ep-c.atras { transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.ep-c.der { transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.ep-c.izq { transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.ep-c.fondo { transform: rotateX(-90deg) translateZ(calc(var(--h) / 2)); }
.ep-solapa { position: absolute; left: calc(var(--w) / -2); top: calc(var(--h) / -2); width: var(--w); height: calc(var(--d) / 2); transform-origin: top center; background: linear-gradient(180deg, #e6c394, #d6aa74); box-shadow: inset 0 0 0 1px rgba(90,55,20,.28); }
.ep-solapa.s1 { transform: translateZ(calc(var(--d) / 2)) rotateX(-235deg); }
.ep-solapa.s2 { transform: translateZ(calc(var(--d) / -2)) rotateX(235deg); }
.ep-cinta { position: absolute; left: calc(var(--w) / -2 - 1px); top: calc(var(--h) / -2 - 15px); width: calc(var(--w) + 2px); height: 30px; opacity: 0; transform-origin: left center; transform: translateY(-2px) rotateX(90deg) scaleX(0); background: linear-gradient(180deg, rgba(14,106,108,.92), rgba(19,132,135,.92)); }
.ep-etiqueta { position: absolute; left: 16%; right: 16%; top: 20%; bottom: 20%; padding: 8px; border-radius: 5px; background: #fff; opacity: 0; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.ep-etiqueta img { display: block; width: 76%; margin: 0 auto 5px; }
.ep-etiqueta i { display: block; height: 4px; margin-bottom: 4px; border-radius: 2px; background: #cfdcdc; }
.ep-etiqueta i:last-child { width: 60%; background: var(--naranja); }
.ep-item { position: absolute; left: -24px; top: -24px; width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; font-size: 21px; color: var(--teal); background: #fff; opacity: 0; box-shadow: 0 6px 14px rgba(0,0,0,.25); }

/* Lista, caja de abajo, avisos y camión */
.ep-lista { position: absolute; left: 50%; top: 50%; width: 214px; margin: -142px 0 0 -107px; padding: 24px 20px 18px; border-radius: 14px; color: var(--teal-deep); background: #fff; box-shadow: 0 24px 44px rgba(0,0,0,.35); opacity: 0; transform: scale(.7) rotate(-6deg); transition: opacity .3s; }
.ep-lista::before { content: ''; position: absolute; left: 50%; top: -11px; width: 74px; height: 22px; margin-left: -37px; border-radius: 6px; background: var(--naranja); }
.ep-lista strong { display: block; margin-bottom: 10px; font-size: 15px; }
.ep-lista span { display: flex; align-items: center; gap: 9px; padding: 7px 0; font-size: 14px; border-top: 1px dashed var(--borde); }
.ep-lista b { flex-shrink: 0; width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 10px; color: transparent; border: 2px solid var(--borde); }
.ep-base { position: absolute; left: 50%; top: 73%; opacity: 0; transition: opacity .3s; perspective: none; transform-style: preserve-3d; }
.ep-base .caja3d { transform: rotateX(-24deg) rotateY(-34deg); }
.ep-chip { position: absolute; padding: 7px 13px; border-radius: 50px; font-size: 13.5px; font-weight: 700; color: var(--teal-deep); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.28); opacity: 0; }
.ep-chip i { color: var(--naranja); }
.ep-chip.k1 { left: 6%; top: 24%; }
.ep-chip.k2 { right: 6%; top: 62%; }
.ep-chip.k3 { left: 50%; top: 10%; transform: translateX(-50%); white-space: nowrap; }
.ep-camion { position: absolute; left: -240px; bottom: 44px; font-size: 138px; line-height: 1; color: #fff; filter: drop-shadow(0 12px 14px rgba(0,0,0,.35)); }
.ep-camion::after { content: ''; position: absolute; left: 8px; bottom: 46px; width: 92px; height: 14px; border-radius: 3px; background: var(--naranja); }

/* 1. Lista */
.ep.p1 .ep-lista { opacity: 1; animation: ep-lista .55s cubic-bezier(.3,1.5,.5,1) both; }
.ep.p1 .ep-lista b { animation: ep-marca .3s ease both; }
.ep.p1 .ep-lista span:nth-of-type(1) b { animation-delay: .7s; }
.ep.p1 .ep-lista span:nth-of-type(2) b { animation-delay: 1.3s; }
.ep.p1 .ep-lista span:nth-of-type(3) b { animation-delay: 1.9s; }
/* 2. Cae la caja abierta */
.ep:not(.p1):not(.p6) .ep-rig { opacity: 1; }
.ep:not(.p1):not(.p6) .ep-sombra { opacity: 1; }
.ep.p2 .ep-rig { animation: ep-cae .85s cubic-bezier(.45,0,.75,.6) both; }
/* 3. Objetos adentro, solapas y cinta */
.ep.p3 .ep-item { animation: ep-entra 1s ease-in both; }
.ep.p3 .ep-item.i2 { animation-delay: .3s; }
.ep.p3 .ep-item.i3 { animation-delay: .6s; }
.ep.p3 .ep-solapa.s1 { animation: ep-cierra1 .55s 1.65s ease-in-out both; }
.ep.p3 .ep-solapa.s2 { animation: ep-cierra2 .55s 1.9s ease-in-out both; }
.ep.p3 .ep-cinta { animation: ep-cinta .6s 2.55s ease-out both; }
/* desde el paso 4 la caja queda cerrada */
.ep.p4 .ep-solapa.s1, .ep.p5 .ep-solapa.s1, .ep.p6 .ep-solapa.s1 { transform: translateZ(calc(var(--d) / 2)) rotateX(-90deg); }
.ep.p4 .ep-solapa.s2, .ep.p5 .ep-solapa.s2, .ep.p6 .ep-solapa.s2 { transform: translateZ(calc(var(--d) / -2)) rotateX(90deg); }
.ep.p4 .ep-cinta, .ep.p5 .ep-cinta, .ep.p6 .ep-cinta { opacity: 1; transform: translateY(-2px) rotateX(90deg) scaleX(1); }
.ep.p5 .ep-etiqueta, .ep.p6 .ep-etiqueta { opacity: 1; }
/* 4. Etiqueta */
.ep.p4 .ep-etiqueta { animation: ep-pega .5s .35s cubic-bezier(.5,0,.3,1.3) both; }
.ep.p4 .ep-rig { animation: ep-golpe .35s .75s ease; }
/* 5. Lo pesado abajo */
.ep.p5 .ep-rig { transform: translateY(-84px) scale(.62); }
.ep.p5 .ep-base { opacity: 1; animation: ep-sube .6s cubic-bezier(.3,1.4,.5,1) both; }
.ep.p5 .ep-chip.k1 { animation: calc-pop .45s .55s cubic-bezier(.3,1.7,.5,1) both; }
.ep.p5 .ep-chip.k2 { animation: calc-pop .45s .9s cubic-bezier(.3,1.7,.5,1) both; }
/* 6. Se va en el camión */
.ep.p6 .ep-rig { opacity: 1; animation: ep-sube-camion 1.9s ease-in-out both; }
.ep.p6 .ep-camion { animation: ep-camion 3.6s ease-in-out both; }
.ep.p6 .ep-chip.k3 { animation: calc-pop .45s .3s cubic-bezier(.3,1.7,.5,1) both; }
@keyframes ep-lista { from { opacity: 0; transform: scale(.5) rotate(-14deg); } to { opacity: 1; transform: scale(1) rotate(-2deg); } }
@keyframes ep-marca { to { color: #fff; background: var(--teal); border-color: var(--teal); } }
@keyframes ep-cae { 0% { transform: translateY(-420px); } 68% { transform: translateY(0) scale(1, 1); } 80% { transform: translateY(5px) scale(1.05, .93); } 90% { transform: translateY(-14px); } 100% { transform: translateY(0); } }
@keyframes ep-entra { 0% { opacity: 1; transform: translateY(-300px) rotateY(34deg) rotate(-20deg); } 80% { opacity: 1; transform: translateY(-30px) rotateY(34deg) rotate(16deg); } 100% { opacity: 0; transform: translateY(20px) rotateY(34deg); } }
@keyframes ep-cierra1 { to { transform: translateZ(calc(var(--d) / 2)) rotateX(-90deg); } }
@keyframes ep-cierra2 { to { transform: translateZ(calc(var(--d) / -2)) rotateX(90deg); } }
@keyframes ep-cinta { from { opacity: 1; transform: translateY(-2px) rotateX(90deg) scaleX(0); } to { opacity: 1; transform: translateY(-2px) rotateX(90deg) scaleX(1); } }
@keyframes ep-pega { 0% { opacity: 0; transform: scale(3) rotate(-18deg); } 100% { opacity: 1; transform: scale(1) rotate(-2deg); } }
@keyframes ep-golpe { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(6px) rotate(1deg); } }
@keyframes ep-sube { from { transform: translateY(70px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes ep-sube-camion { 0%, 45% { transform: none; opacity: 1; } 100% { transform: translateX(-120px) translateY(10px) scale(.25); opacity: 0; } }
@keyframes ep-camion { 0% { left: -240px; } 30%, 58% { left: 12%; } 100% { left: 115%; } }

/* Texto del consejo */
.ep-info { display: flex; flex-direction: column; justify-content: center; padding: 34px 36px; background: rgba(0,0,0,.14); }
.ep-num { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #ffd08a; }
.ep-info h3 { margin: 10px 0 10px; font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; }
.ep-info p { min-height: 96px; font-size: 16.5px; line-height: 1.6; opacity: .88; }
.ep-info.cambia h3, .ep-info.cambia p { animation: ep-texto .5s ease both; }
.ep-info.cambia p { animation-delay: .08s; }
@keyframes ep-texto { from { opacity: 0; transform: translateX(16px); } }
.ep-puntos { display: flex; gap: 6px; margin-top: 22px; }
.ep-puntos i { flex: 1; height: 6px; overflow: hidden; border-radius: 6px; background: rgba(255,255,255,.2); transition: background .3s; }
.ep-puntos i.hecho { background: var(--naranja); }
@media (max-width: 1024px) {
    .ep { grid-template-columns: minmax(0, 1fr); }
    .ep-info p { min-height: 0; }
}
@media (max-width: 768px) {
    .ep { --w: 136px; --h: 96px; --d: 96px; }
    .ep-escena { height: 350px; }
    .ep-camion { font-size: 104px; }
    .ep-camion::after { width: 70px; bottom: 26px; }
    .ep-info { padding: 24px 20px; }
    .ep-chip { font-size: 12.5px; }
}

/* Artículos restringidos */
.pg-prohibidos li { position: relative; overflow: hidden; }
.pg-prohibidos li::after { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; border-radius: 2px; background: #d64545; transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.pg-prohibidos li.turno, .pg-prohibidos li:hover { background: #fbdcdc; transform: translateX(4px); }
.pg-prohibidos li.turno::after, .pg-prohibidos li:hover::after { transform: scaleX(1); }
.pg-prohibidos li.turno i, .pg-prohibidos li:hover i { animation: pg-niega .5s ease; }
.pg-regla-top i { animation: pg-late 2.6s ease-in-out infinite; }
@keyframes pg-niega { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-4px) rotate(-10deg); } 75% { transform: translateX(4px) rotate(10deg); } }
@keyframes pg-late { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } }
/* Valor declarado */
.pg-checks li { padding: 8px 10px; border-radius: 12px; transition: background .35s, transform .35s; }
.pg-checks li.turno, .pg-checks li:hover { background: rgba(0,0,0,.42); transform: translateX(6px); }
.pg-checks li.turno i, .pg-checks li:hover i { background: var(--naranja); color: #fff; animation: pg-late .6s ease; }

/* Paquetería: película del recorrido del paquete */
.tv { position: relative; overflow: hidden; border-radius: 30px; box-shadow: 0 30px 60px rgba(6,47,49,.25); background: #fff; }
.tv-marco { position: relative; height: calc(430px * var(--esc, 1)); overflow: hidden; background: linear-gradient(180deg, #4f9fd0 0%, #8cc7e4 40%, #cfe9ee 72%, #f4f0da 100%); }
.tv-lienzo { position: absolute; left: 0; top: 0; width: 1120px; height: 430px; transform: scale(var(--esc, 1)); transform-origin: left top; }
.tv-lienzo.funde { animation: tv-funde .6s ease both; }
.tv-sol { position: absolute; right: 120px; top: 8px; width: 210px; height: 210px; border-radius: 50%; background: radial-gradient(circle, #fff 0 11%, #fff6cf 16%, rgba(255,232,150,.5) 30%, rgba(255,232,150,0) 68%); }
.tv-nube { position: absolute; width: 330px; height: 142px; background: url("../imagenes/escena-nube.svg") center / contain no-repeat; animation: tv-nube 60s linear infinite alternate; }
.tv-nube.n1 { top: 10px; left: 37%; }
.tv-nube.n2 { top: 66px; left: 66%; width: 210px; height: 90px; opacity: .9; animation-duration: 84s; }
.tv-nube.n3 { top: 96px; left: 4%; width: 170px; height: 74px; opacity: .75; animation-duration: 72s; animation-direction: alternate-reverse; }
.tv-capa { position: absolute; left: 0; width: 3200px; background-repeat: repeat-x; background-position: left bottom; will-change: transform; transition: transform var(--t, 1.9s) var(--f, cubic-bezier(.6,0,.3,1)); }
.tv-montes { bottom: 104px; height: 250px; background-image: url("../imagenes/escena-cordillera.svg"); background-size: 1600px 250px; transform: translateX(calc(var(--x, 0px) * -.1)); }
.tv-arboles { bottom: 92px; height: 190px; background-image: url("../imagenes/escena-arboleda.svg"); background-size: 1400px 190px; transform: translateX(calc(var(--x, 0px) * -.42)); }
.tv-via { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; background: url("../imagenes/escena-asfalto.svg"), linear-gradient(180deg, #4b5154, #383e41 55%, #2e3336); }
.tv-via::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: linear-gradient(180deg, rgba(0,0,0,.36), transparent); }
.tv-via::after { content: ''; position: absolute; left: -80px; right: -80px; top: 42px; height: 5px; background: repeating-linear-gradient(90deg, #f6d27a 0 44px, transparent 44px 80px); }
.tv-borde { position: absolute; left: 0; right: 0; top: 10px; height: 3px; background: rgba(255,255,255,.72); }
.tv.moviendo .tv-via::after { animation: tv-raya .3s linear infinite; }

/* Mundo: se desplaza como una cámara */
.tv-mundo { position: absolute; left: 0; bottom: 96px; width: 3700px; height: 260px; will-change: transform; transform: translateX(calc(var(--x, 0px) * -1)); transition: transform var(--t, 1.9s) var(--f, cubic-bezier(.6,0,.3,1)); }
.tv-acera { position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.2) 0 2px, transparent 2px 72px), linear-gradient(180deg, #e0e0da 0 7px, #9ea39f 7px); }
.tv-casa { position: absolute; bottom: 0; width: 300px; height: 240px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.2)); }
.tv-casa svg, .tv-bodega svg, .tv-escaner svg, .tv-poste svg, .tv-senal svg { display: block; width: 100%; height: 100%; overflow: visible; }
.tv-bodega { position: absolute; left: 1060px; bottom: 0; width: 560px; height: 240px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.2)); }
.tv-escaner { position: absolute; left: 1265px; bottom: 0; width: 110px; height: 133px; opacity: 1; }
.tv-haz { position: absolute; left: 14px; right: 14px; top: 18px; height: 4px; opacity: 0; background: #4dff9e; box-shadow: 0 0 14px 5px rgba(77,255,158,.7); }
.tv.guia .tv-haz { animation: tv-escanea .7s ease-in-out 2 both; }
.tv-poste { position: absolute; bottom: 0; width: 90px; height: 240px; }
.tv-senal { position: absolute; bottom: 0; width: 190px; height: 170px; }

/* Personas articuladas */
.tv-gente { position: absolute; bottom: -7px; z-index: 2; width: 54px; height: 118px; opacity: 1; transition: opacity .25s; }
#tvMensajero { bottom: 89px; z-index: 3; }
.tv-gente.oculto { opacity: 0; }
.tv-gente.izq { transform: scaleX(-1); }
.tv-gente .rig { display: block; width: 100%; height: 100%; overflow: visible; }
.rig .pierna, .rig .canilla, .rig .torso, .rig .brazo, .rig .antebrazo { transform-box: view-box; transition: transform .28s ease; }
.rig .pierna { transform-origin: 60px 132px; }
.rig .canilla { transform-origin: 60px 194px; }
.rig .torso { transform-origin: 60px 132px; }
.rig .brazo { transform-origin: 60px 72px; }
.rig .antebrazo { transform-origin: 60px 106px; }
.rig .carga { opacity: 0; }
.tv-gente.carga .carga { opacity: 1; }
.tv-gente.carga .brazo { transform: rotate(-58deg); }
.tv-gente.carga .antebrazo { transform: rotate(-32deg); }
.tv-gente.agacha .torso { transform: rotate(38deg); }
.tv-gente.agacha .pierna.f { transform: rotate(-16deg); }
.tv-gente.agacha .pierna.f .canilla { transform: rotate(26deg); }
.tv-gente.agacha .pierna.t { transform: rotate(10deg); }
.tv-gente.agacha .pierna.t .canilla { transform: rotate(18deg); }
.tv-gente.agacha:not(.carga) .brazo { transform: rotate(-38deg); }
.tv-gente.camina .pierna.f { animation: tv-pierna .62s ease-in-out infinite; }
.tv-gente.camina .pierna.t { animation: tv-pierna .62s -.31s ease-in-out infinite; }
.tv-gente.camina .pierna.f .canilla { animation: tv-rodilla .62s ease-in-out infinite; }
.tv-gente.camina .pierna.t .canilla { animation: tv-rodilla .62s -.31s ease-in-out infinite; }
.tv-gente.camina:not(.carga) .brazo.f { animation: tv-pierna .62s -.31s ease-in-out infinite; }
.tv-gente.camina:not(.carga) .brazo.t { animation: tv-pierna .62s ease-in-out infinite; }
.tv-gente.camina .torso { animation: tv-paso .31s ease-in-out infinite alternate; }
.tv-gente.saluda .brazo.f { animation: tv-saluda .8s ease-in-out infinite alternate; }
.tv-gente.saluda .brazo.f .antebrazo { transform: rotate(-18deg); }

/* Vehículo */
.tv-camion { position: absolute; left: -470px; bottom: 10px; z-index: 4; width: 420px; transition: left 1.9s cubic-bezier(.6,0,.3,1); }
.tv.corte .tv-camion, .tv.corte .tv-mundo, .tv.corte .tv-capa { transition: none; }
.tv-camion svg { position: relative; display: block; width: 100%; height: auto; overflow: visible; }
.tv-camion .rueda { transform-box: fill-box; transform-origin: center; }
.tv-camion .carroceria { transform-box: fill-box; transform-origin: left bottom; }
.tv-camion .haz { opacity: .12; }
.tv.moviendo .tv-camion .rueda { animation: girar .35s linear infinite; }
.tv.moviendo .tv-camion .carroceria { animation: suspension .42s ease-in-out infinite alternate; }
.tv.p2 .tv-camion, .tv.p5 .tv-camion { left: 470px; }
.tv.p3 .tv-camion { left: 440px; }
.tv.p4 .tv-camion { left: 450px; }
.tv-sombra { position: absolute; left: 2%; right: 2%; bottom: -3px; height: 20px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.6), rgba(0,0,0,0) 72%); }
.tv-humo { position: absolute; left: -10px; bottom: 16px; }
.tv-humo i { position: absolute; width: 18px; height: 18px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(230,232,232,.7), rgba(230,232,232,0) 70%); }
.tv.moviendo .tv-humo i { animation: tv-humo 1s ease-out infinite; }
.tv.moviendo .tv-humo i:nth-child(2) { animation-delay: .33s; }
.tv.moviendo .tv-humo i:nth-child(3) { animation-delay: .66s; }

/* Paquete */
.tv-paquete { position: absolute; z-index: 3; left: 300px; bottom: 89px; width: 60px; height: 53px; opacity: 0; filter: drop-shadow(0 4px 3px rgba(0,0,0,.34)); }
.tv-paquete svg { display: block; width: 100%; height: 100%; }
.tv-paquete.ver { opacity: 1; }

/* Sellos sobre la escena */
.tv-sello { position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 50px; font-size: 15px; font-weight: 700; color: var(--teal-deep); background: #fff; box-shadow: 0 10px 22px rgba(0,0,0,.22); opacity: 0; }
.tv-sello i { color: #1faa59; }
.tv-sello.s-guia { left: 640px; top: 120px; }
.tv-sello.s-ok { left: 440px; top: 150px; font-size: 18px; color: #fff; background: #1faa59; }
.tv-sello.s-ok i { color: #fff; }
.tv.guia .s-guia { animation: calc-pop .45s .8s cubic-bezier(.3,1.7,.5,1) both; }
.tv.listo .s-ok { animation: calc-pop .5s cubic-bezier(.3,1.7,.5,1) both; }
.tv-confeti { position: absolute; z-index: 5; left: 330px; top: 230px; }
.tv-confeti i { position: absolute; width: 10px; height: 14px; border-radius: 2px; opacity: 0; background: var(--c); }
.tv.listo .tv-confeti i { animation: tv-confeti 1.5s ease-out both; }

/* Texto y paradas */
.tv-texto { position: absolute; z-index: 6; left: 26px; top: 20px; max-width: 460px; padding: 12px 20px; border-radius: 16px; color: #fff; background: rgba(6,47,49,.82); backdrop-filter: blur(4px); }
.tv-texto strong { display: block; font-size: 20px; }
.tv-texto span { font-size: 14.5px; opacity: .88; }
.tv-texto.cambia { animation: ep-texto .5s ease both; }
.tv-paradas { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(5, 1fr); padding: 16px 12px; background: #fff; }
.tv-paradas button { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px; font-size: 14.5px; font-weight: 700; color: var(--teal-deep); }
.tv-paradas button span { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 19px; color: var(--teal); background: var(--teal-claro); transition: background .35s, color .35s, transform .35s cubic-bezier(.3,1.7,.5,1), box-shadow .35s; }
.tv-paradas button::before { content: ''; position: absolute; top: 28px; left: -50%; width: 100%; height: 4px; background: var(--borde); z-index: -1; transition: background .4s; }
.tv-paradas button:first-child::before { display: none; }
.tv-paradas button.hecha span { color: #fff; background: var(--teal); }
.tv-paradas button.hecha::before { background: var(--teal); }
.tv-paradas button.actual span { color: #fff; background: var(--naranja); transform: scale(1.14); box-shadow: 0 0 0 7px rgba(243,146,0,.18); }
.tv-paradas button:hover span { transform: scale(1.1); }

@keyframes tv-funde { from { opacity: 0; } to { opacity: 1; } }
@keyframes tv-nube { from { transform: translateX(-30px); } to { transform: translateX(60px); } }
@keyframes tv-raya { to { transform: translateX(-80px); } }
@keyframes tv-pierna { 0%, 100% { transform: rotate(-24deg); } 50% { transform: rotate(24deg); } }
@keyframes tv-rodilla { 0%, 100% { transform: rotate(34deg); } 50% { transform: rotate(4deg); } }
@keyframes tv-paso { from { transform: translateY(0); } to { transform: translateY(-3px); } }
@keyframes tv-saluda { from { transform: rotate(-142deg); } to { transform: rotate(-168deg); } }
@keyframes tv-humo { 0% { opacity: .75; transform: translate(0, 0) scale(.5); } 100% { opacity: 0; transform: translate(-54px, -18px) scale(2.3); } }
@keyframes tv-escanea { 0% { top: 18px; opacity: 1; } 50% { top: 84px; opacity: 1; } 100% { top: 18px; opacity: 0; } }
@keyframes tv-confeti { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(420deg); } }
@media (max-width: 768px) {
    .tv-marco { height: calc(430px * var(--esc, 1) + 74px); }
    .tv-lienzo { top: 74px; }
    .tv-paradas button { font-size: 11.5px; }
    .tv-paradas button span { width: 38px; height: 38px; font-size: 15px; }
    .tv-paradas button::before { top: 22px; }
    .tv-texto { left: 10px; top: 8px; right: 10px; max-width: none; padding: 8px 12px; }
    .tv-texto strong { font-size: 15px; }
    .tv-texto span { font-size: 12px; }
}

/* Comercio: tarjetas con foto limpia, mini ruta y turno una por una */
.co-cards > * { min-width: 0; }
.co-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: var(--sombra); scroll-margin-top: 110px; transition: opacity .8s ease, transform .5s cubic-bezier(.3,1.4,.5,1), box-shadow .4s; }
.co-card::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .4s; }
.co-card-top { position: relative; height: 230px; overflow: hidden; background: var(--teal-deep); }
.co-foto { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.co-card-top::before { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-18deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.42), transparent); }
.co-card-top::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 70px; background: linear-gradient(transparent, rgba(0,0,0,.28)); }
.co-num { position: absolute; z-index: 2; top: 16px; right: 16px; padding: 5px 14px; border-radius: 50px; font-size: 14px; font-weight: 700; letter-spacing: 1px; color: #fff; background: rgba(6,47,49,.78); backdrop-filter: blur(4px); transition: background .35s; }
.co-barra { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 5px; transform: scaleX(0); transform-origin: left; background: var(--naranja); }
.co-cuerpo { position: relative; display: flex; flex: 1; flex-direction: column; padding: 44px 28px 28px; }
.co-ico { position: absolute; z-index: 2; left: 28px; top: -33px; width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; font-size: 26px; color: #fff; background: linear-gradient(135deg, var(--teal-2), var(--teal-deep)); box-shadow: 0 12px 24px rgba(6,47,49,.32), 0 0 0 5px #fff; transition: background .35s, transform .5s cubic-bezier(.3,1.7,.5,1); }
.co-card h3 { font-size: 22px; color: var(--teal-deep); margin-bottom: 8px; }
.co-cuerpo > p { color: var(--gris); }
.co-flujo { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding: 12px 14px; border-radius: 16px; background: var(--teal-claro); }
.co-flujo span { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 600; color: var(--teal-deep); }
.co-flujo span i { font-size: 17px; color: var(--teal); transition: color .3s; }
.co-flujo b { position: relative; flex: 1; height: 26px; }
.co-flujo b::before { content: ''; position: absolute; left: 0; right: 0; top: 12px; border-top: 3px dashed rgba(14,106,108,.35); }
.co-flujo b i { position: absolute; left: 0; top: 2px; font-size: 18px; color: var(--naranja); }
.co-card .pg-lista { flex: 1; align-content: start; }
.co-link { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 50px; font-weight: 600; color: var(--teal); box-shadow: inset 0 0 0 2px var(--teal); transition: background .3s, color .3s, box-shadow .3s; }
.co-link i { transition: transform .3s; }
.co-link:hover { color: #fff; background: var(--naranja); box-shadow: inset 0 0 0 2px var(--naranja); }
.co-link:hover i { transform: translateX(5px); }

/* Turno sin mouse y mouse encima comparten el mismo protagonismo */
.co-card.activa, .co-card:hover { transform: translateY(-12px); box-shadow: 0 30px 56px rgba(6,47,49,.2); }
.co-card.activa::after, .co-card:hover::after { box-shadow: inset 0 0 0 2px var(--naranja); }
.co-card.activa .co-foto, .co-card:hover .co-foto { transform: scale(1.1); }
.co-card.activa .co-card-top::before, .co-card:hover .co-card-top::before { animation: co-brillo 1.3s ease .2s both; }
.co-card.activa .co-ico, .co-card:hover .co-ico { background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); transform: translateY(-5px) rotate(-7deg); }
.co-card.activa .co-num, .co-card:hover .co-num { background: var(--naranja); }
.co-card.activa .co-barra { animation: co-barra var(--turno, 5000ms) linear both; }
.co-card.activa .co-flujo b i, .co-card:hover .co-flujo b i { animation: co-ruta 2.3s ease-in-out infinite; }
.co-card.activa .co-flujo span:last-child i, .co-card:hover .co-flujo span:last-child i { animation: co-llega 2.3s ease-in-out infinite; }
.co-card.activa .pg-lista li i, .co-card:hover .pg-lista li i { animation: co-check .5s cubic-bezier(.3,1.8,.5,1) calc(.25s + var(--k) * .22s) both; }
.co-card:hover .co-link { color: #fff; background: var(--teal); }
.co-card:hover .co-link:hover { background: var(--naranja); }
@keyframes co-brillo { from { left: -60%; } to { left: 130%; } }
@keyframes co-barra { to { transform: scaleX(1); } }
@keyframes co-ruta { 0% { left: 0; opacity: 0; } 10% { opacity: 1; } 82% { left: calc(100% - 24px); opacity: 1; } 100% { left: calc(100% - 24px); opacity: 0; } }
@keyframes co-llega { 0%, 74%, 100% { color: var(--teal); transform: none; } 84% { color: var(--naranja); transform: scale(1.35); } }
@keyframes co-check { from { transform: scale(0) rotate(-90deg); background: var(--naranja); } to { transform: none; background: var(--teal); } }

/* Comercio: isla logística en 3D */
.co-ciclo-sec { position: relative; overflow: hidden; background: radial-gradient(ellipse 60% 70% at 72% 52%, #137b7d 0%, rgba(14,106,108,.35) 55%, transparent 80%), linear-gradient(135deg, #052a2c, #073e40 55%, #052a2c); }
.co-ciclo-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 40px; align-items: center; }
.co-ciclo-grid > * { min-width: 0; }
.co-ciclo-txt h2 { font-size: clamp(28px, 3.4vw, 42px); color: #fff; margin: 12px 0 10px; }
.co-ciclo-txt > p { color: rgba(255,255,255,.78); font-size: 16.5px; }

.ci-pasos { display: grid; gap: 10px; margin-top: 22px; }
.ci-paso { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 16px; border-radius: 16px; text-align: left; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); transition: background .35s, transform .35s cubic-bezier(.3,1.5,.5,1), box-shadow .35s; }
.ci-paso > i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: #ffd08a; background: rgba(255,255,255,.1); transition: background .35s, color .35s, transform .4s cubic-bezier(.3,1.7,.5,1); }
.ci-paso strong { display: block; font-size: 15.5px; }
.ci-paso small { display: block; font-size: 13px; color: rgba(255,255,255,.72); }
.ci-paso.hecho > i { color: #fff; background: var(--teal-2); }
.ci-paso:hover { background: rgba(255,255,255,.13); }
.ci-paso.activo { transform: translateX(10px); background: rgba(243,146,0,.18); box-shadow: inset 0 0 0 2px var(--naranja), 0 12px 26px rgba(0,0,0,.28); }
.ci-paso.activo > i { color: #fff; background: var(--naranja); transform: scale(1.08) rotate(-6deg); }
.ci-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ci-chips li { display: flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 50px; font-size: 13px; color: rgba(255,255,255,.88); background: rgba(255,255,255,.08); }
.ci-chips i { color: var(--naranja); font-size: 11px; }

.ci-escena { position: relative; height: calc(760px * var(--esc, .8)); --rx: 56deg; --rz: 45deg; }
.ci-escena::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 3%; height: 11%; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.5), transparent 70%); animation: ci-sombra 6s ease-in-out infinite; }
.ci-camara { position: absolute; inset: 0; z-index: 1; perspective: 2400px; animation: ci-flota 6s ease-in-out infinite; }
.ci-mundo { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--esc, .8)) rotateX(var(--rx)) rotateZ(var(--rz)); }
.ci-g { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.ci-cara { position: absolute; left: 0; top: 0; display: flex; align-items: flex-end; justify-content: space-evenly; overflow: hidden; background: var(--c, #ccc); backface-visibility: hidden; }
.c-py { filter: brightness(.86); }
.c-ny, .c-nx { filter: brightness(.7); }
.c-top { filter: brightness(1.06); }
.ci-fig { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: var(--p) rotateZ(calc(var(--rz) * -1)) rotateX(calc(var(--rx) * -1)) scale(var(--s, 1)); }

/* Suelo y carretera */
.ci-suelo { --c: #6a4a2e; }
.ci-suelo > .c-top { --c: #5fae5a; background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.18), transparent 42%), repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 22px, transparent 22px 44px), #5fae5a; }
.ci-suelo > .c-py, .ci-suelo > .c-px { background: linear-gradient(#4f8f49 0 7px, #7a5636 7px 60%, #5a3e26); }
.ci-via { border: 46px solid #454c4e; border-radius: 73px; background: none; overflow: visible; box-sizing: border-box; box-shadow: 0 0 0 3px #d9dcd6, inset 0 0 0 3px #d9dcd6; }
.ci-via i { position: absolute; inset: -24px; border: 2px dashed rgba(255,255,255,.55); border-radius: 50px; }
.ci-ruta { background: none; overflow: visible; }
.ci-ruta svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ci-ruta path { fill: none; stroke: var(--naranja); stroke-width: 6; stroke-linecap: round; filter: drop-shadow(0 0 6px rgba(255,170,40,.95)); }

/* Edificios */
.ci-fabrica { --c: #c7d2d2; }
.ci-fabrica > .c-px, .ci-fabrica > .c-py, .ci-fabrica > .c-nx, .ci-fabrica > .c-ny { background: repeating-linear-gradient(90deg, #b6c3c3 0 3px, #dbe3e3 3px 8px); }
.ci-fabrica > .c-top { --c: #8aa0a1; }
.ci-tragaluz { position: absolute; inset: 14px 30px; background: repeating-linear-gradient(0deg, #a9dcea 0 12px, transparent 12px 28px); }
.ci-portón { position: relative; width: 42px; height: 42px; background: repeating-linear-gradient(0deg, #f39200 0 4px, #c97500 4px 6px); box-shadow: 0 0 0 3px #5a6767; }
.ci-ventanas { position: absolute; left: 12px; right: 12px; top: 14px; height: 18px; background: repeating-linear-gradient(90deg, #a9dcea 0 14px, transparent 14px 22px); }
.ci-chimenea { --c: #a6503a; }
.ci-chimenea > .c-py, .ci-chimenea > .c-px { background: repeating-linear-gradient(0deg, #b65a40 0 7px, #94432f 7px 9px); }
.ci-chimenea > .c-top { --c: #2c2c2c; }
.ci-tienda { --c: #fbe6b0; }
.ci-tienda > .c-top { --c: #8a6a4a; }
.ci-tienda > .c-py { filter: none; align-items: flex-end; }
.ci-tienda b { position: absolute; left: 50%; top: 2px; transform: translateX(-50%); font-size: 11px; color: var(--teal-deep); white-space: nowrap; }
.ci-vitrina { width: 40px; height: 24px; margin-bottom: 8px; border: 2px solid #5f3b1e; background: linear-gradient(135deg, #dff4fa, #6fb6cf); }
.ci-puerta { width: 20px; height: 32px; background: linear-gradient(90deg, #5f3b1e, #8a5a32); box-shadow: 0 0 0 2px #e6dccb; }
.ci-toldo { background: repeating-linear-gradient(90deg, #f39200 0 15px, #fff 15px 30px); overflow: visible; }
.ci-casa { --c: #fbf1dd; }
.ci-casa .ci-vitrina { width: 26px; height: 20px; }
.ci-teja { --c: #c3603a; background: repeating-linear-gradient(90deg, #cf6b42 0 7px, #a84f2c 7px 9px); backface-visibility: visible; }
.ci-gablete { --c: #fbf1dd; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.ci-punto { --c: #dfeaf0; }
.ci-punto > .c-top { --c: var(--naranja); }
.ci-punto > .c-py { filter: none; align-items: flex-end; }
.ci-punto > .c-py > i { align-self: center; font-size: 19px; color: var(--naranja-dark); }
.ci-bodega { --c: #f2f6f6; }
.ci-bodega > .c-top { --c: #fff; align-items: center; }
.ci-bodega > .c-px, .ci-bodega > .c-py { flex-direction: column; align-items: center; justify-content: space-between; background: linear-gradient(#0e6a6c 0 7px, #f2f6f6 7px); }
.ci-bodega img { display: block; width: 86px; max-width: none; margin-top: 9px; }
.ci-bodega > .c-top img { margin: 0 auto; }
.ci-bodega .ci-portón { width: 58px; height: 15px; background: repeating-linear-gradient(0deg, #0e6a6c 0 4px, #0a5052 4px 6px); }
.ci-onda { border-radius: 50%; background: none; overflow: visible; box-shadow: 0 0 0 3px rgba(255,208,138,.9); animation: ci-onda 3.6s ease-out infinite; }
.ci-onda.o2 { animation-delay: 1.8s; }
.ci-humo { --s: 1; }
.ci-humo i { position: absolute; left: -13px; top: -13px; width: 26px; height: 26px; border-radius: 50%; opacity: 0; background: radial-gradient(circle, rgba(255,255,255,.85), rgba(255,255,255,0) 70%); animation: ci-humo 3.3s ease-out infinite; }
.ci-humo i:nth-child(2) { animation-delay: 1.1s; }
.ci-humo i:nth-child(3) { animation-delay: 2.2s; }
.ci-arbol svg { position: absolute; left: -30px; bottom: 0; width: 60px; height: 84px; display: block; transform-origin: 50% 100%; animation: ci-viento 5s ease-in-out infinite alternate; }

/* Camión */
.ci-sombra { background: radial-gradient(ellipse, rgba(0,0,0,.45), transparent 70%); }
.ci-rueda { --c: #17191a; }
.ci-furgon { --c: #fff; }
.ci-furgon > .c-py, .ci-furgon > .c-ny { flex-direction: column; align-items: center; justify-content: center; gap: 3px; background: linear-gradient(#fff 0 70%, var(--teal) 70%); }
.ci-furgon b { font-size: 10.5px; font-style: italic; color: var(--teal-deep); }
.ci-furgon span { width: 44px; height: 2px; background: var(--naranja); }
.ci-furgon > .c-top { align-items: center; color: var(--teal); font-size: 15px; }
.ci-cabina { --c: #0e6a6c; }
.ci-parabrisas { position: absolute; left: 4px; right: 4px; top: 3px; height: 15px; border-radius: 3px; background: linear-gradient(135deg, #e3f6fb, #6fb6cf); }
.ci-cabina u { position: absolute; bottom: 4px; width: 6px; height: 4px; border-radius: 2px; background: #ffe9a8; box-shadow: 0 0 6px 2px rgba(255,233,168,.9); }
.ci-cabina u:nth-of-type(1) { left: 3px; }
.ci-cabina u:nth-of-type(2) { right: 3px; }
.ci-lateral { position: absolute; left: 11px; right: 3px; top: 3px; height: 13px; border-radius: 2px; background: linear-gradient(135deg, #e3f6fb, #6fb6cf); }

/* Paquete y llegada */
.ci-caja { --c: #d3aa74; opacity: 0; }
.ci-caja span { position: absolute; left: 50%; top: 0; bottom: 0; width: 5px; margin-left: -2.5px; background: rgba(14,106,108,.8); }
.ci-llegada { border-radius: 50%; background: none; overflow: visible; opacity: 0; }
.ci-llegada.pulso { animation: ci-llegada 1.1s ease-out; }

/* Etiquetas sobre cada punto */
.ci-tag em { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 50px; font-size: calc(13px / var(--esc, 1)); font-style: normal; font-weight: 700; white-space: nowrap; color: var(--teal-deep); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.3); transform: translateX(-50%); transition: background .3s, color .3s, transform .4s cubic-bezier(.3,1.7,.5,1); }
.ci-tag em::after { content: ''; position: absolute; left: 50%; bottom: -5px; width: 12px; height: 12px; margin-left: -6px; background: inherit; transform: rotate(45deg); }
.ci-tag em i { color: var(--teal); transition: color .3s; }
.ci-tag.central em { color: #fff; background: var(--teal); }
.ci-tag.central em i { color: #ffd08a; }
.ci-tag.activa em { color: #fff; background: var(--naranja); transform: translateX(-50%) translateY(-8px) scale(1.14); }
.ci-tag.activa em i { color: #fff; }

/* Estado del viaje */
.ci-estado { position: absolute; z-index: 2; left: 50%; bottom: 0; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 50px; font-size: 14.5px; font-weight: 600; white-space: nowrap; color: #fff; background: rgba(6,47,49,.86); box-shadow: 0 12px 26px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.14); transform: translateX(-50%); transition: background .35s; }
.ci-estado i { color: var(--naranja); }
.ci-estado .fa-circle-check { display: none; color: #fff; }
.ci-escena.hecho .ci-estado { background: #1faa59; }
.ci-escena.hecho .ci-estado .fa-truck { display: none; }
.ci-escena.hecho .ci-estado .fa-circle-check { display: inline-block; }

@keyframes ci-flota { 0%, 100% { transform: translateY(-6px); } 50% { transform: translateY(8px); } }
@keyframes ci-sombra { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.93); opacity: .75; } }
@keyframes ci-onda { 0% { transform: translate3d(-44px,-44px,1.5px) scale(.55); opacity: .9; } 100% { transform: translate3d(-44px,-44px,1.5px) scale(1.7); opacity: 0; } }
@keyframes ci-humo { 0% { opacity: .8; transform: translate(0, 0) scale(.5); } 100% { opacity: 0; transform: translate(26px, -74px) scale(2.3); } }
@keyframes ci-viento { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes ci-llegada { 0% { opacity: 1; box-shadow: 0 0 0 4px var(--naranja); scale: .3; } 100% { opacity: 0; box-shadow: 0 0 0 1px var(--naranja); scale: 1.5; } }

@media (max-width: 992px) {
    .co-ciclo-grid { grid-template-columns: minmax(0, 1fr); }
    .ci-paso.activo { transform: none; }
}
@media (max-width: 520px) {
    .ci-tag em span { display: none; }
    .ci-tag em { padding: calc(7px / var(--esc, 1)) calc(9px / var(--esc, 1)); }
    .ci-estado { font-size: 13px; padding: 8px 15px; }
}

/* Inicio: banner de destinos */
.destinos { position: relative; overflow: hidden; padding: 84px 0 0; color: #fff; background: radial-gradient(ellipse 50% 60% at 88% 10%, rgba(243,146,0,.28), transparent 70%), radial-gradient(ellipse 45% 60% at 5% 90%, rgba(79,209,197,.18), transparent 70%), linear-gradient(135deg, #052a2c, #0a4f51 55%, #062f31); }
.destinos::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(rgba(255,255,255,.12) 1.2px, transparent 1.4px) 0 0 / 26px 26px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%); }
.destinos::after { content: 'DESTINOS'; position: absolute; right: -20px; top: 18px; font-size: clamp(80px, 13vw, 190px); font-weight: 800; line-height: 1; letter-spacing: -4px; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.07); pointer-events: none; }
.dt-cab { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.dt-titulo h2 { margin: 14px 0 18px; font-size: clamp(30px, 4.2vw, 50px); line-height: 1.12; }
.dt-titulo h2 strong { color: var(--naranja); }
.dt-regiones { display: flex; flex-wrap: wrap; gap: 10px; }
.dt-region { display: inline-flex; align-items: center; gap: 9px; padding: 8px 8px 8px 14px; border-radius: 50px; font-size: 14px; font-weight: 600; color: #fff; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .3s, transform .3s; }
.dt-region i { width: 10px; height: 10px; border-radius: 50%; background: var(--rc); box-shadow: 0 0 0 4px color-mix(in srgb, var(--rc) 25%, transparent); }
.dt-region b { min-width: 28px; padding: 2px 8px; border-radius: 50px; text-align: center; font-size: 13px; color: var(--teal-deep); background: var(--rc); }
.dt-region:hover { transform: translateY(-3px); background: rgba(255,255,255,.16); }
.dt-acciones { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.dt-pregunta { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: rgba(255,255,255,.85); transition: color .3s; }
.dt-pregunta i { color: #25d366; font-size: 18px; }
.dt-pregunta:hover { color: #fff; }
.r-santander { --rc: #4fd1c5; } .r-norte { --rc: #8ecbff; } .r-bolivar { --rc: #ffd166; } .r-cesar { --rc: #ff9f80; }

.dt-filas { position: relative; z-index: 1; display: grid; gap: 16px; margin: 46px -20px 0; padding: 14px 0; transform: rotate(-2deg); }
.dt-fila { overflow: hidden; padding: 10px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.dt-pista { display: flex; width: max-content; animation: dt-corre 75s linear infinite; }
.dt-fila.inversa .dt-pista { animation-direction: reverse; animation-duration: 85s; }
.dt-fila:hover .dt-pista { animation-play-state: paused; }
.dt-ciudad { position: relative; flex-shrink: 0; display: flex; align-items: center; gap: 12px; margin-right: 14px; padding: 10px 22px 10px 10px; border-radius: 18px; color: #fff; background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); transition: background .3s, color .3s, transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .3s, opacity .3s; }
.dt-ciudad > i { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 17px; color: var(--teal-deep); background: var(--rc); transition: transform .4s cubic-bezier(.3,1.7,.5,1); }
.dt-ciudad b { display: block; font-size: 17px; white-space: nowrap; }
.dt-ciudad small { display: block; font-size: 12.5px; white-space: nowrap; color: rgba(255,255,255,.65); transition: color .3s; }
.dt-ciudad.hub { background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); box-shadow: 0 10px 24px rgba(243,146,0,.3); }
.dt-ciudad.hub > i { color: var(--naranja-dark); background: #fff; }
.dt-ciudad.hub small { color: rgba(255,255,255,.9); }
.dt-ciudad:hover { color: var(--teal-deep); background: #fff; transform: translateY(-8px) scale(1.05); box-shadow: 0 18px 34px rgba(0,0,0,.35); }
.dt-ciudad:hover small { color: var(--gris); }
.dt-ciudad:hover > i { transform: rotate(-10deg) scale(1.1); }
.dt-ciudad.ping { animation: dt-ping 1.8s ease-out; }
.dt-ciudad.ping > i { animation: dt-salto .7s cubic-bezier(.3,1.8,.5,1); }
.dt-filas.filtra .dt-ciudad { opacity: .18; }
.dt-filas.filtra[data-region="santander"] .r-santander, .dt-filas.filtra[data-region="norte"] .r-norte,
.dt-filas.filtra[data-region="bolivar"] .r-bolivar, .dt-filas.filtra[data-region="cesar"] .r-cesar { opacity: 1; box-shadow: inset 0 0 0 2px var(--rc), 0 0 22px color-mix(in srgb, var(--rc) 45%, transparent); }

.dt-via { position: relative; height: 96px; margin-top: 34px; background: linear-gradient(180deg, transparent 0 30px, #233236 30px); }
.dt-via::before { content: ''; position: absolute; left: 0; right: 0; top: 30px; height: 4px; background: rgba(255,255,255,.18); }
.dt-via::after { content: ''; position: absolute; left: -80px; right: -80px; top: 62px; height: 4px; background: repeating-linear-gradient(90deg, #f6d27a 0 40px, transparent 40px 76px); animation: dt-rayas 1.2s linear infinite; }
.dt-camion { position: absolute; z-index: 1; left: 0; bottom: 18px; width: 190px; animation: dt-camion 16s linear infinite; }
.dt-camion svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 8px 6px rgba(0,0,0,.4)); }
.dt-camion .rueda { transform-box: fill-box; transform-origin: center; animation: girar .4s linear infinite; }
.dt-camion .carroceria { transform-box: fill-box; transform-origin: left bottom; animation: suspension .42s ease-in-out infinite alternate; }
.dt-camion .haz { opacity: .3; }

@keyframes dt-corre { to { transform: translateX(-50%); } }
@keyframes dt-rayas { to { transform: translateX(76px); } }
@keyframes dt-camion { from { transform: translateX(-230px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes dt-ping { 0% { box-shadow: inset 0 0 0 2px var(--rc), 0 0 0 0 var(--rc); transform: translateY(-6px) scale(1.06); } 70% { box-shadow: inset 0 0 0 2px var(--rc), 0 0 0 16px transparent; } 100% { box-shadow: inset 0 0 0 1px rgba(255,255,255,.12), 0 0 0 0 transparent; transform: none; } }
@keyframes dt-salto { 0% { transform: scale(.6) rotate(-20deg); } 100% { transform: none; } }

/* Oficinas: tarjeta del asesor comercial */
.oficina-asesor { background: linear-gradient(135deg, var(--teal-claro), #fff); }
.asesor-lineas { display: grid; gap: 12px; margin-top: auto; }
.asesor-linea { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 12px 14px; border-radius: 16px; background: #fff; box-shadow: var(--sombra); }
.asesor-linea strong { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 18px; color: var(--teal-deep); white-space: nowrap; }
.asesor-linea strong i { color: var(--teal); }
.as-btn { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 50px; font-size: 14px; font-weight: 600; color: #fff; background: var(--naranja); transition: transform .25s, background .25s; }
.as-btn.wa { background: #25d366; }
.as-btn:hover { transform: translateY(-2px); background: var(--naranja-dark); }
.as-btn.wa:hover { background: #1da851; }

@media (max-width: 992px) {
    .oficina-asesor { grid-column: auto; }
    .dt-acciones { align-items: flex-start; }
}
@media (max-width: 600px) {
    .destinos { padding-top: 64px; }
    .dt-ciudad b { font-size: 15px; }
    .dt-ciudad > i { width: 36px; height: 36px; font-size: 15px; }
    .dt-camion { width: 140px; }
}

/* Hero: sello 24/7 fijo en todas las diapositivas */
.hero-247 { position: relative; display: flex; align-items: center; gap: 14px; margin-left: auto; padding: 10px 22px 10px 12px; border-radius: 22px; background: rgba(6,47,49,.62); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 1.5px rgba(243,146,0,.55), 0 16px 34px rgba(0,0,0,.35); animation: h247-brillo 3s ease-in-out infinite; }
.hero-247::before { content: ''; position: absolute; inset: -6px; border-radius: 28px; border: 2px solid var(--naranja); opacity: 0; animation: h247-onda 3s ease-out infinite; pointer-events: none; }
.hero-247 strong { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -1px; background: linear-gradient(180deg, #ffd08a, var(--naranja) 60%, #ff7a00); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 14px rgba(243,146,0,.45)); }
.h247-txt { display: flex; flex-direction: column; font-size: 13.5px; line-height: 1.35; color: rgba(255,255,255,.85); }
.h247-txt b { font-size: 16px; color: #fff; }
.h247-reloj { position: relative; flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; background: radial-gradient(circle, #fff 0 3.5px, transparent 4px), conic-gradient(from 0deg, rgba(243,146,0,.9), rgba(243,146,0,.15) 70%, rgba(243,146,0,.9)); box-shadow: inset 0 0 0 4px #062f31, 0 0 18px rgba(243,146,0,.5); animation: girar 6s linear infinite reverse; }
.h247-reloj::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: radial-gradient(circle, #fff 0 3.5px, #0a4f51 4px); }
.h247-reloj i { position: absolute; z-index: 1; left: 50%; bottom: 50%; width: 3px; margin-left: -1.5px; border-radius: 3px; background: #fff; transform-origin: 50% 100%; }
.h247-h { height: 13px; animation: girar 12s linear infinite; }
.h247-m { height: 18px; background: var(--naranja) !important; animation: girar 2s linear infinite; }
@keyframes h247-brillo { 0%, 100% { box-shadow: inset 0 0 0 1.5px rgba(243,146,0,.55), 0 16px 34px rgba(0,0,0,.35); } 50% { box-shadow: inset 0 0 0 1.5px rgba(243,146,0,.95), 0 16px 34px rgba(0,0,0,.35), 0 0 34px rgba(243,146,0,.35); } }
@keyframes h247-onda { 0% { opacity: .8; transform: scale(.98); } 70%, 100% { opacity: 0; transform: scale(1.12); } }
@media (max-width: 768px) {
    .hero-247 { margin-left: auto; padding: 7px 14px 7px 8px; gap: 9px; }
    .hero-247 strong { font-size: 34px; }
    .h247-reloj { width: 36px; height: 36px; }
    .h247-h { height: 9px; } .h247-m { height: 13px; }
    .h247-txt { display: none; }
}

/* Inicio: paneles montados sobre el hero; el camión pasa completo por encima de ellos */
@media (min-width: 1025px) {
    .hero { height: 784px; }
    .hero-slide { align-items: flex-end; }
    .hero-grid { padding-bottom: 378px; }
    .hero h1 { font-size: clamp(36px, 4.2vw, 56px); margin-bottom: 18px; }
    .hero-texto p { font-size: 17.5px; margin-bottom: 26px; }
    .hero-visual { top: 50px; }
    .hero-carretera { bottom: 190px; height: 150px; }
    .camion { width: 300px; bottom: 6px; }
    .hero-controles { bottom: 312px; align-items: flex-end; }
    .hero-controles .hero-dots { height: 44px; align-items: center; }
    .paneles-grid { margin-top: -190px; }
}

/* Paneles de rastreo y recogida: más grandes y decorados */
.panel { position: relative; overflow: hidden; padding: 42px 44px 40px; border-radius: 28px; box-shadow: 0 30px 60px rgba(6,47,49,.18); transition: transform .4s cubic-bezier(.3,1.4,.5,1), box-shadow .4s; }
.panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--teal), var(--teal-2), var(--naranja), var(--teal)); background-size: 300% 100%; animation: panel-borde 6s linear infinite; }
.panel::after { position: absolute; right: -18px; top: -14px; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 150px; line-height: 1; color: var(--teal); opacity: .05; pointer-events: none; transition: transform .6s, opacity .4s; }
.panel-rastreo::after { content: '\f601'; }
.panel-recogida::after { content: '\f4de'; }
.panel:hover { transform: translateY(-6px); box-shadow: 0 36px 70px rgba(6,47,49,.24); }
.panel:hover::after { transform: rotate(-10deg) scale(1.08); opacity: .09; }
.panel-cab { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.panel-cab small { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--naranja); }
.panel h3 { font-size: 28px; line-height: 1.15; }
.panel-ico { position: relative; flex-shrink: 0; width: 62px; height: 62px; border-radius: 19px; display: grid; place-items: center; font-size: 25px; color: #fff; background: linear-gradient(135deg, var(--teal-2), var(--teal-deep)); box-shadow: 0 12px 24px rgba(6,47,49,.28); transition: background .35s, transform .45s cubic-bezier(.3,1.7,.5,1); }
.panel-ico::after { content: ''; position: absolute; inset: -6px; border-radius: 23px; border: 2px solid var(--teal-2); opacity: 0; animation: h247-onda 3.2s ease-out infinite; }
.panel-recogida .panel-ico::after { animation-delay: 1.6s; }
.panel:hover .panel-ico { transform: rotate(-8deg) scale(1.06); background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); }
.panel-sub { margin: 10px 0 24px; font-size: 16px; }
.panel .rastreo-form input, .panel .fila-2 input { font-size: 16.5px; }
.panel-pasos { position: relative; display: flex; justify-content: space-between; margin-top: 24px; padding: 0 4px; }
.panel-pasos::before { content: ''; position: absolute; left: 30px; right: 30px; top: 17px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--teal) var(--av, 0%), var(--borde) var(--av, 0%)); animation: panel-avance 6s ease-in-out infinite; }
.panel-pasos span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--gris); }
.panel-pasos i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--teal); background: var(--teal-claro); box-shadow: 0 0 0 4px #fff; animation: panel-paso 6s ease-in-out infinite; }
.panel-pasos span:nth-child(2) i { animation-delay: 1.2s; }
.panel-pasos span:nth-child(3) i { animation-delay: 2.4s; }
.panel-pasos span:nth-child(4) i { animation-delay: 3.6s; }
.panel-ventajas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 26px; }
.panel-ventajas li { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; font-size: 13px; line-height: 1.3; color: var(--gris); background: var(--fondo); transition: transform .3s, background .3s; }
.panel-ventajas li:hover { transform: translateY(-3px); background: var(--teal-claro); }
.panel-ventajas i { flex-shrink: 0; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 15px; color: #fff; background: var(--teal); }
.panel-ventajas li:nth-child(2) i { background: #25d366; }
.panel-ventajas li:nth-child(3) i { background: var(--naranja); }
.panel-ventajas b { display: block; font-size: 14px; color: var(--teal-deep); }
@media (max-width: 600px) { .panel-ventajas { grid-template-columns: 1fr; } }
@property --av { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@keyframes panel-borde { to { background-position: 300% 0; } }
@keyframes panel-avance { 0% { --av: 0%; } 70%, 90% { --av: 100%; } 100% { --av: 0%; } }
@keyframes panel-paso { 0%, 100% { color: var(--teal); background: var(--teal-claro); transform: none; } 8%, 20% { color: #fff; background: var(--naranja); transform: scale(1.15); } 30%, 90% { color: #fff; background: var(--teal); transform: none; } }
@media (max-width: 600px) {
    .panel { padding: 34px 24px 30px; }
    .panel h3 { font-size: 23px; }
    .panel-ico { width: 52px; height: 52px; font-size: 21px; }
}

/* Rastreo: encabezado tipo centro de seguimiento */
.ph-rastreo { padding: 64px 0 150px; }
.phr-vivo { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 7px 16px 7px 12px; border-radius: 50px; font-size: 13.5px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: #fff; background: rgba(31,170,89,.22); box-shadow: inset 0 0 0 1px rgba(77,255,158,.4); animation: ph-entra .6s .05s ease both; }
.phr-vivo i { width: 10px; height: 10px; border-radius: 50%; background: #4dff9e; box-shadow: 0 0 0 0 rgba(77,255,158,.7); animation: phr-vivo 1.6s ease-out infinite; }
.ph-rastreo h1 span { position: relative; display: inline-block; }
.ph-rastreo h1 span::after { content: ''; position: absolute; left: 0; right: .3em; bottom: .02em; height: .14em; border-radius: 9px; background: linear-gradient(90deg, var(--naranja), #ffd08a); transform-origin: left; animation: phr-subraya 1s .6s cubic-bezier(.6,0,.2,1) both; z-index: -1; opacity: .9; }
.phr-buscador { position: relative; display: flex; align-items: center; gap: 8px; max-width: 600px; margin-top: 26px; padding: 8px; border-radius: 60px; overflow: hidden; background: rgba(255,255,255,.97); box-shadow: 0 22px 48px rgba(0,0,0,.4), 0 0 0 6px rgba(243,146,0,.22); animation: ph-entra .7s .3s ease both, phr-halo 3s 1s ease-in-out infinite; }
.phr-ico { flex-shrink: 0; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; color: var(--teal); background: var(--teal-claro); }
.phr-buscador input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; padding: 14px 6px; font-size: 17px; color: var(--texto); }
.phr-buscador button { flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px; padding: 16px 30px; border-radius: 50px; font-size: 16px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); box-shadow: 0 10px 22px rgba(243,146,0,.4); transition: transform .25s, box-shadow .25s; }
.phr-buscador button:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 28px rgba(243,146,0,.5); }
.phr-laser { position: absolute; top: 8px; bottom: 8px; left: 66px; width: 3px; border-radius: 3px; background: #ff3b30; box-shadow: 0 0 12px 3px rgba(255,59,48,.55); opacity: 0; pointer-events: none; animation: phr-laser 3.4s 1.2s ease-in-out infinite; }
.phr-buscador:focus-within .phr-laser { animation: none; opacity: 0; }
.phr-buscador:focus-within { box-shadow: 0 22px 48px rgba(0,0,0,.4), 0 0 0 6px rgba(243,146,0,.55); }
.phr-datos { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; animation: ph-entra .7s .4s ease both; }
.phr-datos li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 50px; font-size: 13.5px; font-weight: 600; color: #fff; background: rgba(0,0,0,.38); backdrop-filter: blur(4px); }
.phr-datos i { color: var(--naranja); }

/* Foto con seguimiento en vivo encima */
.phr-foto .ph-sello { display: none; }
.phr-pin { position: absolute; z-index: 2; left: 58%; top: 26%; width: 44px; height: 44px; margin: -22px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: var(--naranja); box-shadow: 0 8px 18px rgba(0,0,0,.4); animation: phr-pin 2s ease-in-out infinite; }
.phr-pin i { transform: rotate(45deg); color: #fff; font-size: 17px; }
.phr-pin::before, .phr-pin::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--naranja); animation: phr-onda 2s ease-out infinite; }
.phr-pin::after { animation-delay: 1s; }
.phr-chip { position: absolute; z-index: 2; right: -14px; top: -18px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 50px; font-size: 14px; font-weight: 700; color: var(--teal-deep); background: #fff; box-shadow: 0 12px 26px rgba(0,0,0,.3); animation: flotar 4s ease-in-out infinite; }
.phr-chip i { color: #1faa59; animation: phr-parpadeo 1.4s ease-in-out infinite; }
.phr-estado { position: absolute; z-index: 3; left: -70px; bottom: -118px; width: 300px; padding: 16px 18px 14px; border-radius: 20px; color: var(--texto); background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.4); animation: flotar 5s 1s ease-in-out infinite; }
.phr-estado-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.phr-estado-top small { display: block; font-size: 12px; color: var(--gris); }
.phr-estado-top b { font-size: 17px; color: var(--teal-deep); }
.phr-estado-top em { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-style: normal; color: #fff; background: var(--naranja); animation: phr-sacude 1.2s ease-in-out infinite; }
.phr-estado ul { display: flex; justify-content: space-between; }
.phr-estado li { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: var(--gris); }
.phr-estado li i { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--teal); background: var(--teal-claro); animation: phr-paso 8s calc(var(--k) * 1.6s) ease-in-out infinite; }
.phr-barra { display: block; height: 6px; margin-top: 12px; border-radius: 6px; overflow: hidden; background: var(--borde); }
.phr-barra i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--teal), #1faa59); animation: phr-barra 8s ease-in-out infinite; }

/* Rastreo: mapa 3D en perspectiva con el camión recorriendo la ruta */
.ph-rastreo { padding-bottom: 300px; }
.r3 { position: absolute; left: 0; right: 0; bottom: 0; height: 250px; overflow: hidden; background: linear-gradient(180deg, rgba(150,200,225,0) 0, #a9d3e6 34px, #d4ebef 48%, #cfe6d6 100%); --cx: 0px; --cy: 0px; --rz: 0deg; --esc: 1; }
.r3::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 90px; z-index: 2; pointer-events: none; background: linear-gradient(180deg, rgba(6,47,49,.0), rgba(220,238,242,.0) 30%, rgba(214,235,240,.7) 50%, rgba(214,235,240,0)); }
.r3-cam { position: absolute; inset: 0; perspective: 760px; perspective-origin: 50% -30%; }
.r3-mundo { position: absolute; left: 50%; top: 66%; width: 0; height: 0; transform-style: preserve-3d; transform: scale(var(--esc)) rotateX(64deg) rotateZ(var(--rz)) translate3d(var(--cx), var(--cy), 0); }
.r3-g { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.r3-cara { position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: space-evenly; overflow: hidden; background: var(--c, #ccc); backface-visibility: hidden; }
.r3 .c-py { filter: brightness(.86); }
.r3 .c-ny, .r3 .c-nx { filter: brightness(.7); }
.r3 .c-top { filter: brightness(1.05); }
.r3-fig { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; transform: var(--p) rotateZ(calc(var(--rz) * -1)) rotateX(-64deg) scale(var(--s, 1)); }

/* Suelo */
.r3-suelo { overflow: visible; background: none; backface-visibility: visible; }
.r3-suelo svg { display: block; }
.r3-trocha { fill: none; stroke: #d8cfae; stroke-width: 6; stroke-linecap: round; opacity: .7; }
.r3-rio-orilla { fill: none; stroke: #c9c08f; stroke-width: 58; stroke-linecap: round; opacity: .8; }
.r3-rio { fill: none; stroke: #3d8fc4; stroke-width: 42; stroke-linecap: round; }
.r3-casco { fill: none; stroke: #2a3133; stroke-width: 44; stroke-linecap: round; stroke-linejoin: round; }
.r3-asfalto { fill: none; stroke: #4c5558; stroke-width: 36; stroke-linecap: round; stroke-linejoin: round; }
.r3-linea { fill: none; stroke: #f6d27a; stroke-width: 3; stroke-dasharray: 22 18; }
.r3-hecho { fill: none; stroke: #3ee08a; stroke-width: 12; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.r3-monte { width: 0; height: 0; }
.r3-monte::before { content: ''; position: absolute; left: -350px; bottom: 0; width: 700px; height: 150px; background: url("../imagenes/escena-cordillera.svg") center bottom / 100% 100% no-repeat; opacity: .9; }

/* Edificios, árboles y pines */
.r3-edif > .c-py, .r3-edif > .c-px, .r3-edif > .c-ny, .r3-edif > .c-nx { background: repeating-linear-gradient(90deg, var(--c) 0 4px, transparent 4px 9px), repeating-linear-gradient(0deg, var(--c) 0 6px, rgba(64,108,132,.55) 6px 11px), var(--c); }
.r3-edif > .c-top { background: linear-gradient(135deg, #a7b2b3, #7f8c8e); }
.r3-arbol svg { position: absolute; left: -30px; bottom: 0; width: 60px; height: 84px; display: block; }
.r3-pin { --s: 1; }
.r3-gota { position: absolute; left: -22px; bottom: 40px; width: 44px; height: 54px; display: grid; place-items: center; font-size: 46px; color: #e8453c; filter: drop-shadow(0 6px 6px rgba(0,0,0,.35)); transform-origin: 50% 100%; transition: color .3s; }
.r3-gota::after { content: ''; position: absolute; left: 50%; bottom: -46px; width: 60px; height: 22px; margin-left: -30px; border-radius: 50%; border: 3px solid #3ee08a; opacity: 0; }
.r3-pin b { position: absolute; left: 0; bottom: 104px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 13px; border-radius: 50px; font-size: 17px; font-weight: 700; white-space: nowrap; color: var(--teal-deep); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.25); transform: translateX(-50%); transition: background .3s, color .3s; }
.r3-pin b i { display: none; font-size: 13px; }
.r3-pin.pasada .r3-gota { color: #1faa59; animation: r3-salta .6s cubic-bezier(.3,1.8,.5,1); }
.r3-pin.pasada .r3-gota::after { animation: r3-onda 1.1s ease-out; }
.r3-pin.pasada b { color: #fff; background: #1faa59; }
.r3-pin.pasada b i { display: inline; }

/* Camión */
.r3-sombra { background: radial-gradient(ellipse, rgba(0,0,0,.45), transparent 70%); }
.r3-rueda { --c: #17191a; }
.r3-furgon { --c: #fff; }
.r3-furgon > .c-py, .r3-furgon > .c-ny { flex-direction: column; gap: 2px; background: linear-gradient(#fff 0 70%, var(--teal) 70%); }
.r3-furgon b { font-size: 9px; font-style: italic; color: var(--teal-deep); }
.r3-furgon span { width: 38px; height: 2px; background: var(--naranja); }
.r3-furgon > .c-top { color: var(--teal); font-size: 13px; }
.r3-cabina { --c: #0e6a6c; }
.r3-vidrio { position: absolute; left: 3px; right: 3px; top: 3px; height: 12px; border-radius: 3px; background: linear-gradient(135deg, #e3f6fb, #6fb6cf); }
.r3-cabina u { position: absolute; bottom: 3px; width: 5px; height: 4px; border-radius: 2px; background: #ffe9a8; box-shadow: 0 0 6px 2px rgba(255,233,168,.9); }
.r3-cabina u:nth-of-type(1) { left: 3px; }
.r3-cabina u:nth-of-type(2) { right: 3px; }
.r3-lado { position: absolute; left: 9px; right: 3px; top: 3px; height: 11px; border-radius: 2px; background: linear-gradient(135deg, #e3f6fb, #6fb6cf); }
.r3-haz { background: linear-gradient(90deg, rgba(255,240,180,.55), transparent); clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%); }

/* Globo de entrega */
.r3-globo b { position: absolute; left: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 11px 18px 11px 13px; border-radius: 16px; white-space: nowrap; color: var(--teal-deep); background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.35); transform: translateX(-50%) scale(0); transform-origin: 50% 100%; }
.r3-globo b > i { font-size: 30px; color: #1faa59; }
.r3-globo b span { font-size: 20px; font-weight: 800; }
.r3-globo small { display: block; font-size: 14px; font-weight: 500; color: var(--gris); }
.r3.entregado .r3-globo b { animation: r3-pop .5s cubic-bezier(.3,1.7,.5,1) forwards; }
.r3.entregado .r3-pin:last-of-type b { opacity: 0; }

/* Tarjeta de estado */
.r3-info { position: absolute; z-index: 3; left: 16px; top: 14px; display: flex; align-items: center; gap: 10px; min-width: 340px; padding: 9px 16px 13px 9px; border-radius: 14px; color: var(--teal-deep); background: rgba(255,255,255,.96); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.r3-info-ico { flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: #1a73e8; }
.r3-info b { display: block; font-size: 13.5px; white-space: nowrap; }
.r3-info small { display: block; font-size: 11.5px; color: var(--gris); }
.r3-pct { margin-left: auto; padding-left: 14px; font-size: 26px; font-weight: 800; line-height: 1; color: #1a73e8; font-variant-numeric: tabular-nums; }
.r3-barra { position: absolute; left: 52px; right: 14px; bottom: 6px; height: 3px; border-radius: 3px; background: var(--borde); overflow: hidden; }
.r3-barra i { display: block; height: 100%; width: 0; background: #1faa59; }
.r3.entregado .r3-info-ico { background: #1faa59; }
.r3.entregado .r3-pct { color: #1faa59; }
.r3.reinicia .r3-mundo { opacity: 0; transition: opacity .4s; }

@keyframes r3-salta { 0% { transform: translateY(-30px) scale(.5); } 100% { transform: none; } }
@keyframes r3-onda { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes r3-pop { to { transform: translateX(-50%) scale(1); } }

@media (max-width: 600px) {
    .ph-rastreo { padding-bottom: 300px; }
    .r3 { height: 230px; }
    .r3-info { min-width: 0; left: 12px; right: 12px; top: 8px; }
    .r3-info b { font-size: 12px; }
    .r3-pct { font-size: 20px; }
}

@keyframes phr-vivo { 0% { box-shadow: 0 0 0 0 rgba(77,255,158,.7); } 100% { box-shadow: 0 0 0 12px rgba(77,255,158,0); } }
@keyframes phr-subraya { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes phr-halo { 0%, 100% { box-shadow: 0 22px 48px rgba(0,0,0,.4), 0 0 0 6px rgba(243,146,0,.22); } 50% { box-shadow: 0 22px 48px rgba(0,0,0,.4), 0 0 0 10px rgba(243,146,0,.4), 0 0 40px rgba(243,146,0,.35); } }
@keyframes phr-laser { 0% { transform: translateX(0); opacity: 0; } 8% { opacity: 1; } 55% { transform: translateX(330px); opacity: 1; } 65%, 100% { transform: translateX(330px); opacity: 0; } }
@keyframes phr-pin { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(4px, -4px); } }
@keyframes phr-onda { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes phr-parpadeo { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes phr-sacude { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@keyframes phr-paso { 0%, 100% { color: var(--teal); background: var(--teal-claro); transform: none; } 6%, 16% { color: #fff; background: var(--naranja); transform: scale(1.18); } 22%, 88% { color: #fff; background: var(--teal); transform: none; } }
@keyframes phr-barra { 0% { width: 4%; } 20% { width: 30%; } 40% { width: 55%; } 60% { width: 80%; } 80%, 92% { width: 100%; } 100% { width: 4%; } }

@media (max-width: 992px) {
    .phr-estado { position: relative; left: auto; bottom: auto; width: min(320px, 92%); margin: -34px auto 0; }
    .phr-chip { right: 6px; }
}
@media (max-width: 600px) {
    .phr-buscador { padding: 6px; }
    .phr-ico { display: none; }
    .phr-buscador input { padding-left: 16px; font-size: 15.5px; }
    .phr-buscador button { padding: 14px 18px; }
    .phr-buscador button i { display: none; }
    .phr-laser { left: 14px; }
}

/* Rastreo: estados del envío con riel animado */
.es-panel { position: relative; padding: 30px 34px 36px; border-radius: 30px; background: #fff; box-shadow: 0 30px 60px rgba(6,47,49,.12); --es: 0; }
.es-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; border-radius: 30px 30px 0 0; background: linear-gradient(90deg, var(--teal), var(--naranja), var(--teal)); background-size: 200% 100%; animation: panel-borde 6s linear infinite; }
.es-pantalla { display: flex; align-items: center; gap: 16px; margin-bottom: 44px; padding: 14px 20px; border-radius: 18px; color: #fff; background: linear-gradient(120deg, var(--teal-deep), var(--teal)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
.es-vivo { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; background: rgba(31,170,89,.25); }
.es-vivo i { width: 8px; height: 8px; border-radius: 50%; background: #4dff9e; animation: phr-vivo 1.6s ease-out infinite; }
.es-msg { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; }
.es-msg i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 16px; color: #fff; background: var(--naranja); }
.es-msg.cambia { animation: es-msg .5s ease both; }
.es-paso-txt { margin-left: auto; font-size: 13.5px; font-weight: 600; opacity: .8; }
.es-riel { position: relative; top: 49px; height: 10px; margin: 0 12.5% -10px; border-radius: 10px; background: repeating-linear-gradient(90deg, var(--borde) 0 14px, transparent 14px 22px); pointer-events: none; }
.es-luz { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--es) * 100%); border-radius: 10px; background: linear-gradient(90deg, var(--teal), #1faa59, var(--naranja)); box-shadow: 0 0 16px rgba(243,146,0,.5); transition: width 1.1s cubic-bezier(.6,0,.3,1); }
.es-luz::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 8px, transparent 8px 22px); animation: es-flujo .8s linear infinite; }
.es-camion { position: absolute; top: 50%; left: calc(var(--es) * 100% - 76px); z-index: 4; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; display: grid; place-items: center; font-size: 18px; color: #fff; background: var(--naranja); box-shadow: 0 0 0 5px #fff, 0 10px 22px rgba(243,146,0,.45); transition: left 1.1s cubic-bezier(.6,0,.3,1); }
.es-camion i { animation: es-sacude .35s ease-in-out infinite alternate; }
.es-panel.final .es-camion { background: #1faa59; box-shadow: 0 0 0 5px #fff, 0 10px 22px rgba(31,170,89,.45); }
.es-grid { position: relative; z-index: 1; pointer-events: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.es-paso { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0; text-align: center; background: none; cursor: pointer; }
.es-nodo { position: relative; z-index: 3; width: 108px; height: 108px; border-radius: 50%; display: grid; place-items: center; font-size: 38px; color: #9aaeb0; background: #fff; box-shadow: 0 0 0 3px var(--borde), 0 14px 30px rgba(6,47,49,.1); transition: background .4s, color .4s, box-shadow .4s, transform .5s cubic-bezier(.3,1.6,.5,1); }
.es-num { position: absolute; top: -4px; right: -4px; padding: 4px 10px; border-radius: 50px; font-size: 13px; font-weight: 700; color: #fff; background: #9aaeb0; transition: background .4s; }
.es-nodo em { position: absolute; bottom: -2px; right: 2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-style: normal; color: #fff; background: #1faa59; box-shadow: 0 0 0 4px #fff; transform: scale(0); transition: transform .45s cubic-bezier(.3,1.8,.5,1); }
.es-nodo::before, .es-nodo::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 3px solid var(--naranja); opacity: 0; pointer-events: none; }
.es-tarjeta { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; padding: 22px 18px 20px; border-radius: 20px; background: var(--fondo); box-shadow: inset 0 0 0 2px transparent; transition: background .4s, box-shadow .4s, transform .5s cubic-bezier(.3,1.4,.5,1); }
.es-tarjeta small { align-self: center; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 50px; font-size: 11.5px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #fff; background: var(--naranja); opacity: 0; transform: translateY(6px) scale(.8); transition: opacity .3s, transform .4s cubic-bezier(.3,1.7,.5,1); }
.es-tarjeta small i { font-size: 7px; animation: phr-parpadeo 1s ease-in-out infinite; }
.es-tarjeta strong { font-size: 21px; color: var(--teal-deep); }
.es-tarjeta > span { font-size: 15px; color: var(--gris); }

.es-paso.hecho .es-nodo { color: #fff; background: var(--teal); box-shadow: 0 0 0 3px var(--teal), 0 14px 30px rgba(6,47,49,.18); }
.es-paso.hecho .es-num { background: var(--teal); }
.es-paso.hecho .es-nodo em { transform: scale(1); }
.es-paso.activo .es-nodo { color: #fff; background: linear-gradient(135deg, #ffb13d, var(--naranja) 55%, var(--naranja-dark)); box-shadow: 0 0 0 6px rgba(243,146,0,.22), 0 18px 36px rgba(243,146,0,.4); transform: translateY(-8px) scale(1.12); }
.es-paso.activo .es-num { background: var(--teal-deep); }
.es-paso.activo .es-nodo::before { animation: es-onda 1.8s ease-out infinite; }
.es-paso.activo .es-nodo::after { animation: es-onda 1.8s .9s ease-out infinite; }
.es-paso.activo .es-tarjeta { background: #fff; box-shadow: inset 0 0 0 2px var(--naranja), 0 18px 36px rgba(6,47,49,.12); transform: translateY(-6px); }
.es-paso.activo .es-tarjeta small { opacity: 1; transform: none; }
.es-paso.activo.e4 .es-nodo { background: linear-gradient(135deg, #3ee08a, #1faa59); box-shadow: 0 0 0 6px rgba(31,170,89,.22), 0 18px 36px rgba(31,170,89,.4); }
.es-paso.activo.e4 .es-nodo::before, .es-paso.activo.e4 .es-nodo::after { border-color: #1faa59; }
.es-paso.activo.e4 .es-tarjeta { box-shadow: inset 0 0 0 2px #1faa59, 0 18px 36px rgba(6,47,49,.12); }
.es-paso.activo.e4 .es-tarjeta small { background: #1faa59; }
/* cada estado tiene su propia animación */
.es-paso.activo.e1 .es-nodo > i { animation: es-cae .8s cubic-bezier(.3,1.6,.5,1); }
.es-paso.activo.e2 .es-nodo > i { animation: es-late 1s ease-in-out infinite; }
.es-paso.activo.e3 .es-nodo > i { animation: es-acelera .5s ease-in-out infinite alternate; }
.es-paso.activo.e4 .es-nodo > i { animation: es-celebra .9s cubic-bezier(.3,1.8,.5,1); }

@keyframes es-msg { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes es-flujo { to { background-position: 22px 0; } }
@keyframes es-sacude { from { transform: translateX(-1px); } to { transform: translateX(2px); } }
@keyframes es-onda { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.35); } }
@keyframes es-cae { 0% { transform: translateY(-46px) scale(.6); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes es-late { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.14); } }
@keyframes es-acelera { from { transform: translateX(-5px) rotate(-2deg); } to { transform: translateX(5px) rotate(1deg); } }
@keyframes es-celebra { 0% { transform: scale(.3) rotate(-30deg); } 100% { transform: none; } }

@media (max-width: 900px) {
    .es-panel { padding: 24px 18px 28px; }
    .es-pantalla { flex-wrap: wrap; gap: 10px; }
    .es-paso-txt { margin-left: 0; }
    .es-riel { display: none; }
    .es-grid { grid-template-columns: 1fr; gap: 16px; }
    .es-paso { flex-direction: row; gap: 16px; text-align: left; }
    .es-nodo { flex-shrink: 0; width: 70px; height: 70px; font-size: 26px; }
    .es-num { font-size: 11px; padding: 2px 7px; }
    .es-nodo em { width: 24px; height: 24px; font-size: 11px; }
    .es-tarjeta { padding: 14px 16px; }
    .es-tarjeta small { align-self: flex-start; }
    .es-tarjeta strong { font-size: 18px; }
    .es-tarjeta > span { font-size: 14px; }
    .es-paso.activo .es-nodo { transform: scale(1.08); }
    .es-paso.activo .es-tarjeta { transform: translateX(4px); }
    .es-msg { font-size: 15.5px; }
}

/* Rastreo: panel con factura de ejemplo y pasos de ayuda en turno */
.pgr-panel { position: relative; overflow: hidden; }
.pgr-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--teal), var(--teal-2), var(--naranja), var(--teal)); background-size: 300% 100%; animation: panel-borde 6s linear infinite; }
.pgr-panel .panel-cab h2 { margin: 0; font-size: clamp(26px, 3vw, 34px); line-height: 1.15; }
.pgr-panel .rastreo-form { padding: 7px; box-shadow: 0 12px 26px rgba(6,47,49,.08); }
.pgr-panel .rastreo-form input { font-size: 16.5px; }
.pgr-panel .rastreo-form button { padding: 14px 32px; background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); box-shadow: 0 8px 18px rgba(243,146,0,.35); }
.pgr-factura { position: relative; margin: 28px 6px 6px; padding: 18px 22px 26px; border-radius: 14px 14px 0 0; background: #fffdf8; box-shadow: 0 18px 36px rgba(6,47,49,.14), inset 0 0 0 1px #eee6d6; transform: rotate(-1.4deg); transition: transform .5s cubic-bezier(.3,1.4,.5,1);
    -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x;
    mask: linear-gradient(#000 0 0) top / 100% calc(100% - 10px) no-repeat, conic-gradient(from -45deg at bottom, #0000, #000 1deg 89deg, #0000 90deg) bottom / 20px 10px repeat-x; }
.pgr-factura:hover { transform: rotate(0) scale(1.02); }
.pgr-ejemplo { position: absolute; right: 16px; top: 16px; padding: 3px 10px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gris); background: var(--fondo); }
.pgr-fact-top { display: flex; align-items: center; gap: 12px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px dashed #e7decb; }
.pgr-fact-top img { width: 120px; }
.pgr-fact-top span { font-size: 12px; font-weight: 600; color: var(--gris); }
.pgr-fila { display: flex; align-items: center; gap: 14px; margin-bottom: 9px; font-size: 12.5px; color: var(--gris); }
.pgr-fila span { width: 92px; flex-shrink: 0; }
.pgr-fila i { display: block; width: var(--w); height: 8px; border-radius: 8px; background: #e8e2d4; }
.pgr-guia { position: relative; display: flex; align-items: center; gap: 14px; margin: 14px -10px 12px; padding: 10px; border-radius: 10px; font-size: 12.5px; color: var(--teal-deep); background: #fff4e3; box-shadow: inset 0 0 0 2px var(--naranja); animation: pgr-resalta 2.4s ease-in-out infinite; overflow: hidden; }
.pgr-guia span { width: 92px; flex-shrink: 0; font-weight: 600; }
.pgr-guia b { font-size: 17px; letter-spacing: 1.5px; font-family: ui-monospace, Consolas, monospace; }
.pgr-guia em { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 50px; font-size: 12px; font-style: normal; font-weight: 700; color: #fff; background: var(--naranja); animation: pgr-senala 1.2s ease-in-out infinite alternate; }
.pgr-guia u { position: absolute; top: 0; bottom: 0; left: 0; width: 3px; background: #ff3b30; box-shadow: 0 0 10px 3px rgba(255,59,48,.55); animation: pgr-laser 2.6s ease-in-out infinite; }
.pgr-codigo { height: 34px; margin-top: 6px; background: repeating-linear-gradient(90deg, #1d2b2c 0 2px, transparent 2px 4px, #1d2b2c 4px 5px, transparent 5px 8px, #1d2b2c 8px 11px, transparent 11px 13px); opacity: .85; }

.pgr-pasos { position: relative; --pgr: 0; }
.pgr-pasos::before, .pgr-pasos::after { content: ''; position: absolute; left: 16px; top: 17px; width: 3px; border-radius: 3px; }
.pgr-pasos::before { bottom: 30px; background: rgba(255,255,255,.2); }
.pgr-pasos::after { height: calc(var(--pgr) * (100% - 47px)); background: linear-gradient(var(--naranja), #ffd08a); box-shadow: 0 0 12px rgba(243,146,0,.7); transition: height .8s cubic-bezier(.6,0,.3,1); }
.pgr-pasos li { position: relative; z-index: 1; padding: 10px 12px 10px 0; border-radius: 14px; opacity: .6; transition: opacity .4s, background .4s, transform .4s; cursor: default; }
.pgr-pasos li > span { transition: transform .45s cubic-bezier(.3,1.7,.5,1), box-shadow .4s, background .4s; }
.pgr-pasos li.hecho { opacity: .85; }
.pgr-pasos li.hecho > span { background: #1faa59; box-shadow: 0 0 0 5px rgba(31,170,89,.25); }
.pgr-pasos li.activo { opacity: 1; transform: translateX(6px); background: rgba(255,255,255,.08); }
.pgr-pasos li.activo > span { transform: scale(1.2); box-shadow: 0 0 0 7px rgba(243,146,0,.3), 0 0 20px rgba(243,146,0,.7); animation: pgr-num 1.6s ease-in-out infinite; }
.pgr-ayuda { display: flex; flex-direction: column; justify-content: center; }
.pgr-ayuda .btn-wa { align-self: flex-start; animation: pgr-boton 2.6s ease-in-out infinite; }

@keyframes pgr-resalta { 0%, 100% { box-shadow: inset 0 0 0 2px var(--naranja); } 50% { box-shadow: inset 0 0 0 2px var(--naranja), 0 0 0 6px rgba(243,146,0,.18); } }
@keyframes pgr-senala { from { transform: translateX(0); } to { transform: translateX(-6px); } }
@keyframes pgr-laser { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 80% { transform: translateX(var(--ancho, 520px)); opacity: 1; } 100% { transform: translateX(var(--ancho, 520px)); opacity: 0; } }
@keyframes pgr-num { 0%, 100% { box-shadow: 0 0 0 7px rgba(243,146,0,.3), 0 0 20px rgba(243,146,0,.7); } 50% { box-shadow: 0 0 0 11px rgba(243,146,0,.12), 0 0 26px rgba(243,146,0,.9); } }
@keyframes pgr-boton { 0%, 100% { box-shadow: 0 8px 18px rgba(37,211,102,.35); } 50% { box-shadow: 0 8px 18px rgba(37,211,102,.35), 0 0 0 8px rgba(37,211,102,.18); } }
@media (max-width: 600px) {
    .pgr-guia { flex-wrap: wrap; }
    .pgr-guia em { margin-left: 0; }
    .pgr-fila span, .pgr-guia span { width: 78px; }
    .pgr-fact-top span { display: none; }
}

/* Inicio: tarjeta de sedes que se alterna con la de la guía */
.hero-visual { perspective: 1400px; }
.hv-par { position: relative; transform-style: preserve-3d; transition: transform 1s cubic-bezier(.6,0,.3,1); }
.hero-visual.ver-sedes .hv-par { transform: rotateY(180deg); }
.hv-par .track-card { backface-visibility: hidden; }
.sede-card { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 18px 22px 16px; border-radius: 22px; color: var(--texto); background: rgba(255,255,255,.97); box-shadow: 0 40px 80px rgba(0,0,0,.3); backface-visibility: hidden; transform: rotateY(180deg); }
.sede-top { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.sede-ico { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; font-size: 20px; color: #fff; background: linear-gradient(135deg, var(--teal-2), var(--teal-deep)); box-shadow: 0 10px 20px rgba(6,47,49,.25); }
.sede-top small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--naranja); }
.sede-top strong { font-size: 19px; color: var(--teal-deep); }
.sede-lista { display: grid; gap: 7px; flex: 1; align-content: center; }
.sede-lista li { display: flex; align-items: center; gap: 11px; padding: 6px 11px; border-radius: 14px; background: var(--fondo); }
.sede-lista li > span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; color: var(--teal); background: var(--teal-claro); }
.sede-lista strong { display: block; font-size: 15px; color: var(--teal-deep); }
.sede-lista em { display: block; font-size: 12.5px; font-style: normal; font-weight: 600; color: var(--naranja-dark); }
.sede-lista b { margin-left: auto; padding: 3px 10px; border-radius: 50px; font-size: 11px; color: var(--teal); background: var(--teal-claro); }
.hero-visual.ver-sedes .sede-lista li { animation: sede-luz 6.5s calc(.9s + var(--k) * 1.4s) ease-in-out both; }
.hero-visual.ver-sedes .sede-lista li > span { animation: sede-pin 6.5s calc(.9s + var(--k) * 1.4s) ease-in-out both; }
.sede-pie { margin-top: 9px; font-size: 13px; color: var(--gris); }
.sede-pie i { color: var(--naranja); margin-right: 4px; }
.sede-pie strong { color: var(--teal-deep); }
@keyframes sede-luz { 0% { background: var(--fondo); box-shadow: none; transform: none; } 6%, 18% { background: #fff4e3; box-shadow: inset 0 0 0 2px var(--naranja); transform: translateX(6px); } 26%, 100% { background: var(--fondo); box-shadow: inset 0 0 0 2px rgba(14,106,108,.25); transform: none; } }
@keyframes sede-pin { 0% { color: var(--teal); background: var(--teal-claro); transform: none; } 6%, 18% { color: #fff; background: var(--naranja); transform: scale(1.15) translateY(-2px); } 26%, 100% { color: #fff; background: var(--teal); transform: none; } }

/* Inicio: primera diapositiva con la frase de la marca */
.frase-titulo { position: relative; display: block; width: min(400px, 88vw); margin: 2px 0 24px; line-height: 0; }
.frase-titulo img { display: block; width: 100%; height: auto; filter: drop-shadow(0 6px 18px rgba(0,0,0,.55)) drop-shadow(0 0 22px rgba(243,146,0,.25)); }
.frase-titulo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(105deg, transparent 35%, rgba(255,214,140,.95) 48%, #fff 50%, rgba(255,214,140,.95) 52%, transparent 65%); background-size: 260% 100%; background-repeat: no-repeat; -webkit-mask: url("../imagenes/recortes/frase-trasladarc.png") center / 100% 100% no-repeat; mask: url("../imagenes/recortes/frase-trasladarc.png") center / 100% 100% no-repeat; animation: frase-brillo 4.5s 1.4s ease-in-out infinite; }
.frase-titulo::before { content: ''; position: absolute; left: -18px; top: 6%; bottom: 30%; width: 6px; border-radius: 6px; background: linear-gradient(var(--naranja), #ffd08a); box-shadow: 0 0 18px rgba(243,146,0,.7); transform-origin: top; }
@keyframes frase-entra { from { clip-path: inset(0 100% 0 0); opacity: .2; transform: translateX(-20px); } to { clip-path: inset(0 0 0 0); opacity: 1; transform: none; } }
@keyframes frase-barra { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes frase-brillo { 0% { background-position: 130% 0; } 45%, 100% { background-position: -30% 0; } }
@media (max-width: 768px) { .frase-titulo { width: min(340px, 82vw); margin-bottom: 24px; } .frase-titulo::before { left: -12px; width: 4px; } }

/* Rendimiento */
.fuera-vista, .fuera-vista *, .fuera-vista *::before, .fuera-vista *::after { animation-play-state: paused !important; }
.hero-tag, .ns-logo, .ad-f, .pagina-hero[style] .ph-texto p, .galeria figcaption, .tv-texto, .co-num, .hero-247, .phr-datos li, .stat, .ventaja, .ventajas .seccion-head, .cotizar-texto, .empresas-cta .btn-outline { -webkit-backdrop-filter: none; backdrop-filter: none; }
.hero-247 { background: rgba(6,47,49,.82); }
.stat { background: rgba(6,47,49,.78); }
.ventaja { background: rgba(6,47,49,.86); }
.cotizar-texto { background: rgba(6,47,49,.84); }
.phr-datos li { background: rgba(0,0,0,.55); }
.tv-texto { background: rgba(6,47,49,.9); }

/* Inicio: frase de la marca fija en el hero, siempre visible */
.hero-marca-wrap { position: absolute; inset: 0; left: 50%; z-index: 3; transform: translateX(-50%); pointer-events: none; }
.hero-marca { position: absolute; right: 34px; top: 28px; width: 380px; margin: 0; }
.hero-marca::before { left: -20px; }
.hero-marca img { animation: frase-entra 1.2s .3s cubic-bezier(.6,0,.2,1) both; filter: drop-shadow(0 6px 18px rgba(0,0,0,.6)) drop-shadow(0 0 30px rgba(0,0,0,.35)) drop-shadow(0 0 22px rgba(243,146,0,.22)); }
.hero-marca::before { animation: frase-barra .8s .15s cubic-bezier(.6,0,.2,1) both; }
.hero-marca-wrap::before { content: ''; position: absolute; right: -60px; top: -40px; width: 620px; height: 380px; background: radial-gradient(ellipse at 60% 45%, rgba(3,24,26,.72), rgba(3,24,26,0) 68%); }
@media (min-width: 1025px) {
    .hero-visual { top: 282px; }
    .chip-1 { left: -236px; bottom: 150px; }
    .track-card { padding: 22px 24px; }
    .hero-controles .hero-247 { margin-left: 26px; padding: 7px 18px 7px 8px; gap: 10px; }
    .hero-controles .hero-247 strong { font-size: 40px; }
    .hero-controles .h247-reloj { width: 40px; height: 40px; }
}
@media (max-width: 1024px) {
    .hero-marca { left: 20px; right: auto; top: 22px; width: 250px; }
    .hero-marca::before { left: -12px; width: 4px; }
    .hero-marca-wrap::before { left: -40px; right: auto; width: 440px; height: 260px; }
    .hero-slides { height: 820px; }
    .hero-grid { padding-top: 170px; }
}
@media (max-width: 768px) {
    .hero-slides { height: 930px; }
    .hero-marca { width: 230px; }
}

/* Páginas de región y de oficina */
.zn-resumen { position: relative; margin-left: auto; width: 100%; max-width: 380px; padding: 30px 30px 26px; border-radius: 26px; color: var(--teal-deep); background: rgba(255,255,255,.97); box-shadow: 0 30px 60px rgba(0,0,0,.35); animation: flotar 6s ease-in-out infinite; }
.zn-res-ico { width: 62px; height: 62px; border-radius: 19px; display: grid; place-items: center; margin-bottom: 14px; font-size: 26px; color: var(--teal-deep); background: var(--rc, var(--naranja)); box-shadow: 0 12px 24px rgba(0,0,0,.18); }
.zn-res-ico::after { content: ''; position: absolute; left: 30px; top: 30px; width: 62px; height: 62px; border-radius: 19px; border: 2px solid var(--rc, var(--naranja)); animation: h247-onda 3s ease-out infinite; }
.zn-resumen > strong { display: block; font-size: 30px; line-height: 1.1; }
.zn-resumen > strong b { color: var(--naranja); }
.zn-resumen > small { display: block; margin-top: 2px; font-size: 15px; font-weight: 600; color: var(--gris); }
.zn-resumen ul { display: grid; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--borde); }
.zn-resumen li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; }
.zn-resumen li i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--teal); background: var(--teal-claro); }

.zn-sec { background: var(--fondo); }
.zn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: stretch; }
.zn-grid > * { min-width: 0; }
.zn-lista-card { padding: 40px; border-radius: 26px; background: #fff; box-shadow: var(--sombra); }
.zn-lista-card h2 { margin: 12px 0 6px; font-size: clamp(26px, 3vw, 34px); color: var(--teal-deep); }
.zn-lista-card > p { color: var(--gris); }
.zn-lista-card > p a { color: var(--teal); font-weight: 600; }
.zn-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin: 22px 0 24px; }
.zn-chip { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; color: var(--teal-deep); background: var(--fondo); box-shadow: inset 0 0 0 1px var(--borde); transition: background .3s, color .3s, transform .35s cubic-bezier(.3,1.6,.5,1), box-shadow .3s; animation: zn-entra .5s calc(var(--k) * .05s) ease both; }
.zn-chip i { width: 32px; height: 32px; flex-shrink: 0; border-radius: 10px; display: grid; place-items: center; font-size: 14px; color: var(--teal); background: var(--teal-claro); transition: background .3s, color .3s; }
.zn-chip span { font-size: 14.5px; font-weight: 600; line-height: 1.2; }
.zn-chip small { display: block; font-size: 11.5px; font-weight: 700; color: var(--naranja-dark); }
.zn-chip.hub i { color: #fff; background: var(--naranja); }
.zn-chip.aqui { box-shadow: inset 0 0 0 2px var(--naranja); }
.zn-chip:hover, .zn-chip.activo { color: #fff; background: var(--teal); transform: translateY(-4px); box-shadow: 0 12px 24px rgba(6,47,49,.2); }
.zn-chip:hover i, .zn-chip.activo i { color: var(--teal-deep); background: #fff; }
.zn-chip:hover small, .zn-chip.activo small { color: #ffd08a; }
.zn-mapa-card { position: relative; z-index: 0; isolation: isolate; min-height: 460px; border-radius: 26px; overflow: hidden; background: #0b3a3c; box-shadow: var(--sombra); }
.zn-mapa { position: absolute; inset: 0; background: #0b3a3c; }
.zn-mapa-tag { position: absolute; z-index: 500; left: 18px; top: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 50px; font-size: 14px; font-weight: 700; color: var(--teal-deep); background: #fff; box-shadow: 0 8px 18px rgba(0,0,0,.3); }
.zn-mapa-tag i { width: 10px; height: 10px; border-radius: 50%; background: var(--naranja); animation: phr-vivo 1.6s ease-out infinite; }

.zn-servicios { background: #fff; }
.zn-sv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.zn-sv { display: flex; flex-direction: column; gap: 8px; padding: 28px 24px; border-radius: 22px; background: var(--fondo); box-shadow: inset 0 0 0 1px var(--borde); transition: transform .4s cubic-bezier(.3,1.5,.5,1), box-shadow .3s, background .3s; }
.zn-sv span { width: 56px; height: 56px; margin-bottom: 6px; border-radius: 17px; display: grid; place-items: center; font-size: 22px; color: #fff; background: linear-gradient(135deg, var(--teal-2), var(--teal-deep)); transition: background .3s, transform .45s cubic-bezier(.3,1.7,.5,1); }
.zn-sv strong { font-size: 17.5px; color: var(--teal-deep); }
.zn-sv small { font-size: 14px; color: var(--gris); }
.zn-sv:hover { transform: translateY(-8px); background: #fff; box-shadow: 0 22px 44px rgba(6,47,49,.14), inset 0 0 0 2px var(--naranja); }
.zn-sv:hover span { background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); transform: rotate(-8deg) scale(1.06); }
.zn-oficinas .oficina-asesor { grid-column: auto; }
.zn-oficinas .oficinas-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 400px)); justify-content: center; }
.zn-oficinas .oficina { position: relative; overflow: hidden; text-align: center; align-items: center; background: #fff; box-shadow: 0 24px 50px rgba(6,47,49,.12); animation: zn-sube .8s cubic-bezier(.3,1.4,.5,1) both, flotar 6s 1s ease-in-out infinite; }
.zn-oficinas .oficina::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--teal), var(--naranja), var(--teal)); background-size: 200% 100%; animation: panel-borde 4s linear infinite; }
.zn-oficinas .oficina::after { content: ''; position: absolute; top: -60%; left: -40%; width: 40%; height: 220%; transform: rotate(20deg); background: linear-gradient(90deg, transparent, rgba(243,146,0,.12), transparent); animation: zn-barrido 5s 1.5s ease-in-out infinite; pointer-events: none; }
.zn-oficinas .oficina-top > i { position: relative; width: 76px; height: 76px; margin: 0 auto 14px; border-radius: 24px; font-size: 30px; color: #fff; background: linear-gradient(135deg, var(--teal-2), var(--teal-deep)); box-shadow: 0 14px 28px rgba(6,47,49,.28); animation: zn-late 2.4s ease-in-out infinite; }
.zn-oficinas .oficina ul { text-align: left; }
.zn-oficinas .oficina-btns { justify-content: center; }
.zn-oficinas .oficina:hover .oficina-top > i { background: linear-gradient(135deg, var(--naranja), var(--naranja-dark)); }
@keyframes zn-sube { from { opacity: 0; transform: translateY(40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes zn-barrido { 0% { left: -40%; } 45%, 100% { left: 130%; } }
@keyframes zn-late { 0%, 100% { box-shadow: 0 14px 28px rgba(6,47,49,.28), 0 0 0 0 rgba(14,106,108,.35); } 50% { box-shadow: 0 14px 28px rgba(6,47,49,.28), 0 0 0 12px rgba(14,106,108,0); } }
.zn-veh { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 650; pointer-events: none; will-change: transform; }
.zn-veh-c { position: absolute; left: 0; top: 0; display: block; width: 36px; height: 16px; filter: drop-shadow(0 3px 3px rgba(0,0,0,.55)); transition: opacity .4s; }
.zn-veh-c svg { position: relative; display: block; }
.zn-luz { position: absolute; left: 34px; top: -6px; width: 34px; height: 28px; background: radial-gradient(ellipse at left center, rgba(255,240,170,.55), transparent 70%); clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%); }
.zn-veh.oculto .zn-veh-c { opacity: 0; }
.zn-estela { filter: drop-shadow(0 0 4px rgba(62,224,138,.9)); }
.zn-radar i { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; border-radius: 50%; border: 2px solid #f39200; opacity: 0; animation: zn-radar 2.6s ease-out infinite; }
.zn-radar i + i { animation-delay: 1.3s; }
.zn-llegada > i { position: absolute; left: -20px; top: -20px; width: 40px; height: 40px; border-radius: 50%; border: 3px solid #3ee08a; opacity: 0; }
.zn-llegada b { position: absolute; left: -11px; top: -38px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: #1faa59; box-shadow: 0 0 0 3px #fff, 0 4px 10px rgba(0,0,0,.4); opacity: 0; transform: scale(0); }
.zn-llegada.ver > i { animation: zn-onda 1.1s ease-out 2; }
.zn-llegada.ver b { animation: zn-ok 1.9s cubic-bezier(.3,1.7,.5,1) forwards; }
@keyframes zn-radar { 0% { opacity: .9; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.6); } }
@keyframes zn-onda { 0% { opacity: 1; transform: scale(.3); } 100% { opacity: 0; transform: scale(1.7); } }
@keyframes zn-ok { 0% { opacity: 0; transform: scale(0); } 20%, 80% { opacity: 1; transform: scale(1) translateY(-4px); } 100% { opacity: 0; transform: scale(.8) translateY(-10px); } }
.oficinas-grid.zn-dos { grid-template-columns: repeat(2, 1fr); max-width: 820px; margin: 0 auto; }
.zn-ver { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--teal); }
.zn-ver i { transition: transform .25s; }
.zn-ver:hover { color: var(--naranja); }
.zn-ver:hover i { transform: translateX(5px); }
.zn-otras { padding: 0 0 50px; background: #fff; }
.zn-otras .container { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; }
.zn-otras span { font-weight: 600; color: var(--gris); margin-right: 6px; }
.zn-otras .dt-region { color: var(--teal-deep); background: var(--fondo); box-shadow: inset 0 0 0 1px var(--borde); padding: 9px 16px 9px 12px; }
.zn-otras .dt-region:hover { background: var(--teal-claro); }
@keyframes zn-entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

@media (max-width: 992px) {
    .zn-grid { grid-template-columns: minmax(0, 1fr); }
    .zn-sv-grid { grid-template-columns: repeat(2, 1fr); }
    .zn-resumen { margin: 30px 0 0; }
}
@media (max-width: 600px) {
    .zn-lista-card { padding: 28px 20px; }
    .zn-sv-grid, .oficinas-grid.zn-dos { grid-template-columns: 1fr; }
    .zn-mapa-card { min-height: 360px; }
}

/* Cotizador: valor estimado con la tarifa del Excel */
.cz-precio { margin: 16px 0 4px; padding: 16px 18px; border-radius: 18px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); transition: background .4s, box-shadow .4s; }
.cz-precio small { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: #ffd08a; }
.cz-precio strong { display: block; margin: 4px 0 2px; font-size: 22px; line-height: 1.1; color: rgba(255,255,255,.7); }
.cz-precio span { display: block; font-size: 12.5px; color: rgba(255,255,255,.72); }
.cz-precio.listo { background: linear-gradient(135deg, rgba(243,146,0,.28), rgba(243,146,0,.12)); box-shadow: inset 0 0 0 2px var(--naranja), 0 12px 26px rgba(0,0,0,.18); }
.cz-precio.listo strong { font-size: 34px; color: #fff; }
.cz-precio.cambia strong { animation: cz-precio .5s cubic-bezier(.3,1.7,.5,1); }
@keyframes cz-precio { from { transform: scale(.85); opacity: .4; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .animar { opacity: 1; transform: none; }
}

/* texto sobre fotos: sombra para que se lea */
.stat p, .stat-num, .ventajas .seccion-head h2, .cotizar-texto h2, .cotizar-texto > p, .cot-beneficios span, .empresas-texto h2, .empresas-texto p, .empresas-texto li { text-shadow: 0 2px 10px rgba(0,0,0,.55); }
/* la foto queda clara y el vidrio oscuro va solo detrás del texto */
.stats .linterna-rejilla, .ventajas .linterna-rejilla, .cotizar .linterna-rejilla, .empresas-inner .linterna-rejilla { display: none; }
.stat { padding: 20px 14px; border-radius: 20px; background: rgba(6,47,49,.62); backdrop-filter: blur(6px); }
.ventaja { background: rgba(6,47,49,.74); border-color: rgba(255,255,255,.16); backdrop-filter: blur(6px); }
.ventaja:hover, .ventaja.activa { background: rgba(6,47,49,.86); }
.ventaja p { opacity: .9; }
.ventajas .seccion-head { width: fit-content; max-width: 100%; padding: 22px 34px; border-radius: 24px; background: rgba(6,47,49,.62); backdrop-filter: blur(6px); }
.cotizar-texto { padding: 30px; border-radius: 24px; background: rgba(6,47,49,.7); backdrop-filter: blur(6px); }
.empresas-cta .btn-outline { background: rgba(6,47,49,.66); backdrop-filter: blur(4px); }
.empresas-cta .btn-outline:hover { background: #fff; }
