/* Ari Logistic. Colores tomados del logo: azul marino, azul y celeste; naranja del flyer. */
:root {
  --navy: #1b2a55;
  --navy-2: #13204a;
  --blue: #1679b8;
  --sky: #1ba9e2;
  --ice: #e9f6fd;
  --orange: #f39200;
  --ink: #0f1b35;
  --muted: #5a6a85;
  --line: #e2e9f2;
  --bg: #e4f2fc;
  --card: #ffffff;
  --ok: #10b981;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(19, 32, 74, .08);
  --head: 'Montserrat', system-ui, sans-serif;
  --body: 'Inter', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--head); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); font-weight: 800; color: var(--navy); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.muted { color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }
.eyebrow { font-family: var(--head); font-weight: 700; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--sky); margin-bottom: .7rem; }
.eyebrow.light { color: #8fd3f5; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--head); font-weight: 700; font-size: .95rem; border: 0; cursor: pointer;
  padding: 14px 24px; border-radius: 999px; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: 10px 18px; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--sky)); color: #fff; box-shadow: 0 8px 20px rgba(27, 169, 226, .35); }
.btn-accent { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(243, 146, 0, .35); }
.btn-ghost { background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.35); }
.btn-ghost-dark { background: #fff; color: var(--navy); border: 1.5px solid var(--line); }

/* Encabezado */
.top { position: sticky; top: 0; z-index: 50; background: rgba(19, 32, 74, .94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(27, 169, 226, .3); box-shadow: 0 6px 24px rgba(8, 15, 40, .25); }
.top-in { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand img { height: 44px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .93rem; padding: 8px 14px; border-radius: 999px; color: #dbe7f7; transition: background .15s, color .15s; }
.nav a:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.nav a.on { background: rgba(27, 169, 226, .2); color: #8fd3f5; }
.menu { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.menu span { position: absolute; left: 11px; right: 11px; height: 2.5px; background: #fff; border-radius: 2px; transition: .2s; }
.menu span:first-child { top: 17px; } .menu span:last-child { top: 25px; }
.menu[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Vistas */
.view { display: none; animation: fade .35s ease; }
.view.on { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse at 80% 20%, rgba(27,169,226,.35), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(22,121,184,.4), transparent 50%), linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 24px 24px; }
.hero-in { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero h1 { color: #fff; margin-top: 18px; }
.grad { background: linear-gradient(90deg, #8fd3f5, var(--sky) 50%, #ffb347); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 1.12rem; color: #c9d8ef; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; }
.chip-glass { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 10px #34d399; }
.closed .dot { background: #f59e0b; box-shadow: 0 0 10px #f59e0b; }
.quick-track { display: flex; gap: 8px; background: #fff; padding: 6px; border-radius: 999px; max-width: 520px; box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.quick-track input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; font: inherit; color: var(--ink); background: transparent; }
.quick-track.big { max-width: 640px; margin-top: 18px; }
.quick-track.big input { font-size: 1.05rem; }

.hero-art { position: relative; aspect-ratio: 520 / 460; }
.route { width: 100%; height: 100%; }
.route .lbl { fill: #fff; font: 800 15px var(--head); letter-spacing: .14em; }
.ping { transform-box: fill-box; transform-origin: center; animation: ping 2.2s ease-out infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(2.4); opacity: 0; } }
.float-card { position: absolute; display: flex; gap: 12px; align-items: center; background: rgba(255,255,255,.96); color: var(--ink); padding: 12px 16px; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.3); animation: bob 5s ease-in-out infinite; }
.float-card b { display: block; font-size: .9rem; } .float-card small { color: var(--muted); font-size: .78rem; }
.fc-1 { left: 0; top: 46%; } .fc-2 { right: 0; bottom: 4%; animation-delay: -2.5s; }
.fc-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--ice); color: var(--blue); font-size: 1.1rem; }
.fc-ico.ok { background: #d1fae5; color: var(--ok); font-weight: 800; }
@keyframes bob { 50% { transform: translateY(-10px); } }

.ticker { position: relative; border-top: 1px solid rgba(255,255,255,.12); overflow: hidden; background: rgba(0,0,0,.12); }
.ticker-in { display: flex; gap: 48px; width: max-content; padding: 14px 0; animation: tick 40s linear infinite; font-size: .9rem; color: #c9d8ef; }
.ticker b { color: #fff; }
@keyframes tick { to { transform: translateX(-50%); } }

/* Accesos */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 28px; }
.tile { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); transition: transform .2s, border-color .2s; }
.tile:hover { transform: translateY(-4px); border-color: var(--sky); }
.tile b { display: block; font-family: var(--head); font-size: 1.08rem; color: var(--navy); margin: 14px 0 6px; }
.tile small { color: var(--muted); }
.tile i { position: absolute; right: 22px; top: 22px; font-style: normal; color: var(--sky); font-weight: 700; }
.t-ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 14px; background: var(--ice); font-size: 1.5rem; }

/* Bandas */
.band { position: relative; color: #fff; background: radial-gradient(ellipse at 90% 0%, rgba(255, 255, 255, .18), transparent 50%), linear-gradient(135deg, var(--blue) 0%, var(--sky) 100%); }
.band h2 { color: #fff; }
.band .eyebrow { color: #e3f4fd; }
.band .steps li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .28); backdrop-filter: blur(4px); }
.band .steps li span { -webkit-text-stroke-color: #fff; }
.band .steps li b { color: #fff; }
.band .steps li p { color: #e3f4fd; }
.band-dark { background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border: 0; }
.band-dark h2 { color: #fff; }
.steps { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); }
.steps li span { font-family: var(--head); font-weight: 900; font-size: 2.2rem; color: transparent; -webkit-text-stroke: 1.5px var(--sky); }
.steps li b { display: block; font-family: var(--head); color: var(--navy); margin: 8px 0 6px; font-size: 1.05rem; }
.steps li p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Tarifas */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.split.align-top { align-items: start; }
.rate-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rate { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.rate:first-child { background: linear-gradient(145deg, var(--blue), var(--sky)); color: #fff; border: 0; }
.rate:first-child small, .rate:first-child em { color: #e3f4fd; }
.rate small { display: block; font-weight: 600; color: var(--muted); }
.rate b { display: block; font-family: var(--head); font-size: 2rem; font-weight: 800; margin: 6px 0 2px; }
.rate em { font-style: normal; font-size: .88rem; color: var(--muted); }

/* Confianza */
.trust { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: center; }
.trust-photo { border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px rgba(0,0,0,.35); border: 4px solid rgba(255,255,255,.12); }
.trust-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 26px 0; }
.stats div { padding: 18px 20px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); }
.stats b { display: block; font-family: var(--head); font-size: 1.7rem; font-weight: 800; color: #8fd3f5; }
.stats small { color: #c9d8ef; }
.social { display: flex; flex-wrap: wrap; gap: 10px; }
.social a { padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); font-weight: 600; font-size: .9rem; }

/* Restricciones y preguntas */
.restr { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; }
.restr li { display: grid; gap: 2px; padding: 14px 18px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.restr span { color: var(--muted); font-size: .92rem; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none; display: flex; justify-content: space-between; gap: 12px; color: var(--navy); }
.faq summary::after { content: '+'; font-size: 1.3rem; color: var(--sky); line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq p { color: var(--muted); }

/* Páginas internas */
.page-head { color: #fff; padding: 56px 0 48px; background: radial-gradient(ellipse at 85% 0%, rgba(27,169,226,.35), transparent 55%), linear-gradient(160deg, var(--navy), var(--navy-2)); }
.page-head h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.page-head p { color: #c9d8ef; max-width: 640px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: var(--shadow); }
.field { position: relative; margin-bottom: 22px; }
.field label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; margin-right: 8px; vertical-align: 1px; border-radius: 50%; background: var(--sky); color: #fff; font-size: .75rem; font-weight: 700; }
.step-n + label { display: inline-block; }
input, select { width: 100%; font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); outline: 0; transition: border-color .15s; }
input:focus, select:focus { border-color: var(--sky); box-shadow: 0 0 0 4px rgba(27,169,226,.15); }
.quick-track input:focus { box-shadow: none; }
.input-unit { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.input-unit input { border: 0; border-radius: 0; font-size: 1.3rem; font-weight: 700; }
.input-unit span { padding: 0 18px; color: var(--muted); font-weight: 700; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; }
.seg button { flex: 1; min-width: 120px; font: 600 .92rem var(--body); padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; transition: .15s; }
.seg button.on { border-color: var(--sky); background: var(--ice); color: var(--blue); box-shadow: inset 0 0 0 1px var(--sky); }
.seg-2 button { display: grid; gap: 2px; text-align: left; } .seg-2 small { color: var(--muted); font-weight: 500; }
.note { background: var(--ice); color: var(--navy); padding: 12px 16px; border-radius: 12px; font-size: .92rem; }
.fine { font-size: .82rem; color: var(--muted); margin-top: 14px; }
.calc-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 24px; align-items: start; padding-bottom: 24px; }
.total { position: sticky; top: 96px; text-align: center; background: linear-gradient(160deg, var(--navy), var(--navy-2)); color: #fff; border: 0; }
.total small { color: #8fd3f5; font-weight: 600; }
.total .big { font-family: var(--head); font-size: 3.4rem; font-weight: 900; margin: 6px 0; }
.total .muted { color: #c9d8ef; }
.total .alt { margin: 14px 0 18px; padding: 10px; border-radius: 12px; background: rgba(255,255,255,.08); font-size: .9rem; color: #dbe7f7; }
.total .alt:empty { display: none; }
.total .fine { color: #9fb3d1; }
.boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 22px; }
.boxes div { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.boxes b { display: block; font-family: var(--head); font-size: 1.5rem; color: var(--blue); }
.boxes small { color: var(--muted); }

/* Rastreo */
.demo-hint { margin-top: 14px; font-size: .85rem; color: #9fb3d1; }
.demo-hint button { font: inherit; color: #fff; background: rgba(255,255,255,.1); border: 1px dashed rgba(255,255,255,.35); border-radius: 8px; padding: 2px 8px; margin: 2px; cursor: pointer; }
.track-card { margin-bottom: 40px; }
.track-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-bottom: 24px; }
.track-top h3 { margin: 0; font-size: 1.3rem; color: var(--navy); }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; background: var(--ice); color: var(--blue); }
.badge.ok { background: #d1fae5; color: #047857; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 6), 1fr); gap: 8px; }
.timeline li { position: relative; text-align: center; padding-top: 48px; font-size: .85rem; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; top: 15px; left: -50%; width: 100%; height: 4px; background: var(--line); }
.timeline li:first-child::before { display: none; }
.timeline li i { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 3px solid var(--line); display: grid; place-items: center; font-style: normal; font-size: .9rem; z-index: 1; }
.timeline li.done { color: var(--navy); font-weight: 600; }
.timeline li.done::before { background: var(--sky); }
.timeline li.done i { background: var(--sky); border-color: var(--sky); color: #fff; }
.timeline li.now i { box-shadow: 0 0 0 6px rgba(27,169,226,.2); }
.timeline small { display: block; font-weight: 400; color: var(--muted); }
.track-meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 26px; }
.track-meta div { background: var(--bg); border-radius: 12px; padding: 12px 14px; }
.track-meta small { display: block; color: var(--muted); font-size: .8rem; } .track-meta b { color: var(--navy); }
.legend { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.legend div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.legend b { color: var(--navy); display: block; } .legend span { color: var(--muted); font-size: .9rem; }

/* Etiqueta */
.label-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px; align-items: start; }
.label { border: 2px dashed #b9dcf2; }
.label-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.label-head img { height: 34px; }
.label-head span { font-weight: 700; font-size: .85rem; color: var(--blue); background: var(--ice); padding: 6px 12px; border-radius: 999px; }
.label { display: flex; flex-wrap: wrap; column-gap: 16px; }
.label > * { width: 100%; }
.lrow { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.label > .lrow.half { width: calc(50% - 8px); }
.lrow small { grid-column: 1; color: var(--muted); font-size: .8rem; } .lrow small i { opacity: .7; }
.lrow b { grid-column: 1; font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.05rem; color: var(--navy); word-break: break-word; }
.lrow button { grid-column: 2; grid-row: 1 / 3; font: 600 .8rem var(--body); padding: 8px 12px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: var(--blue); cursor: pointer; }
.lrow button.ok { background: #d1fae5; border-color: #a7f3d0; color: #047857; }
.split-name { padding: 12px 0; } .split-name summary { cursor: pointer; color: var(--blue); font-weight: 600; font-size: .9rem; }
.split-name .lrow { border-bottom: 0; }
.label-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }

/* Registro de casillero. */
.signup { margin-top: 24px; padding-top: 22px; border-top: 1px dashed var(--line); }
.signup[hidden], .locker-badge[hidden] { display: none; }
.signup-title { display: block; font-family: var(--head); font-size: 1.1rem; color: var(--navy); }
.signup .fine { margin: 6px 0 16px; }
.signup .field { margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.signup-msg { margin: 12px 0 0; font-weight: 600; font-size: .92rem; min-height: 1em; }
.signup-msg.ok { color: #047857; } .signup-msg.err { color: #b42318; }
.signup-msg:empty { display: none; }
.signup-msg a { color: #128c4a; text-decoration: underline; white-space: nowrap; }
.signup-done { display: flex; gap: 14px; align-items: flex-start; background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 16px; padding: 16px 18px; margin-bottom: 22px; }
.signup-done[hidden] { display: none; }
.sd-check { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #10b981; color: #fff; font-weight: 800; font-size: 1.1rem; }
.signup-done b { font-family: var(--head); color: #065f46; font-size: 1.1rem; }
.signup-done p { margin: 4px 0 12px; color: #065f46; font-size: .95rem; }
.signup-done strong { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.05rem; }
.sd-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .3); }
.sd-other { background: none; border: 0; padding: 0; color: #047857; font: 600 .88rem var(--body); text-decoration: underline; cursor: pointer; }
.locker-badge { display: grid; gap: 2px; background: linear-gradient(135deg, var(--navy), var(--blue)); color: #fff; border-radius: 14px; padding: 14px 18px; margin: 4px 0 8px; }
.locker-badge small { color: #9fd3f2; font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.locker-badge b { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.6rem; letter-spacing: .04em; }
.locker-badge em { font-style: normal; font-size: .85rem; color: #d8ecf9; }

/* Contacto */
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.c-card { display: flex; flex-direction: column; gap: 4px; }
.c-card span { font-size: 1.8rem; } .c-card small { color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; font-size: .75rem; margin-top: 8px; }
.c-card b { font-family: var(--head); font-size: 1.15rem; color: var(--navy); } .c-card em { font-style: normal; color: var(--muted); font-size: .9rem; }
.c-card a { color: var(--blue); font-weight: 600; }
.c-card.wa { background: linear-gradient(145deg, #128c4a, #25d366); color: #fff; border: 0; }
.c-card.wa b, .c-card.wa small, .c-card.wa em { color: #fff; }

/* Pie */
.foot { background: var(--navy-2); color: #b8c7de; padding-top: 56px; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.foot-in > div { display: flex; flex-direction: column; gap: 8px; }
.foot b { color: #fff; font-family: var(--head); margin-bottom: 6px; }
.foot a:hover { color: #fff; }
.foot-logo { height: 52px; width: auto; align-self: flex-start; }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding: 20px 0 28px; font-size: .85rem; }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: #25d366; box-shadow: 0 12px 28px rgba(37,211,102,.45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 120px); background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 600; transition: transform .25s; z-index: 70; }
.toast.on { transform: translate(-50%, 0); }

/* Celular y tableta */
@media (max-width: 960px) {
  .hero-in, .split, .trust, .calc-grid, .label-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; width: 100%; margin-inline: auto; }
  .tiles, .steps, .contact-grid { grid-template-columns: 1fr 1fr; }
  .legend { grid-template-columns: 1fr 1fr; }
  .trust-photo { max-width: 360px; aspect-ratio: 1; }
  .total { position: static; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 72px 0 auto; flex-direction: column; background: var(--navy-2); padding: 12px 16px 20px; border-bottom: 1px solid rgba(27, 169, 226, .3); box-shadow: 0 20px 40px rgba(8, 15, 40, .35); transform: translateY(-120%); transition: transform .25s; visibility: hidden; }
  .nav.open { visibility: visible; }
  .nav.open { transform: none; }
  .nav a { padding: 14px; font-size: 1.05rem; }
  .menu { display: block; }
  .top-cta { margin-left: auto; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .timeline li { text-align: left; padding: 0 0 22px 50px; min-height: 56px; }
  .timeline li::before { top: -50%; left: 15px; width: 4px; height: 100%; }
  .timeline li i { left: 0; transform: none; }
  .track-meta { grid-template-columns: 1fr 1fr; }
  .float-card { display: none; }
}
@media (max-width: 560px) {
  .tiles, .steps, .contact-grid, .rate-cards, .legend, .stats { grid-template-columns: 1fr; }
  .label > .lrow.half { width: 100%; }
  .foot-in { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .quick-track { flex-direction: column; border-radius: 18px; } .quick-track input { padding: 12px; }
  .brand img { height: 38px; }
}
/* Páginas sueltas: política de privacidad y 404. */
.page-simple .top-in { justify-content: space-between; }
.doc { max-width: 780px; padding: 56px 0 72px; }
.doc h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); color: var(--navy); }
.doc h2 { font-size: 1.3rem; color: var(--navy); margin-top: 2em; }
.doc a { color: var(--blue); font-weight: 600; }
.doc ul { padding-left: 1.2em; }
.doc li { margin-bottom: .4em; }
.doc-date { color: var(--muted); font-size: .92rem; }
.notfound { min-height: calc(100vh - 72px); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 48px 0; max-width: 620px; }
.notfound-n { font-family: var(--head); font-weight: 900; font-size: clamp(5rem, 18vw, 9rem); line-height: 1; background: linear-gradient(135deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { color: var(--navy); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.notfound-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 12px; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
@media print {
  .top, .foot, .wa-float, .page-head, #label-form, .label-actions, .lrow button, .split-name summary { display: none !important; }
  .view { display: none !important; } [data-view="casillero"] { display: block !important; }
  .label { border: 2px dashed #999; box-shadow: none; } .split-name { display: block; } .split-name > * { display: grid !important; }
}
