/* ============================================
   H&D Logistics Services — Estilos globales
   ============================================ */

:root {
  /* Colores oficiales de marca H&D Logistics Services (manual de marca) */
  --brand-amber: #ff9e1a;   /* Pantone 1375 C */
  --brand-red: #ff5b35;     /* Pantone 171 C */
  --brand-gray: #666666;    /* C0 M0 Y0 K60 */

  --navy: #3a3d40;          /* neutral oscuro derivado del gris de marca, reemplaza el azul */
  --navy-dark: #2a2c2e;
  --orange: var(--brand-red);
  --orange-dark: #e2451f;
  --amber: var(--brand-amber);
  --gray-50: #f8f7f5;
  --gray-100: #eeece9;
  --gray-300: #d4d1cc;
  --gray-600: #6b6862;
  --gray-900: #262524;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 8px 24px rgba(38, 37, 36, 0.10);
  --shadow-sm: 0 2px 10px rgba(38, 37, 36, 0.08);
  --font: 'Poppins', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  height: 76px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy);
}

.logo .logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.5px;
}

.logo .brand-sub {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--orange);
  text-transform: uppercase;
}

nav.main-nav ul {
  display: flex;
  gap: 4px;
  align-items: center;
}

nav.main-nav a {
  display: inline-block;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--gray-900);
  padding: 8px 12px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}

nav.main-nav a:hover {
  background: rgba(255, 91, 53, 0.1);
  color: var(--orange-dark);
}

nav.main-nav a.active {
  background: var(--orange);
  color: var(--white);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(255, 91, 53, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-white {
  background: var(--white);
  color: var(--navy);
}
.btn-white:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 72px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,91,53,0.35), transparent 70%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-block;
  background: rgba(255,91,53,0.18);
  color: #ffb28e;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero h1 span { color: var(--orange); }

.hero p.lead {
  font-size: 1.08rem;
  color: #d7deea;
  max-width: 520px;
  margin-bottom: 30px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-size: 1.5rem;
  color: var(--white);
}
.hero-stats div span {
  font-size: 0.82rem;
  color: #b9c3d6;
}

.hero-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  color: var(--gray-900);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}
.hero-card h3 { font-size: 1.05rem; margin-bottom: 4px; color: var(--navy); }
.hero-card p.small { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 18px; }

.address-box {
  background: var(--gray-50);
  border: 1px dashed var(--gray-300);
  border-radius: 10px;
  padding: 16px;
  font-size: 0.88rem;
  margin-bottom: 18px;
}
.address-box div { display: flex; justify-content: space-between; padding: 3px 0; }
.address-box strong { color: var(--navy); }

/* ---------- Sections ---------- */
section { padding: 78px 0; }
.section-tight { padding: 56px 0; }
.bg-gray { background: var(--gray-50); }

.section-head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section-head .eyebrow { background: rgba(38,37,36,0.08); color: var(--navy); }
.section-head h2 { font-size: 2rem; margin-bottom: 12px; color: var(--gray-900); }
.section-head p { color: var(--gray-600); font-size: 1rem; }

