/* ══════════════════════════════════════════════════════════════
   ENVÍOS — servicio-envio.php (cajas a Colombia + documentos)
   Fotos: Unsplash (licencia libre) en /img/envio · Banderas: flag-icons (MIT) en /img/flags
   Tipografía: texto ≥16px, secundario ≥14px.
   ══════════════════════════════════════════════════════════════ */

.env-page .env-center { text-align: center; justify-content: center; }
.env-flag { display: inline-block; width: 28px; height: 21px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0,0,0,.08); vertical-align: middle; flex-shrink: 0; background: transparent; }
.env-btn-wa { background: var(--green); border-color: var(--green); }
.env-btn-wa:hover { background: #1ebe5d; border-color: #1ebe5d; }
.env-page .btn-primary, .env-page .btn-outline { font-size: 15px; padding: 14px 26px; }
.env-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ── HERO ── */
.env-hero {
  position: relative; color: #fff; padding: 72px 40px 80px;
  background: linear-gradient(100deg, rgba(0,22,70,.94) 0%, rgba(0,48,135,.86) 45%, rgba(0,48,135,.35) 100%), url('/img/envio/hero-avion-carga.webp') center / cover no-repeat;
}
.env-hero-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.25fr 1fr; gap: 48px; align-items: center; }
.env-kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #FFD27A; margin-bottom: 14px; }
.env-hero h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 6.2vw, 78px); line-height: .98; letter-spacing: 1.5px; margin-bottom: 18px; color: #fff; }
.env-hero h1 em { font-style: normal; color: #FCD116; }
.env-hero-sub { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,.88); max-width: 560px; }
.env-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.env-hero .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }

.env-hero-card { background: #fff; color: var(--text); border-radius: 18px; padding: 26px; box-shadow: 0 24px 60px rgba(0,0,0,.35); border-top: 6px solid #FCD116; }
.env-hero-card-head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--gray); }
.env-hero-card-head .env-flag { width: 48px; height: 36px; }
.env-hero-card-head strong { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; color: var(--navy); line-height: 1; }
.env-hero-card-head > div > span { font-size: 15px; color: var(--soft); }
.env-hero-card ul { list-style: none; margin: 0; padding: 0; }
.env-hero-card li { display: flex; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--gray); }
.env-hero-card li:last-child { border-bottom: none; }
.env-hc-ico { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.env-hero-card li strong { display: block; font-size: 18px; color: var(--navy); }
.env-hero-card li div > span { font-size: 15px; color: var(--soft); }
.env-hero-card-link { display: block; margin-top: 14px; text-align: center; font-size: 15px; font-weight: 700; color: var(--orange); text-decoration: none; }
.env-hero-card-link:hover { text-decoration: underline; }

/* ── FRANJA DE CONFIANZA ── */
.env-trust { background: #fff; border-bottom: 1.5px solid var(--gray); padding: 22px 40px; }
.env-trust-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; }
.env-trust-logos { display: flex; align-items: center; gap: 22px; }
.env-trust-label { font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); }
.env-logo-dhl { height: 22px; width: auto; background: transparent; }
.env-logo-ups { height: 40px; width: auto; background: transparent; }
.env-trust-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0; padding: 0; }
.env-trust-points li { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--navy); }
.env-trust-points li .ico, .env-trust-points li svg { color: #16a34a; }

/* ── ELEGIR SERVICIO ── */
.env-choose { background: var(--gbg); padding: 56px 24px; }
.env-choose .section-label { margin-bottom: 22px; }
.env-choose-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.env-choose-card { display: flex; flex-direction: column; background: #fff; border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--text); border: 1.5px solid var(--gray); transition: transform .25s, box-shadow .25s, border-color .25s; }
.env-choose-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,48,135,.14); border-color: var(--orange); }
.env-choose-img { position: relative; height: 220px; overflow: hidden; }
.env-choose-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.env-choose-card:hover .env-choose-img img { transform: scale(1.05); }
.env-choose-badge { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); color: var(--navy); font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 30px; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.env-choose-badge .env-flag { width: 22px; height: 16px; }
.env-choose-body { padding: 22px 24px 26px; }
.env-choose-body h2 { font-family: 'Bebas Neue', sans-serif; font-size: 30px; letter-spacing: 1px; color: var(--navy); line-height: 1.05; margin-bottom: 8px; }
.env-choose-body p { font-size: 16px; line-height: 1.65; color: var(--soft); margin-bottom: 12px; }
.env-more { font-size: 15px; font-weight: 700; color: var(--orange); }

