@media (max-width: 700px) {
  html { scroll-padding-top: 114px; }
  .wrap { padding-inline: 16px; }
  .nav { height: auto; min-height: 64px; gap: 8px; padding-block: 4px; }
  .nav nav { display: flex; justify-content: flex-end; gap: 4px; flex-wrap: wrap; }
  .nav a { display: inline-flex; align-items: center; min-height: 44px; margin: 0; padding: 0 6px; white-space: nowrap; }
  .top-carousel .campaign { grid-template-columns: minmax(0, 1fr); min-height: 0; gap: 14px; padding: 24px 20px 70px; }
  .top-carousel .campaign h1, .top-carousel .campaign h2 { font-size: clamp(1.75rem, 7vw, 2.45rem); overflow-wrap: anywhere; }
  .top-carousel .campaign p { margin-bottom: 12px; }
  .top-carousel .campaign .campaign-context { margin-bottom: 0; }
  .campaign-image { width: min(60%, 220px); max-height: 120px; object-fit: contain; justify-self: center; }
  .campaign-controls button { min-width: 44px; min-height: 44px; }
  .panel { padding: 16px; }
  .fields { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .field { min-width: 0; margin-block: 8px; }
  input, select, textarea { min-width: 0; max-width: 100%; font-size: 16px; }
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: min(330px, 55vh); }
  .model-tile { min-width: 0; padding: 8px; overflow-wrap: anywhere; }
  .actions { flex-wrap: wrap; }
  .actions button { min-height: 44px; }
  .footer { padding-inline: 16px; overflow-wrap: anywhere; }
}
@media (max-width: 360px) {
  .nav { flex-wrap: wrap; gap: 0; padding-top: 10px; }
  .nav nav { width: 100%; justify-content: space-between; }
}

.model-tile img {height:112px;}
@media (max-width:700px){.model-tile img{height:104px;}}

