/* Puntos de ruptura de la versión móvil y tableta, por orden de prioridad. */
/* Diseño base */
@media (max-width:1050px) {
  .container {
    width: calc(100% - 48px);
  }

  .nav nav {
    gap: 17px;
  }

  .nav-cta {
    font-size: 11px;
  }

  .booking-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .booking-aside {
    display: none;
  }

  .booking form {
    padding: 22px;
  }

  .point-status {
    min-height: 0;
  }

  .summary-card, .hours-card {
    padding: 22px;
  }

}

@media (max-width:760px) {
  html {
    scroll-padding-top: 20px;
  }

  .container {
    width: calc(100% - 36px);
  }

  .nav {
    height: 76px;
    gap: 12px;
  }

  .brand {
    font-size: 10px;
    gap: 10px;
    letter-spacing: 1px;
  }

  .brand-mark {
    font-size: 35px;
  }

  .brand small {
    font-size: 8px;
    letter-spacing: 1.6px;
  }

  .nav nav {
    display: none;
  }

  .nav-cta {
    font-size: 0;
    gap: 0;
    padding: 7px 13px;
    min-height: 39px;
  }

  .nav-cta>span:first-child {
    font-size: 19px;
  }

  .nav-cta>span:last-child {
    display: none;
  }

  h1 {
    font-size: 53px;
    letter-spacing: -2.7px;
    line-height: 1.05;
  }

  h1 br:nth-of-type(2) {
    display: none;
  }

  h1 span {
    display: block;
  }

  .section {
    padding: 60px 0;
  }

  .section-heading {
    display: block;
    margin-bottom: 28px;
  }

  .section-heading>p {
    margin-top: 20px;
    max-width: 420px;
    font-size: 13px;
  }

  .eyebrow {
    font-size: 9px;
    margin-bottom: 16px;
  }

  h2 {
    font-size: 32px;
    letter-spacing: -1.1px;
  }

  .service-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-grid article {
    padding: 25px;
  }

  .service-icon {
    margin-bottom: 22px;
  }

  .service-grid p {
    min-height: 0;
    font-size: 13px;
  }

  .service-grid a {
    margin-top: 20px;
    padding-top: 17px;
  }

  .vehicle-section {
    padding: 42px 0;
  }

  .vehicle-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vehicle-info {
    border-left: 0;
    border-top: 1px solid #cbd9f1;
    padding: 24px 0 0;
  }

  .capacity strong {
    font-size: 55px;
  }

  .capacity {
    margin-bottom: 15px;
  }

  .booking-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .booking form {
    padding: 20px 16px;
  }

  .date-grid {
    grid-template-columns: 1fr;
  }

  legend {
    font-size: 15px;
    flex-wrap: wrap;
  }

  .booking-aside {
    position: static;
  }

  .summary-card, .hours-card {
    padding: 25px;
  }

  .summary-card dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }

  .summary-card dl>div {
    margin-bottom: 12px;
  }

  .hours-card dl>div {
    font-size: 12px;
  }

  .hours-card h3 {
    max-width: none;
  }

  .hours-card>a {
    font-size: 22px;
    line-height: 1.8;
  }

  .closing {
    padding: 45px 0;
  }

  .closing .container {
    gap: clamp(10px, 3vw, 24px);
  }

  .closing h2 {
    font-size: clamp(20px, 5vw, 36px);
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
  }

  .closing .button {
    gap: 10px;
    min-height: 52px;
    padding: 14px clamp(16px, 4vw, 24px);
    font-size: 14px;
  }

  .closing .button > span[aria-hidden="true"], .closing::after {
    display: none;
  }

  .closing .eyebrow {
    max-width: 270px;
    line-height: 1.8;
  }

  .footer-main {
    grid-template-columns: 1fr;
    justify-items: start;
    text-align: start;
    row-gap: 38px;
  }

  .footer-main .brand {
    margin-inline: 0;
  }

  .footer-bottom {
    border-top: 0;
    padding-top: 0;
  }

  .footer-bottom details {
    margin-inline: 0;
    text-align: start;
  }

  .footer-bottom > p {
    border-top: 1px solid #323232;
    margin-top: 28px;
    padding-top: 24px;
  }

  .action-dock {
    width: min(620px, calc(100% - 80px));
  }

  .dock-link {
    display: flex;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 14px;
  }

  .dock-link svg {
    flex: none;
    width: 20px;
    height: 20px;
  }

  .dock-link b, .dock-detail {
    display: none;
  }

}

@media (prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition: none !important;
  }

}