/* ---------- Steps / cards ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.step-num {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  margin-bottom: 16px;
}
.step-card h4 { font-size: 1.02rem; margin-bottom: 8px; }
.step-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ---------- Carrier tracking cards (Rastreo) ---------- */
.carrier-card {
  text-align: center;
  border-top: 5px solid var(--carrier-color, var(--orange));
  padding-top: 24px;
}
.carrier-card .carrier-logo {
  height: 34px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 16px;
}
.carrier-card p { margin-bottom: 4px; }
.carrier-ups { --carrier-color: #ffb406; }
.carrier-fedex { --carrier-color: #4d148c; }
.carrier-usps { --carrier-color: #004b87; }
.carrier-dhl { --carrier-color: #ffcc00; }

.retailers {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 10px;
}
.retailers span {
  background: var(--white);
  border: 1px solid var(--gray-100);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.9rem;
}

/* ---------- Photo grid (fotos reales del proceso) ---------- */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.photo-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.photo-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.photo-card figcaption {
  padding: 14px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* ---------- Feature grid ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feature-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.feature-card .icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(255,91,53,0.12);
  color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.feature-card h4 { margin-bottom: 8px; font-size: 1.02rem; }
.feature-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ---------- Quiénes somos ---------- */
.about-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------- Price tiles (resumen de tarifas en inicio) ---------- */
.price-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.price-tile {
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.price-tile-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.price-tile-amount {
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 10px;
}
.price-tile-amount small { font-size: 1rem; font-weight: 500; opacity: 0.85; }
.price-tile p { font-size: 0.92rem; }

.price-tile.variant-amber { background: var(--navy); }
.price-tile.variant-amber .price-tile-tag { background: rgba(255,158,26,0.18); color: var(--amber); }
.price-tile.variant-amber .price-tile-amount { color: var(--amber); }
.price-tile.variant-amber p { color: #b9c3d6; }

.price-tile.variant-navy { background: var(--navy-dark); }
.price-tile.variant-navy .price-tile-tag { background: rgba(255,255,255,0.12); color: #d7deea; }
.price-tile.variant-navy .price-tile-amount { color: var(--white); }
.price-tile.variant-navy p { color: #b9c3d6; }

.price-tile.variant-red { background: linear-gradient(150deg, var(--orange), var(--orange-dark)); }
.price-tile.variant-red .price-tile-tag { background: rgba(255,255,255,0.2); color: var(--white); }
.price-tile.variant-red .price-tile-amount { color: var(--white); }
.price-tile.variant-red p { color: #ffe4d9; }

.price-tile.variant-outline { background: var(--white); border: 2px dashed var(--gray-300); }
.price-tile.variant-outline .price-tile-tag { background: rgba(255,91,53,0.12); color: var(--orange-dark); }
.price-tile.variant-outline .price-tile-amount { color: var(--orange-dark); }
.price-tile.variant-outline p { color: var(--gray-600); }

/* ---------- Pricing ---------- */
.feature-grid.pricing-cards {
  grid-template-columns: repeat(2, 1fr);
}
.price-hero {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  margin-bottom: 48px;
}
.price-hero .amount { font-size: 3.2rem; font-weight: 800; }
.price-hero .amount sup { font-size: 1.2rem; color: var(--orange); }
.price-hero .amount small { font-size: 1rem; font-weight: 400; color: #b9c3d6; display:block; }

.calc-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  max-width: 480px;
  margin: 0 auto;
}
.calc-card h3 { margin-bottom: 6px; }
.calc-card p.small { color: var(--gray-600); font-size: 0.88rem; margin-bottom: 22px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--gray-900); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-300);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-50);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); background: var(--white);
}

.calc-result {
  margin-top: 20px;
  padding: 20px;
  background: var(--gray-50);
  border-radius: 12px;
  text-align: center;
}
.calc-result .total { font-size: 2.1rem; font-weight: 800; color: var(--navy); }
.calc-result span.label { font-size: 0.8rem; color: var(--gray-600); text-transform: uppercase; letter-spacing: 0.05em; }

.table-scroll {
  margin-top: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.compare-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  background: var(--white);
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}
.compare-table th { background: var(--gray-50); color: var(--gray-600); font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; }
.compare-table td.check { color: #1a9c5c; font-weight: 700; }
.compare-table td.cross { color: var(--gray-300); }

/* ---------- Tracking ---------- */
.track-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 620px;
  margin: -60px auto 0;
  position: relative;
  z-index: 5;
}
.track-input-row { display: flex; gap: 10px; }
.track-input-row input {
  flex: 1;
  padding: 15px 18px;
  border-radius: 10px;
  border: 1.5px solid var(--gray-300);
  font-size: 1rem;
}
.track-input-row input:focus { outline: none; border-color: var(--navy); }

.track-result { margin-top: 28px; display: none; }
.track-result.show { display: block; }

.timeline { margin-top: 22px; }
.timeline-item {
  display: flex;
  gap: 16px;
  padding-bottom: 24px;
  position: relative;
}
.timeline-item::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 26px;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}
.timeline-item:last-child::before { display: none; }
.timeline-dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.7rem;
}
.timeline-item.active .timeline-dot { background: var(--orange); }
.timeline-item.done .timeline-dot { background: #1a9c5c; }
.timeline-content strong { display: block; font-size: 0.94rem; }
.timeline-content span { font-size: 0.82rem; color: var(--gray-600); }

.status-banner {
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(26,156,92,0.1);
  color: #146b3f;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 6px;
}
.status-banner.pending { background: rgba(255,91,53,0.12); color: var(--orange-dark); }
.status-banner.error { background: rgba(220,53,69,0.1); color: #b0243a; }

.track-empty { text-align: center; padding: 26px 0; color: var(--gray-600); font-size: 0.92rem; }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
  max-width: 620px;
  margin: 0 auto;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }

.mailbox-preview {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
}
.mailbox-preview h4 { color: var(--orange); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 14px; }
.mailbox-preview .addr-line { padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.12); font-size: 0.95rem; }
.mailbox-preview .addr-line b { color: var(--orange); }

/* ---------- Branch / Contact ---------- */
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}
.branch-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.branch-card h4 { color: var(--navy); margin-bottom: 14px; }
.branch-detail { display: flex; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; }
.branch-detail .ico { color: var(--orange); font-weight: 700; }
.map-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--gray-100); min-height: 320px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  padding: 18px 22px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q .plus { color: var(--orange); font-size: 1.3rem; transition: transform .2s; }
.faq-item.open .faq-q .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
  color: var(--gray-600);
  font-size: 0.9rem;
}
.faq-item.open .faq-a { max-height: 260px; padding-bottom: 18px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  border-radius: var(--radius);
  padding: 48px;
  color: var(--white);
  text-align: center;
}
.cta-banner h2 { margin-bottom: 10px; }
.cta-banner p { margin-bottom: 26px; opacity: 0.95; }
.cta-banner .btn-white { color: var(--orange-dark); }

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #b9c3d6;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}
.footer-grid h5 { color: var(--white); font-size: 0.9rem; margin-bottom: 16px; }
.footer-grid ul li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-grid ul li a:hover { color: var(--orange); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(37,211,102,0.45);
  z-index: 200;
  transition: transform .15s;
}
.wa-float:hover { transform: scale(1.07); }

/* ---------- Utilities ---------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.badge-free {
  display: inline-block;
  background: rgba(26,156,92,0.12);
  color: #1a9c5c;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 8px;
}

/* ---------- Top bar (horario + IG + WhatsApp) ---------- */
.topbar {
  background: var(--gray-900);
  color: #cfccc6;
  font-size: 0.82rem;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
}
.topbar-hours { display: flex; align-items: center; gap: 8px; }
.topbar-social { display: flex; align-items: center; gap: 14px; }
.topbar-social a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cfccc6;
  font-weight: 600;
  transition: color .15s;
}
.topbar-social a:hover { color: var(--amber); }
.topbar-social svg { width: 16px; height: 16px; fill: currentColor; }