/* Photos and spacing for the model selector */
.model-grid {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 14px;
  max-height: min(468px, 58vh);
  padding: 5px;
}
.model-tile {
  min-width: 0;
  display: grid;
  grid-template-rows: 144px auto;
  align-content: start;
  justify-items: center;
  gap: 10px;
  padding: 12px 10px 15px;
  border: 1px solid #e8e8ed;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  font-size: 13px;
  line-height: 1.3;
}
.model-tile:hover { background: #f7f8fa; }
.model-tile[aria-pressed=true] {
  border: 1px solid #272e3d;
  box-shadow: inset 0 0 0 1px #272e3d;
  background: #f5f7fb;
}
.model-tile img, .model-photo-unavailable { width: 100%; height: 100%; }
.model-tile img { max-width: 156px; object-fit: contain; }
.campaign-image--single {
  width: min(100%, 300px);
  height: 222px;
  padding: 12px;
  object-fit: contain;
  background: #fff;
}
@media (max-width: 700px) {
  .model-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .model-tile { grid-template-rows: clamp(94px, 30vw, 128px) auto; gap: 6px; padding: 8px 6px 12px; }
  .campaign-image--single { width: min(100%, 185px); height: 124px; }
}

.model-grid { max-height: none; overflow: visible; }
#more-models { align-self: center; margin: 8px 0; min-height: 44px; }
#more-models[hidden] { display: none; }

.service-strip { background:linear-gradient(105deg,#10272e,#164746); color:#ebfff8; }
.service-strip-inner { max-width:1100px; margin:auto; min-height:42px; display:flex; align-items:center; justify-content:center; gap:4px; padding:0 10px; }
.service-strip a { color:#ebfff8; font-size:clamp(.72rem,2.7vw,.85rem); text-align:center; text-underline-offset:3px; }
.service-strip button { width:44px; height:44px; padding:0; flex:0 0 44px; border-radius:0; background:transparent; color:inherit; }
.service-strip button { color:#82ebce; font-size:22px; }
.service-strip button:focus-visible, .service-strip a:focus-visible { outline:2px solid #82ebce; outline-offset:-3px; }
.service-strip button[hidden] { display:none; }
.mobile-nav { display: none; }
@media (max-width: 700px) {
  html { scroll-padding-top: 68px; }
  .nav { min-height: 60px; flex-wrap: nowrap; padding-block: 4px; gap: 12px; }
  .nav .desktop-nav { display: none; }
  .mobile-nav { display: flex; align-items: center; gap: 10px; }
  .nav a.mobile-booking { padding: 0 14px; min-height: 44px; margin: 0; color: white; background: #18283e; border-radius: 9px; font-size: 13px; font-weight: 700; }
  .mobile-nav summary { padding: 0 10px; display: grid; place-items: center; min-height: 44px; list-style: none; cursor: pointer; font-size: 13px; }
  .mobile-nav summary::-webkit-details-marker { display:none; }
  .mobile-nav-list { position: absolute; right: 12px; top: 100%; padding: 4px; background: white; box-shadow: 0 10px 24px #17233826; border: 1px solid #e8ebf0; border-radius: 12px; }
  .nav .mobile-nav-list a { display:flex; padding-inline: 14px; font-size: 14px; }
  .top-carousel { background: radial-gradient(ellipse at 75% 65%, #293b60 0%, #142238 46%, #111b2b 82%); touch-action: pan-y pinch-zoom; }
  .top-carousel .campaign { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 178px; gap: 10px; padding: 22px 18px 52px; text-align:center; }
  .top-carousel .campaign h1,.top-carousel .campaign h2 { font-size: clamp(1.7rem, 6.8vw, 2.45rem); overflow-wrap: normal; margin: 5px 0 8px; }
  .top-carousel .campaign p { font-size: .9rem; margin: 0 auto 12px; }
  .top-carousel .campaign .campaign-context { font-size: .75rem; }
  .top-carousel .campaign-link { min-height: 44px; padding: 10px 15px; font-size:.9rem; }
  .top-carousel .campaign-image { width: min(100%, 260px); height: 178px; max-height: none; padding: 0; background: transparent; border-radius: 0; filter: drop-shadow(0 10px 15px #0007); }
  .top-carousel .campaign-controls { bottom: 3px; gap: 0; }
  .top-carousel .campaign-controls button { border: 0; border-radius: 24px; background: transparent; color: #e2ecf9; min-height: 44px; min-width: 44px; }
  .top-carousel .campaign-controls button[data-slide] { color: #8291a8; font-size: 10px; }
  .top-carousel .campaign-controls button[aria-current="true"] { color: #fff; font-size: 14px; }
}

.device-icon img[src^="assets/portada/"] { padding: 5px 8px; object-fit: contain; }
.top-carousel .campaign-image[src^="assets/portada/"] {
  width: min(100%, 300px); height: 224px; padding: 14px; object-fit: contain;
  background: #fff; border-radius: 16px;
}
@media (max-width: 700px) {
  .top-carousel .campaign-image[src^="assets/portada/"] {
    width: min(100%, 190px); height: 170px; padding: 9px;
  }
}

/* Product presentation shared by all device families */
#servicios .card { border-color:#e6e9ed; box-shadow:none; text-align:center; }
#servicios .device-icon { background:#fff; height:140px; }
#servicios .device-icon img { height:126px; width:100%; padding:6px; object-fit:contain; }
.model-tile { padding:14px 12px 16px; border-color:#e4e8ec; gap:9px; }
.model-tile img { background:#fff; border-radius:10px; height:100%; width:100%; max-width:none; padding:6px; object-fit:contain; }
.model-tile span { text-wrap:balance; }
.model-tile[aria-pressed=true] img { background:#fff; }
@media (max-width:700px) {
  #servicios .device-icon { height:108px; }
  #servicios .device-icon img { height:100px; }
  .model-tile { padding:8px 7px 12px; }
  .model-tile img { padding:4px; }
}
