/* ═══════════════════════════════════════════════════════════════
   +movinghouse.mx — Mobile-first app-like redesign · v3.0 · 2026
   Loaded after style.css so the original project remains recoverable.
═══════════════════════════════════════════════════════════════ */

:root {
  --mh-navy: #061d3d;
  --mh-navy-2: #0b2e59;
  --mh-navy-3: #123e72;
  --mh-orange: #ff7a32;
  --mh-orange-2: #ff9b45;
  --mh-gold: #ffb62e;
  --mh-pink: #ee276f;
  --mh-green: #25d366;
  --mh-ink: #0b2342;
  --mh-copy: #586a80;
  --mh-muted: #8a98aa;
  --mh-line: #e4eaf1;
  --mh-soft: #f3f6fa;
  --mh-white: #fff;
  --mh-shadow: 0 18px 50px rgba(6, 29, 61, .10);
  --mh-shadow-sm: 0 10px 30px rgba(6, 29, 61, .08);

  /* Remap the legacy variables used throughout the original HTML/CSS. */
  --bg: var(--mh-soft);
  --bg2: var(--mh-white);
  --bg3: var(--mh-white);
  --bg4: #eef2f7;
  --teal: var(--mh-navy-2);
  --teal-lt: var(--mh-orange);
  --teal-glow: rgba(255, 122, 50, .20);
  --sky: var(--mh-pink);
  --sky-glow: rgba(238, 39, 111, .18);
  --gold: var(--mh-orange);
  --gold-dk: #e76524;
  --gold-glow: rgba(255, 122, 50, .25);
  --white: var(--mh-white);
  --t1: var(--mh-ink);
  --t2: var(--mh-copy);
  --t3: var(--mh-muted);
  --border: var(--mh-line);
  --border2: #d8e0e9;
  --r: 22px;
}

