/* ================================================================
   styles.css  —  America Envios
   Paleta: Azul marino #1B2766 · Rojo #C8242A · Blanco #FFFFFF
   ================================================================ */

:root {
  --red:    #C8242A;
  --navy:   #1B2766;
  --navy-mid: #152059;
  --light:  #F0F2F8;
  --white:  #FFFFFF;
  --gray:   #888888;
}

*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; }
body { font-family:'Barlow',sans-serif; background:var(--white); color:var(--navy); overflow-x:hidden; }

/* ── NAVBAR ──────────────────────────────────────────────────── */
nav {
  position:fixed; top:0; left:0; right:0; z-index:1000;
  background:var(--navy);
  display:flex; align-items:center; justify-content:space-between;
  padding:0 40px; height:72px;
  border-bottom:4px solid var(--red);
}

.logo {
  display:flex; align-items:center; gap:0px;
  text-decoration:none; line-height:1;
}
.logo-icon {
  height:56px; width:auto; object-fit:contain;
}
.logo-text {
  height:40px; width:auto; object-fit:contain;
}
.logo span { color:var(--red); }

.nav-links { display:flex; gap:22px; list-style:none; }
.nav-links a {
  color:rgba(255,255,255,.75); text-decoration:none;
  font-size:.85rem; font-weight:600; letter-spacing:1px;
  text-transform:uppercase; transition:color .2s;
}
.nav-links a:hover,
.nav-links a.active { color:var(--white); }

.nav-cta {
  background:var(--red); color:var(--white)!important;
  padding:8px 20px; border-radius:2px; font-weight:700!important;
}
.nav-cta:hover { background:#a51c21!important; }
.nav-cta.active { background:var(--red)!important; color:var(--white)!important; }

.nav-track {
  border:1.5px solid rgba(255,255,255,0.35); color:var(--white)!important;
  padding:7px 16px; border-radius:2px; font-weight:700!important;
  transition:border-color .2s, background .2s !important;
}
.nav-track:hover { border-color:var(--white)!important; background:rgba(255,255,255,0.08)!important; }

/* ── HAMBURGER ───────────────────────────────────────────────── */
.hamburger {
  display:none; flex-direction:column; justify-content:center;
  align-items:center; width:44px; height:44px;
  cursor:pointer; gap:5px; background:none; border:none; padding:0;
}
.hamburger span {
  display:block; width:24px; height:2.5px;
  background:var(--white); border-radius:2px;
  transition:transform .3s, opacity .3s, width .3s;
}
.hamburger.open span:nth-child(1) { transform:translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; width:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7.5px) rotate(-45deg); }

/* ── MOBILE MENU ─────────────────────────────────────────────── */
.mobile-menu {
  display:none; position:fixed; top:64px; left:0; right:0; z-index:999;
  background:var(--navy); border-bottom:3px solid var(--red);
  flex-direction:column; padding:0; overflow:hidden;
  max-height:0; transition:max-height .35s ease;
}
.mobile-menu.open { max-height:400px; }
.mobile-menu a {
  color:rgba(255,255,255,.75); text-decoration:none;
  font-family:'Barlow Condensed',sans-serif; font-weight:700;
  font-size:1.1rem; letter-spacing:1.5px; text-transform:uppercase;
  padding:18px 28px; border-bottom:1px solid rgba(255,255,255,.08);
  display:block; transition:background .2s, color .2s;
}
.mobile-menu a:hover { background:rgba(255,255,255,.06); color:var(--white); }
.mobile-menu a.mob-cta {
  background:var(--red); color:var(--white);
  text-align:center; margin:16px 20px 20px;
  border-bottom:none; border-radius:2px;
}
.mobile-menu a.mob-cta:hover { background:#a51c21; }

/* ── HERO ────────────────────────────────────────────────────── */
#hero {
  margin-top:72px; min-height:88vh;
  background: url('img/bg3.jpeg') center center / cover no-repeat;
  position:relative; display:flex; align-items:center; overflow:hidden;
}
/* Gradiente izquierdo para que el texto sea legible sobre la imagen */
#hero::before {
  content:''; position:absolute; inset:0; z-index:0;
  background: linear-gradient(
    to right,
    rgba(27,39,102,0.85) 0%,
    rgba(27,39,102,0.65) 45%,
    rgba(27,39,102,0.0) 70%
  );
}
.hero-diagonal { display:none; }
.hero-content {
  position:relative; z-index:1;
  padding:40px 40px 40px 80px; max-width:55%;
  animation:fadeUp .8s ease both;
}
.hero-badge {
  display:inline-block;
  background:var(--white); color:var(--navy);
  font-size:.7rem; font-weight:800; letter-spacing:2px;
  text-transform:uppercase; padding:5px 14px; margin-bottom:16px;
}
.hero-title {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:900; font-size:clamp(3rem, 7.5vh, 5.5rem);
  line-height:.92; color:var(--white);
  text-transform:uppercase; margin-bottom:20px;
}
.hero-title em { color:var(--red); font-style:italic; opacity:1; }

