/* Compact mobile shell. Outside this breakpoint the original site is intact. */
.mobile-app-only { display: none; }

@media (max-width: 860px) {
  .mobile-app-ready { scroll-padding-top: 90px; }
  .mobile-app-ready body { background: var(--cream); padding-bottom: calc(77px + env(safe-area-inset-bottom, 0px)); }
  .mobile-app-ready #contenido { min-height: calc(100svh - 155px); }
  .mobile-app-ready .mobile-app-only[data-mobile-active],
  .mobile-app-ready .mobile-water-nav { display: block; }
  .mobile-app-ready [data-mobile-panel]:not([data-mobile-active]),
  .mobile-app-ready .hero,
  .mobile-app-ready .site-footer,
  .mobile-app-ready .site-header .more-menu { display: none; }
  .mobile-app-ready .wrap { width: min(100% - 30px, 600px); }
  .mobile-app-ready .header-row { min-height: 72px; padding-block: 12px; }
  .mobile-app-ready .site-header::after { height: 3px; background: var(--orange); }
  .mobile-app-ready .brand { gap: 9px; }
  .mobile-app-ready .brand img { width: 42px; height: 42px; border-radius: 50%; }
  .mobile-app-ready .brand small { font: 500 11px/1.1 system-ui, sans-serif; letter-spacing: .035em; }
  .mobile-app-ready .brand strong { font: 650 20px/1.15 system-ui, sans-serif; letter-spacing: -.035em; text-transform: none; }
  .mobile-app-ready .header-call { min-height: 44px; padding: 10px 12px; border-radius: 9px; font: 700 18px/1.2 system-ui, sans-serif; }
  .mobile-app-ready .header-call .icon { width: 17px; height: 17px; }
  .mobile-home { padding-block: 15px 20px; }
  .mobile-app-ready .mobile-next { width: 16px; height: 16px; color: var(--muted); }
  .mobile-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mobile-home-activity { display: flex; align-items: center; gap: 9px; min-height: 46px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; font-size: 14px; font-weight: 550; }
  .mobile-home-activity > span { flex: 1; }
  .mobile-home-activity > .icon { width: 19px; height: 19px; }
  .mobile-app-ready .mobile-view-header:not([hidden]) { display: flex; align-items: center; gap: 10px; padding-top: 16px; padding-bottom: 14px; }
  .mobile-back { display: grid; flex: 0 0 auto; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; text-decoration: none; }
  .mobile-back .icon { width: 19px; height: 19px; }
  #mobile-view-title { font: 650 22px/1.2 system-ui, sans-serif; letter-spacing: -.035em; text-transform: none; }
  .mobile-app-ready .band[data-mobile-active], .mobile-app-ready .install-app[data-mobile-active] { padding-block: 6px 24px; border-top: 0; }
  .mobile-app-ready #carreteras[data-mobile-active] > .band { padding-block: 6px 24px; }
  .mobile-app-ready #carreteras[data-mobile-active] #puertos { padding-top: 18px; }
  .mobile-app-ready [data-mobile-active] .section-heading { margin-bottom: 16px; }
  .mobile-app-ready [data-mobile-active] .section-heading > .kicker,
  .mobile-app-ready [data-mobile-active] .section-heading > h2 { display: none; }
  .mobile-app-ready #carreteras[data-mobile-active] #passes-title { display: block; margin-bottom: 8px; font-size: 1.4rem; }
  .mobile-app-ready [data-mobile-active] .section-heading > p:not(.kicker) { margin-top: 0; font-size: 14px; }
  .mobile-app-ready [data-mobile-active].striped-end::after { display: none; }
  .mobile-app-ready .band.dark[data-mobile-active] { padding-block: 16px 24px; }
  .mobile-more { padding-bottom: 24px; }
  .mobile-menu-list { display: grid; gap: 0; margin-top: 14px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
  .mobile-menu-list > a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 13px; text-decoration: none; font-size: 14px; }
  .mobile-menu-list > a + a { border-top: 1px solid var(--line); }
  .mobile-menu-list .icon { width: 16px; height: 16px; color: var(--muted); }
  .mobile-credits { margin-top: 16px; font-size: 12px; color: var(--muted); }
  .mobile-credits summary { display: flex; align-items: center; justify-content: space-between; min-height: 44px; }
  .mobile-credits p { padding-bottom: 8px; }
  .mobile-app-ready .mobile-bottom-nav { position: fixed; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); z-index: 15; inset: auto 0 0; border-top: 1px solid var(--line); background: #fff; padding: 5px max(8px, calc((100% - 600px) / 2)) calc(8px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bottom-nav > a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; min-height: 54px; border-radius: 9px; color: var(--muted); text-decoration: none; font: 400 12px/1.3 system-ui, sans-serif; }
  .mobile-bottom-nav > a[aria-current="page"] { color: var(--ink); background: #fff1e7; box-shadow: inset 0 3px var(--orange); }
  .mobile-bottom-nav > a > .icon { width: 21px; height: 21px; }
  .mobile-bottom-nav a:focus-visible { outline-offset: -3px; }
  .mobile-app-ready .mobile-water-nav { display: flex; gap: 7px; margin-bottom: 16px; }
  .mobile-water-nav > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); text-decoration: none; font-size: 14px; }
  .mobile-water-nav > a[aria-current="page"] { background: var(--orange); border-color: var(--orange); }
  .mobile-app-ready .safety-grid { grid-template-columns: 1fr; gap: 16px; }
  .mobile-app-ready .mascot-card { display: flex; align-items: center; gap: 13px; padding: 12px; }
  .mobile-app-ready .mascot-card::before { display: none; }
  .mobile-app-ready .mascot-card img { flex: 0 0 auto; width: 66px; height: 85px; object-fit: contain; margin: 0; }
  .mobile-app-ready .mascot-card figcaption { margin: 0; padding: 0; background: transparent; color: var(--ink); text-align: left; font: 500 14px/1.4 system-ui, sans-serif; text-transform: none; }
  .mobile-app-ready .advice summary { min-height: 56px; font: 550 15px/1.3 system-ui, sans-serif; text-transform: none; }
  .mobile-app-ready .advice summary .tile-icon { width: 30px; height: 30px; }
  .mobile-app-ready .phone-card { padding: 15px; }
  .mobile-app-ready .phone-card > .tile-icon { width: 34px; height: 34px; }
  .mobile-app-ready .phone-card h3 { margin-top: 9px; }
  .mobile-app-ready .weather-details summary { min-height: 48px; }
  .mobile-app-ready .install-app[data-mobile-active] { display: block; }
  .mobile-app-ready #mobile-group .mobile-menu-list { margin-top: 0; }
}

@media (max-width: 360px) {
  .mobile-app-ready .wrap { width: calc(100% - 24px); }
  .mobile-app-ready .brand strong { font-size: 18px; }
  .mobile-app-ready .header-call { padding-inline: 10px; }
  .mobile-home-tile { padding: 11px; }
}