html { scroll-padding-top: 92px; }
body {
  background: var(--mh-soft);
  color: var(--mh-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::selection { background: rgba(255,122,50,.22); }
section { padding: 88px 0; }
.wrap { max-width: 1200px; padding-left: 28px; padding-right: 28px; }

/* Typography */
.eyebrow {
  color: var(--mh-orange);
  letter-spacing: 1.7px;
  font-size: 11px;
  margin-bottom: 12px;
}
.eyebrow::before { width: 22px; background: currentColor; }
.eyebrow.gold, .eyebrow.pink { color: var(--mh-orange); }
h2.title {
  color: var(--mh-navy);
  font-size: clamp(30px, 3.7vw, 48px);
  letter-spacing: -.9px;
  margin-bottom: 15px;
}
.section-head { max-width: 720px; margin-bottom: 46px; }
.section-head p { color: var(--mh-copy); font-size: 16px; line-height: 1.75; }

/* Buttons */
.btn {
  min-height: 50px;
  padding: 13px 25px;
  border-radius: 14px;
  font-family: var(--fh);
  font-weight: 700;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--mh-orange), var(--mh-orange-2));
  color: #fff;
  box-shadow: 0 10px 24px rgba(255,122,50,.24);
}
.btn-gold:hover { background: linear-gradient(135deg, #f46d27, #ff9840); box-shadow: 0 14px 30px rgba(255,122,50,.30); }
.btn-teal { background: var(--mh-navy); color: #fff; }
.btn-teal:hover { background: var(--mh-navy-2); box-shadow: 0 14px 30px rgba(6,29,61,.18); }
.btn-outline { color: var(--mh-navy); border-color: #cfd9e5; background: rgba(255,255,255,.72); }
.btn-outline:hover { background: #fff; border-color: var(--mh-navy); }
.btn-whatsapp { background: var(--mh-green); color: #fff; }
.btn:hover { transform: translateY(-2px); }

/* Desktop navigation */
#nav {
  height: 84px;
  padding: 0 28px;
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid rgba(6,29,61,.08);
  box-shadow: 0 4px 24px rgba(6,29,61,.05);
}
#nav.scrolled { background: rgba(255,255,255,.98); border-color: rgba(6,29,61,.10); }
.logo-link img { height: 62px; }
.nav-links { gap: 22px; }
.nav-links a { color: #52657c; font-size: 13px; }
.nav-links a:hover { color: var(--mh-navy); }
.nav-links a::after { background: var(--mh-orange); }
.nav-phone { color: var(--mh-navy); }
.nav-phone .ico { background: #fff2ea; color: var(--mh-orange); border-color: #ffd8c1; }
.nav-phone .ps { color: var(--mh-muted); }
.hamburger span { background: var(--mh-navy); }
.mobile-menu {
  top: 84px;
  background: rgba(255,255,255,.98);
  border-color: var(--mh-line);
  box-shadow: 0 22px 42px rgba(6,29,61,.12);
}
.mobile-menu ul li { border-color: var(--mh-line); }
.mobile-menu ul a, .mm-phone { color: var(--mh-navy); }
.mobile-menu ul a:hover { color: var(--mh-orange); }

/* Home hero */
.home-page #inicio {
  min-height: 720px;
  padding-top: 84px;
  background: linear-gradient(145deg, #f8fafc 0%, #eef3f8 100%);
}
.home-page .hero-bg-img { opacity: .07; filter: saturate(.7); }
.home-page .hero-overlay {
  background: linear-gradient(100deg, rgba(248,250,252,.98) 0%, rgba(248,250,252,.94) 52%, rgba(248,250,252,.35) 100%);
}
.home-page .hero-glow-teal {
  background: radial-gradient(circle, rgba(255,122,50,.16), transparent 68%);
  left: -230px;
}
.home-page .hero-glow-pink {
  background: radial-gradient(circle, rgba(238,39,111,.10), transparent 70%);
}
.home-page .hero-content {
  grid-template-columns: minmax(0, .95fr) minmax(440px, 1.05fr);
  gap: 58px;
  padding: 74px 28px 56px;
}
.home-page .hero-left { max-width: 610px; }
.hero-badges-row { align-items: center; }
.hero-badge {
  background: #fff;
  color: var(--mh-navy);
  border: 1px solid var(--mh-line);
  box-shadow: var(--mh-shadow-sm);
}
.hero-badge span { background: var(--mh-orange); box-shadow: 0 0 0 5px rgba(255,122,50,.12); }
.hero-rating { color: var(--mh-copy); }
.hero-rating .stars, .stars { color: var(--mh-gold); }
h1.hero-h1 {
  color: var(--mh-navy);
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1.04;
  letter-spacing: -2px;
  margin-top: 20px;
}
h1.hero-h1 em { color: var(--mh-orange); font-style: normal; }
.hero-sub { color: var(--mh-copy); font-size: 18px; max-width: 590px; }
.hero-chips { gap: 9px; }
.chip {
  color: var(--mh-navy);
  background: rgba(255,255,255,.86);
  border: 1px solid var(--mh-line);
  box-shadow: 0 5px 18px rgba(6,29,61,.05);
}
.chip svg { color: var(--mh-orange); }
.home-page .hero-right { position: relative; }
.home-page .hero-right::before {
  content: '';
  position: absolute;
  inset: 8% -5% -8% 8%;
  background: var(--mh-navy);
  border-radius: 30px;
  transform: rotate(2deg);
  opacity: .08;
}
.hero-vid-wrap {
  border-radius: 28px;
  background: var(--mh-navy);
  box-shadow: 0 28px 70px rgba(6,29,61,.20), 0 0 0 1px rgba(6,29,61,.06);
  aspect-ratio: 4 / 3;
}
.hero-vid-poster { background: var(--mh-navy); padding: 9%; }
.hero-vid-overlay { background: linear-gradient(to top, rgba(6,29,61,.28), transparent 58%); }
.hero-scroll { display: none; }

/* Stats */
.stats-strip { background: transparent; border: 0; margin-top: -34px; position: relative; z-index: 5; }
.stats-grid {
  max-width: 1120px;
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 24px;
  box-shadow: var(--mh-shadow);
  overflow: hidden;
  padding: 0;
}
.stat-item { border-color: var(--mh-line); padding: 26px 20px; }
.stat-item .sn { color: var(--mh-navy); font-size: 27px; }
.stat-item .sl { color: var(--mh-copy); }

/* Sections and cards */
#servicios, #como, #testimonios, #cobertura, #faq { background: var(--mh-soft); }
#galeria, #porque, #cotiza { background: #fff; }
.svc-grid, .porque-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.svc-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 24px;
  padding: 12px 18px 20px;
  box-shadow: 0 10px 28px rgba(6,29,61,.06);
  color: var(--mh-ink);
}
.svc-card:hover { transform: translateY(-5px); border-color: #ffd6be; box-shadow: var(--mh-shadow); }
.svc-img { height: 185px; border-radius: 17px; margin: 0 0 18px; object-fit: cover; }
.svc-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  margin-top: -42px;
  margin-left: 12px;
  position: relative;
  z-index: 2;
  border: 4px solid #fff;
  box-shadow: 0 8px 20px rgba(6,29,61,.12);
}
.svc-ic.teal, .svc-ic.pink, .svc-ic.gold { background: var(--mh-orange); color: #fff; }
.svc-card h3, .pq-card h3, .step h3, .related-card h3, .faq-item h3 { color: var(--mh-navy); }
.svc-card p, .pq-card p, .step p, .related-card p, .faq-item p { color: var(--mh-copy); }
.svc-link { color: var(--mh-orange); }

/* Gallery */
.gallery-section {
  background: linear-gradient(145deg, var(--mh-navy) 0%, #0b315e 100%) !important;
  overflow: hidden;
}
.gallery-section h2.title { color: #fff; }
.gallery-section .section-head p { color: rgba(255,255,255,.68); }
.gallery-section .eyebrow { color: var(--mh-orange-2); }
.carousel { max-width: 1220px; }
.car-track { gap: 18px; padding: 0 28px 12px; }
.car-slide { border-radius: 24px; border-color: rgba(255,255,255,.13); box-shadow: 0 18px 40px rgba(0,0,0,.20); }
.car-slide img { border-radius: 24px; }
.car-arrow { background: #fff; color: var(--mh-navy); border-color: transparent; box-shadow: var(--mh-shadow-sm); }
.car-dot { background: rgba(255,255,255,.3); }
.car-dot.active { background: var(--mh-orange); }

/* Process */
.steps-row { gap: 18px; }
.steps-row::before { background: #dfe6ee; }
.step {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 22px;
  padding: 26px 22px;
  text-align: left;
  box-shadow: 0 9px 25px rgba(6,29,61,.05);
}
.step-num {
  width: 42px;
  height: 42px;
  margin: 0 0 18px;
  background: var(--mh-navy);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 18px rgba(6,29,61,.18);
}

/* Team split */
.split-section { background: #fff; grid-template-columns: 1fr 1fr; }
.split-img { min-height: 610px; }
.split-overlay { background: linear-gradient(to right, transparent 58%, rgba(255,255,255,.85)); }
.split-content { padding: 70px clamp(36px, 7vw, 104px); background: #fff; }
.split-content h2 { color: var(--mh-navy); font-size: clamp(30px, 3.5vw, 46px); }
.split-content p { color: var(--mh-copy); }
.split-list li { color: var(--mh-ink); border-color: var(--mh-line); }
.ck { background: #fff1e8; color: var(--mh-orange); }

/* Benefits */
.porque-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.pq-card {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 22px;
  padding: 25px 20px;
  box-shadow: 0 8px 24px rgba(6,29,61,.05);
}
.pq-card:hover { border-color: #ffd4bb; transform: translateY(-4px); box-shadow: var(--mh-shadow-sm); }
.pq-ic.t, .pq-ic.g, .pq-ic.p {
  color: var(--mh-orange);
  background: #fff2ea;
  border: 1px solid #ffdcc8;
}

/* Testimonials */
.testi-rating { color: var(--mh-navy); }
.testi-grid { gap: 20px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 24px;
  box-shadow: 0 10px 28px rgba(6,29,61,.06);
}
.testi-card::before { color: var(--mh-orange); }
.testi-card:hover { border-color: #ffd4bb; }
.testi-card p { color: var(--mh-copy); }
.t-author strong { color: var(--mh-navy); }
.t-author span { color: var(--mh-muted); }
.t-google-link, .testi-google a { color: var(--mh-orange); }

/* Quote module */
#cotiza { position: relative; overflow: hidden; }
#cotiza::before {
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,122,50,.10), transparent 68%);
  right: -180px;
  top: 30px;
}
.cotiza-grid { position: relative; grid-template-columns: 1.08fr .92fr; gap: 34px; align-items: stretch; }
.form-wrap {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: var(--mh-shadow);
}
.form-title { color: var(--mh-navy); font-size: 28px; }
.form-sub { color: var(--mh-copy); margin-bottom: 20px; }
.quote-progress { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 24px; }
.quote-progress span { height: 5px; border-radius: 10px; background: #e5eaf0; transition: background .25s; }
.quote-progress span.active { background: linear-gradient(90deg, var(--mh-orange), var(--mh-gold)); }
.quote-step { display: none; animation: quoteFade .25s ease; }
.quote-step.active { display: block; }
@keyframes quoteFade { from { opacity: 0; transform: translateX(8px); } to { opacity: 1; transform: none; } }
.quote-step-title { font-family: var(--fh); color: var(--mh-navy); font-size: 18px; margin-bottom: 15px; }
.form-row { gap: 12px; margin-bottom: 12px; }
.field {
  min-height: 52px;
  background: #f7f9fc;
  border: 1px solid #dde5ee;
  color: var(--mh-ink);
  border-radius: 14px;
  padding: 14px 15px;
}
.field::placeholder { color: #8996a7; }
.field:focus { border-color: var(--mh-orange); box-shadow: 0 0 0 4px rgba(255,122,50,.10); }
textarea.field { min-height: 112px; }
.field.is-invalid { border-color: #d93d56; box-shadow: 0 0 0 4px rgba(217,61,86,.08); }
.quote-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 18px; }
.quote-actions .btn { flex: 1; }
.quote-back { background: #eef2f6; color: var(--mh-navy); }
.quote-back:hover { background: #e5ebf1; }
.quote-helper { font-size: 12px; color: var(--mh-muted); margin-top: 12px; text-align: center; }
.cotiza-side {
  background: var(--mh-navy);
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 20px 50px rgba(6,29,61,.18);
}
.cotiza-img { margin-bottom: 14px; border-radius: 20px; }
.cotiza-img img { height: 260px; }
.cotiza-img-overlay { background: linear-gradient(to top, rgba(6,29,61,.55), transparent 62%); }
.cotiza-badges { gap: 8px; }
.cb { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.10); border-radius: 15px; padding: 13px 14px; }
.cb-ic { background: rgba(255,122,50,.16); color: var(--mh-orange-2); }
.cb span { color: #fff; }

/* Coverage */
.cov-single { max-width: 800px; }
.cov-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px;
  text-align: left;
  width: 100%;
}
.cov-list li { background: #fff; border: 1px solid var(--mh-line); border-radius: 16px; padding: 15px; color: var(--mh-ink); }
.ci { background: #fff1e8; color: var(--mh-orange); }
.cov-fleet-img { border-radius: 24px; border-color: var(--mh-line); box-shadow: var(--mh-shadow-sm); }

/* Service detail pages */
.service-page { background: var(--mh-soft); }
.breadcrumb { color: var(--mh-copy); padding-top: 108px !important; padding-bottom: 12px !important; }
.breadcrumb a { color: var(--mh-orange); }
.service-page #inicio {
  min-height: auto;
  padding: 18px 0 70px;
  background: linear-gradient(145deg, var(--mh-navy), #0b315f);
}
.service-page #inicio .hero-bg-img { opacity: .12; }
.service-page #inicio .hero-overlay { background: linear-gradient(100deg, rgba(6,29,61,.98), rgba(6,29,61,.82)); }
.service-page #inicio .hero-content {
  grid-template-columns: 1fr .88fr;
  gap: 48px;
  padding: 50px 28px 0;
}
.service-page #inicio h1.hero-h1 { color: #fff; font-size: clamp(40px, 5vw, 62px); }
.service-page #inicio h1.hero-h1 em { color: var(--mh-orange-2); }
.service-page #inicio .hero-sub { color: rgba(255,255,255,.72); }
.service-page #inicio .hero-badge { background: rgba(255,255,255,.09); color: #fff; border-color: rgba(255,255,255,.14); box-shadow: none; }
.service-page #inicio .hero-rating { color: rgba(255,255,255,.72); }
.service-page #inicio .chip { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.12); box-shadow: none; }
.service-page #inicio .btn-outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.34); }
.service-page #inicio .hero-vid-wrap { aspect-ratio: 4 / 3; border: 8px solid rgba(255,255,255,.08); }
.service-page #incluye { background: #fff; }
.service-page .porque-grid { grid-template-columns: repeat(3, 1fr); }
.service-page #como { background: var(--mh-soft); }
.service-page #testimonios { background: #fff; }
.faq-list { max-width: 860px; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--mh-line);
  border-radius: 18px;
  padding: 22px 24px;
  box-shadow: 0 7px 20px rgba(6,29,61,.04);
}
.related-grid { gap: 18px; }
.related-card { background: #fff; border-color: var(--mh-line); border-radius: 20px; box-shadow: 0 8px 24px rgba(6,29,61,.05); }
.related-card a { color: var(--mh-orange); }

/* Final CTA */
.cta-final {
  background: linear-gradient(140deg, var(--mh-navy), #0c3567);
  border: 0;
  padding: 78px 30px;
}
.cta-final::before { background: radial-gradient(circle, rgba(255,122,50,.20), transparent 68%); }
.cta-final::after { background: radial-gradient(circle, rgba(238,39,111,.14), transparent 68%); }
.cta-final h2 { color: #fff; }
.cta-final p { color: rgba(255,255,255,.70); }
.cta-final .btn-outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.34); }

/* Footer */
footer { background: #041630; border-color: rgba(255,255,255,.08); }
.footer-grid { border-color: rgba(255,255,255,.10); }
.footer-tag, .footer-col a, .footer-contact-item, .footer-bottom, .footer-bottom a { color: rgba(255,255,255,.58); }
.footer-col h4, .footer-logo, .footer-contact-item a:hover { color: #fff; }
.footer-col a:hover { color: var(--mh-orange-2); }
.social-circ { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.12); background: rgba(255,255,255,.06); }
.social-circ:hover { background: var(--mh-orange); border-color: var(--mh-orange); }

/* Mobile bottom application dock */
.mobile-dock { display: none; }
.wa-float { box-shadow: 0 10px 30px rgba(37,211,102,.35); }

/* Tablet */
@media (max-width: 1080px) {
  .home-page .hero-content { grid-template-columns: 1fr 1fr; gap: 32px; }
  .porque-grid { grid-template-columns: repeat(3, 1fr); }
  .service-page .porque-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 860px) {
  #nav { height: 72px; padding: 0 18px; }
  .logo-link img { height: 50px; }
  .mobile-menu { top: 72px; }
  .nav-right .btn-sm { display: none; }
  .home-page #inicio { padding-top: 72px; min-height: auto; }
  .home-page .hero-content, .service-page #inicio .hero-content {
    grid-template-columns: 1fr;
    padding-top: 42px;
  }
  .home-page .hero-right { max-width: 660px; width: 100%; margin: 0 auto; }
  .home-page .hero-left { max-width: 720px; }
  .service-page #inicio .hero-right { max-width: 650px; width: 100%; margin: 0 auto; }
  .service-page #inicio .hero-left { max-width: 720px; }
  .svc-grid { grid-template-columns: repeat(2,1fr); }
  .porque-grid, .service-page .porque-grid { grid-template-columns: repeat(2,1fr); }
  .split-section { grid-template-columns: 1fr; }
  .split-img { min-height: 380px; }
  .split-overlay { background: linear-gradient(to top, rgba(255,255,255,.85), transparent 42%); }
  .cotiza-grid { grid-template-columns: 1fr; }
  .cotiza-side { order: -1; }
}

/* Mobile app-like experience */
@media (max-width: 600px) {
  html { scroll-padding-top: 72px; }
  body { padding-bottom: 78px; }
  section { padding: 62px 0; }
  .wrap { padding-left: 18px; padding-right: 18px; }
  .section-head { text-align: left; margin-bottom: 28px; }
  .section-head .eyebrow { justify-content: flex-start; }
  h2.title { font-size: 31px; line-height: 1.12; }
  .section-head p { font-size: 14.5px; }

  #nav { height: 66px; padding: 0 14px; }
  .logo-link img { height: 45px; max-width: 178px; object-fit: contain; }
  .nav-phone { display: none; }
  .mobile-menu { top: 66px; border-radius: 0 0 24px 24px; }
  .mobile-menu ul { padding-left: 18px; padding-right: 18px; }

  .home-page #inicio { padding-top: 66px; background: #f5f7fa; }
  .home-page .hero-bg { display: none; }
  .home-page .hero-content { display: flex; flex-direction: column; gap: 25px; padding: 26px 18px 54px; }
  .home-page .hero-left { order: 1; }
  .home-page .hero-right { order: 2; }
  .hero-badges-row { gap: 8px; }
  .hero-badge { font-size: 10.5px; padding: 8px 10px; }
  .hero-rating { font-size: 11px; }
  h1.hero-h1 { font-size: 39px; line-height: 1.06; letter-spacing: -1.4px; margin-top: 18px; }
  .hero-sub { font-size: 15.5px; line-height: 1.7; }
  .hero-chips {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 7px;
  }
  .chip { min-height: 68px; padding: 10px 7px; border-radius: 14px; flex-direction: column; justify-content: center; text-align: center; font-size: 10.5px; line-height: 1.25; }
  .chip svg { width: 17px; height: 17px; }
  .hero-ctas { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
  .hero-ctas .btn { min-height: 52px; padding: 12px 10px; font-size: 13px; }
  .hero-ctas .hero-btn-services { display: inline-flex; }
  .hero-vid-wrap { border-radius: 23px; aspect-ratio: 16 / 11; box-shadow: 0 20px 46px rgba(6,29,61,.18); }
  .home-page .hero-right::before { inset: 7% -2% -6% 8%; border-radius: 24px; }

  .stats-strip { margin: -25px 14px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); border-radius: 20px; }
  .stat-item { padding: 19px 10px; }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--mh-line); }
  .stat-item .sn { font-size: 21px; }
  .stat-item .sl { font-size: 10.5px; }

  /* Horizontal service cards resemble app tiles. */
  #servicios { padding-bottom: 55px; }
  .svc-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 13px;
    padding: 0 18px 18px;
    scrollbar-width: none;
  }
  .svc-grid::-webkit-scrollbar { display: none; }
  .svc-card { flex: 0 0 82vw; max-width: 330px; scroll-snap-align: start; border-radius: 22px; padding: 10px 16px 18px; }
  .svc-img { height: 176px; border-radius: 16px; }
  .svc-card h3 { font-size: 18px; }
  .svc-card p { font-size: 13.5px; }

  .gallery-section { padding-bottom: 72px; }
  .car-track { padding-left: 18px; padding-right: 18px; gap: 12px; }
  .car-slide { min-width: 84vw; border-radius: 20px; }
  .car-arrow { display: none; }

  .steps-row { display: flex; flex-direction: column; gap: 10px; }
  .step { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 18px; border-radius: 18px; }
  .step-num { grid-row: 1 / span 2; margin: 0; }
  .step h3 { margin: 0 0 5px; font-size: 16px; }
  .step p { margin: 0; font-size: 13px; }

  .split-img { min-height: 300px; }
  .split-content { padding: 42px 20px 58px; }
  .split-content h2 { font-size: 31px; }
  .split-list li { font-size: 13.5px; }

  .porque-grid, .service-page .porque-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 18px;
  }
  .pq-card { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 17px; border-radius: 18px; }
  .pq-ic { grid-row: 1 / span 2; margin: 0; }
  .pq-card h3 { font-size: 16px; margin: 1px 0 4px; }
  .pq-card p { font-size: 13px; }

  .testi-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    scrollbar-width: none;
  }
  .testi-grid::-webkit-scrollbar { display: none; }
  .testi-card { flex: 0 0 86vw; scroll-snap-align: start; padding: 23px 20px; border-radius: 20px; }
  .testi-card p { font-size: 13.5px; }

  .cotiza-grid { gap: 15px; }
  .form-wrap { padding: 23px 17px; border-radius: 22px; }
  .form-title { font-size: 23px; }
  .form-sub { font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .quote-actions { flex-direction: row; }
  .cotiza-side { order: 2; padding: 12px; border-radius: 22px; }
  .cotiza-img img { height: 185px; }
  .cb { padding: 11px 12px; }
  .cb span { font-size: 12.5px; }

  .cov-list { grid-template-columns: 1fr; }
  .cov-list li { font-size: 13px; padding: 13px; }
  .cov-fleet-img img { height: 215px; }

  /* Detail pages become an app-like image + white sheet layout. */
  .breadcrumb { display: none; }
  .service-page #inicio { padding: 66px 0 0; background: var(--mh-navy); overflow: visible; }
  .service-page #inicio .hero-bg { display: none; }
  .service-page #inicio .hero-content { display: flex; flex-direction: column; gap: 0; padding: 14px 14px 0; }
  .service-page #inicio .hero-right { order: 1; width: 100%; }
  .service-page #inicio .hero-vid-wrap { aspect-ratio: 16/10; border: 0; border-radius: 22px 22px 8px 8px; box-shadow: none; }
  .service-page #inicio .hero-left {
    order: 2;
    background: #fff;
    margin-top: -14px;
    position: relative;
    z-index: 4;
    border-radius: 26px 26px 0 0;
    padding: 27px 20px 34px;
    max-width: none;
  }
  .service-page #inicio .hero-badge { background: #fff1e8; color: var(--mh-orange); border-color: #ffdac5; }
  .service-page #inicio .hero-rating { color: var(--mh-copy); }
  .service-page #inicio h1.hero-h1 { color: var(--mh-navy); font-size: 34px; letter-spacing: -1px; }
  .service-page #inicio .hero-sub { color: var(--mh-copy); font-size: 14.5px; }
  .service-page #inicio .hero-chips { grid-template-columns: repeat(3,1fr); }
  .service-page #inicio .chip { background: #f7f9fc; color: var(--mh-navy); border-color: var(--mh-line); }
  .service-page #inicio .hero-ctas { grid-template-columns: 1fr; }
  .service-page #inicio .hero-btn-services { display: none; }
  .service-page #incluye { padding-top: 58px; }
  .faq-item { padding: 18px; border-radius: 17px; }
  .faq-item h3 { font-size: 15px; }
  .related-grid { grid-template-columns: 1fr; }

  .cta-final { padding: 58px 18px; }
  .cta-final h2 { font-size: 32px; }
  .cta-final p { font-size: 14.5px; margin-bottom: 27px; }
  .cta-final .ctas { display: grid; grid-template-columns: 1fr; }

  footer { padding: 46px 18px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
  .footer-logo img { height: 62px; }

  .wa-float { display: none; }
  .mobile-dock {
    position: fixed;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    height: 66px;
    padding: 7px 5px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(6,29,61,.09);
    border-radius: 20px;
    box-shadow: 0 16px 44px rgba(6,29,61,.20);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 500;
  }
  .mobile-dock a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #6e7d90;
    font-size: 9.5px;
    font-weight: 700;
    border-radius: 14px;
  }
  .mobile-dock a:hover, .mobile-dock a:focus { color: var(--mh-navy); }
  .mobile-dock svg { width: 20px; height: 20px; }
  .mobile-dock .dock-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--mh-orange), var(--mh-orange-2));
    box-shadow: 0 8px 18px rgba(255,122,50,.28);
  }
  .mobile-dock .dock-wa { color: #159448; }
}

@media (max-width: 380px) {
  h1.hero-h1 { font-size: 35px; }
  .hero-chips { grid-template-columns: 1fr 1fr; }
  .hero-chips .chip:last-child { grid-column: 1 / -1; min-height: 52px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child, .footer-grid .footer-col:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* V4 refinement pass */
/* Header logo: use the exact navy-backed artwork from the video poster. */
.logo-link {
  width: 118px;
  height: 64px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--mh-navy);
  box-shadow: 0 5px 14px rgba(6,29,61,.12);
}
.logo-link img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.nav-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 5px 10px;
  border: 1px solid #ffd7bc;
  border-radius: 999px;
  background: #fff7f0;
  color: var(--mh-navy);
  box-shadow: 0 4px 12px rgba(6,29,61,.05);
  white-space: nowrap;
}
.nav-stars { color: var(--mh-gold); font-size: 10px; letter-spacing: -.5px; }
.nav-rating-copy { display: grid; line-height: 1; }
.nav-rating-copy strong { font-family: var(--fh); font-size: 12px; }
.nav-rating-copy small { margin-top: 3px; color: var(--mh-muted); font-size: 8.5px; }

/* Make every home hero chip visually consistent. */
.chip-label { display: grid; gap: 1px; }
.chip-label > span { display: block; }

/* The gallery now uses the laptop/desktop canvas instead of stopping at 1220 px. */
.carousel {
  width: min(100%, 1740px);
  max-width: none;
  margin-inline: auto;
  padding-inline: clamp(18px, 3vw, 58px);
}
.car-track { min-width: 0; }
.car-slide { width: clamp(270px, 21.5vw, 365px); }

/* High-specificity fix: step 4 is no longer white-on-white. */
.steps-row .step:nth-child(4) .step-num {
  background: var(--mh-orange);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 18px rgba(255,122,50,.24);
}

/* Visible controls for horizontally scrollable content. */
.slider-tools {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--mh-copy);
  font-size: 12px;
  font-weight: 700;
}
.slider-tools > span { display: inline-flex; align-items: center; gap: 6px; }
.slider-tools > span > span { color: var(--mh-orange); font-size: 18px; line-height: 1; }
.slider-buttons { display: flex; gap: 7px; }
.slider-buttons button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid var(--mh-line);
  border-radius: 50%;
  background: #fff;
  color: var(--mh-navy);
  box-shadow: 0 5px 14px rgba(6,29,61,.08);
  font-family: var(--fh);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}
.slider-buttons button:active { transform: translateY(1px); }

@media (max-width: 1300px) and (min-width: 861px) {
  .nav-rating { display: none; }
  .logo-link { width: 104px; height: 58px; }
}

@media (max-width: 860px) {
  .logo-link { width: 102px; height: 54px; }
  .nav-rating { margin-left: auto; }
}

@media (max-width: 600px) {
  #nav { height: 64px; }
  .logo-link { width: 88px; height: 48px; border-radius: 9px; }
  .nav-right { flex: 1; justify-content: flex-end; }
  .nav-rating {
    min-height: 34px;
    gap: 5px;
    padding: 4px 8px;
    margin-right: 2px;
  }
  .nav-stars { font-size: 8.5px; }
  .nav-rating-copy strong { font-size: 11px; }
  .nav-rating-copy small { font-size: 7.5px; }

  /* Compact the opening screen enough to reveal the stats strip immediately. */
  .home-page #inicio { padding-top: 64px; }
  .home-page .hero-content {
    gap: 12px;
    padding: 15px 14px 22px;
  }
  .home-page .hero-left,
  .home-page .hero-right { width: 100%; }
  .home-page h1.hero-h1 {
    margin-top: 0;
    font-size: 33px;
    line-height: 1.02;
    letter-spacing: -1.15px;
  }
  .home-page .hero-sub {
    margin-top: 10px;
    font-size: 13px;
    line-height: 1.48;
  }
  .home-page .hero-chips {
    margin-top: 11px;
    gap: 6px;
  }
  .home-page .chip {
    min-height: 50px;
    padding: 6px 4px;
    border-radius: 12px;
    font-size: 9.5px;
    line-height: 1.05;
  }
  .home-page .chip svg { width: 14px; height: 14px; }
  .home-page .hero-ctas { margin-top: 10px; gap: 7px; }
  .home-page .hero-ctas .btn {
    min-height: 46px;
    padding: 9px 7px;
    font-size: 12px;
  }
  .home-page .hero-right::before { display: none; }
  .home-page .hero-vid-wrap {
    aspect-ratio: 21 / 8;
    max-height: 150px;
    border-radius: 18px;
    box-shadow: 0 13px 30px rgba(6,29,61,.16);
  }
  .home-page .hero-vid-poster { padding: 2.5%; object-fit: contain; }
  .stats-strip { margin: -9px 12px 0; }
  .stats-grid { border-radius: 18px; }
  .stat-item { padding: 11px 7px; }
  .stat-item .sn { font-size: 18px; }
  .stat-item .sl { margin-top: 2px; font-size: 9.5px; }

  .slider-tools {
    display: flex;
    margin: -14px 18px 14px;
  }
  .reviews-slider-tools { margin: 0 0 12px; }
  .svc-card { flex-basis: 79vw; }
  .testi-card { flex-basis: 82vw; }
  .testi-grid,
  .svc-grid { scroll-padding-left: 18px; }
  .testi-grid::after,
  .svc-grid::after {
    content: '';
    flex: 0 0 8px;
  }

  .carousel { padding-inline: 0; }
  .car-slide { width: auto; }
}

@media (max-width: 380px) {
  .nav-rating-copy small { display: none; }
  .nav-rating { padding-inline: 7px; }
  .home-page h1.hero-h1 { font-size: 31px; }
}

/* Keep short Google reviews compact instead of stretching to the longest card. */
@media (max-width: 600px) {
  .testi-grid { align-items: flex-start; }
  .testi-card { align-self: flex-start; }
}