.hero-sub {
  color:rgba(255,255,255,.7); font-size:.95rem;
  line-height:1.6; margin-bottom:28px; max-width:440px;
}
.hero-btns { display:flex; gap:16px; flex-wrap:wrap; }

.btn-primary {
  background:var(--red); color:var(--white);
  padding:14px 32px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:1.1rem; font-weight:800; letter-spacing:1px;
  text-transform:uppercase; border:none; cursor:pointer;
  text-decoration:none; display:inline-block;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);
  transition:background .2s, transform .15s;
}
.btn-primary:hover { background:#a51c21; transform:translateY(-2px); }

.btn-secondary {
  background:transparent; color:var(--white);
  padding:13px 32px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:1.1rem; font-weight:700; letter-spacing:1px;
  text-transform:uppercase; border:2px solid rgba(255,255,255,.4);
  cursor:pointer; text-decoration:none; display:inline-block;
  transition:border-color .2s, color .2s, background .2s;
}
.btn-secondary:hover {
  border-color:var(--white);
  background:rgba(255,255,255,.1);
}

.hero-stats {
  position:absolute; bottom:0; left:0; right:0;
  display:flex; align-items:center; justify-content:center;
  gap:0; z-index:1;
  background:rgba(10,15,45,0.82);
  backdrop-filter:blur(4px);
  padding:18px 40px;
  animation:fadeUp 1s .3s ease both;
}
.stat-item {
  display:flex; flex-direction:column; align-items:center;
  gap:10px; padding:0 40px; text-align:center;
}
.stat-icon {
  width:38px; height:38px; color:var(--white);
  opacity:.9;
}
.stat-icon svg { width:100%; height:100%; }
.stat-label {
  font-family:'Barlow Condensed',sans-serif;
  font-size:.72rem; color:rgba(255,255,255,.85);
  text-transform:uppercase; letter-spacing:2px;
  font-weight:700; line-height:1.3;
}
.stat-sep {
  width:1px; height:52px;
  background:var(--red); opacity:.7; flex-shrink:0;
}

/* ── TRACK BAR ───────────────────────────────────────────────── */
#quick-track {
  background: var(--white);
  border-top: 5px solid var(--red);
  border-bottom: 1px solid #d0d5e8;
  padding: 32px 40px 36px;
  box-shadow: 0 4px 20px rgba(27,39,102,.10);
  position: relative;
  z-index: 10;
}
.track-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.track-eyebrow {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.track-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}
.track-heading span { color: var(--red); }
.track-sub {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 22px;
}
.track-bar {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 2.5px solid var(--navy);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(27,39,102,.15);
  transition: box-shadow .2s, border-color .2s;
}
.track-bar:focus-within {
  border-color: var(--red);
  box-shadow: 0 6px 28px rgba(200,36,42,.20);
}
.track-label {
  background: var(--navy);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: .85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.track-bar input[type=text] {
  flex: 1;
  border: none;
  background: transparent;
  padding: 18px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
  outline: none;
}
.track-bar input::placeholder {
  color: #b0b8d0;
  font-weight: 400;
  letter-spacing: 1px;
}
.track-bar button {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 0 36px;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s, padding .2s;
  white-space: nowrap;
}
.track-bar button:hover { background: #a51c21; padding: 0 42px; }

/* ── SECTIONS ────────────────────────────────────────────────── */
section { padding:100px 40px; }
.section-label {
  font-size:.72rem; font-weight:700; letter-spacing:3px;
  text-transform:uppercase; color:var(--red); margin-bottom:14px;
}
.section-title {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:900; font-size:clamp(2rem,4vw,3.2rem);
  text-transform:uppercase; line-height:1.05; color:var(--navy);
}
.section-title span { color:var(--red); }

/* ── PAGE HERO (páginas internas) ────────────────────────────── */
.page-hero {
  margin-top:64px; background:var(--navy);
  padding:64px 40px; border-bottom:4px solid var(--red);
}
.page-hero .section-label { color:rgba(255,255,255,.6); }
.page-hero .section-title { color:var(--white); }
.page-hero .section-title span { color:var(--red); }
.page-hero p { color:rgba(255,255,255,.65); margin-top:16px; max-width:540px; line-height:1.7; font-size:.95rem; }

/* ── SERVICES ────────────────────────────────────────────────── */
#services { background:var(--light); }
.services-grid {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:2px; margin-top:56px;
}
.service-card {
  background:var(--white); padding:40px 32px;
  border-top:4px solid transparent;
  transition:border-color .2s, transform .2s, box-shadow .2s;
}
.service-card:hover {
  border-color:var(--red);
  transform:translateY(-4px);
  box-shadow:0 16px 40px rgba(27,39,102,.12);
}
.service-icon { font-size:2.4rem; margin-bottom:20px; }
.service-card h3 {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800; font-size:1.35rem;
  text-transform:uppercase; color:var(--navy); margin-bottom:12px;
}
.service-card p { font-size:.9rem; color:#555; line-height:1.65; }

/* ── HOW IT WORKS ────────────────────────────────────────────── */
#how { background:var(--navy); color:var(--white); }
#how .section-title { color:var(--white); }
#how .section-title span { color:var(--red); }
#how .section-label { color:rgba(255,255,255,.55); }

.steps {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:0; margin-top:64px;
}
.step {
  position:relative; padding:40px 32px;
  border-left:1px solid rgba(255,255,255,.1);
}
.step:first-child { border-left:none; }
.step-num {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:900; font-size:4.5rem;
  color:rgba(255,255,255,.08); line-height:1; margin-bottom:12px;
}
.step h3 {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800; font-size:1.25rem;
  text-transform:uppercase; color:var(--white); margin-bottom:12px;
}
.step p { font-size:.88rem; color:rgba(255,255,255,.55); line-height:1.65; }

/* ── MAP ─────────────────────────────────────────────────────── */
#map-section { background:var(--white); padding:100px 40px; }
.map-wrapper {
  display:grid; grid-template-columns:1fr 1.4fr;
  gap:64px; align-items:start; margin-top:56px;
  max-width:1200px; margin-left:auto; margin-right:auto;
}
.alcaldias-list { list-style:none; }
.alcaldias-list li {
  display:flex; align-items:center; gap:16px;
  padding:18px 0; border-bottom:1px solid #eee;
  font-family:'Barlow Condensed',sans-serif;
  font-weight:700; font-size:1.2rem;
  text-transform:uppercase; letter-spacing:.5px;
  color:var(--navy); transition:color .2s;
}
.alcaldias-list li:hover { color:var(--red); }
.alcaldias-list li:hover .dot { background:var(--red); transform:scale(1.3); }

.dot {
  width:12px; height:12px; border-radius:50%;
  background:var(--navy); flex-shrink:0;
  transition:background .2s, transform .2s;
}
.alcaldias-list li span.badge {
  margin-left:auto; font-size:.65rem;
  background:var(--light); color:var(--gray);
  padding:3px 10px; letter-spacing:1.5px; border-radius:2px;
}

.map-container {
  position:relative; background:#f7f8fc;
  border:1px solid #dde0ef; border-radius:4px;
  overflow:hidden; padding:16px;
}
.map-container svg { width:100%; height:auto; display:block; }
.map-legend { display:flex; gap:24px; flex-wrap:wrap; margin-top:20px; }
.legend-item {
  display:flex; align-items:center; gap:8px;
  font-size:.78rem; color:#555; font-weight:600;
}
.legend-dot-active   { width:10px; height:10px; border-radius:50%; background:var(--red); }
.legend-dot-inactive { width:10px; height:10px; border-radius:50%; background:#ddd; }

@keyframes pulse {
  0%   { transform:scale(1); opacity:1; }
  60%  { transform:scale(2.2); opacity:0; }
  100% { transform:scale(1); opacity:0; }
}
.pulse-ring { animation:pulse 2s infinite; transform-origin:center; }

/* ── SLOTS ───────────────────────────────────────────────────── */
#solicitar { background:var(--light); padding:100px 40px; }

.slot-box {
  max-width:880px; margin:56px auto 0;
  background:var(--white); border:2px dashed #c5cbdf;
  border-radius:4px; padding:64px; text-align:center; position:relative;
}
.slot-box .slot-icon,
.slot-box-dark .slot-icon { font-size:3rem; margin-bottom:20px; }
.slot-box h3 {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800; font-size:1.8rem;
  text-transform:uppercase; color:var(--navy); margin-bottom:12px;
}
.slot-box p { font-size:.9rem; color:#888; max-width:480px; margin:0 auto 32px; line-height:1.6; }
.slot-tag {
  display:inline-block; background:var(--navy); color:var(--white);
  font-size:.7rem; font-weight:800; letter-spacing:2px;
  text-transform:uppercase; padding:6px 16px;
  position:absolute; top:-1px; right:24px;
  border-bottom-left-radius:3px; border-bottom-right-radius:3px;
}

#rastreo { background:var(--navy-mid); padding:100px 40px; }
#rastreo .section-title { color:var(--white); }
#rastreo .section-title span { color:var(--red); }
#rastreo .section-label { color:rgba(255,255,255,.55); }

.slot-box-dark {
  max-width:880px; margin:56px auto 0;
  background:rgba(255,255,255,.05);
  border:2px dashed rgba(255,255,255,.18);
  border-radius:4px; padding:64px; text-align:center; position:relative;
}
.slot-box-dark h3 {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800; font-size:1.8rem;
  text-transform:uppercase; color:var(--white); margin-bottom:12px;
}
.slot-box-dark p { font-size:.9rem; color:rgba(255,255,255,.5); max-width:480px; margin:0 auto 32px; line-height:1.6; }
.slot-tag-dark {
  display:inline-block; background:var(--red); color:var(--white);
  font-size:.7rem; font-weight:800; letter-spacing:2px;
  text-transform:uppercase; padding:6px 16px;
  position:absolute; top:-1px; right:24px;
  border-bottom-left-radius:3px; border-bottom-right-radius:3px;
}
.dev-note {
  font-size:.75rem;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.2);
  color:rgba(255,255,255,.7);
  padding:10px 20px; border-radius:2px; margin-top:16px;
  display:inline-block;
  font-family:'Barlow Condensed',sans-serif; letter-spacing:1px;
}

/* ── NOSOTROS ────────────────────────────────────────────────── */
#nosotros {
  background: url('img/bg2.png') center center / cover no-repeat;
  padding: 90px 40px;
  position: relative;
}
#nosotros::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(10,15,50,0.92) 0%,
    rgba(10,15,50,0.80) 55%,
    rgba(10,15,50,0.65) 100%
  );
}
#nosotros .nosotros-inner { position: relative; z-index: 1; }
#nosotros .nosotros-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
}
#nosotros .nosotros-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: .75rem; font-weight: 800; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
#nosotros h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900; line-height: 1.05;
  color: var(--white); text-transform: uppercase; margin-bottom: 20px;
}
#nosotros h2 span { color: var(--red); }
#nosotros .nosotros-text {
  color: rgba(255,255,255,.75); font-size: 1rem; line-height: 1.8; margin-bottom: 16px;
}
.nosotros-values {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px;
}
.nosotros-value {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(6px);
  border-radius: 10px; padding: 18px 20px;
  border-left: 4px solid var(--red);
}
.nosotros-value-title { color: var(--white) !important; }
.nosotros-value-desc  { color: rgba(255,255,255,.6) !important; }
.nosotros-value-icon { font-size: 1.5rem; margin-bottom: 6px; }
.nosotros-value-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800; font-size: 1rem; color: var(--navy);
  text-transform: uppercase; letter-spacing: .5px;
}
.nosotros-value-desc {
  font-size: .82rem; color: var(--gray); margin-top: 4px; line-height: 1.5;
}
.nosotros-visual {
  background: var(--navy);
  border-radius: 16px; padding: 44px 40px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative; overflow: hidden;
}
.nosotros-visual::before {
  content: ''; position: absolute;
  top: -40px; right: -40px; width: 200px; height: 200px;
  background: var(--red); border-radius: 50%; opacity: .15;
}
.nosotros-stat {
  display: flex; align-items: center; gap: 18px;
}
.nosotros-stat-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 3rem; font-weight: 900; color: var(--white);
  line-height: 1; min-width: 80px; text-align: right;
}
.nosotros-stat-num span { color: var(--red); }
.nosotros-stat-info-title {
  font-weight: 700; font-size: .95rem; color: var(--white);
}
.nosotros-stat-info-desc {
  font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 2px;
}
.nosotros-divider {
  height: 1px; background: rgba(255,255,255,.1);
}

