:root {
  --azul: #0a2a8c;
  --azul-osc: #06185a;
  --azul-cl: #2f55d4;
  --amarillo: #ffd400;
  --naranja: #ff6a00;
  --naranja-txt: #b84400;
  --crema: #fff8e6;
  --linea: #ecdfb4;
  --apagado: #4c5678;
  --wa: #25d366;
  --r: 18px;
  --sombra: 0 10px 30px -12px rgba(6, 24, 90, .35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--crema); color: var(--azul-osc); font-family: Barlow, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
.w { width: min(1180px, 100% - 2rem); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--naranja); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: "Barlow Condensed", Impact, sans-serif; font-style: italic; font-weight: 900; line-height: 1; margin: 0; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font: inherit; font-weight: 700; font-size: 1rem; padding: .85rem 1.3rem; border-radius: 14px; border: 0; cursor: pointer; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-azul { background: var(--azul); color: #fff; box-shadow: 0 6px 0 var(--azul-osc); }
.btn-amarillo { background: var(--amarillo); color: var(--azul-osc); box-shadow: 0 6px 0 #c9a400; }
.btn-wa { background: var(--wa); color: #05290f; box-shadow: 0 6px 0 #179a48; }
.btn-borde { background: #fff; color: var(--azul); border: 2px solid var(--azul); }

/* ---------- Nav fija ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); border-bottom: 1px solid var(--linea); transform: translateY(-100%); transition: transform .35s ease; box-shadow: 0 4px 20px rgba(6, 24, 90, .08); }
.nav.ver { transform: translateY(0); }
.nav-in { display: flex; align-items: center; gap: 1rem; height: 64px; }
.nav-logo img { display: block; height: 46px; width: auto; }
.nav-links { display: flex; gap: .25rem; margin-left: auto; }
.nav-links a { color: var(--azul); font-weight: 700; text-decoration: none; padding: .45rem .8rem; border-radius: 999px; }
.nav-links a:hover { background: #eef2ff; }
.nav-acciones { display: flex; align-items: center; }
.nav-tasa { background: var(--amarillo); color: var(--azul-osc); font-weight: 700; font-size: .9rem; padding: .4rem .85rem; border-radius: 999px; white-space: nowrap; }
.nav-tiktok { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-left: 2rem; border-radius: 50%; background: #000; color: #fff !important; text-decoration: none; box-shadow: 0 3px 10px rgba(0, 0, 0, .25); border: 1.5px solid rgba(0, 0, 0, .12); transition: transform .2s, box-shadow .2s, background .2s; }
.nav-tiktok:hover { transform: translateY(-2px) scale(1.06); box-shadow: 0 6px 14px rgba(0, 0, 0, .35); background: #111; color: #fff !important; }
.nav-tiktok svg { display: block; }
@media (max-width: 720px) { .nav-links { display: none; } .nav-acciones { margin-left: auto; } .nav-tiktok { margin-left: 1.2rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 0%, #fff 0%, #fff6cf 45%, #ffe27a 100%); padding: 2rem 0 5rem; text-align: center; }
.hero-fondo { position: absolute; inset: 0; pointer-events: none; }
.gota { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; animation: flotar 9s ease-in-out infinite; }
.g1 { width: 220px; height: 220px; background: var(--naranja); top: -60px; left: -50px; }
.g2 { width: 140px; height: 140px; background: var(--amarillo); top: 30%; right: 6%; animation-delay: -2s; }
.g3 { width: 90px; height: 90px; background: var(--azul-cl); bottom: 22%; left: 8%; opacity: .25; animation-delay: -4s; }
.g4 { width: 300px; height: 300px; background: var(--naranja); bottom: -160px; right: -90px; opacity: .35; animation-delay: -1s; }
.g5 { width: 40px; height: 40px; background: var(--naranja); top: 18%; left: 22%; animation-delay: -6s; }
.g6 { width: 26px; height: 26px; background: var(--azul); top: 12%; right: 26%; opacity: .3; animation-delay: -3s; }
@keyframes flotar { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(18px, -22px) scale(1.08); } }

.hero-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.logo-wrap { margin: 0 auto; }
.logo { display: block; width: min(560px, 88vw); height: auto; mix-blend-mode: multiply; animation: entrada .9s cubic-bezier(.2, 1.4, .4, 1) both, latir 4.5s ease-in-out 1s infinite; cursor: pointer; transition: transform .2s ease-out; will-change: transform; }
@keyframes entrada { from { opacity: 0; rotate: -10deg; } to { opacity: 1; rotate: 0deg; } }
@keyframes latir { 0%, 100% { translate: 0 0; scale: 1; } 50% { translate: 0 -10px; scale: 1.03; } }

.lema { font-size: clamp(1.05rem, 2.4vw, 1.3rem); max-width: 40ch; margin: .4rem auto 1.4rem; color: var(--azul-osc); }
.lema b { color: var(--azul); }

.tasa-card { display: inline-flex; align-items: center; gap: 1rem; text-align: left; background: var(--azul); color: #fff; padding: .9rem 1.3rem; border-radius: 20px; box-shadow: 0 8px 0 var(--naranja), var(--sombra); animation: aparecer .7s .4s both; }
.tasa-card small { display: block; color: #c8d3ff; font-size: .85rem; }
.tasa-card strong { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 900; font-size: clamp(1.8rem, 5vw, 2.4rem); color: var(--amarillo); line-height: 1.05; }
.tasa-card em { font-size: 1rem; color: #fff; font-weight: 700; }
.tasa-meta { border-left: 1px solid rgba(255, 255, 255, .25); padding-left: 1rem; }
.var { font-weight: 700; font-size: .9rem; }
.var.sube { color: #8dffb5; }
.var.baja { color: #ffb38a; }
.vivo { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #3dff8b; box-shadow: 0 0 0 0 rgba(61, 255, 139, .7); animation: pulso 1.8s infinite; flex: none; }
@keyframes pulso { 70% { box-shadow: 0 0 0 10px rgba(61, 255, 139, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 139, 0); } }
@keyframes aparecer { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.accesos { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; width: 100%; max-width: 980px; margin-top: 2.2rem; }
.acceso { display: flex; flex-direction: column; align-items: center; gap: .2rem; padding: 1.1rem .6rem; background: #fff; border: 0; border-radius: var(--r); color: var(--azul-osc); text-decoration: none; font: inherit; cursor: pointer; box-shadow: var(--sombra); transition: transform .2s, box-shadow .2s; animation: aparecer .6s both; }
.acceso:nth-child(1) { animation-delay: .5s; } .acceso:nth-child(2) { animation-delay: .6s; } .acceso:nth-child(3) { animation-delay: .7s; } .acceso:nth-child(4) { animation-delay: .8s; } .acceso:nth-child(5) { animation-delay: .9s; }
.acceso:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 18px 30px -12px rgba(6, 24, 90, .45); }
.acceso .ic { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; margin-bottom: .3rem; color: var(--azul-osc); }
.acceso b { font-size: 1.05rem; }
.acceso small { color: var(--apagado); font-size: .82rem; }
.a-cat .ic { background: #fff1b3; color: var(--naranja-txt); }
.a-rod .ic { background: #e5ebff; color: var(--azul); }
.a-pm .ic { background: #ffe1cc; color: var(--naranja); }
.a-ubi .ic { background: #ffe0e0; color: #d93838; }
.a-wa .ic { background: #d7f8e3; color: #179a48; }
.a-rod { background: var(--azul); color: #fff; }
.a-rod small { color: #c8d3ff; }
.a-rod .ic { background: rgba(255, 255, 255, .18); color: var(--amarillo); }

@media (max-width: 860px) { .accesos { grid-template-columns: repeat(2, 1fr); } .a-rod { grid-column: span 2; flex-direction: row; justify-content: center; gap: .8rem; text-align: left; } .a-rod .ic { margin: 0; } }
@media (max-width: 560px) { .tasa-card { flex-wrap: wrap; } .tasa-meta { border: 0; padding: 0; width: 100%; } }

.ola { position: absolute; left: 0; right: 0; bottom: -1px; height: 60px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath fill='%23fff8e6' d='M0 32 C 240 0 480 0 720 30 S 1200 62 1440 24 V60 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }

/* ---------- Secciones ---------- */
.sec { padding: 4rem 0; }
.sec-head { text-align: center; max-width: 640px; margin: 0 auto 2rem; }
.sec-head h2, .sec h2 { font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--azul); text-transform: uppercase; margin: .4rem 0 .6rem; }
.sec-head p { color: var(--apagado); margin: 0; font-size: 1.05rem; }
.eti { display: inline-block; background: var(--naranja); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.eti-amarillo { background: var(--amarillo); color: var(--azul-osc); }
.eti-claro { background: rgba(255, 255, 255, .18); }
.revelar { opacity: 0; transform: translateY(26px); transition: opacity .7s, transform .7s; }
.revelar.ok { opacity: 1; transform: none; }

/* ---------- Catálogo ---------- */
.buscador { position: sticky; top: 64px; z-index: 50; background: var(--crema); padding: .8rem 0 .4rem; }
.busca { display: flex; align-items: center; gap: .6rem; background: #fff; border: 3px solid var(--azul); border-radius: 16px; padding: 0 1rem; box-shadow: var(--sombra); }
.svg-busq { color: var(--apagado); flex: none; }
.busca input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 1.05rem; padding: .9rem 0; background: transparent; color: var(--azul-osc); }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 0 .6rem; scrollbar-width: thin; scrollbar-color: var(--naranja) transparent; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { height: 6px; }
.chips::-webkit-scrollbar-track { background: rgba(0, 0, 0, .05); border-radius: 999px; }
.chips::-webkit-scrollbar-thumb { background: var(--naranja); border-radius: 999px; }
.chips button { flex: none; font: inherit; font-weight: 700; font-size: .9rem; padding: .5rem 1rem; background: #fff; color: var(--azul); border: 2px solid var(--azul); border-radius: 999px; cursor: pointer; transition: background .15s, color .15s; }
.chips button[aria-pressed="true"] { background: var(--azul); color: var(--amarillo); }

.grilla { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; padding: 1rem 0 2rem; }
.card { background: #fff; border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; box-shadow: var(--sombra); transition: transform .2s, box-shadow .2s; animation: aparecer .4s both; }
.card:hover { transform: translateY(-4px); }
.card.en-pedido { outline: 3px solid var(--amarillo); }
.card .ico { display: grid; place-items: center; height: 104px; background: radial-gradient(circle at 30% 20%, #fff7c2, #ffd400 60%, #ffb300); color: var(--azul-osc); }
.card .ico svg { filter: drop-shadow(0 2px 4px rgba(6, 24, 90, .15)); }
.card .cu { padding: .9rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card .cat { font-size: .75rem; color: var(--apagado); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.card h3 { font-family: Barlow, sans-serif; font-style: normal; font-weight: 600; font-size: 1rem; line-height: 1.25; }
.card .usd { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-weight: 900; font-size: 1.9rem; color: var(--azul); margin-top: auto; padding-top: .4rem; line-height: 1; }
.card .bs { color: var(--naranja-txt); font-weight: 700; }
.add { margin-top: .6rem; font: inherit; font-weight: 700; padding: .65rem; background: var(--amarillo); color: var(--azul-osc); border: 0; border-radius: 12px; cursor: pointer; transition: transform .1s; }
.add:active { transform: scale(.96); }
.qty { margin-top: .6rem; display: flex; align-items: center; justify-content: space-between; background: var(--azul); color: #fff; border-radius: 12px; overflow: hidden; }
.qty button { font: inherit; font-size: 1.3rem; width: 2.8rem; padding: .35rem 0; background: transparent; color: var(--amarillo); border: 0; cursor: pointer; transition: opacity .2s; }
.qty button:disabled { opacity: .3; cursor: not-allowed; }
.vacio { grid-column: 1 / -1; text-align: center; color: var(--apagado); padding: 2rem 0; }
.vacio a { color: var(--azul); font-weight: 700; }
.esqueleto { height: 260px; border-radius: var(--r); background: linear-gradient(90deg, #fff 0%, #fff4cc 50%, #fff 100%); background-size: 200% 100%; animation: brillo 1.2s infinite; }
@keyframes brillo { to { background-position: -200% 0; } }

.calc { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; background: linear-gradient(120deg, var(--azul), var(--azul-cl)); color: #fff; padding: 1.4rem 1.6rem; border-radius: 22px; box-shadow: var(--sombra); }
.calc h3 { font-size: 2rem; margin-top: .4rem; }
.calc-campos { display: flex; align-items: flex-end; gap: .8rem; flex-wrap: wrap; }
.calc label span { display: block; font-size: .85rem; color: #c8d3ff; margin-bottom: .2rem; }
.calc input { width: 170px; font: inherit; font-size: 1.3rem; font-weight: 700; padding: .6rem .8rem; border: 0; border-radius: 12px; color: var(--azul-osc); }
.calc-eq { font-size: 1.6rem; color: var(--amarillo); padding-bottom: .4rem; }

.mini-rod { width: 56px; height: 56px; object-fit: cover; border-radius: 12px; }
.mini-rod-fab { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; }
.mini-rod-chat { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #fff; border: 2px solid var(--amarillo); }
.rod-img-avatar { width: 220px; height: 220px; border-radius: 50%; background: #fff; border: 6px solid var(--amarillo); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); object-fit: cover; animation: latir 4s ease-in-out infinite; }
@media (max-width: 760px) { .rod-img-avatar { width: 160px; height: 160px; } }

/* ---------- Rodolfo ---------- */
.sec-rod { background: var(--azul); color: #fff; position: relative; overflow: hidden; }
.sec-rod::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 212, 0, .25), transparent 65%); left: -120px; top: -120px; }
.rod-in { position: relative; display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; align-items: center; }
.rod-avatar { display: grid; place-items: center; }
.rod-bot-icon { width: 220px; height: 220px; border-radius: 50%; background: #fff; border: 6px solid var(--amarillo); box-shadow: 0 0 0 10px rgba(255, 255, 255, .08); display: grid; place-items: center; color: var(--azul); animation: latir 4s ease-in-out infinite; }
.sec-rod h2 { color: var(--amarillo); }
.sec-rod p { color: #dfe6ff; font-size: 1.1rem; max-width: 55ch; }
@media (max-width: 760px) { .rod-in { grid-template-columns: 1fr; text-align: center; } .rod-bot-icon { width: 160px; height: 160px; margin: 0 auto; } .sec-rod p { margin-inline: auto; } .sec-rod .sug { justify-content: center; } }

.sug { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 1.4rem; }
.sug button { font: inherit; font-size: .9rem; font-weight: 600; padding: .5rem .9rem; border-radius: 999px; cursor: pointer; background: rgba(255, 255, 255, .1); color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); transition: background .15s; }
.sug button:hover { background: rgba(255, 255, 255, .22); }

/* ---------- Pago móvil ---------- */
.pm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.pm { background: #fff; border-radius: var(--r); padding: 1.1rem 1.2rem; box-shadow: var(--sombra); display: flex; flex-direction: column; gap: .2rem; border-top: 6px solid var(--naranja); }
.pm small { color: var(--apagado); font-weight: 600; text-transform: uppercase; font-size: .75rem; letter-spacing: .05em; }
.pm b { font-size: 1.3rem; word-break: break-word; color: var(--azul-osc); }
.pm button { align-self: flex-start; margin-top: .5rem; font: inherit; font-weight: 700; font-size: .9rem; padding: .45rem .9rem; background: #eef2ff; color: var(--azul); border: 0; border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem; }
.pm button.ok { background: #d7f8e3; color: #0b6b30; }
.pm-acciones { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.pasos { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 0; margin: 2.4rem 0 0; }
.pasos li { display: flex; align-items: center; gap: .8rem; background: #fff3c4; padding: 1rem; border-radius: 16px; font-weight: 600; }
.pasos li b { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--azul); color: var(--amarillo); font-family: "Barlow Condensed", sans-serif; font-size: 1.4rem; font-style: italic; }
@media (max-width: 720px) { .pasos { grid-template-columns: 1fr; } }

/* ---------- Ubicación ---------- */
.sec-ubi { background: #fff; }
.ubi-in { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; align-items: center; }
.ubi-dir { font-size: 1.2rem; font-weight: 600; display: flex; align-items: flex-start; gap: .5rem; }
.svg-ubi-pin { color: #d93838; flex: none; margin-top: .2rem; }
.ubi-btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.mapa { border-radius: 24px; overflow: hidden; box-shadow: var(--sombra); border: 4px solid var(--azul); aspect-ratio: 4 / 3; background: #e8ecf7; }
.mapa iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 820px) { .ubi-in { grid-template-columns: 1fr; } }

/* ---------- Pie ---------- */
.pie { background: var(--azul-osc); color: #b9c5f5; padding: 2.5rem 0 7rem; text-align: center; }
.pie img { background: #fff; border-radius: 14px; padding: .3rem .6rem; }
.pie a { color: var(--amarillo); font-weight: 700; }
.pie-social { margin: 1.2rem 0; display: flex; justify-content: center; }
.link-tiktok { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: #000; border: 1.5px solid rgba(255, 255, 255, .25); color: #fff !important; text-decoration: none; box-shadow: 0 4px 14px rgba(0, 0, 0, .4); transition: transform .2s, border-color .2s, box-shadow .2s, background .2s; }
.link-tiktok:hover { background: #111; border-color: var(--amarillo); color: var(--amarillo) !important; transform: translateY(-3px) scale(1.08); box-shadow: 0 8px 20px rgba(0, 0, 0, .55); }
.link-tiktok svg { display: block; }
.pie-tasa { font-size: .85rem; opacity: .8; }
.pie-credito { margin-top: 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .9rem; color: #a4b2dc; }
.pie-credito b { color: #fff; font-weight: 600; }

/* ---------- Flotantes ---------- */
.fab-wa { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: #fff; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .4); animation: rebote 3s ease-in-out infinite; }
@keyframes rebote { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-8px); } 95% { transform: translateY(0); } }
.fab-rod { position: fixed; left: 1rem; bottom: 1rem; z-index: 40; display: flex; align-items: center; gap: .6rem; padding: .4rem 1.1rem .4rem .4rem; background: var(--azul); color: #fff; border: 3px solid var(--amarillo); border-radius: 999px; font: inherit; font-weight: 700; cursor: pointer; box-shadow: 0 8px 20px -6px rgba(6, 24, 90, .6); transition: transform .2s; }
.fab-rod:hover { transform: scale(1.05); }
.fab-rod-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--azul); display: grid; place-items: center; }
body.con-carro .fab-wa, body.con-carro .fab-rod { bottom: 5.4rem; }

/* ---------- Chat ---------- */
.chat { position: fixed; left: 1rem; bottom: 5.2rem; z-index: 50; width: min(400px, 100% - 2rem); height: min(600px, 100dvh - 7rem); display: flex; flex-direction: column; background: #f5f7ff; border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(6, 24, 90, .6); border: 3px solid var(--azul); transform-origin: bottom left; animation: abrir .3s cubic-bezier(.2, 1.3, .5, 1); }
.chat[hidden] { display: none; }
body.con-carro .chat { bottom: 9.6rem; height: min(600px, 100dvh - 11.5rem); }
@keyframes abrir { from { opacity: 0; transform: scale(.8) translateY(20px); } }
.chat-top { display: flex; align-items: center; gap: .7rem; padding: .7rem .9rem; background: var(--azul); color: #fff; }
.chat-avatar-icon { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--amarillo); display: grid; place-items: center; color: var(--azul); }
.chat-top b { font-family: "Barlow Condensed", sans-serif; font-style: italic; font-size: 1.35rem; display: block; line-height: 1; }
.chat-top small { color: #c8d3ff; display: flex; align-items: center; gap: .35rem; font-size: .8rem; }
.chat-top .vivo { width: 8px; height: 8px; }
.chat-x { margin-left: auto; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .15); color: inherit; font-size: 1rem; cursor: pointer; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
.m { max-width: 85%; padding: .65rem .9rem; border-radius: 18px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; animation: aparecer .25s both; font-size: .97rem; }
.m.bot { background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: 0 2px 6px rgba(6, 24, 90, .08); }
.m.yo { background: var(--azul); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.m a { color: var(--azul); font-weight: 700; }
.m a.wa-link { display: inline-flex; align-items: center; gap: .3rem; margin: .2rem 0; background: var(--wa); color: #05290f; padding: .35rem .8rem; border-radius: 999px; text-decoration: none; }
.m a.map-link { display: inline-flex; align-items: center; gap: .3rem; margin: .2rem 0; background: var(--amarillo); color: var(--azul-osc); padding: .35rem .8rem; border-radius: 999px; text-decoration: none; }
.escribiendo { display: inline-flex; gap: 4px; }
.escribiendo i { width: 8px; height: 8px; border-radius: 50%; background: var(--azul-cl); animation: punto 1s infinite; }
.escribiendo i:nth-child(2) { animation-delay: .15s; } .escribiendo i:nth-child(3) { animation-delay: .3s; }
@keyframes punto { 50% { transform: translateY(-5px); opacity: .5; } }
.sug-chat { margin: 0; padding: 0 .9rem .6rem; }
.sug-chat button { background: #fff; color: var(--azul); border-color: var(--azul); font-size: .85rem; }
.sug-chat button:hover { background: #eef2ff; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; background: #fff; border-top: 1px solid #e1e6f5; }
.chat-form input { flex: 1; font: inherit; padding: .75rem 1rem; border: 2px solid #d6ddf5; border-radius: 999px; color: var(--azul-osc); outline: 0; }
.chat-form input:focus { border-color: var(--azul); }
.chat-env { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--naranja); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-env:disabled { opacity: .5; }
@media (max-width: 520px) { .chat, body.con-carro .chat { left: .5rem; right: .5rem; width: auto; bottom: .5rem; height: calc(100dvh - 1rem); z-index: 60; } }

/* ---------- Carro y diálogo ---------- */
.carro { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--amarillo); box-shadow: 0 -8px 24px -10px rgba(6, 24, 90, .4); animation: aparecer .3s both; }
.carro[hidden] { display: none; }
.carro-in { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 0; }
.carro-in b { display: block; }
.carro-in span { color: var(--azul); font-weight: 600; font-size: .95rem; }
.dlg { width: min(560px, 94vw); max-height: 88vh; border: 0; border-radius: 24px; padding: 0; background: #fff; color: var(--azul-osc); box-shadow: var(--sombra); }
.dlg::backdrop { background: rgba(6, 24, 90, .65); backdrop-filter: blur(3px); }
.dlg-in { padding: 1.3rem; }
.dlg-top { display: flex; align-items: center; }
.dlg-top h2 { font-size: 2.2rem; color: var(--azul); text-transform: uppercase; }
.dlg-top .chat-x { background: #eef2ff; color: var(--azul); }
.li { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2rem .8rem; padding: .7rem 0; border-bottom: 1px solid var(--linea); }
.li small { color: var(--apagado); }
.li .q { display: flex; gap: .5rem; align-items: center; }
.li .q button { width: 2.1rem; height: 2.1rem; border: 2px solid var(--azul); border-radius: 10px; background: #fff; color: var(--azul); cursor: pointer; font: inherit; font-weight: 700; transition: opacity .2s; }
.li .q button:disabled { opacity: .3; cursor: not-allowed; border-color: var(--apagado); color: var(--apagado); }
.tot { margin: 1rem 0; font-family: "Barlow Condensed", sans-serif; font-style: italic; font-size: 1.9rem; font-weight: 900; color: var(--azul); }
.tot span { display: block; color: var(--naranja-txt); font-size: 1.5rem; }
.tot small { display: block; font-family: Barlow, sans-serif; font-style: normal; font-weight: 500; font-size: .85rem; color: var(--apagado); }
.dlg-acc { display: flex; gap: .6rem; flex-wrap: wrap; }
.dlg-acc .btn-wa { flex: 1; }

.toast { position: fixed; left: 50%; top: 1rem; z-index: 80; transform: translate(-50%, -150%); background: var(--azul-osc); color: #fff; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; transition: transform .3s; pointer-events: none; }
.toast.ver { transform: translate(-50%, 0); }

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