/* Logo horizontal en el header: ancho, una sola línea, igual de legible que la competencia */
.logo-img { height: 42px; width: auto; max-width: none; flex-shrink: 0; }
.footer-logo-img { height: 140px; width: auto; }

/* ---------- Retailer badges con logos reales ---------- */
.retailers { gap: 16px; }
.retailer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 10px 26px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
}
.retailer-badge img {
  height: 100%;
  max-height: 26px;
  width: auto;
  object-fit: contain;
}
.retailer-badge img[alt="Temu"],
.retailer-badge img[alt="IKEA"] {
  max-height: 34px;
  border-radius: 6px;
}

/* ---------- Hero con video de fondo ---------- */
.hero-video {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-dark);
}
.hero-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(38,37,36,0.88) 0%, rgba(38,37,36,0.72) 42%, rgba(38,37,36,0.35) 100%);
  z-index: 1;
}
.hero-video-content {
  position: relative;
  z-index: 2;
  padding: 70px 0;
  max-width: 640px;
}
.hero-video-content h1,
.hero-video-content h2 { font-size: 2.3rem; line-height: 1.15; margin-bottom: 14px; }
.hero-video-content h1 span,
.hero-video-content h2 span { color: var(--amber); }
.hero-video-content p { color: #e8e6e1; font-size: 1.05rem; max-width: 480px; margin-bottom: 24px; }

.hero-video.compact { min-height: 400px; }

/* ---------- Franja de sucursal (footer) ---------- */
.branch-band {
  background: var(--gray-900);
  color: #cfccc6;
  padding: 56px 0;
}
.branch-band-grid {
  display: grid;
  grid-template-columns: auto 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}
.branch-band-info h4 { color: var(--white); font-size: 1.15rem; margin-bottom: 14px; }
.branch-band-info .branch-detail { color: #cfccc6; }
.branch-band-info .branch-detail .ico { color: var(--amber); }
.branch-band-map { border-radius: var(--radius); overflow: hidden; min-height: 220px; }
.branch-band-map iframe { width: 100%; height: 100%; min-height: 220px; border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid.pricing-cards { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .price-hero { grid-template-columns: 1fr; text-align: center; }
  .branch-band-grid { grid-template-columns: 1fr; text-align: center; }
  .branch-band-map { min-height: 260px; }
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .price-tiles { grid-template-columns: 1fr 1fr; }
}

/* El menú tiene demasiados enlaces para caber en una sola línea entre ~681px y ~1160px
   (tablets y laptops pequeños) — por eso el menú hamburguesa usa su propio breakpoint,
   más ancho que el resto de los ajustes "de celular" de abajo. Así evitamos que los
   enlaces se corten o se partan en dos líneas en pantallas medianas. */
@media (max-width: 1160px) {
  nav.main-nav { position: fixed; top: 76px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px 24px; box-shadow: var(--shadow); display: none; }
  nav.main-nav.open { display: flex; }
  nav.main-nav ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  nav.main-nav ul li { width: 100%; }
  nav.main-nav a { display: block; border-radius: 10px; }
  .nav-toggle { display: flex; }
  .header-actions .btn-outline { display: none; }
}

@media (max-width: 680px) {
  .hero h1 { font-size: 2rem; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .topbar-hours { display: none; }
  .logo-img { height: 38px; }
  .footer-logo-img { height: 100px; }
  .hero-video { min-height: 460px; }
  .hero-video.compact { min-height: 360px; }
  .hero-video-content h2 { font-size: 1.7rem; }
  .hero-video-overlay { background: rgba(38,37,36,0.78); }
  .photo-grid { grid-template-columns: 1fr; }
  .price-tiles { grid-template-columns: 1fr; }
}

/* ============================================
   App Shell (PWA) — app.html
   ============================================ */
.app-body {
  background: var(--gray-50);
  min-height: 100vh;
}
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
}
.app-header .logo-img { height: 34px; }
.app-wrap {
  max-width: 480px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}
.app-greeting {
  margin-bottom: 22px;
}
.app-greeting h1 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 6px;
}
.app-greeting p {
  color: var(--gray-600);
  font-size: 0.95rem;
}
.app-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.app-action {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.app-action:hover, .app-action:active {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.app-action .app-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  background: rgba(255, 91, 53, 0.1);
}
.app-action.variant-navy .app-icon { background: rgba(58, 61, 64, 0.1); }
.app-action.variant-amber .app-icon { background: rgba(255, 158, 26, 0.14); }
.app-action.variant-green .app-icon { background: rgba(37, 211, 102, 0.14); }
.app-action h4 { font-size: 0.98rem; color: var(--navy); }
.app-action p { font-size: 0.82rem; color: var(--gray-600); }

.app-address-card {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 18px;
}
.app-address-card h4 { margin-bottom: 10px; font-size: 1rem; }
.app-address-card .addr-line { font-size: 0.88rem; color: #d7d4cf; margin-bottom: 4px; }
.app-address-card .addr-line b { color: var(--white); }
.app-address-card .app-address-actions { display: flex; gap: 10px; margin-top: 14px; }
.app-address-card .btn { flex: 1; font-size: 0.82rem; padding: 10px 14px; }

.app-install-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 91, 53, 0.08);
  border: 1px dashed var(--orange);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--navy);
}
.app-install-banner button { flex-shrink: 0; }

.app-footer-link {
  text-align: center;
  margin-top: 10px;
}
.app-footer-link a {
  font-size: 0.85rem;
  color: var(--gray-600);
  text-decoration: underline;
}

@media (max-width: 380px) {
  .app-actions { grid-template-columns: 1fr; }
}