/* ── CTA ─────────────────────────────────────────────────────── */
#cta { background:var(--navy); padding:80px 40px; text-align:center; }
#cta h2 {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:900; font-size:clamp(2rem,5vw,3.8rem);
  text-transform:uppercase; color:var(--white); margin-bottom:12px;
}
#cta h2 span { color:var(--red); }
#cta p { color:rgba(255,255,255,.65); font-size:1rem; margin-bottom:36px; }

.btn-white {
  background:var(--white); color:var(--navy);
  padding:14px 40px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:1.15rem; font-weight:900; letter-spacing:1px;
  text-transform:uppercase; border:none; cursor:pointer;
  text-decoration:none; display:inline-block;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,0 100%);
  transition:transform .15s, box-shadow .15s;
}
.btn-white:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(200,36,42,.25); }

/* ── FOOTER ──────────────────────────────────────────────────── */
footer { background:#0d1540; padding:60px 40px 30px; color:#666; }
.footer-grid {
  display:grid; grid-template-columns:2fr 1fr 1fr 1fr;
  gap:48px; max-width:1200px; margin:0 auto 48px;
}
.footer-brand .logo { margin-bottom:14px; display:flex; }
.footer-brand .logo-icon { height:38px; }
.footer-brand .logo-text { height:24px; }
.footer-brand p { font-size:.85rem; line-height:1.7; color:rgba(255,255,255,.3); }
.footer-col h4 {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800; font-size:.75rem; letter-spacing:2.5px;
  text-transform:uppercase; color:rgba(255,255,255,.35); margin-bottom:20px;
}
.footer-col ul { list-style:none; }
.footer-col ul li { margin-bottom:10px; }
.footer-col ul a {
  color:rgba(255,255,255,.3); text-decoration:none;
  font-size:.85rem; transition:color .2s;
}
.footer-col ul a:hover { color:var(--white); }

.footer-bottom {
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:28px; display:flex;
  justify-content:space-between; align-items:center;
  flex-wrap:wrap; gap:12px; max-width:1200px; margin:0 auto;
}
.footer-bottom p { font-size:.78rem; color:rgba(255,255,255,.25); }
.footer-bottom span { color:var(--red); }
.dev-credit { font-size:.78rem; color:rgba(255,255,255,.25); }
.dev-credit a {
  display:inline-flex; align-items:center; gap:6px;
  color:rgba(255,255,255,.45); text-decoration:none;
  transition:color .2s;
}
.dev-credit a:hover { color:rgba(255,255,255,.8); }
.dev-logo {
  width:18px; height:18px;
  border-radius:4px; vertical-align:middle;
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(30px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width:900px) {
  nav { padding:0 20px; }
  .nav-links { display:none; }
  .hamburger { display:flex; }
  .mobile-menu { display:flex; }
  .hero-content { padding:60px 24px 160px; }
  .hero-stats { padding:14px 16px; }
  .stat-item { padding:0 20px; gap:7px; }
  .stat-icon { width:30px; height:30px; }
  .stat-label { font-size:.65rem; letter-spacing:1.5px; }
  .stat-sep { height:40px; }
  .hero-diagonal { width:35%; }
  section { padding:64px 24px; }
  .map-wrapper { grid-template-columns:1fr; }
  #nosotros .nosotros-inner { grid-template-columns:1fr; gap:40px; }
  .footer-grid { grid-template-columns:1fr 1fr; }
  .slot-box,.slot-box-dark { padding:40px 24px; }
  #quick-track { padding: 24px 20px 28px; }
  .track-label { padding: 0 14px; font-size: .75rem; }
  .track-bar input[type=text] { padding: 15px 12px; font-size: 1rem; }
  .track-bar button { padding: 0 18px; font-size: .85rem; }
  .page-hero { padding: 40px 20px; margin-top: 56px; }
}

@media (max-width:480px) {
  .track-bar {
    flex-direction: column;
    border-radius: 8px;
    overflow: visible;
    border: none;
    box-shadow: none;
    gap: 10px;
    background: transparent;
  }
  .track-label {
    border-radius: 6px;
    padding: 12px 16px;
    font-size: .8rem;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
  }
  .track-bar input[type=text] {
    border: 2.5px solid var(--navy);
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .track-bar button {
    border-radius: 6px;
    padding: 15px 20px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
  }
  .track-bar button:hover { padding: 15px 20px; }
  #quick-track { padding: 20px 16px 24px; }
  .track-heading { font-size: 2rem; }
}
