/* Indonesia mobile layout — desktop styles unchanged (this file only applies below 960px) */

@media (max-width: 959px) {
  /* ——— Mobile menu: compact, scrollable overlay ——— */
  .nav-mobile {
    position: fixed !important;
    inset: 0;
    z-index: 110;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: calc(var(--header-h, 4.5rem) + 1rem) 1.35rem max(1.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateX(100%);
  }

  .nav-mobile.is-open {
    transform: translateX(0);
  }

  .nav-mobile a {
    font-size: 1.05rem;
    line-height: 1.25;
    padding: 0.55rem 0;
    letter-spacing: 0.04em;
  }

  .nav-mobile > a[href*="yacht-charter/"],
  .nav-mobile > a[href*="destinations/"] {
    font-size: 0.92rem;
    padding: 0.35rem 0 0.35rem 0.85rem;
    color: rgba(255, 255, 255, 0.82);
  }

  .nav-mobile .btn-gold {
    margin-top: 1.15rem;
    margin-bottom: 0.5rem;
    width: 100%;
    max-width: 16rem;
    text-align: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    font-size: 0.68rem;
  }

  /* ——— Heroes sitewide: shorter frame so photos read better on phones ——— */
  .hero,
  .page-hero,
  .page-hero--tall,
  .page-hero--journal,
  .page-hero--faq,
  .catalog-page--hero .page-hero,
  .page-fixed-bg .hero--home-carousel,
  .page-fixed-bg .hero--over-fixed,
  .hero--galapagos,
  .hero--mekong,
  .hero--charter,
  .hero--cabin,
  .hero--insp {
    min-height: 58svh;
    min-height: 58dvh;
    height: 58svh;
    height: 58dvh;
    max-height: 62svh;
    max-height: 62dvh;
    align-items: flex-end;
  }

  .page-fixed-bg .hero--home-carousel .hero-inner,
  .page-fixed-bg .hero--over-fixed .hero-inner,
  .hero-inner,
  .page-hero-inner {
    width: calc(100% - 2rem);
    max-width: none;
    margin: 0 1rem 1.35rem;
    padding: 0;
    text-align: left;
  }

  .page-hero-inner {
    padding-bottom: 1.25rem;
  }

  .hero-inner h1,
  .page-hero h1,
  .page-fixed-bg .hero--home-carousel .hero-inner h1 {
    font-size: clamp(1.55rem, 7.5vw, 2.1rem);
    line-height: 1.1;
    letter-spacing: 0.04em;
  }

  .hero-sub,
  .page-hero .hero-sub,
  .honeymoon-hero-sub {
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 34rem;
  }

  .hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* All buttons smaller on mobile */
  .btn,
  .hero-ctas .btn,
  .hero-inner .btn,
  .page-hero-inner .btn,
  .cta-band-inner .btn,
  .dest-rail-cta,
  .yacht-title-block .btn,
  .hello-form .btn,
  .form .btn-gold,
  .ship-tile-actions .btn,
  .cal-actions .btn,
  .itinerary-actions .btn {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    padding: 0.55rem 0.9rem;
    min-height: 0;
  }

  .hero-ctas .btn {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
    justify-content: center;
  }

  /* Hero media crops — favor subject center, less extreme zooms */
  .hero-media img,
  .page-hero .hero-media img,
  .page-fixed-bg .hero--home-carousel .home-hero-slides img,
  .fixed-scene img,
  .fixed-scene-slides img {
    object-fit: cover;
    object-position: center 38%;
  }

  .page-fixed-bg .hero--home-carousel .home-hero-slides img:nth-child(1),
  .fixed-scene-slides img:nth-child(1) {
    object-position: center 36%;
  }

  .page-fixed-bg .hero--home-carousel .home-hero-slides img:nth-child(2),
  .fixed-scene-slides img:nth-child(2) {
    object-position: 46% 42%;
  }

  .page-fixed-bg .hero--home-carousel .home-hero-slides img:nth-child(3),
  .fixed-scene-slides img:nth-child(3) {
    object-position: center 44%;
  }

  .home-hero-controls {
    left: 1rem;
    right: auto;
    bottom: 0.85rem;
  }

  .home-hero-arrow {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }

  /* Yacht / hotel / itinerary photo heroes */
  .hero-carousel-track img,
  .hotel-hero-carousel .hero-carousel-track img,
  .activity-carousel .hero-carousel-track img,
  .honeymoon-hero-carousel .honeymoon-photo-track img,
  .honeymoon-article .honeymoon-photo-track img,
  .honeymoon-copy .honeymoon-photo-track img {
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    max-height: 15.5rem;
    object-fit: cover;
    object-position: center 40%;
  }

  .hero-carousel-track figure,
  .hotel-hero-carousel .hero-carousel-track figure,
  .honeymoon-hero-carousel .honeymoon-photo-track figure {
    flex-basis: 92%;
  }

  .hero-carousel-nav,
  .honeymoon-photo-prev,
  .honeymoon-photo-next {
    width: 2rem;
    height: 2rem;
    font-size: 1.1rem;
  }

  /* ——— Press / Featured in ——— */
  .press-bar {
    padding: 2rem 1rem 1.75rem;
  }

  .press-bar-inner {
    padding: 0;
    gap: 1.15rem;
  }

  .press-bar-label {
    margin: 0.15rem 0 0.35rem;
    font-size: 0.64rem;
    letter-spacing: 0.16em;
  }

  .press-marks {
    gap: 1.1rem 1.5rem;
    padding: 0.35rem 0 0.5rem;
  }

  .press-logo {
    height: 1.05rem;
    max-width: 7.5rem;
  }

  /* ——— Destination / inspiration rails ——— */
  .dest-rail {
    padding: 1.35rem 0 1.5rem;
    overflow: hidden;
  }

  .dest-rail-head {
    padding: 0 1rem 0.35rem;
  }

  .dest-rail-head h2 {
    font-size: 0.95rem;
    letter-spacing: 0.2em;
  }

  .dest-rail-viewport {
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 1rem;
    overscroll-behavior-x: contain;
  }

  .dest-rail-track {
    display: flex;
    gap: 0.65rem;
    width: max-content;
    padding: 0 1rem;
    transform: none !important;
    transition: none !important;
    will-change: auto;
  }

  .dest-rail-card {
    flex: 0 0 min(82vw, 17.5rem);
    width: min(82vw, 17.5rem);
    height: 16.5rem;
    scroll-snap-align: start;
  }

  .dest-rail-card img {
    object-fit: cover;
    object-position: center 45%;
  }

  .dest-rail-copy {
    padding: 1rem 0.95rem 1.05rem;
  }

  .dest-rail-card h3 {
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    line-height: 1.25;
  }

  .dest-rail-duration,
  .dest-rail-place {
    font-size: 0.58rem;
  }

  .dest-rail-duration {
    top: 0.75rem;
    right: 0.75rem;
  }

  .dest-rail-cta {
    margin-top: 0.65rem;
    padding: 0.38rem 0.7rem;
    font-size: 0.58rem;
  }

  .dest-rail-nav {
    display: none;
  }

  .dest-rail--thirds .dest-rail-card {
    flex: 0 0 min(82vw, 17.5rem);
    width: min(82vw, 17.5rem);
    height: 16.5rem;
  }

  /* ——— Footer: two-line / two-column menus ——— */
  .site-footer {
    padding: 2.75rem 0 1.35rem;
  }

  .footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 1.25rem;
    padding-bottom: 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-brand p {
    font-size: 0.84rem;
  }

  .site-footer h4 {
    margin-bottom: 0.7rem;
  }

  .site-footer li {
    margin-bottom: 0.4rem;
  }

  .footer-contact {
    grid-column: 1 / -1;
    padding-top: 0.35rem;
  }

  .footer-contact ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }

  .footer-legal {
    display: flex;
    flex-wrap: wrap;
    row-gap: 0.45rem;
    column-gap: 0.95rem;
    max-width: 100%;
  }

  /* ——— Photo cards ——— */
  .dest-card,
  .insp-card,
  .note-card,
  .ship-tile,
  .press-logo {
    min-width: 0;
  }

  .dest-card h3,
  .insp-card h3,
  .note-card h3 {
    font-size: 0.95rem;
    line-height: 1.3;
  }

  .dest-card img,
  .insp-card img,
  .note-card img,
  .ship-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  /* ——— Contact / Plan My Voyage modal ——— */
  .hello-overlay {
    place-items: end center;
    padding: 0.75rem;
    align-items: stretch;
  }

  .hello-dialog {
    width: 100%;
    max-height: min(92dvh, 40rem);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.35rem 1.15rem 1.25rem;
    margin: 0;
  }

  .hello-dialog h2 {
    font-size: 1.2rem;
  }

  .hello-lead {
    font-size: 0.86rem;
  }

  /* ——— Cookie panel ——— */
  .privacy-overlay {
    left: 0;
    right: 0;
    max-width: none;
    padding: 0.65rem;
  }

  .privacy-dialog {
    width: 100%;
    max-width: none;
  }

  .privacy-btn {
    padding: 0.42rem 0.5rem;
    font-size: 0.52rem;
  }

  /* ——— General page rhythm ——— */
  .header-inner {
    padding: 0 1rem;
    gap: 0.65rem;
  }

  .logo-mark {
    height: 2.15rem;
  }

  .logo-sub {
    font-size: 0.48rem;
  }

  .header-cta {
    display: none;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .cta-band-inner,
  .why-grid,
  .note-grid {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .hero,
  .page-hero,
  .page-hero--tall,
  .page-hero--journal,
  .page-hero--faq,
  .catalog-page--hero .page-hero,
  .page-fixed-bg .hero--home-carousel,
  .page-fixed-bg .hero--over-fixed,
  .hero--galapagos,
  .hero--mekong,
  .hero--charter,
  .hero--cabin,
  .hero--insp {
    min-height: 52svh;
    min-height: 52dvh;
    height: 52svh;
    height: 52dvh;
    max-height: 56svh;
    max-height: 56dvh;
  }

  .dest-rail-card,
  .dest-rail--thirds .dest-rail-card {
    flex-basis: 86vw;
    width: 86vw;
    height: 15.5rem;
  }

  .nav-mobile a {
    font-size: 1rem;
  }

  .page-fixed-bg .hero--home-carousel .hero-inner,
  .hero-inner,
  .page-hero-inner {
    margin-bottom: 1.1rem;
  }

  .hero-carousel-track img,
  .hotel-hero-carousel .hero-carousel-track img,
  .activity-carousel .hero-carousel-track img,
  .honeymoon-hero-carousel .honeymoon-photo-track img {
    max-height: 13.5rem;
    aspect-ratio: 5 / 4;
  }

  .press-bar {
    padding: 1.75rem 1rem 1.5rem;
  }
}