/* Selección de ubicaciones y controles táctiles */
@media (max-width: 760px) {
  .container {
    --container-inset: clamp(14px, 4.4vw, 28px);
    width: calc(100% - 2 * var(--container-inset));
  }

  .nav-cta {
    font-size: 14px;
    padding: 8px 14px;
  }

  .service-grid p, .section-heading>p, .vehicle-info p {
    font-size: 16px;
  }

  .service-options {
    flex-wrap: wrap;
  }

  .booking form {
    padding: clamp(16px, 4vw, 24px);
  }

  .location-card {
    padding: 24px 24px;
  }

  .booking-aside {
    min-width: 0;
  }

  .section-heading h2, .service-grid h3, .closing h2 {
    text-wrap: balance;
  }

  .summary-card dl {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }

}

@media (max-width: 1024px), (max-height: 580px) {
  #pin-picker {
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  }

}

@media (max-width: 600px) {
  .picker-head {
    padding: 12px 16px;
    gap: 4px;
  }

  .picker-head h2 {
    font-size: 19px;
  }

  .place-search {
    padding: 16px 16px;
  }

  #place-results {
    inset-inline: 14px;
  }

  .picker-foot {
    border-top-color: #353535;
  }

  #picker-help {
    font-size: 14px;
  }

  #pin-position {
    font-variant-numeric: tabular-nums;
  }

  #picker-confirm {
    width: 100%;
  }

}

@media (max-height: 520px) and (orientation: landscape) {
  .picker-frame {
    grid-template-columns: minmax(min(270px, 54%), 34%) 1fr;
    grid-template-rows: auto auto minmax(0,1fr);
  }

  .picker-stage {
    grid-column: 2;
    grid-row: 1 / -1;
  }

  .picker-head, .place-search, .picker-foot {
    grid-column: 1;
    padding: 8px;
  }

  .picker-head {
    flex-wrap: wrap;
    gap: 5px;
  }

  .picker-head h2 {
    font-size: 18px;
  }

  .picker-foot {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: safe end;
    gap: 0;
    padding: 0;
    overflow: auto;
  }

  #picker-help, #pin-position {
    font-size: 12px;
  }

  #picker-confirm {
    min-height: 44px;
  }

  .picker-actions {
    flex-shrink: 0;
  }

}

@media (max-width: 360px) {
  .summary-card, .hours-card {
    padding: 18px;
  }

  .picker-head h2 {
    font-size: 19px;
  }

}

/* Paleta actual azul y negro */
@media (max-width: 900px) and (min-width: 601px) {
  .masthead-inner {
    min-height: 415px;
  }

  .masthead h1 {
    font-size: clamp(48px, 6.5vw, 62px);
  }

  .masthead-copy > p:last-child {
    max-width: 28ch;
  }

}

@media (max-width: 600px) {
  .nav {
    height: 68px;
  }

  .masthead-inner {
    min-height: clamp(458px, 118vw, 560px);
    align-items: start;
    padding-block: 30px 0;
  }

  .masthead-copy {
    width: 100%;
  }

  .masthead h1 {
    margin-bottom: 10px;
    font-size: clamp(44px, 11vw, 59px);
  }

  .masthead-copy > p:last-child {
    font-size: 15px;
    max-width: 32ch;
  }

  .masthead-photo img {
    object-position: center bottom;
    height: 68%;
    top: auto;
    mask-image: linear-gradient(180deg, transparent, #000 22%);
  }

  .masthead::after {
    background: linear-gradient(180deg, #101821 0%, #101821 27%, #101821b8 43%, #10182100 63%, #080a0f30 100%);
  }

  .route-kicker {
    font-size: 10px;
    margin-bottom: 14px;
  }

  .route-kicker i {
    width: 21px;
  }

  .route-feature-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .route-feature {
    padding-block: 38px;
  }

  .route-portrait img {
    object-position: 50% 25%;
  }

  .route-portrait {
    margin-inline: calc(var(--photo-inset) - var(--container-inset));
  }

  .route-feature-copy h2 br {
    display: none;
  }

}

@media (max-width: 360px) {
  .masthead-copy > p:last-child {
    max-width: 29ch;
  }

  .dock-link {
    font-size: 13px;
    min-height: 70px;
  }

}

@media (max-width: 760px) {
  .nav-cta {
    font-size: 12px;
    gap: 7px;
    padding: 8px 10px;
  }

  .nav-cta > span:last-child {
    display: inline;
    font-size: 16px;
  }

  .dock-link { 
    min-height: 65px;
  }

}

