@media (max-width: 1100px) {
  .nav-phone span { display: none; }
  .nav-list { margin-left: 0; }
  .nav-link { padding: 0 .65rem; }
  .mega-inner { grid-template-columns: minmax(0, 1fr); }
  .mega-promo { display: none; }
}

@media (max-width: 1024px) {
  .svc-grid, .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rail > * { flex-basis: calc((100% - 1rem) / 2); }
  .assist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-layout { grid-template-columns: minmax(0, 1fr); }
  .aside-card { position: static; }
}

@media (max-width: 860px) {
  .split, .contact-layout { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }


  .slide h1, .slide h2 { max-width: 20ch; }
  .car-btn { display: none; }

  /* Menú móvil */
  .nav-toggle {
    display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
    border: 0; background: transparent; color: var(--ink); cursor: pointer;
  }
  .site-nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: var(--white);
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 1.2rem; padding: 1rem 1.25rem 2rem; height: auto;
    overflow-y: auto; transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .3s var(--ease), opacity .25s, visibility .25s;
  }
  .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; height: auto; }
  .nav-list > li { display: block; border-bottom: 1px solid var(--line); }
  .nav-link { width: 100%; height: 56px; font-size: 1.1rem; padding: 0; justify-content: space-between; border-bottom: 0; }
  .nav-link:hover, .nav-link.is-current { border-bottom: 0; }
  .mega { position: static; box-shadow: none; border: 0; opacity: 1; visibility: visible; transform: none; display: none; }
  .has-mega.is-open .mega { display: block; }
  .mega-inner { padding: 0 0 1rem; width: 100%; }
  .mega-grid { grid-template-columns: minmax(0, 1fr); }
  .nav-actions { flex-direction: column; align-items: stretch; }
  .nav-actions .btn { width: 100%; min-height: 52px; }
  .nav-phone { justify-content: center; }
  .nav-phone span { display: inline; }
  .nav-open .nav-toggle-open { display: none; }
  .nav-open .nav-toggle-close { display: block; }
}

@media (max-width: 640px) {
  .svc-grid, .cards, .form-row { grid-template-columns: minmax(0, 1fr); }
  .rail > * { flex-basis: 86%; }
  .assist, .footer-perks { grid-template-columns: minmax(0, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-call { grid-column: 1 / -1; }
  .slide-actions .btn { width: 100%; }
  .cta-band .btn { width: 100%; white-space: normal; text-align: center; }
  .wm-text strong { font-size: 1.1rem; }
  .wm-text small { font-size: .5rem; letter-spacing: .16em; }
  .stat { padding: 1.4rem 1rem; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 640px) {
  .info-card { padding: 1.4rem; }
  .info-list li { grid-template-columns: 40px minmax(0, 1fr); gap: .8rem; }
  .info-list .ico { width: 40px; height: 40px; }
  .info-list a, .info-list strong { font-size: .95rem; }
}

@media (max-width: 1024px) {
  .signals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .process { grid-template-columns: minmax(0, 1fr); }
  .process-photo { min-height: 0; aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .signals { grid-template-columns: minmax(0, 1fr); }
  .step { grid-template-columns: 36px minmax(0, 1fr); gap: .9rem; }
  .step-when { margin: .3rem 0 0; display: table; }
  .process .btn { width: 100%; white-space: normal; text-align: center; }
}

@media (max-width: 1024px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .values { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
}

/* ---------- Ajustes táctiles y de lectura en móvil/tablet ---------- */
.brand { min-height: 44px; }

@media (max-width: 860px) {
  /* Controles del carrusel: objetivo táctil de 44 px */
  .car-bar { bottom: .6rem; gap: .25rem; }
  .car-dot { width: 40px; height: 44px; }
  .car-pause { width: 44px; height: 44px; background: transparent; }
  .car-pause:hover { background: rgba(255,255,255,.18); }

  /* Pie: enlaces y datos de contacto fáciles de tocar */
  .footer-list { gap: 0; }
  .footer-list a, .footer-call a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-call .footer-phone { min-height: 48px; }
  .footer-call p { margin: 0 0 .4rem; }
  .footer-contact li { align-items: center; }
  .footer-bottom { font-size: .8rem; gap: 0; }
  .footer-bottom small { display: block; }
  .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
}

@media (max-width: 640px) {
  /* Subtítulo del logotipo: legible sin romper el encabezado a 320 px */
  .wm-text small { font-size: .62rem; letter-spacing: .13em; }
  .wm-text strong { font-size: 1.1rem; }
}

/* En móvil/tablet el resumen y el botón de contratar van antes del detalle largo */
@media (max-width: 1024px) {
  .service-layout .aside-card { order: -1; }
}

/* Llamada directa desde el encabezado en móvil/tablet */
@media (max-width: 860px) {
  .header-inner { gap: .25rem; }
  .header-call {
    display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto;
    border-radius: 12px; color: var(--ink); text-decoration: none;
  }
  .header-call:hover { background: var(--canvas); color: var(--brand-600); }
}

@media (max-width: 860px) {
  .header-call, .nav-toggle { flex: none; }
  .brand { min-width: 0; }
}
