/* Mobile redesign. Desktop styles remain in index.html. */
.mobile-eyebrow, .mobile-contact-dock { display: none; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: white; color: #062756; }
.skip-link:focus { top: 12px; }
a:focus-visible, button:focus-visible { outline: 3px solid #e67819; outline-offset: 4px; }
@media (max-width: 1023px) {
  html { scroll-padding-top: 100px; }
  body > .w-full:first-of-type { display: none; }
  .mobile-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e6eaf0; box-shadow: none; }
  .mobile-header > div:first-child { min-height: 76px; padding: 10px 20px; }
  .mobile-logo { width: 190px !important; height: 52px; object-fit: contain; }
  #mobile-menu-button { flex-shrink: 0; border: 0; background: #f1f5f8; border-radius: 14px; }
  .mobile-menu-panel { position: absolute; left: 0; right: 0; max-height: calc(100dvh - 90px); overflow-y: auto; border-radius: 0 0 24px 24px; box-shadow: 0 20px 30px #06275620; }
  .mobile-menu-panel nav { padding-top: 8px; }
  .mobile-menu-panel > a { background: #062756; min-height: 48px; }
  .hero-shell { background: #f3f6fa; padding-bottom: 28px; }
  .hero-content-wrap { width: 100%; padding: 0 24px !important; }
  .hero-copy { padding-top: 32px !important; }
  .mobile-eyebrow { display: block; margin: 0 0 16px; font-size: 10px; font-weight: 800; letter-spacing: 1.7px; color: #496078; }
  .hero-title { font-size: clamp(34px, 7.8vw, 52px) !important; line-height: 1.16 !important; letter-spacing: -1.3px !important; }
  .hero-title br { display: none; }
  .hero-description { font-size: 15px !important; line-height: 1.65 !important; margin-top: 18px; max-width: 580px; }
  .hero-description + .hero-description { margin-top: 8px; }
  .hero-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 4px !important; margin-top: 24px; }
  .hero-actions a { min-width: 0 !important; width: 100%; min-height: 50px; font-size: 15px; border-radius: 14px; }
  .hero-actions a:first-child { background: #062756; }
  .hero-actions a:last-child { border: 0; min-height: 44px; padding: 10px; font-size: 13px; }
  .hero-benefits { grid-template-columns: repeat(3,minmax(0,1fr)) !important; gap: 10px !important; margin-top: 22px !important; padding-top: 20px; border-top: 1px solid #dce4ee; }
  .hero-benefits > div { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .hero-benefits svg { width: 25px !important; height: 25px !important; }
  .hero-benefits p:first-child { font-size: 10px; line-height: 1.5; }
  .hero-benefits p + p { display: none; }
  .hero-image-wrap { margin: 24px 24px 0; width: calc(100% - 48px) !important; height: 260px !important; border-radius: 22px; }
  .hero-image-wrap img { object-position: center 35% !important; }
  .hero-wave { display: none; }
  #seguros { padding: 36px 0; }
  #seguros > div, #nosotros > div { padding-left: 20px; padding-right: 20px; }
  #seguros > div > .text-center { text-align: left; }
  #seguros > div > .text-center > div { margin-left: 0; }
  .section-heading { font-size: 27px !important; letter-spacing: -.6px; }
  #seguros > div > .text-center p { font-size: 14px; line-height: 1.65; }
  .seguros-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px !important; margin-top: 24px; }
  .tarjeta-seguro { min-width: 0; min-height: 0; padding: 18px 14px 12px; border: 1px solid #e2e8f0; border-radius: 18px; box-shadow: none; text-align: left; align-items: flex-start; }
  .tarjeta-seguro:hover { transform: none; }
  .tarjeta-seguro > svg { width: 40px; height: 40px; padding: 4px; background: #fff5eb; border-radius: 10px; }
  .tarjeta-seguro h3 { font-family: Inter,sans-serif; font-size: 15px; line-height: 1.4; margin-top: 12px; }
  .tarjeta-seguro p { font-size: 12px; line-height: 1.6; margin-top: 8px; margin-bottom: 8px; }
  .tarjeta-seguro a { color: #984708; font-size: 12px; padding-top: 10px; min-height: 44px; }
  #empresas { grid-column: 1 / -1; background: #f3f6fa; }
  #empresas h3 br { display: none; }
  .why-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 12px; }
  .why-grid > :first-child { grid-column: 1 / -1; padding: 0 0 18px !important; border: 0; }
  .why-grid > :first-child p { max-width: none; margin-top: 18px; }
  .why-grid h2 { font-size: 28px; }
  .why-grid > article { padding: 18px 12px !important; background: #ffffff09; border: 1px solid #ffffff20 !important; border-radius: 16px; text-align: left; }
  .why-grid article svg { margin-left: 0; width: 32px; height: 32px; }
  .why-grid article h3 { font-size: 13px; margin-top: 12px; }
  .why-grid article p { font-size: 12px; line-height: 1.65; margin-top: 8px; }
  .insurers-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 10px !important; }
  .insurer-item { height: 76px !important; padding: 12px; border: 1px solid #e5eaf1; border-radius: 14px; }
  .insurer-item img { max-width: 100% !important; max-height: 48px !important; object-fit: contain; }
  .cta-banner { border-radius: 22px; min-height: 330px; overflow: hidden; }
  .cta-copy { min-height: 330px; padding: 24px !important; justify-content: flex-end !important; background: linear-gradient(180deg,#06275610,#062756 75%); }
  .cta-copy h2 { font-size: 26px !important; }
  .cta-copy p { font-size: 14px !important; }
  .cta-copy a { min-height: 48px; font-size: 14px; border-radius: 12px; }
  .footer-main-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 28px 18px !important; }
  .footer-main-grid > :first-child, .footer-main-grid > :nth-child(2), .footer-main-grid > :last-child { grid-column: 1 / -1; }
  .footer-main-grid a { overflow-wrap: anywhere; }
  .footer-main-grid li a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-logo { width: 190px !important; }
  #contacto { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .mobile-contact-dock { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; display: grid; grid-template-columns: 82px 1fr; gap: 10px; padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #fffffff5; border-top: 1px solid #e0e6ef; box-shadow: 0 -4px 20px #06275608; }
  .mobile-contact-dock a { min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 12px; border-radius: 13px; font-size: 13px; font-weight: 700; }
  .dock-call { color: #062756; background: #edf2f7; }
  .dock-quote { color: white; background: #062756; }
}
@media (min-width: 641px) and (max-width: 1023px) {
  .hero-content-wrap { max-width: 680px; }
  .hero-image-wrap { max-width: 632px; margin-left: auto; margin-right: auto; height: 330px !important; }
  .seguros-grid { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
  #empresas { grid-column: auto; }
  .mobile-contact-dock { padding-left: max(24px,calc((100vw - 630px)/2)); padding-right: max(24px,calc((100vw - 630px)/2)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
