/* E-MOVE V75 — ajustes responsivos (sin modificar diseño, contenido ni animaciones). */
html { overflow-x: clip; }
body { min-width: 0; overflow-x: clip; }
main, main > section, .wrap { min-width: 0; }
img, video, svg { max-width: 100%; }
:is(.trust-band, .coverage-premium, .reserve-cta, .site-footer-executive) :is(h1,h2,h3,p) { overflow-wrap: break-word; }

/* Tarjetas de confianza y cobertura: evitar que las columnas mínimas creen
   desplazamiento lateral en tablets y teléfonos. */
@media (max-width: 1180px) {
  .coverage-premium-grid { grid-template-columns: minmax(0, 1fr); }
  .coverage-premium-grid > *, .coverage-premium-points > * { min-width: 0; }
  .trust-band .section-head { grid-template-columns: minmax(0, 1fr); }
  .trust-band .section-head > * { min-width: 0; }
  .trust-band .h2 span { white-space: normal; }
}

/* Encabezado compartido: logo, banderas y menú dentro del viewport. */
@media (max-width: 680px) {
  header#header .nav, header#header.scrolled .nav { max-width: calc(100% - 24px) !important; min-width: 0; }
  header#header .brand { min-width: 0; }
  header#header .navright { margin-left: auto; }
  header#header .menu-btn { flex-shrink: 0; }
  #mobileMenu { max-width: 100vw; box-sizing: border-box; padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
  #mobileMenu > nav { min-width: 0; }
  #mobileMenu nav a, #mobileMenu .nav-services > summary { overflow-wrap: anywhere; }
  #mobileMenu .mobile-close { z-index: 2; }
  .emove-floating-contact { gap: 7px; }
  .emove-contact-fab { width: 42px; height: 42px; flex-basis: 42px; }
  .emove-contact-fab svg { width: 22px; height: 22px; }
}
@media (max-width: 360px) {
  header#header .brand-logo, header#header.scrolled .brand-logo { width: 88px !important; max-width: 88px; }
  header#header .nav, header#header.scrolled .nav { padding: 6px 10px !important; }
  header#header .lang, header#header:not(.scrolled) .lang { width: 32px; height: 34px; padding: 4px !important; }
  header#header .lang img { width: 22px; height: 16px; }
  header#header .menu-btn { width: 38px; flex-basis: 38px; height: 38px; }
}

/* Formularios modales: sin botones apretados ni campos recortados en iPhone. */
#bookingModal .modal-card { min-width: 0; overscroll-behavior-y: contain; }
#bookingModal .form-grid > *, #bookingModal .modal-actions > *,
#contactForm .contact-grid > *, #contactForm .contact-actions > * { min-width: 0; }
@media (max-width: 520px) {
  #bookingModal { padding: max(10px, env(safe-area-inset-top, 0px)) 10px max(10px, env(safe-area-inset-bottom, 0px)); }
  #bookingModal .modal-card { width: 100%; max-height: calc(100dvh - 20px); padding: 20px 16px; border-radius: 20px; }
  #bookingModal .modal-head { align-items: flex-start; }
  #bookingModal .modal-head .h3 { font-size: clamp(24px, 7.2vw, 30px); }
  .emove-booking-form .form-grid, .emove-booking-form .modal-actions { grid-template-columns: minmax(0, 1fr); }
  .emove-booking-form .input.full { grid-column: 1; }
  .emove-send-button { min-height: 46px; font-size: 13px; }
  #contactForm .contact-grid, #contactForm .contact-actions { grid-template-columns: minmax(0, 1fr); }
  #contactForm .contact-btn { min-height: 48px; }
}

