/* =========================================================
   PACARGO — Sistema de diseño
   Colores corporativos tomados del logo oficial (SVG):
   Azul marino #0B2545 · Azul noche #04182D · Verde lima #76EA01
   ========================================================= */

:root {
  --navy: #0b2545;
  --navy-2: #13345f;
  --ink: #04182d;
  --lime: #76ea01;
  --lime-2: #8ff52a;
  --lime-dark: #3f7d00;      /* verde legible sobre blanco (AA) */
  --sky: #e8f0fa;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e2e8f0;
  --text: #0b2545;
  --muted: #52627a;
  --danger: #c62828;
  --warn: #f5a524;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", cursive;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(4, 24, 45, .06), 0 2px 8px rgba(4, 24, 45, .05);
  --shadow: 0 10px 30px -10px rgba(4, 24, 45, .18), 0 2px 6px rgba(4, 24, 45, .06);
  --shadow-lg: 0 30px 60px -20px rgba(4, 24, 45, .35);

  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.25rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lime); color: var(--ink); }

.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; background: var(--lime); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 200; }
.skip-link:focus { top: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime-dark); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--lime); }
.section--dark .eyebrow, .on-dark .eyebrow { color: var(--lime); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.section--dark .section-head p { color: #b8c4d6; }
.lead { font-size: 1.15rem; color: var(--muted); }
.script { font-family: var(--font-script); font-weight: 700; font-size: 1.6em; line-height: 1; color: var(--lime-dark); }
.hl { color: var(--lime); }
.hl-dark { color: var(--lime-dark); }

/* ---------- Botones ---------- */
.btn {
  --b: var(--lime); --c: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; border: 2px solid var(--b);
  background: var(--b); color: var(--c);
  font-weight: 800; font-size: .98rem; letter-spacing: -.005em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(118, 234, 1, .7); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--navy { --b: var(--navy); --c: #fff; }
.btn--navy:hover { box-shadow: 0 12px 24px -10px rgba(11, 37, 69, .6); }
.btn--ghost { background: transparent; --c: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--ghost:hover { border-color: #fff; box-shadow: none; }
.btn--outline { background: transparent; --b: var(--navy); --c: var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; box-shadow: none; }
.btn--wa { --b: #25d366; --c: #fff; }
.btn--wa:hover { box-shadow: 0 12px 24px -10px rgba(37, 211, 102, .7); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--navy); }
.link-arrow svg { width: 18px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Barra superior ---------- */
.topbar { background: var(--ink); color: #c4d0e0; font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.topbar a:hover { color: var(--lime); }
.topbar svg { width: 15px; height: 15px; }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__group > span { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(4, 24, 45, .5); }
.header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand img { height: 38px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative; padding: 10px 14px; border-radius: 10px;
  font-weight: 700; font-size: .95rem; color: var(--navy); transition: background .2s;
}
.nav a:hover { background: var(--bg-soft); }
.nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 3px; border-radius: 3px; background: var(--lime);
}
.header__cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center; color: var(--navy);
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 40px) 0 auto 0; z-index: 99;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; padding: 12px 16px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
  }
  .header.is-scrolled .nav, .topbar-hidden .nav { inset-block-start: var(--header-h); }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .nav a[aria-current="page"]::after { left: 12px; right: auto; width: 24px; bottom: 8px; }
  .nav .btn { display: inline-flex; margin-top: 10px; }
}
@media (min-width: 981px) { .nav .btn { display: none; } }
@media (max-width: 720px) {
  .topbar .topbar__group--hide-sm { display: none; }
  .topbar .container { justify-content: center; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: var(--ink); color: #fff;
  padding: clamp(72px, 10vw, 128px) 0 clamp(150px, 16vw, 200px);
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(4, 24, 45, .96) 0%, rgba(4, 24, 45, .86) 38%, rgba(11, 37, 69, .45) 70%, rgba(11, 37, 69, .25) 100%),
    linear-gradient(0deg, rgba(4, 24, 45, .8), transparent 45%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { display: inline-block; }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: #d3dcea; max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 38px; color: #c4d0e0; font-size: .92rem; font-weight: 600; }
.hero__badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero__badges svg { width: 18px; height: 18px; color: var(--lime); }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px 7px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16);
  font-size: .85rem; font-weight: 700; color: #e6edf7;
}
.pill b { background: var(--lime); color: var(--ink); border-radius: 999px; padding: 2px 10px; font-size: .75rem; letter-spacing: .04em; }

/* tarjeta flotante casillero */
.locker-card {
  position: relative; background: rgba(255, 255, 255, .97); color: var(--navy);
  border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg);
  transform: rotate(1.2deg);
  animation: float 7s ease-in-out infinite;
}
.locker-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; padding-right: 64px; }
.locker-card__head img { height: 26px; }
.locker-card__tag { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: var(--sky); color: var(--navy); padding: 6px 10px; border-radius: 8px; white-space: nowrap; }
.locker-card__name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 6px; }
.locker-card__name span { color: var(--lime-dark); }
.locker-card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .95rem; }
.locker-card dt { color: var(--muted); font-weight: 600; }
.locker-card dd { margin: 0; font-weight: 700; }
.locker-card__foot { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.locker-card__foot i { width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 4px rgba(118, 234, 1, .25); animation: pulse 2s infinite; }
.locker-card__stamp {
  position: absolute; top: -18px; right: -14px; width: 86px; height: 86px; border-radius: 50%;
  background: var(--lime); color: var(--ink); display: grid; place-items: center; text-align: center;
  font-size: .72rem; font-weight: 800; line-height: 1.1; letter-spacing: .02em; transform: rotate(12deg);
  box-shadow: 0 10px 25px -8px rgba(118, 234, 1, .7);
}
@keyframes float { 0%, 100% { transform: rotate(1.2deg) translateY(0); } 50% { transform: rotate(1.2deg) translateY(-10px); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(118, 234, 1, .6); } 70% { box-shadow: 0 0 0 10px rgba(118, 234, 1, 0); } 100% { box-shadow: 0 0 0 0 rgba(118, 234, 1, 0); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .locker-card { max-width: 440px; }
}

/* ---------- Panel de acciones rápidas (inspirado en DHL) ---------- */
.quick { position: relative; z-index: 5; margin-top: clamp(-110px, -11vw, -80px); }
.quick__panel { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.quick__tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.quick__tab {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 20px 12px; border: 0; background: var(--bg-soft); color: var(--muted);
  font-weight: 800; font-size: .98rem; position: relative; transition: background .2s, color .2s;
}
.quick__tab svg { width: 22px; height: 22px; }
.quick__tab[aria-selected="true"] { background: #fff; color: var(--navy); }
.quick__tab[aria-selected="true"]::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--lime); }
.quick__tab + .quick__tab { border-left: 1px solid var(--line); }
.quick__body { padding: clamp(22px, 3vw, 34px); }
.quick__pane[hidden] { display: none; }
.quick__row { display: flex; gap: 14px; align-items: stretch; }
.quick__row .field { flex: 1; margin: 0; }
.quick__hint { margin: 12px 0 0; color: var(--muted); font-size: .9rem; }
.quick__split { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.quick__split h3 { margin-bottom: 4px; }
.quick__split p { margin: 0; color: var(--muted); }
@media (max-width: 720px) {
  .quick__tab span { font-size: .82rem; }
  .quick__tab { flex-direction: column; gap: 6px; padding: 16px 6px; }
  .quick__row, .quick__split { display: flex; flex-direction: column; }
}

/* ---------- Formularios ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 700; font-size: .92rem; color: var(--navy); }
.field .req { color: var(--danger); margin-left: 2px; }
.field .opt { color: var(--muted); font-weight: 500; font-size: .82rem; margin-left: 4px; }
.input, .select, .textarea {
  width: 100%; min-height: 54px; padding: 14px 16px;
  font: inherit; font-size: 1rem; color: var(--text);
  background: #fff; border: 1.5px solid #cfd8e3; border-radius: 14px;
  transition: border-color .2s, box-shadow .2s;
  appearance: none; -webkit-appearance: none;
}
.textarea { min-height: 110px; resize: vertical; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2545' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.input::placeholder, .textarea::placeholder { color: #93a1b5; }
.input:hover, .select:hover, .textarea:hover { border-color: #a9b7c9; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(118, 234, 1, .35); }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea { border-color: var(--danger); }
.field.has-error .input:focus { box-shadow: 0 0 0 4px rgba(198, 40, 40, .15); }
.field__error { display: none; color: var(--danger); font-size: .84rem; font-weight: 600; }
.field.has-error .field__error { display: block; }
.field__help { color: var(--muted); font-size: .84rem; }
.input-group { display: flex; }
.input-group__addon {
  display: inline-flex; align-items: center; padding: 0 14px; border: 1.5px solid #cfd8e3; border-right: 0;
  border-radius: 14px 0 0 14px; background: var(--bg-soft); font-weight: 700; color: var(--navy); white-space: nowrap;
}
.input-group .input { border-radius: 0 14px 14px 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.form-grid .span-2 { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* Segmented radio (tipo de registro) */
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.segmented--3 { grid-template-columns: 1fr; gap: 10px; }
.segmented--3 label { min-height: 64px; padding: 12px 16px; }
.segmented--3 label small { white-space: normal; }
.input--readonly { background: var(--bg-soft); color: var(--navy); font-weight: 700; cursor: default; }
.field[hidden] { display: none !important; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; min-height: 72px;
  border: 1.5px solid #cfd8e3; border-radius: 16px; cursor: pointer; background: #fff;
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.segmented label:hover { border-color: #a9b7c9; }
.segmented .seg-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--navy); flex: none; transition: background .2s; }
.segmented .seg-ico svg { width: 22px; height: 22px; }
.segmented strong { display: block; font-size: .98rem; }
.segmented small { color: var(--muted); font-weight: 500; font-size: .82rem; }
.segmented input:checked + label { border-color: var(--navy); background: #f7fbef; box-shadow: 0 0 0 3px rgba(118, 234, 1, .35); }
.segmented input:checked + label .seg-ico { background: var(--lime); }
.segmented input:focus-visible + label { outline: 3px solid var(--lime); outline-offset: 2px; }
@media (max-width: 520px) { .segmented { grid-template-columns: 1fr; } }

/* Checkboxes */
.check { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; cursor: pointer; font-size: .95rem; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check__box {
  flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 7px; border: 1.5px solid #a9b7c9; background: #fff;
  display: grid; place-items: center; transition: background .2s, border-color .2s;
}
.check__box svg { width: 15px; height: 15px; color: var(--ink); opacity: 0; transform: scale(.6); transition: opacity .15s, transform .2s var(--ease); }
.check input:checked + .check__box { background: var(--lime); border-color: var(--lime); }
.check input:checked + .check__box svg { opacity: 1; transform: none; }
.check input:focus-visible + .check__box { outline: 3px solid var(--lime); outline-offset: 2px; }
.check + .check { border-top: 1px solid var(--line); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  position: relative; padding: 30px 26px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.step__num { font-size: 2.6rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--navy); margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.step__num::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.step__ico { position: absolute; top: 28px; right: 24px; width: 48px; height: 48px; border-radius: 14px; background: var(--lime); display: grid; place-items: center; color: var(--ink); }
.step__ico svg { width: 24px; height: 24px; }
.step h3 { margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Direcciones / casilleros ---------- */
.origin-tabs { display: inline-flex; padding: 6px; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 32px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.origin-tab { border: 0; background: transparent; padding: 12px 22px; border-radius: 999px; font-weight: 800; color: var(--muted); display: inline-flex; align-items: center; gap: 10px; transition: background .2s, color .2s; }
.origin-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.origin-tab .flag { display: inline-grid; place-items: center; width: 30px; height: 22px; border-radius: 5px; font-size: .68rem; font-weight: 800; letter-spacing: .06em; background: var(--bg-soft); color: var(--navy); border: 1px solid var(--line); }
.origin-tab[aria-selected="true"] .flag { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.addr-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.addr-grid--2 { grid-template-columns: repeat(2, 1fr); }
.addr {
  position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.addr:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.addr__top { padding: 24px 24px 20px; background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.addr__top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(118, 234, 1, .35), transparent 70%); }
.addr--sea .addr__top { background: linear-gradient(135deg, #0b2545, #0e4a78); }
.addr--home .addr__top { background: linear-gradient(135deg, #13345f, #0b2545); }
.addr__kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 800; color: var(--lime); margin-bottom: 8px; }
.addr__kicker svg { width: 18px; height: 18px; }
.addr__top h3 { margin: 0; font-size: 1.35rem; color: #fff; }
.addr__note { margin: 8px 0 0; font-size: .86rem; color: #c4d0e0; }
.addr__badge { position: absolute; top: 20px; right: 20px; z-index: 1; background: var(--lime); color: var(--ink); font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; }
.addr__body { padding: 8px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.addr__list { list-style: none; margin: 0 0 18px; padding: 0; }
.addr__list li { display: grid; grid-template-columns: 112px 1fr auto; gap: 10px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: .94rem; }
.addr__list li:last-child { border-bottom: 0; }
.addr__list .k { color: var(--muted); font-weight: 600; font-size: .84rem; }
.addr__list .v { font-weight: 700; word-break: break-word; }
.addr__list .v .zh { display: block; font-weight: 500; color: var(--muted); font-size: .88rem; }
.addr__list .v mark { background: #efffd9; color: var(--navy); padding: 1px 6px; border-radius: 6px; }
.copy-btn {
  width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: #fff; color: var(--muted);
  display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s;
}
.copy-btn svg { width: 16px; height: 16px; }
.copy-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.copy-btn.is-done { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.addr__foot { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.addr__foot .btn { flex: 1; }
.origin-pane[hidden] { display: none; }
@media (max-width: 1080px) { .addr-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .addr-grid, .addr-grid--2 { grid-template-columns: 1fr; } .addr__list li { grid-template-columns: 96px 1fr auto; } }

.notice { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius); background: #fff8e8; border: 1px solid #f7deaa; color: #6b4a00; font-size: .95rem; }
.notice svg { width: 24px; height: 24px; flex: none; color: var(--warn); margin-top: 2px; }
.notice p { margin: 0; }
.notice--info { background: var(--sky); border-color: #cddcf0; color: var(--navy); }
.notice--info svg { color: var(--navy); }

/* ---------- Servicios ---------- */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service {
  position: relative; isolation: isolate; overflow: hidden; min-height: 400px; border-radius: var(--radius-lg);
  color: #fff; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; background: var(--navy);
}
.service__img { position: absolute; inset: 0; z-index: -2; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(4, 24, 45, .1) 0%, rgba(4, 24, 45, .55) 45%, rgba(4, 24, 45, .95) 100%); }
.service:hover .service__img img { transform: scale(1.07); }
.service__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--lime); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.service__ico svg { width: 26px; height: 26px; }
.service h3 { font-size: 1.4rem; margin-bottom: 8px; }
.service p { margin: 0; color: #d3dcea; font-size: .95rem; }
@media (max-width: 1180px) { .services { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .services { grid-template-columns: 1fr; } .service { min-height: 340px; } }

/* Servicio detallado (página servicios) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.feature + .feature { margin-top: clamp(64px, 9vw, 120px); }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.feature__media::after { content: ""; position: absolute; width: 38%; aspect-ratio: 1; right: -18px; bottom: -18px; z-index: -1; border-radius: var(--radius-lg); background: var(--lime); }
.feature--rev .feature__media::after { right: auto; left: -18px; }
.feature__chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .86rem; font-weight: 700; }
.chip svg { width: 15px; height: 15px; color: var(--lime-dark); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature--rev .feature__media { order: 0; } }

/* ---------- Beneficios / por qué ---------- */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.why__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 520px; background: var(--navy); }
.why__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why__stat { position: absolute; left: 22px; bottom: 22px; right: 22px; background: rgba(4, 24, 45, .85); backdrop-filter: blur(10px); color: #fff; border-radius: var(--radius); padding: 20px 22px; display: flex; gap: 18px; align-items: center; border: 1px solid rgba(255, 255, 255, .12); }
.why__stat b { font-size: 2.4rem; letter-spacing: -.03em; color: var(--lime); line-height: 1; }
.why__stat span { font-size: .95rem; color: #d3dcea; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.benefit { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s, border-color .3s; }
.benefit:hover { background: rgba(255, 255, 255, .08); border-color: rgba(118, 234, 1, .4); }
.benefit svg { width: 30px; height: 30px; color: var(--lime); margin-bottom: 12px; }
.benefit h3 { font-size: 1.05rem; margin-bottom: 6px; color: #fff; }
.benefit p { margin: 0; font-size: .92rem; color: #b8c4d6; }
.section--soft .benefit, .benefit--light { background: #fff; border-color: var(--line); }
.section--soft .benefit h3, .benefit--light h3 { color: var(--navy); }
.section--soft .benefit p, .benefit--light p { color: var(--muted); }
.section--soft .benefit svg, .benefit--light svg { color: var(--lime-dark); }
@media (max-width: 980px) { .why { grid-template-columns: 1fr; } .why__media { min-height: 380px; } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Amazon / banda promocional ---------- */
.promo {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: var(--lime); color: var(--ink); padding: clamp(32px, 5vw, 56px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center;
}
.promo::before { content: ""; position: absolute; z-index: -1; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.promo::after { content: ""; position: absolute; z-index: -1; right: 80px; bottom: -160px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(11, 37, 69, .08); }
.promo h2 { margin-bottom: 12px; }
.promo p { font-size: 1.08rem; margin-bottom: 0; color: #1d3a12; }
.promo .eyebrow { color: var(--navy); }
.promo .eyebrow::before { background: var(--navy); }
.promo__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.promo__list li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, .55); padding: 14px 16px; border-radius: 14px; font-weight: 700; font-size: .95rem; }
.promo__list b { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-size: .85rem; }
@media (max-width: 900px) { .promo { grid-template-columns: 1fr; } }

/* ---------- Avisos ---------- */
.alerts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.alert-card { background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--line); padding: 28px; display: flex; flex-direction: column; }
.alert-card__ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #fff3d6; color: #b77900; margin-bottom: 18px; }
.alert-card__ico svg { width: 26px; height: 26px; }
.alert-card h3 { margin-bottom: 10px; }
.alert-card p, .alert-card li { color: var(--muted); font-size: .95rem; }
.alert-card ul { padding-left: 18px; margin: 0 0 1em; }
.alert-card li { margin-bottom: 4px; }
.alert-card strong { color: var(--navy); }
details.more { margin-top: auto; }
details.more summary { cursor: pointer; font-weight: 800; color: var(--navy); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
details.more summary::-webkit-details-marker { display: none; }
details.more summary svg { width: 18px; transition: transform .25s; }
details.more[open] summary svg { transform: rotate(180deg); }
details.more[open] summary { margin-bottom: 12px; }
@media (max-width: 980px) { .alerts { grid-template-columns: 1fr; } }

/* ---------- CTA final ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 72px); display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band__media { position: absolute; inset: 0; z-index: -2; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 37, 69, .97) 30%, rgba(11, 37, 69, .6)); }
.cta-band h2 { margin-bottom: 8px; max-width: 640px; }
.cta-band p { color: #c4d0e0; margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Page hero (interiores) ---------- */
.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #fff; padding: clamp(64px, 8vw, 110px) 0 clamp(56px, 7vw, 96px); }
.page-hero__media { position: absolute; inset: 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 24, 45, .97) 20%, rgba(4, 24, 45, .7) 60%, rgba(11, 37, 69, .45)); }
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 820px; }
.page-hero p { color: #d3dcea; font-size: 1.12rem; max-width: 640px; margin: 0; }
.page-hero .chip { color: var(--navy); background: #fff; border-color: #fff; }
.page-hero .chip svg { color: var(--lime-dark); }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: .86rem; color: #9fb0c6; margin-bottom: 18px; font-weight: 600; }
.breadcrumb a:hover { color: var(--lime); }

/* ---------- Registro ---------- */
.register { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.register__aside { position: sticky; top: calc(var(--header-h) + 24px); }
.register__card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 1px solid var(--line); padding: clamp(24px, 4vw, 44px); }
.form-section { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.form-section:last-of-type { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; }
.form-section__title { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 1.2rem; }
.form-section__title span { width: 32px; height: 32px; border-radius: 10px; background: var(--navy); color: var(--lime); display: grid; place-items: center; font-size: .9rem; }
.form-section__desc { color: var(--muted); font-size: .93rem; margin-bottom: 20px; }
.perk-list { list-style: none; margin: 26px 0; padding: 0; display: grid; gap: 14px; }
.perk-list li { display: flex; gap: 14px; align-items: flex-start; }
.perk-list svg { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; background: var(--lime); color: var(--ink); }
.perk-list b { display: block; }
.perk-list span { color: var(--muted); font-size: .93rem; }
.form-alert { display: none; margin-bottom: 20px; padding: 14px 16px; border-radius: 12px; font-weight: 600; font-size: .95rem; }
.form-alert.is-error { display: block; background: #fdecec; color: var(--danger); border: 1px solid #f5c2c2; }
.progress { height: 6px; background: var(--bg-soft); border-radius: 6px; overflow: hidden; margin-bottom: 26px; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--lime-2)); border-radius: 6px; transition: width .4s var(--ease); }
.spinner { width: 20px; height: 20px; border-radius: 50%; border: 3px solid rgba(4, 24, 45, .25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success { text-align: center; }
.success__ico { width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; color: var(--ink); box-shadow: 0 0 0 12px rgba(118, 234, 1, .2); }
.success__ico svg { width: 42px; height: 42px; }
.success .addr-grid, .success .addr-grid--2 { grid-template-columns: 1fr; text-align: left; margin-top: 28px; }
.success .addr__list .v { word-break: normal; overflow-wrap: anywhere; }
@media (max-width: 980px) { .register { grid-template-columns: 1fr; } .register__aside { position: static; } }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.contact-cards { display: grid; gap: 16px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
a.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card__ico { width: 56px; height: 56px; border-radius: 16px; background: var(--navy); color: var(--lime); display: grid; place-items: center; flex: none; }
.contact-card__ico svg { width: 26px; height: 26px; }
.contact-card small { display: block; color: var(--muted); font-weight: 600; font-size: .84rem; }
.contact-card b { font-size: 1.08rem; word-break: break-word; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- Nosotros ---------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mv__card { padding: clamp(28px, 4vw, 44px); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); position: relative; overflow: hidden; }
.mv__card--dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.mv__card--dark p { color: #d3dcea; }
.mv__card svg { width: 44px; height: 44px; color: var(--lime-dark); margin-bottom: 16px; }
.mv__card--dark svg { color: var(--lime); }
.mv__card p { color: var(--muted); font-size: 1.05rem; margin: 0; }
@media (max-width: 800px) { .mv { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 5 / 4; object-fit: cover; box-shadow: var(--shadow); }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.stat { padding: 22px; border-radius: var(--radius); background: var(--bg-soft); }
.stat b { display: block; font-size: 2rem; letter-spacing: -.03em; line-height: 1.1; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 600; }
@media (max-width: 800px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- Texto legal ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose p, .prose li { color: #33445c; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b8c4d6; padding: 80px 0 0; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer__brand img { height: 42px; width: auto; margin-bottom: 18px; }
.footer__brand p { max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; letter-spacing: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { transition: color .2s; }
.footer a:hover { color: var(--lime); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact svg { width: 18px; height: 18px; color: var(--lime); flex: none; margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: background .2s, color .2s; }
.socials a:hover { background: var(--lime); color: var(--ink); }
.socials svg { width: 20px; height: 20px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .85rem; color: #8193ab; }
@media (max-width: 980px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  transition: transform .25s var(--ease);
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.5); opacity: 0; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; background: var(--navy); color: #fff; padding: 12px 20px; border-radius: 12px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); transition: opacity .25s, transform .25s var(--ease); pointer-events: none; }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Animación de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }

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

/* ---------- Impresión (dirección de casillero) ---------- */
@media print {
  .topbar, .header, .footer, .wa-float, .addr__foot, .copy-btn, .no-print { display: none !important; }
  .addr { break-inside: avoid; border: 1px solid #999; }
  .addr__top { background: #fff !important; color: #000 !important; border-bottom: 2px solid #000; }
  .addr__top h3 { color: #000 !important; }
}
