/* =====================================================================
 * AcGroupBox · sitio público (index.php) y acceso de clientes (login.html)
 * Concepto "correo aéreo": papel claro, ribete de sobre aéreo (rojo/blanco/
 * petróleo), etiquetas de envío, estampillas y matasellos.
 * Tipografías: Sora (títulos) y DM Sans (texto). Sin Bootstrap.
 * ===================================================================== */
:root {
  --ac-pri: #0A4B78;
  --ac-pri-2: #1366a3;
  --ac-pri-s: #e4eef6;
  --ac-tinta: #0d2238;
  --ac-tinta-2: #1b3550;
  --ac-rojo: #d32f2f;
  --ac-rojo-2: #e5483f;
  --ac-rojo-s: #fbe9e7;
  --ac-papel: #f6f2ea;
  --ac-papel-2: #efe8db;
  --ac-verde: #14925a;
  --ac-texto: #0d2238;
  --ac-gris: #5d6b7a;
  --ac-gris-2: #8d98a4;
  --ac-borde: #e2ddd2;
  --ac-borde-2: #d7e0e8;
  --ac-radio: 14px;
  --ac-sombra: 0 1px 0 rgba(13, 34, 56, .04), 0 14px 30px -18px rgba(13, 34, 56, .35);
  --ac-sombra-alta: 0 28px 50px -26px rgba(13, 34, 56, .5);
  --ac-ancho: 1200px;
  --ac-titulo: 'Sora', 'DM Sans', system-ui, sans-serif;
  --ac-fuente: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ac-aereo: repeating-linear-gradient(135deg, var(--ac-rojo) 0 14px, #fff 14px 22px, var(--ac-pri) 22px 36px, #fff 36px 44px);
  --ac-puntos: radial-gradient(rgba(10, 75, 120, .13) 1.2px, transparent 1.4px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--ac-fuente); color: var(--ac-texto); background: #fff; line-height: 1.6; font-size: 16.5px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--ac-pri-2); text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--ac-titulo); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid rgba(19, 102, 163, .45); outline-offset: 2px; border-radius: 6px; }
.ac-oculto { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.ac-contenedor { width: 100%; max-width: var(--ac-ancho); margin: 0 auto; padding: 0 22px; }
.ac-seccion { padding: 100px 0; position: relative; }
.ac-seccion.papel { background: var(--ac-papel); }
.ac-seccion.tinta { background: var(--ac-tinta); color: #fff; }
.ac-correo { height: 7px; background: var(--ac-aereo); }
.ac-cabeza { max-width: 700px; margin: 0 0 54px; }
.ac-cabeza.centro { margin: 0 auto 54px; text-align: center; }
.ac-cabeza h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
.ac-cabeza p { color: var(--ac-gris); font-size: 1.1rem; margin: 0; }
.ac-sobretitulo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--ac-titulo); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ac-rojo); margin-bottom: 1rem; }
.ac-sobretitulo::before { content: ''; width: 30px; height: 3px; border-radius: 2px; background: currentColor; }
.ac-seccion.tinta .ac-sobretitulo { color: #ff8a80; }
.ac-subrayado { position: relative; white-space: nowrap; color: var(--ac-pri); z-index: 0; }
.ac-subrayado::after { content: ''; position: absolute; left: -2px; right: -2px; bottom: .04em; height: .22em; background: var(--ac-rojo); opacity: .85; border-radius: 3px; z-index: -1; transform: skewX(-12deg); }

/* ---------- Botones ---------- */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border: 2px solid transparent; border-radius: 10px; padding: .8rem 1.3rem; font-weight: 700; font-size: .97rem; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; white-space: nowrap; text-decoration: none; line-height: 1.2; }
.ac-btn:hover { transform: translateY(-2px); }
.ac-btn:active { transform: translateY(0); }
.ac-btn:disabled { opacity: .65; cursor: progress; transform: none; }
.ac-btn.grande { padding: 1rem 1.6rem; font-size: 1.03rem; }
.ac-btn.chico { padding: .5rem .9rem; font-size: .88rem; border-radius: 9px; }
.ac-btn.rojo { background: var(--ac-rojo); color: #fff; box-shadow: 0 4px 0 #a51f1f; }
.ac-btn.rojo:hover { color: #fff; box-shadow: 0 6px 0 #a51f1f; }
.ac-btn.rojo:active { box-shadow: 0 2px 0 #a51f1f; }
.ac-btn.pri { background: var(--ac-pri); color: #fff; box-shadow: 0 4px 0 #06324f; }
.ac-btn.pri:hover { color: #fff; box-shadow: 0 6px 0 #06324f; }
.ac-btn.linea { background: transparent; border-color: var(--ac-tinta); color: var(--ac-tinta); }
.ac-btn.linea:hover { background: var(--ac-tinta); color: #fff; }
.ac-btn.blanco { background: #fff; color: var(--ac-tinta); border-color: #fff; }
.ac-btn.blanco:hover { color: var(--ac-pri); }
.ac-btn.wa { background: #25d366; color: #063b1b; box-shadow: 0 4px 0 #17a24c; }
.ac-btn.wa:hover { color: #063b1b; }
.ac-enlace { font-weight: 700; color: var(--ac-tinta); display: inline-flex; gap: .45rem; align-items: center; border-bottom: 2px solid var(--ac-rojo); padding-bottom: 2px; }
.ac-enlace:hover { color: var(--ac-rojo); }
.ac-gira { width: 1em; height: 1em; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: ac-girar .7s linear infinite; display: inline-block; }
@keyframes ac-girar { to { transform: rotate(360deg); } }

/* ---------- Navegación ---------- */
.ac-nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .25s ease, box-shadow .25s ease; }
.ac-nav::before { content: ''; display: block; height: 5px; background: var(--ac-aereo); }
.ac-nav .ac-contenedor { display: flex; align-items: center; gap: 22px; height: 76px; transition: height .25s; }
.ac-nav-logo { display: flex; align-items: center; flex: none; }
.ac-nav-logo img { height: 46px; width: auto; }
.ac-nav-links { display: flex; gap: 2px; margin: 0 auto; list-style: none; padding: 0; }
.ac-nav-links a { color: var(--ac-tinta-2); font-weight: 600; font-size: .96rem; padding: .5rem .8rem; position: relative; display: block; }
.ac-nav-links a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .2rem; height: 2px; background: var(--ac-rojo); transform: scaleX(0); transition: transform .2s; }
.ac-nav-links a:hover::after, .ac-nav-links a.activo::after { transform: scaleX(1); }
.ac-nav-links a.activo { color: var(--ac-tinta); }
.ac-nav-acciones { display: flex; gap: 18px; align-items: center; }
.ac-nav-ingresar { font-weight: 700; color: var(--ac-tinta); display: inline-flex; gap: .45rem; align-items: center; }
.ac-nav-ingresar:hover { color: var(--ac-rojo); }
.ac-nav.fija { background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); box-shadow: 0 10px 30px -22px rgba(13, 34, 56, .5); }
.ac-nav.fija .ac-contenedor { height: 64px; }
.ac-nav-menu { display: none; width: 44px; height: 44px; border-radius: 10px; border: 2px solid var(--ac-tinta); background: transparent; color: var(--ac-tinta); cursor: pointer; font-size: 1.1rem; }

/* ---------- Portada ---------- */
.ac-hero { position: relative; overflow: hidden; background: var(--ac-papel); padding: 150px 0 90px; isolation: isolate; }
.ac-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--ac-puntos); background-size: 16px 16px; mask-image: linear-gradient(105deg, transparent 25%, #000 65%); -webkit-mask-image: linear-gradient(105deg, transparent 25%, #000 65%); }
.ac-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.ac-hero h1 { font-size: clamp(2.4rem, 4.8vw, 3.9rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.06; margin-bottom: .45em; }
.ac-hero-sub { font-size: 1.17rem; color: var(--ac-gris); max-width: 540px; margin-bottom: 2.1rem; }
.ac-hero-ctas { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; margin-bottom: 2.4rem; }
.ac-origenes { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ac-origen { display: inline-flex; align-items: center; gap: .55rem; background: #fff; border: 1px solid var(--ac-borde); border-radius: 999px; padding: .38rem .9rem .38rem .42rem; font-size: .9rem; font-weight: 600; color: var(--ac-tinta-2); box-shadow: var(--ac-sombra); }
.ac-origen .flag-icon { width: 26px; height: 26px; border-radius: 50%; background-size: cover; }
.ac-origen b { color: var(--ac-rojo); font-weight: 700; }
.ac-origen.destino { background: var(--ac-tinta); color: #fff; border-color: var(--ac-tinta); }
.ac-origen-flecha { color: var(--ac-gris-2); }

/* Collage: foto, etiqueta de envío, estampilla y matasellos */
.ac-collage { position: relative; height: 560px; }
.ac-foto { position: absolute; right: 0; top: 0; width: 78%; height: 92%; border-radius: 22px; padding: 10px; background: var(--ac-aereo); box-shadow: var(--ac-sombra-alta); transform: rotate(2.2deg); }
.ac-foto img { width: 100%; height: 100%; object-fit: cover; border-radius: 14px; }
.ac-etiqueta-envio { position: absolute; left: 0; bottom: 8%; width: 300px; background: #fff; border-radius: 12px; box-shadow: 0 30px 50px -24px rgba(13, 34, 56, .55); transform: rotate(-4deg); font-size: .82rem; overflow: hidden; animation: ac-mecer 7s ease-in-out infinite; }
@keyframes ac-mecer { 0%, 100% { transform: rotate(-4deg) translateY(0); } 50% { transform: rotate(-3deg) translateY(-8px); } }
.ac-etq-cab { background: var(--ac-tinta); color: #fff; padding: 10px 14px; display: flex; justify-content: space-between; align-items: center; font-family: var(--ac-titulo); font-weight: 700; letter-spacing: .1em; font-size: .7rem; }
.ac-etq-cab i { color: #ff8a80; }
.ac-etq-cuerpo { padding: 12px 14px 4px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.ac-etq-campo small { display: block; color: var(--ac-gris-2); font-weight: 700; font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; }
.ac-etq-campo b { font-family: var(--ac-titulo); font-size: .9rem; display: flex; align-items: center; gap: .35rem; }
.ac-etq-campo .flag-icon { border-radius: 2px; }
.ac-etq-campo.ancho { grid-column: 1 / -1; }
.ac-etq-pie { margin: 8px 14px 12px; padding-top: 10px; border-top: 2px dashed var(--ac-borde); display: flex; align-items: flex-end; gap: 12px; }
.ac-barras { flex: 1; height: 42px; background: repeating-linear-gradient(90deg, var(--ac-tinta) 0 2px, transparent 2px 4px, var(--ac-tinta) 4px 5px, transparent 5px 8px, var(--ac-tinta) 8px 11px, transparent 11px 12px, var(--ac-tinta) 12px 13px, transparent 13px 16px); }
.ac-etq-pie span { font-family: var(--ac-titulo); font-weight: 800; font-size: 1.25rem; color: var(--ac-rojo); line-height: 1; }
.ac-estampilla { position: absolute; right: -14px; bottom: -6px; width: 150px; padding: 9px; transform: rotate(7deg); filter: drop-shadow(0 16px 20px rgba(13, 34, 56, .35)); background: radial-gradient(circle, transparent 4px, #fff 4.6px) -6px -6px / 12px 12px; animation: ac-mecer-2 8s ease-in-out infinite; }
@keyframes ac-mecer-2 { 0%, 100% { transform: rotate(7deg); } 50% { transform: rotate(4deg) translateY(-6px); } }
.ac-estampilla-in { background: linear-gradient(160deg, var(--ac-pri), var(--ac-tinta)); color: #fff; padding: 14px 10px; text-align: center; border: 2px solid rgba(255, 255, 255, .25); }
.ac-estampilla-in .flag-icon { width: 40px; height: 30px; border-radius: 3px; margin: 0 auto 6px; display: block; }
.ac-estampilla-in small { display: block; font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; opacity: .8; font-weight: 700; }
.ac-estampilla-in b { display: block; font-family: var(--ac-titulo); font-size: 1.4rem; line-height: 1.1; margin: 2px 0; }
.ac-matasellos { position: absolute; left: 10%; top: 0; width: 150px; height: 150px; color: var(--ac-rojo); opacity: .8; animation: ac-girar 40s linear infinite; }
.ac-matasellos text { font-family: var(--ac-titulo); font-weight: 700; font-size: 11.5px; letter-spacing: 3px; fill: currentColor; }
.ac-avion-papel { position: absolute; left: 6%; top: 44%; color: var(--ac-pri); font-size: 1.5rem; animation: ac-planear 6s ease-in-out infinite; }
@keyframes ac-planear { 0%, 100% { transform: translate(0, 0) rotate(-8deg); } 50% { transform: translate(18px, -14px) rotate(4deg); } }

/* Banda de rastreo */
.ac-banda { background: var(--ac-tinta); color: #fff; position: relative; }
.ac-banda::before, .ac-banda::after { content: ''; position: absolute; left: 0; right: 0; height: 6px; background: var(--ac-aereo); }
.ac-banda::before { top: 0; }
.ac-banda::after { bottom: 0; }
.ac-banda .ac-contenedor { display: grid; grid-template-columns: auto 1fr; gap: 20px 36px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.ac-banda h2 { font-size: 1.4rem; margin: 0; display: flex; gap: .6rem; align-items: center; }
.ac-banda h2 i { color: #ff8a80; }
.ac-banda p { margin: 4px 0 0; color: rgba(255, 255, 255, .65); font-size: .95rem; }
.ac-rastreo { display: flex; gap: 8px; background: #fff; border-radius: 12px; padding: 6px; }
.ac-rastreo label { flex: 1; display: flex; align-items: center; gap: .7rem; padding: 0 .9rem; color: var(--ac-gris-2); }
.ac-rastreo input { flex: 1; min-width: 0; border: 0; outline: none; color: var(--ac-texto); font-weight: 600; padding: .75rem 0; font-size: 1rem; background: transparent; }
.ac-rastreo-res { grid-column: 1 / -1; }
.ac-rastreo-res:empty { display: none; }
.ac-rastreo-card { background: #fff; color: var(--ac-texto); border-radius: 12px; padding: 18px 20px; border-left: 5px solid var(--ac-rojo); animation: ac-aparecer .35s ease both; }
.ac-rastreo-card + .ac-rastreo-card { margin-top: 10px; }
.ac-rastreo-card h4 { font-size: .98rem; margin: 0 0 4px; display: flex; gap: .5rem; align-items: center; }
.ac-rastreo-card small { color: var(--ac-gris); }
.ac-rastreo-card .nada { color: var(--ac-gris); margin: 0; font-size: .94rem; }
.ac-pasos-mini { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 14px; }
.ac-pasos-mini div { text-align: center; font-size: .7rem; color: var(--ac-gris-2); font-weight: 700; line-height: 1.25; }
.ac-pasos-mini div::before { content: ''; display: block; height: 6px; border-radius: 6px; background: var(--ac-borde); margin-bottom: 6px; }
.ac-pasos-mini div.ok { color: var(--ac-pri); }
.ac-pasos-mini div.ok::before { background: var(--ac-pri); }
.ac-pasos-mini div.ahora { color: var(--ac-rojo); }
.ac-pasos-mini div.ahora::before { background: var(--ac-rojo); }
@keyframes ac-aparecer { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Tiendas ---------- */
.ac-tiendas { padding: 30px 0; background: #fff; border-bottom: 1px solid var(--ac-borde); }
.ac-tiendas .ac-contenedor { display: flex; align-items: center; gap: 30px; }
.ac-tiendas p { margin: 0; flex: none; font-family: var(--ac-titulo); font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ac-gris); }
.ac-cinta { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ac-cinta-pista { display: flex; gap: 52px; width: max-content; animation: ac-cinta 34s linear infinite; }
.ac-cinta:hover .ac-cinta-pista { animation-play-state: paused; }
.ac-cinta-pista span { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--ac-titulo); font-size: 1.28rem; font-weight: 700; color: #a6aeb7; white-space: nowrap; transition: color .2s; }
.ac-cinta-pista span:hover { color: var(--ac-tinta); }
.ac-cinta-pista .fa-ebay { font-size: 2.8rem; line-height: .5; }
@keyframes ac-cinta { to { transform: translateX(-50%); } }

/* ---------- Cómo funciona: recorrido ---------- */
.ac-recorrido { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.ac-recorrido svg.ac-trazo { position: absolute; left: 4%; top: -18px; width: 92%; height: 90px; overflow: visible; pointer-events: none; z-index: 0; }
.ac-trazo path { fill: none; stroke: var(--ac-pri); stroke-width: 2; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .5; }
.ac-etapa { position: relative; padding: 0 24px 0 0; z-index: 1; }
.ac-etapa-num { font-family: var(--ac-titulo); font-weight: 800; font-size: 4.6rem; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--ac-pri); letter-spacing: -.04em; position: relative; display: inline-block; background: #fff; padding: 0 14px 0 0; }
.ac-etapa-num i { position: absolute; right: -6px; top: -6px; width: 36px; height: 36px; border-radius: 50%; background: var(--ac-rojo); color: #fff; -webkit-text-stroke: 0; font-size: .85rem; display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(211, 47, 47, .8); }
.ac-etapa h3 { font-size: 1.15rem; margin-top: 18px; }
.ac-etapa p { color: var(--ac-gris); margin: 0; font-size: .98rem; }

/* ---------- Servicios ---------- */
.ac-servicios { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.ac-serv-intro { position: sticky; top: 100px; }
.ac-serv-intro h2 { font-size: clamp(1.9rem, 3.3vw, 2.7rem); }
.ac-serv-intro > p { color: rgba(255, 255, 255, .7); font-size: 1.08rem; }
.ac-serv-foto { position: relative; margin-top: 30px; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; }
.ac-serv-foto img { width: 100%; height: 100%; object-fit: cover; }
.ac-serv-foto::after { content: ''; position: absolute; inset: auto 0 0 0; height: 7px; background: var(--ac-aereo); }
.ac-serv { display: grid; grid-template-columns: 58px 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ac-serv:last-child { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ac-serv-ico { width: 58px; height: 58px; border-radius: 14px; border: 1.5px solid rgba(255, 255, 255, .25); display: grid; place-items: center; font-size: 1.35rem; color: #fff; transition: background .25s, border-color .25s, transform .25s; }
.ac-serv:hover .ac-serv-ico { background: var(--ac-rojo); border-color: var(--ac-rojo); transform: rotate(-6deg); }
.ac-serv h3 { font-size: 1.16rem; margin-bottom: .3rem; }
.ac-serv p { color: rgba(255, 255, 255, .68); margin: 0; }
.ac-serv ul { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ac-serv li { font-size: .82rem; font-weight: 600; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; padding: .2rem .7rem; color: rgba(255, 255, 255, .85); }

/* ---------- Tarifas y calculadora ---------- */
.ac-sucursales { display: flex; gap: 8px; flex-wrap: wrap; margin: -24px 0 34px; }
.ac-pestana { border: 1.5px solid var(--ac-borde); background: #fff; color: var(--ac-gris); font-weight: 700; padding: .55rem 1rem; border-radius: 999px; cursor: pointer; display: inline-flex; gap: .5rem; align-items: center; transition: all .2s; font-size: .93rem; }
.ac-pestana:hover { color: var(--ac-tinta); border-color: var(--ac-tinta); }
.ac-pestana[aria-selected="true"] { background: var(--ac-tinta); color: #fff; border-color: var(--ac-tinta); }
.ac-pestana .flag-icon { border-radius: 3px; }
.ac-tarifas-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: stretch; }
.ac-precios { display: grid; gap: 14px; align-content: start; }
.ac-precio { background: #fff; border: 1.5px solid var(--ac-borde); border-radius: var(--ac-radio); padding: 20px 24px; position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.ac-precio:hover { transform: translateX(4px); box-shadow: var(--ac-sombra); border-color: var(--ac-borde-2); }
.ac-precio.destacado { border-color: var(--ac-tinta); box-shadow: 6px 6px 0 var(--ac-pri-s); }
.ac-precio-badge { position: absolute; top: -12px; left: 22px; background: var(--ac-rojo); color: #fff; font-family: var(--ac-titulo); font-size: .66rem; font-weight: 700; padding: .25rem .65rem; border-radius: 6px; letter-spacing: .08em; text-transform: uppercase; }
.ac-precio-cab { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ac-precio-cab .flag-icon { width: 44px; height: 33px; border-radius: 6px; box-shadow: 0 3px 8px -4px rgba(0, 0, 0, .4); flex: none; }
.ac-precio-cab b { display: block; font-family: var(--ac-titulo); font-size: 1.05rem; }
.ac-precio-cab small { color: var(--ac-gris); font-size: .86rem; display: inline-flex; gap: .4rem; align-items: center; }
.ac-monto { font-family: var(--ac-titulo); font-size: 2.05rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ac-tinta); white-space: nowrap; }
.ac-monto sup { font-size: .85rem; top: -1em; margin-right: 3px; color: var(--ac-gris); letter-spacing: 0; }
.ac-monto small { font-family: var(--ac-fuente); font-size: .92rem; color: var(--ac-gris); font-weight: 600; letter-spacing: 0; }
.ac-nota { color: var(--ac-gris); font-size: .88rem; margin-top: 18px; display: flex; gap: .5rem; align-items: flex-start; }
.ac-nota i { color: var(--ac-rojo); margin-top: .22rem; }
.ac-calc { background: var(--ac-tinta); color: #fff; border-radius: 18px; padding: 32px 30px 30px; position: relative; overflow: hidden; box-shadow: var(--ac-sombra-alta); }
.ac-calc::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--ac-aereo); }
.ac-calc h3 { font-size: 1.3rem; }
.ac-calc > p { color: rgba(255, 255, 255, .7); font-size: .94rem; }
.ac-campo { margin-bottom: 16px; position: relative; display: block; }
.ac-campo > span { display: block; font-size: .74rem; font-weight: 700; color: rgba(255, 255, 255, .65); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .08em; }
.ac-calc select, .ac-calc input[type="number"] { width: 100%; background: rgba(255, 255, 255, .07); border: 1.5px solid rgba(255, 255, 255, .18); border-radius: 10px; padding: .8rem .9rem; color: #fff; outline: none; font-weight: 600; }
.ac-calc select option { color: var(--ac-texto); }
.ac-calc select:focus, .ac-calc input:focus { border-color: #fff; }
.ac-peso { display: flex; gap: 12px; align-items: center; }
.ac-peso input[type="number"] { width: 110px; flex: none; text-align: center; }
.ac-peso input[type="range"] { flex: 1; accent-color: var(--ac-rojo-2); }
.ac-total { margin-top: 20px; padding: 18px 22px; border-radius: 12px; background: #fff; color: var(--ac-tinta); position: relative; }
.ac-total::before, .ac-total::after { content: ''; position: absolute; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: var(--ac-tinta); transform: translateY(-50%); }
.ac-total::before { left: -9px; }
.ac-total::after { right: -9px; }
.ac-total small { color: var(--ac-gris); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.ac-total b { display: block; font-family: var(--ac-titulo); font-size: 2.2rem; letter-spacing: -.03em; line-height: 1.1; margin-top: 4px; }
.ac-total span { color: var(--ac-gris); font-size: .88rem; }
.ac-calc .ac-btn { width: 100%; margin-top: 20px; }

/* ---------- Direcciones ---------- */
.ac-dir-pestanas { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.ac-dir { display: grid; grid-template-columns: 1.25fr .75fr; gap: 26px; animation: ac-aparecer .35s ease both; }
.ac-dir-caja { background: #fff; border-radius: 16px; box-shadow: var(--ac-sombra); overflow: hidden; border: 1px solid var(--ac-borde); position: relative; }
.ac-dir-caja::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 7px; background: var(--ac-aereo); }
.ac-dir-cab { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 18px 30px; border-bottom: 2px dashed var(--ac-borde); }
.ac-dir-cab h3 { margin: 0; font-size: 1.1rem; display: flex; gap: .6rem; align-items: center; }
.ac-dir-cab small { color: var(--ac-gris); font-weight: 700; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; }
.ac-dir-fila { display: flex; align-items: center; gap: 12px; padding: 12px 22px 12px 30px; border-top: 1px solid #f0ece4; transition: background .15s; }
.ac-dir-cab + .ac-dir-fila { border-top: 0; }
.ac-dir-fila:hover { background: #fcfaf6; }
.ac-dir-fila div { flex: 1; min-width: 0; }
.ac-dir-fila small { display: block; color: var(--ac-gris-2); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.ac-dir-fila b { font-weight: 700; word-break: break-word; }
.ac-dir-fila mark { background: var(--ac-rojo-s); color: var(--ac-rojo); border-radius: 4px; padding: 0 .3rem; font-weight: 800; }
.ac-copiar { width: 38px; height: 38px; border-radius: 9px; border: 1.5px solid var(--ac-borde); background: #fff; color: var(--ac-gris); cursor: pointer; flex: none; transition: all .15s; }
.ac-copiar:hover { color: var(--ac-tinta); border-color: var(--ac-tinta); }
.ac-copiar.ok { color: #fff; background: var(--ac-verde); border-color: var(--ac-verde); }
.ac-dir-lado { display: flex; flex-direction: column; gap: 16px; }
.ac-aviso { background: #fff; border: 1.5px dashed var(--ac-rojo); border-radius: 14px; padding: 20px; }
.ac-aviso h4 { font-size: 1rem; display: flex; gap: .5rem; align-items: center; color: var(--ac-rojo); }
.ac-aviso p { margin: 0; color: var(--ac-gris); font-size: .93rem; }
.ac-instr { background: #fff; border: 1px solid var(--ac-borde); border-radius: 14px; padding: 20px; font-size: .9rem; color: var(--ac-gris); }
.ac-instr h4, .ac-instr h5 { color: var(--ac-texto); font-size: .92rem; }
.ac-instr p { margin: 0 0 .35rem; }
.ac-cta-mini { background: var(--ac-tinta); border-radius: 14px; padding: 22px; color: #fff; }
.ac-cta-mini h4 { font-size: 1.05rem; }
.ac-cta-mini p { color: rgba(255, 255, 255, .7); font-size: .92rem; }

/* ---------- Nosotros ---------- */
.ac-nos { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.ac-nos-texto h2 { font-size: clamp(1.9rem, 3.3vw, 2.6rem); }
.ac-nos-texto > p { color: var(--ac-gris); font-size: 1.06rem; }
.ac-sellos { display: flex; gap: 18px; margin: 30px 0; flex-wrap: wrap; }
.ac-sello { width: 132px; padding: 8px; background: radial-gradient(circle, transparent 4px, #fff 4.6px) -6px -6px / 12px 12px; filter: drop-shadow(0 10px 14px rgba(13, 34, 56, .2)); }
.ac-sello:nth-child(1) { transform: rotate(-3deg); }
.ac-sello:nth-child(2) { transform: rotate(2deg); }
.ac-sello:nth-child(3) { transform: rotate(-1deg); }
.ac-sello-in { border: 2px solid var(--ac-pri-s); padding: 14px 8px; text-align: center; background: #fff; }
.ac-sello b { display: block; font-family: var(--ac-titulo); font-size: 1.9rem; font-weight: 800; color: var(--ac-pri); letter-spacing: -.03em; line-height: 1.1; }
.ac-sello span { color: var(--ac-gris); font-size: .76rem; font-weight: 700; line-height: 1.25; display: block; }
.ac-valores { display: grid; gap: 16px; }
.ac-valor { display: flex; gap: 14px; }
.ac-valor i { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--ac-rojo-s); color: var(--ac-rojo); flex: none; }
.ac-valor b { display: block; font-family: var(--ac-titulo); margin-bottom: 2px; }
.ac-valor p { margin: 0; color: var(--ac-gris); font-size: .94rem; }
.ac-video { position: relative; border-radius: 18px; cursor: pointer; aspect-ratio: 4 / 3.5; border: 0; padding: 10px; width: 100%; color: #fff; display: block; background: var(--ac-aereo); box-shadow: var(--ac-sombra-alta); transform: rotate(-1.5deg); transition: transform .3s; }
.ac-video:hover { transform: rotate(0); }
.ac-video-in { position: relative; display: block; width: 100%; height: 100%; border-radius: 10px; overflow: hidden; background: var(--ac-tinta); }
.ac-video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ac-video:hover img { transform: scale(1.05); }
.ac-video-in::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(13, 34, 56, .9)); }
.ac-video-play { position: absolute; z-index: 1; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 86px; height: 86px; border-radius: 50%; background: var(--ac-rojo); color: #fff; display: grid; place-items: center; font-size: 1.5rem; animation: ac-pulso 2.2s ease-out infinite; }
@keyframes ac-pulso { 0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, .55); } 100% { box-shadow: 0 0 0 26px rgba(211, 47, 47, 0); } }
.ac-video-texto { position: absolute; z-index: 1; left: 24px; right: 24px; bottom: 20px; text-align: left; }
.ac-video-texto b { display: block; font-family: var(--ac-titulo); font-size: 1.2rem; }
.ac-video-texto span { color: rgba(255, 255, 255, .75); font-size: .92rem; }

/* ---------- Preguntas ---------- */
.ac-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.ac-faq-ayuda { margin-top: 26px; background: #fff; border-radius: 14px; padding: 20px; border: 1px solid var(--ac-borde); display: flex; gap: 14px; align-items: center; color: var(--ac-texto); }
.ac-faq-ayuda > i { width: 48px; height: 48px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.4rem; flex: none; }
.ac-faq-ayuda b { display: block; font-family: var(--ac-titulo); }
.ac-faq-ayuda span { color: var(--ac-gris); font-size: .92rem; }
.ac-faq details { border-top: 1.5px solid var(--ac-borde); }
.ac-faq details:last-child { border-bottom: 1.5px solid var(--ac-borde); }
.ac-faq summary { list-style: none; cursor: pointer; padding: 22px 0; font-family: var(--ac-titulo); font-weight: 600; font-size: 1.05rem; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.ac-faq summary::-webkit-details-marker { display: none; }
.ac-faq summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: .8rem; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--ac-tinta); display: grid; place-items: center; flex: none; transition: transform .25s, background .25s, color .25s, border-color .25s; }
.ac-faq details[open] summary::after { transform: rotate(45deg); background: var(--ac-rojo); border-color: var(--ac-rojo); color: #fff; }
.ac-faq details p { color: var(--ac-gris); padding: 0 50px 22px 0; margin: 0; }

/* ---------- Contacto ---------- */
.ac-contacto { display: grid; grid-template-columns: .9fr 1.1fr; gap: 28px; }
.ac-contacto-info { display: grid; gap: 12px; align-content: start; }
.ac-dato { display: flex; gap: 16px; background: #fff; border: 1px solid var(--ac-borde); border-radius: 14px; padding: 16px 18px; align-items: center; }
.ac-dato > i { width: 44px; height: 44px; border-radius: 12px; background: var(--ac-pri-s); display: grid; place-items: center; flex: none; color: var(--ac-pri); }
.ac-dato small { color: var(--ac-gris-2); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; display: block; }
.ac-dato a, .ac-dato span { color: var(--ac-texto); font-weight: 600; font-size: .96rem; }
.ac-redes { display: flex; gap: 10px; margin-top: 6px; }
.ac-redes a { width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--ac-tinta); color: var(--ac-tinta); display: grid; place-items: center; transition: background .2s, color .2s, transform .2s; }
.ac-redes a:hover { background: var(--ac-tinta); color: #fff; transform: translateY(-2px); }
.ac-form { background: #fff; border-radius: 18px; padding: 36px 34px 34px; box-shadow: var(--ac-sombra-alta); position: relative; overflow: hidden; }
.ac-form::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 7px; background: var(--ac-aereo); }
.ac-form h3 { font-size: 1.35rem; }
.ac-form > p { color: var(--ac-gris); }
.ac-form-fila { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ac-input { margin-bottom: 14px; }
.ac-input label { display: block; font-weight: 700; font-size: .86rem; margin-bottom: 6px; }
.ac-input input, .ac-input textarea { width: 100%; border: 1.5px solid var(--ac-borde); border-radius: 10px; padding: .8rem .95rem; background: #fdfcfa; outline: none; transition: border-color .15s, box-shadow .15s, background .15s; }
.ac-input input:focus, .ac-input textarea:focus { border-color: var(--ac-tinta); background: #fff; box-shadow: 0 0 0 4px rgba(13, 34, 56, .08); }
.ac-input textarea { min-height: 130px; resize: vertical; }
.ac-input .is-invalid { border-color: var(--ac-rojo); box-shadow: 0 0 0 4px rgba(211, 47, 47, .1); }
.invalid-feedback { color: var(--ac-rojo); font-size: .83rem; margin-top: 4px; }
.ac-mapa { margin-top: 28px; border-radius: 18px; overflow: hidden; border: 1px solid var(--ac-borde); height: 340px; background: var(--ac-papel-2); }
.ac-mapa iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.25); }

/* ---------- Llamado final: sobre ---------- */
.ac-final { padding: 0 0 100px; }
.ac-sobre { position: relative; border-radius: 18px; padding: 12px; background: var(--ac-aereo); box-shadow: var(--ac-sombra-alta); }
.ac-sobre-in { background: var(--ac-papel); border-radius: 10px; padding: 54px 60px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.ac-sobre h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.ac-sobre p { color: var(--ac-gris); font-size: 1.08rem; max-width: 560px; margin: 0 0 1.6rem; }
.ac-sobre .ac-hero-ctas { margin: 0; }
.ac-sobre .ac-estampilla { position: static; transform: rotate(6deg); animation: none; width: 170px; }

/* ---------- Pie ---------- */
.ac-pie { background: var(--ac-tinta); color: rgba(255, 255, 255, .65); font-size: .95rem; }
.ac-pie::before { content: ''; display: block; height: 7px; background: var(--ac-aereo); }
.ac-pie-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; padding: 60px 0 44px; }
.ac-pie-logo { display: inline-flex; background: #fff; border-radius: 10px; padding: 8px 12px; margin-bottom: 16px; }
.ac-pie-logo img { height: 40px; width: auto; }
.ac-pie h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.ac-pie ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ac-pie a { color: rgba(255, 255, 255, .65); transition: color .15s; }
.ac-pie a:hover { color: #fff; }
.ac-pie-base { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .87rem; }
.ac-pie-base a { color: #fff; font-weight: 700; }

/* ---------- WhatsApp flotante, avisos y video ---------- */
.ac-wa { position: fixed; right: 20px; bottom: 22px; z-index: 60; width: 58px; height: 58px; border-radius: 16px; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 5px 0 #17a24c, 0 18px 30px -12px rgba(0, 0, 0, .35); transition: transform .2s; }
.ac-wa:hover { transform: translateY(-3px); color: #fff; }
.ac-avisos { position: fixed; top: 20px; right: 20px; z-index: 100; display: grid; gap: 10px; width: min(360px, calc(100vw - 40px)); }
.ac-toast { background: #fff; border-radius: 12px; padding: 14px 16px; box-shadow: 0 20px 40px -18px rgba(13, 34, 56, .45); display: flex; gap: 12px; align-items: flex-start; border-left: 5px solid var(--ac-verde); animation: ac-entrar .3s ease both; font-size: .94rem; font-weight: 600; }
.ac-toast.error { border-left-color: var(--ac-rojo); }
.ac-toast i { color: var(--ac-verde); margin-top: .15rem; }
.ac-toast.error i { color: var(--ac-rojo); }
.ac-toast.sale { animation: ac-salir .3s ease forwards; }
@keyframes ac-entrar { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes ac-salir { to { opacity: 0; transform: translateX(30px); } }
.ac-modal { border: 0; padding: 0; border-radius: 16px; width: min(900px, 94vw); background: #000; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); }
.ac-modal::backdrop { background: rgba(8, 16, 28, .82); backdrop-filter: blur(4px); }
.ac-modal-video { aspect-ratio: 16 / 9; }
.ac-modal-video iframe { width: 100%; height: 100%; border: 0; display: block; }
.ac-modal-cerrar { position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); cursor: pointer; font-size: 1.1rem; }

/* ---------- Aparición al hacer scroll ---------- */
.ac-revelar { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.ac-revelar.visible { opacity: 1; transform: none; }

/* =====================================================================
 * Acceso de clientes (login.html): un "pase" con talón troquelado
 * ===================================================================== */
.lg-pagina { min-height: 100vh; background: var(--ac-papel); display: flex; flex-direction: column; position: relative; isolation: isolate; }
.lg-pagina::before { content: ''; position: absolute; inset: 0; z-index: -1; background-image: var(--ac-puntos); background-size: 16px 16px; mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 20%, transparent 70%); }
.lg-arriba { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: 100%; max-width: 980px; margin: 0 auto; padding: 22px; }
.lg-arriba img { height: 44px; width: auto; }
.lg-volver { color: var(--ac-tinta-2); font-weight: 700; display: inline-flex; gap: .5rem; align-items: center; }
.lg-volver:hover { color: var(--ac-rojo); }
.lg-centro { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 10px 22px 26px; }
.lg-pase { width: 100%; max-width: 940px; display: grid; grid-template-columns: 330px 1fr; filter: drop-shadow(0 30px 40px rgba(13, 34, 56, .22)); position: relative; margin-bottom: 22px; }
.lg-talon { background: var(--ac-tinta); color: #fff; border-radius: 20px 0 0 20px; padding: 34px 28px 30px 36px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.lg-talon::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: var(--ac-aereo); }
.lg-talon-tit { font-family: var(--ac-titulo); font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-weight: 700; position: relative; }
.lg-talon h1 { font-size: 1.85rem; margin: .35rem 0 1.5rem; position: relative; }
.lg-talon-campos { display: grid; gap: 16px; margin-bottom: 26px; position: relative; }
.lg-talon-campo { display: flex; gap: 12px; align-items: flex-start; }
.lg-talon-campo > i { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .08); display: grid; place-items: center; flex: none; color: #ff8a80; font-size: .9rem; }
.lg-talon-campo small { display: block; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .5); font-weight: 700; }
.lg-talon-campo b { font-size: .93rem; font-weight: 600; line-height: 1.35; display: block; }
.lg-talon-pie { margin-top: auto; display: flex; align-items: flex-end; gap: 14px; position: relative; }
.lg-talon-pie .ac-barras { height: 46px; opacity: .85; background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 4px, #fff 4px 5px, transparent 5px 8px, #fff 8px 11px, transparent 11px 12px, #fff 12px 13px, transparent 13px 16px); }
.lg-talon-pie span { font-family: var(--ac-titulo); font-weight: 800; color: #ff8a80; font-size: 1.1rem; line-height: 1; }
.lg-talon .ac-matasellos { left: auto; right: -40px; top: 54px; width: 150px; height: 150px; color: rgba(255, 255, 255, .12); opacity: 1; }
.lg-cuerpo { background: #fff; border-radius: 0 20px 20px 0; padding: 40px 44px; position: relative; border-left: 2px dashed #d6d0c4; }
.lg-cuerpo::before, .lg-cuerpo::after { content: ''; position: absolute; left: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--ac-papel); }
.lg-cuerpo::before { top: -13px; }
.lg-cuerpo::after { bottom: -13px; }
.lg-cuerpo h2 { font-size: 1.7rem; margin-bottom: .35rem; }
.lg-bajada { color: var(--ac-gris); margin-bottom: 1.6rem; }
.lg-icono-form { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-size: 1.3rem; margin-bottom: 18px; background: var(--ac-rojo-s); color: var(--ac-rojo); }
.lg-campo { margin-bottom: 16px; }
.lg-campo label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .88rem; margin-bottom: 7px; }
.lg-link { color: var(--ac-pri-2); font-weight: 700; font-size: .86rem; background: none; border: 0; cursor: pointer; padding: 0; }
.lg-link:hover { color: var(--ac-rojo); text-decoration: underline; }
.lg-input { position: relative; display: flex; align-items: center; }
.lg-input > i { position: absolute; left: 15px; color: var(--ac-gris-2); pointer-events: none; transition: color .15s; }
.lg-input input { width: 100%; border: 1.5px solid var(--ac-borde); border-radius: 10px; padding: .9rem 1rem .9rem 2.8rem; background: #fdfcfa; outline: none; font-size: 1rem; transition: border-color .15s, box-shadow .15s, background .15s; }
.lg-input input:focus { border-color: var(--ac-tinta); background: #fff; box-shadow: 0 0 0 4px rgba(13, 34, 56, .08); }
.lg-input:focus-within > i { color: var(--ac-tinta); }
.lg-input .lg-ver { position: absolute; right: 8px; width: 38px; height: 38px; border: 0; background: transparent; border-radius: 8px; color: var(--ac-gris); cursor: pointer; }
.lg-input .lg-ver:hover { background: var(--ac-papel); color: var(--ac-tinta); }
.lg-mayus { color: #9a5b00; font-size: .82rem; font-weight: 700; margin-top: 6px; display: flex; gap: .4rem; align-items: center; }
.lg-recordar { display: flex; align-items: center; gap: .6rem; font-size: .93rem; color: var(--ac-gris); margin: 4px 0 20px; cursor: pointer; user-select: none; }
.lg-recordar input { width: 18px; height: 18px; accent-color: var(--ac-rojo); }
.lg-cuerpo .ac-btn.grande { width: 100%; margin-top: 4px; }
.lg-msj { border-radius: 10px; padding: .75rem .9rem; font-size: .91rem; font-weight: 600; margin-bottom: 16px; display: flex; gap: .55rem; align-items: flex-start; }
.lg-msj::before { font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.lg-msj.error { background: var(--ac-rojo-s); color: #a21c1c; }
.lg-msj.error::before { content: '\f06a'; }
.lg-msj.ok { background: #e3f5ec; color: #0b6b3e; }
.lg-msj.ok::before { content: '\f058'; }
.lg-msj.info { background: var(--ac-pri-s); color: var(--ac-pri); }
.lg-msj.info::before { content: '\f05a'; }
.lg-registro { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 22px; border-top: 1.5px solid var(--ac-borde); color: var(--ac-texto); }
.lg-registro div { flex: 1; }
.lg-registro b { display: block; font-family: var(--ac-titulo); }
.lg-registro span { color: var(--ac-gris); font-size: .9rem; }
.lg-codigo input { text-align: center; letter-spacing: .6em; font-family: var(--ac-titulo); font-size: 1.55rem; font-weight: 800; padding: .85rem 1rem .85rem 1.6rem; }
.lg-acciones { display: flex; justify-content: space-between; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.lg-ayuda { text-align: center; color: var(--ac-gris); font-size: .92rem; margin: 0; }
.lg-ayuda a { font-weight: 700; color: #128c4a; }
.lg-sacude { animation: lg-sacudir .4s ease; }
@keyframes lg-sacudir { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.lg-pie { text-align: center; color: var(--ac-gris-2); font-size: .84rem; padding: 0 22px 22px; }
.lg-pie a { color: var(--ac-gris); font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .ac-nav-links { display: none; }
  .ac-nav-menu { display: grid; place-items: center; }
  .ac-nav-acciones { margin-left: auto; }
  .ac-nav-ingresar { display: none !important; }
  .ac-nav.abierta { background: #fff; }
  .ac-nav.abierta .ac-nav-links { display: flex; flex-direction: column; position: absolute; top: 100%; left: 16px; right: 16px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: 0 30px 60px -20px rgba(13, 34, 56, .45); margin-top: 8px; }
  .ac-nav.abierta .ac-nav-links a { padding: .8rem 1rem; }
  .ac-hero-grid, .ac-tarifas-grid, .ac-dir, .ac-nos, .ac-contacto, .ac-servicios, .ac-faq-grid { grid-template-columns: 1fr; }
  .ac-collage { height: 500px; max-width: 560px; margin: 10px auto 0; width: 100%; }
  .ac-serv-intro { position: static; }
  .ac-recorrido { grid-template-columns: repeat(2, 1fr); gap: 44px 0; }
  .ac-recorrido svg.ac-trazo { display: none; }
  .ac-pie-grid { grid-template-columns: 1fr 1fr; }
  .ac-sobre-in { grid-template-columns: 1fr; text-align: center; padding: 44px 30px; }
  .ac-sobre-in p { margin-left: auto; margin-right: auto; }
  .ac-sobre .ac-hero-ctas { justify-content: center; }
  .ac-sobre .ac-estampilla { display: none; }
  .ac-banda .ac-contenedor { grid-template-columns: 1fr; }
}
@media (min-width: 1081px) { .solo-movil { display: none !important; } }
@media (max-width: 860px) {
  .lg-pase { grid-template-columns: 1fr; }
  .lg-talon { border-radius: 18px 18px 0 0; padding: 24px 24px 22px 32px; }
  .lg-talon h1 { font-size: 1.4rem; margin-bottom: .9rem; }
  .lg-talon-campos { display: none; }
  .lg-talon-pie { margin-top: 0; }
  .lg-talon-pie .ac-barras { height: 30px; }
  .lg-talon .ac-matasellos { top: -20px; width: 120px; height: 120px; }
  .lg-cuerpo { border-radius: 0 0 18px 18px; border-left: 0; border-top: 2px dashed #d6d0c4; padding: 30px 24px; }
  .lg-cuerpo::before, .lg-cuerpo::after { top: -14px; bottom: auto; }
  .lg-cuerpo::before { left: -13px; }
  .lg-cuerpo::after { left: auto; right: -13px; }
}
@media (max-width: 720px) {
  .ac-seccion { padding: 74px 0; }
  .ac-hero { padding: 120px 0 64px; }
  .ac-collage { height: 420px; }
  .ac-foto { width: 86%; }
  .ac-etiqueta-envio { width: 250px; bottom: 4%; }
  .ac-estampilla { width: 118px; right: -4px; }
  .ac-estampilla-in b { font-size: 1.12rem; }
  .ac-matasellos { width: 110px; height: 110px; left: 0; }
  .ac-avion-papel { display: none; }
  .ac-recorrido { grid-template-columns: 1fr; }
  .ac-form-fila { grid-template-columns: 1fr; }
  .ac-sellos { gap: 10px; justify-content: center; }
  .ac-sello { width: 104px; }
  .ac-sello b { font-size: 1.5rem; }
  .ac-pie-grid { grid-template-columns: 1fr; }
  .ac-hero-ctas .ac-btn.grande { width: 100%; }
  .ac-tiendas .ac-contenedor { flex-direction: column; gap: 14px; }
  .ac-rastreo { flex-direction: column; }
  .ac-rastreo .ac-btn { width: 100%; }
  .ac-form { padding: 28px 22px; }
  .ac-dir-fila, .ac-dir-cab { padding-left: 24px; padding-right: 16px; }
  .ac-faq details p { padding-right: 0; }
  .ac-nav-acciones .ac-btn span { display: none; }
  .ac-precio { padding: 18px; }
  .ac-monto { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .ac-revelar { opacity: 1; transform: none; }
}
