/* ==========================================================================
   MTWARA RIG HOTEL — RESPONSIVE STYLES
   --------------------------------------------------------------------------
   Breakpoints (edit here if you want to change when the layout switches):
     1280px  large laptops      — slightly tighter navigation
     1320px  small laptops      — switches to the mobile menu
      991px  tablets            — two-column layouts, stacked splits
      767px  phones             — single column, simplified booking bar
      480px  small phones       — tighter type and padding
   ========================================================================== */

@media (min-width:1700px){
  :root{--container:1360px;--fs-base:1.125rem}
}

@media (max-width:1280px){
  .nav__list{gap:clamp(.7rem,1.4vw,1.4rem)}
  .nav__link{font-size:.78rem;letter-spacing:.11em}
  .header__inner{gap:1.2rem}
  .room-grid{grid-template-columns:repeat(2,1fr)}
  .footer__grid{grid-template-columns:1.2fr 1fr 1fr 1.3fr}
}

/* ---- Switch to mobile menu ---- */
@media (max-width:1320px){
  :root{--header-h:76px;--header-h-scrolled:66px}
  .nav{display:none}
  .nav-toggle{display:inline-block}
  .header__inner{grid-template-columns:1fr auto}
  .brand__mark{width:42px;height:42px}
  .brand__name{font-size:1.45rem}
  .info-grid--4{grid-template-columns:repeat(2,1fr)}
  .steps{grid-template-columns:repeat(3,1fr)}
  .check-list--cols{grid-template-columns:repeat(2,1fr)}
}

/* ---- Tablet ---- */
@media (max-width:991px){
  :root{--topbar-h:0px}
  .topbar{display:none}
  .split,.room-row,.cta-split,.contact-layout,.room-layout{grid-template-columns:1fr}
  .split--reverse .split__media,.room-row--reverse .room-row__media{order:0}
  .split__media--stack{max-width:560px;margin-inline:auto;width:100%}
  .split{gap:3rem}
  .room-aside{position:static}
  .room-grid,.room-grid--3,.feature-grid,.info-grid,.info-grid--2{grid-template-columns:repeat(2,1fr)}
  .room-grid--3 .room-card:last-child:nth-child(odd),.feature-grid .feature-card:last-child:nth-child(odd){grid-column:1/-1}
  .stats{grid-template-columns:repeat(2,1fr)}
  .stat:nth-child(2){border-right:0}
  .stat:nth-child(-n+2){border-bottom:1px solid var(--c-line)}
  .steps{grid-template-columns:repeat(2,1fr)}
  .example-grid{grid-template-columns:1fr}
  .included{grid-template-columns:repeat(2,1fr)}
  .included li:nth-child(3n){border-right:1px solid var(--c-line)}
  .included li:nth-child(2n){border-right:0}
  .included li:nth-last-child(-n+3){border-bottom:1px solid var(--c-line)}
  .included li:nth-last-child(-n+2){border-bottom:0}
  .footer__grid{grid-template-columns:repeat(2,1fr);gap:3rem 2.5rem}
  .hero{min-height:max(760px,100vh)}
  .hero__content{padding-bottom:17rem}
  .hero__tag{display:none}
  .booking-bar{grid-template-columns:repeat(2,1fr);bottom:5.5rem;width:min(calc(100% - var(--gutter)*2),640px)}
  .booking-bar__field:nth-child(2){border-right:0}
  .booking-bar__field:nth-child(-n+2){border-bottom:1px solid var(--c-line)}
  .booking-bar__field:nth-child(4){border-right:0}
  .booking-bar .btn{grid-column:1/-1;height:auto;padding-block:1.2rem}
  .hero__nav{bottom:1.6rem;left:50%;right:auto;transform:translateX(-50%)}
  .page-hero{min-height:clamp(380px,50vh,480px)}
  .contact-layout{gap:3rem}
}

/* ---- Phone ---- */
@media (max-width:767px){
  :root{--fs-base:1rem}
  .header__actions .btn{display:none}
  .room-grid,.room-grid--3,.room-grid--2,.feature-grid,.feature-grid--2,.info-grid,.info-grid--2,.info-grid--4{grid-template-columns:1fr}
  .room-card__media{aspect-ratio:4/4.2}
  .stat{padding:1.9rem .8rem}
  .stat__label{font-size:.68rem;letter-spacing:.12em}
  .steps{grid-template-columns:1fr}
  .check-list--cols{grid-template-columns:1fr}
  .included{grid-template-columns:1fr}
  .included li,.included li:nth-child(3n),.included li:nth-child(2n){border-right:0;border-bottom:1px solid var(--c-line)}
  .included li:last-child{border-bottom:0}
  .included li:nth-last-child(-n+2){border-bottom:1px solid var(--c-line)}
  .included li:last-child{border-bottom:0}
  .footer__grid{grid-template-columns:1fr}
  .footer__bar-inner{flex-direction:column;align-items:flex-start}
  .form__grid{grid-template-columns:1fr}
  .newsletter__row{flex-direction:column}
  .newsletter__row .btn{width:100%}
  .spec-list{grid-template-columns:repeat(2,1fr)}
  .spec-list div:nth-child(2){border-right:0}
  .spec-list div:nth-child(-n+2){border-bottom:1px solid var(--c-line)}
  .gallery__thumbs{grid-template-columns:repeat(4,1fr);gap:.4rem}
  .gallery__hint{display:none}
  .section-head{text-align:left}
  .section-head .rule{margin-left:0}
  .cta-block{padding:3rem var(--gutter)}
  .hero__content{padding-bottom:20rem}
  .booking-bar{bottom:5.2rem}
  .booking-bar__field{padding:.9rem 1.1rem}
  .table{min-width:520px}
  .table th,.table td{padding:.8rem 1rem}
  .tabs__btn{padding:.85rem 1rem;font-size:.72rem}
  .example{padding:1.5rem 1.3rem}
  .example dl div{flex-direction:column;gap:.15rem}
  .example dd{text-align:left}
  .lightbox{padding:3.5rem .5rem}
  .lightbox__prev{left:.4rem;top:auto;bottom:1rem;transform:none}
  .lightbox__next{right:.4rem;top:auto;bottom:1rem;transform:none}
  .lightbox__caption{bottom:1.6rem;padding:0 4rem;font-size:.8rem}
  .to-top{right:1rem;bottom:1rem;width:44px;height:44px}
  .accordion summary{font-size:1.35rem}
  .room-card__actions{grid-template-columns:1fr}
}

/* ---- Small phones ---- */
@media (max-width:480px){
  .brand__name{font-size:1.25rem;letter-spacing:.05em}
  .brand__sub{letter-spacing:.4em}
  .brand__mark{width:38px;height:38px}
  .btn{padding-inline:1.5rem}
  .btn-row .btn{flex:1 1 100%}
  .hero__text{font-size:1.05rem}
  .hero__content{padding-bottom:21rem}
  .booking-bar{grid-template-columns:1fr 1fr}
  .booking-bar label{font-size:.6rem;letter-spacing:.16em}
  .booking-bar input,.booking-bar select{font-size:.95rem}
  .page-hero p{font-size:1.05rem}
  .price-box{padding:1.8rem 1.4rem}
  .price-box__price{font-size:2.6rem}
  .hero__dot{width:22px}
}