/* ── SECCIONES ── */
.env-section { background: #fff; padding: 80px 24px; scroll-margin-top: 90px; }
.env-section-alt { background: var(--gbg); }
.env-inner { max-width: 1140px; margin: 0 auto; }
.env-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(34px, 4.6vw, 52px); letter-spacing: 1.5px; color: var(--navy); text-align: center; line-height: 1.02; margin: 6px 0 22px; }
.env-title.env-left { text-align: left; }
.env-lead { max-width: 780px; margin: 0 auto 36px; text-align: center; font-size: 17px; color: var(--soft); line-height: 1.75; }

/* Colombia: pasos + foto */
.env-col-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.env-timeline { list-style: none; margin: 8px 0 0; padding: 0; position: relative; }
.env-timeline::before { content: ''; position: absolute; left: 21px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--orange), #FCD116); }
.env-timeline li { position: relative; display: flex; gap: 18px; padding: 0 0 26px; }
.env-timeline li:last-child { padding-bottom: 0; }
.env-tl-num { position: relative; z-index: 1; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 5px var(--gbg); }
.env-timeline h3 { font-family: 'Bebas Neue', sans-serif; font-size: 26px; letter-spacing: 1px; color: var(--navy); line-height: 1.1; margin: 6px 0 4px; }
.env-timeline p { font-size: 16px; color: var(--soft); line-height: 1.6; margin: 0; }
.env-col-photo { position: relative; margin: 0; border-radius: 20px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,48,135,.2); aspect-ratio: 4 / 5; }
.env-col-photo img { width: 100%; height: 100%; object-fit: cover; }
.env-col-photo figcaption { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; align-items: center; gap: 8px; background: rgba(0,31,92,.85); color: #fff; font-size: 16px; font-weight: 600; padding: 12px 16px; border-radius: 12px; backdrop-filter: blur(4px); }

.env-cities { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 40px; }
.env-chip { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--gray); border-radius: 30px; padding: 8px 16px; font-size: 15px; font-weight: 600; color: var(--navy); text-decoration: none; }
.env-chip .ico, .env-chip > svg { color: var(--orange); }
.env-chip .env-flag { width: 22px; height: 16px; }
.env-chip-strong { background: var(--navy); border-color: var(--navy); color: #fff; }
.env-chip-link { transition: border-color .2s, transform .2s; }
.env-chip-link:hover { border-color: var(--orange); transform: translateY(-2px); }

/* Prohibidos */
.env-noitems { max-width: 820px; margin: 40px auto 0; background: #fff; border: 2px solid #fecaca; border-radius: 18px; padding: 26px 28px; text-align: center; }
.env-noitems-title { display: inline-flex; align-items: center; gap: 8px; font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1px; color: #b91c1c; margin-bottom: 18px; }
.env-noitems-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.env-noitem { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; color: var(--text); }
.env-noitem-ico { position: relative; width: 68px; height: 68px; border-radius: 50%; background: #fef2f2; color: #b91c1c; display: flex; align-items: center; justify-content: center; border: 2px solid #fca5a5; }
.env-noitem-ico::after { content: ''; position: absolute; width: 74%; height: 3px; background: #dc2626; border-radius: 2px; transform: rotate(-45deg); }
.env-noitems-note { margin: 18px 0 0; font-size: 15px; color: var(--soft); }

.env-mexico { display: flex; align-items: center; gap: 14px; max-width: 680px; margin: 28px auto 0; background: #fff; border: 1.5px dashed var(--gray); border-radius: 14px; padding: 16px 20px; }
.env-mexico .env-flag { width: 36px; height: 27px; }
.env-mexico p { margin: 0; font-size: 16px; color: var(--soft); line-height: 1.6; }
.env-mexico strong { color: var(--navy); }

/* Documentos */
.env-doc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.env-doc-card { position: relative; display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1.5px solid var(--gray); border-radius: 16px; padding: 26px 22px; text-decoration: none; color: var(--text); transition: transform .25s, box-shadow .25s, border-color .25s; }
a.env-doc-card:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(0,48,135,.12); border-color: var(--orange); }
.env-doc-step { position: absolute; top: 16px; right: 18px; font-family: 'Bebas Neue', sans-serif; font-size: 40px; line-height: 1; color: var(--gray); }
.env-doc-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sky); color: var(--blue); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 6px; }
.env-doc-card h3 { font-family: 'Bebas Neue', sans-serif; font-size: 27px; letter-spacing: 1px; color: var(--navy); line-height: 1.05; margin: 0; }
.env-doc-card p { font-size: 16px; color: var(--soft); line-height: 1.6; margin: 0; flex: 1; }
.env-doc-link { font-size: 15px; font-weight: 700; color: var(--orange); margin-top: 6px; }
.env-doc-card-ship { background: linear-gradient(160deg, var(--navy), #0047AB); border-color: transparent; }
.env-doc-card-ship h3, .env-doc-card-ship p { color: #fff; }
.env-doc-card-ship .env-doc-step { color: rgba(255,255,255,.18); }
.env-doc-card-ship .env-doc-icon { background: rgba(255,255,255,.14); color: #fff; }
.env-ship-logos { display: flex; align-items: center; gap: 14px; margin-top: 8px; background: #fff; border-radius: 10px; padding: 10px 14px; align-self: flex-start; }
.env-ship-logos img { height: 20px; width: auto; background: transparent; }
.env-ship-logos img[alt="UPS"] { height: 30px; }
.env-countries { margin-top: 44px; text-align: center; }
.env-countries > p { font-size: 15px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); margin: 0; }
.env-countries .env-cities { margin-top: 16px; }

/* Llamado final */
.env-final { position: relative; padding: 96px 24px; text-align: center; color: #fff; background: linear-gradient(rgba(0,22,70,.82), rgba(0,31,92,.88)), url('/img/envio/colombia-calle-colores.webp') center / cover no-repeat; }
.env-final-inner { max-width: 760px; margin: 0 auto; }
.env-final .env-kicker { justify-content: center; }
.env-final h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(40px, 6vw, 68px); letter-spacing: 2px; line-height: 1; margin-bottom: 14px; color: #fff; }
.env-final p { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,.88); margin: 0; }
.env-final strong { color: #fff; }
.env-final .btn-outline { color: #fff; border-color: rgba(255,255,255,.55); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .env-doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .env-hero { padding: 48px 20px 56px; background: linear-gradient(rgba(0,22,70,.9), rgba(0,48,135,.88)), url('/img/envio/hero-avion-carga.webp') center / cover no-repeat; }
  .env-hero-inner, .env-col-grid { grid-template-columns: 1fr; gap: 32px; }
  .env-col-photo { aspect-ratio: 16 / 10; }
  .env-trust { padding: 20px; }
  .env-trust-inner { justify-content: center; text-align: center; }
  .env-trust-points { justify-content: center; }
}
@media (max-width: 640px) {
  .env-choose-inner, .env-doc-grid { grid-template-columns: 1fr; }
  .env-section { padding: 56px 16px; }
  .env-choose { padding: 40px 16px; }
  .env-noitems { padding: 22px 16px; }
  .env-noitems-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .env-hero-ctas a, .env-ctas a { width: 100%; justify-content: center; }
  .env-trust-logos { flex-wrap: wrap; justify-content: center; }
  .env-title.env-left { text-align: center; }
  .env-col-text .section-label { display: block; text-align: center; }
  .env-final { padding: 64px 16px; }
}