/* Inicio: jerarquía y títulos legibles, grillas sin recortes. */
@media (max-width: 700px) {
  .trust-band .section-head { gap: 18px; }
  .trust-band .h2 { font-size: clamp(32px, 9vw, 45px); line-height: 1.03; }
  .trust-band .h2 span { display: inline; white-space: normal; }
  .trust-band .h2 span + span::before { content: ' '; }
  .trust-grid { grid-template-columns: minmax(0, 1fr); }
  .coverage-premium-copy, .coverage-premium-side { min-width: 0; }
  .coverage-premium-points { grid-template-columns: minmax(0, 1fr); }
  .coverage-premium h2 { font-size: clamp(30px, 9vw, 43px); }
  .coverage-premium h2 span { white-space: normal; }
  .reserve-cta-grid { grid-template-columns: minmax(0, 1fr); }
  .reserve-cta-grid > * { min-width: 0; }
  .reserve-cta h2 span { white-space: normal; }
  .reserve-cta-panel { min-width: 0; }
  .hero-copy, .hero-grid { min-width: 0; }
  .hero-copy .display { overflow-wrap: normal; }
  .testimonials-grid.review-track > * { min-width: 0; }
}
@media (max-width: 380px) {
  .hero-title span { white-space: normal !important; }
  .hero-copy .display { font-size: clamp(30px, 9.6vw, 37px); }
  .trust-band .h2 { font-size: clamp(29px, 8.9vw, 34px); }
  .coverage-premium-copy, .coverage-premium-side { padding: 20px 16px; }
  .coverage-badges, .coverage-point { min-width: 0; }
  .review-controls { min-width: 0; }
}

/* Página Nuestra empresa: botones y títulos de cierre a una columna. */
@media (max-width: 640px) {
  #emove-about-new .closing-wrap { grid-template-columns: minmax(0, 1fr); }
  #emove-about-new .closing-copy, #emove-about-new .closing-actions,
  #emove-about-new .closing-copy h2, #emove-about-new .closing-copy p { min-width: 0; max-width: 100%; }
  #emove-about-new .closing-actions { grid-column: 1 / -1; width: 100%; justify-content: flex-start; }
  #emove-about-new .closing-copy h2 span { white-space: normal; }
  #emove-about-new .container { max-width: calc(100% - 28px); }
  #emove-about-new .hero-copy h1 { overflow-wrap: break-word; }
}
@media (max-width: 380px) {
  #emove-about-new .closing-actions { flex-direction: column; align-items: stretch; }
  #emove-about-new .closing-actions .btn { width: 100%; max-width: 100%; text-align: center; justify-content: center; }
}

/* Página Servicios: textos y botones completamente dentro de las tarjetas. */
@media (max-width: 640px) {
  body.inner-page .srv-new .service-copy,
  body.inner-page .srv-new .service-content { min-width: 0; }
  body.inner-page .srv-new .service-content { padding-inline: clamp(18px, 6vw, 27px); }
  body.inner-page .srv-new .features { max-width: 100%; }
  body.inner-page .srv-new .feature { white-space: normal; }
  body.inner-page .srv-new .service h3 { font-size: clamp(36px, 12vw, 48px); }
  body.inner-page .srv-new .elite-popup { box-sizing: border-box; }
  body.inner-page .srv-new .elite-popup-hero-copy,
  body.inner-page .srv-new .elite-popup-body,
  body.inner-page .srv-new .elite-popup-foot { min-width: 0; }
  body.inner-page .srv-new .elite-popup-perks li { overflow-wrap: break-word; }
}
@media (max-width: 380px) {
  body.inner-page .srv-new .elite-popup { width: calc(100% - 12px); max-height: calc(100dvh - 12px); }
  body.inner-page .srv-new .elite-popup-hero-copy { padding: 24px 18px 20px; }
  body.inner-page .srv-new .elite-popup-body { padding: 22px 18px; }
  body.inner-page .srv-new .elite-popup-foot { padding: 20px 18px 24px; }
  body.inner-page .srv-new .elite-popup h2 { font-size: clamp(37px, 12vw, 47px); }
  body.inner-page .srv-new .elite-popup-bar { padding-inline: 16px; }
  body.inner-page .srv-new .elite-popup-bar-label { font-size: 9px; letter-spacing: .11em; }
}
