/* ==========================================================================
   RESPONSIVE.CSS — Mobile-first breakpoints
   Indies 365 Hôtel
   ========================================================================== */

/* --------------------------------------------------------------------------
   BASE (Mobile first — 320px+)
   All base styles are mobile by default. Override upward.
   -------------------------------------------------------------------------- */

/* Containers */
.container,
.container-sm {
  padding-inline: 1.25rem;
}

/* Typography */
:root {
  --container-px: 1.25rem;
  --section-py: 3.5rem;
}

/* Grids collapse to 1 column */
.grid-2,
.grid-3,
.grid-4 {
  grid-template-columns: 1fr;
}

/* Stats — 2-col cards on mobile */
.stats-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.stat-item {
  padding: 2rem 1.25rem;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
}

/* Amenities */
.amenities-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

/* Split section stacks */
.split-section {
  grid-template-columns: 1fr;
  min-height: auto;
}

.split-section.reverse {
  direction: ltr;
}

.split-content {
  padding: 2rem 1.25rem;
}

.split-image {
  min-height: auto;
  aspect-ratio: 16/10;
}

/* Dining food photo row — stack to 1-col on mobile */
.dining-photo-grid {
  grid-template-columns: 1fr !important;
}

/* About photo strip — 2-col on mobile */
.about-photo-strip {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* Booking widget stacks */
.booking-form-row {
  grid-template-columns: 1fr;
}

.booking-widget {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

/* Footer stacks */
.footer-grid {
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-bottom {
  flex-direction: column;
  text-align: center;
}

/* Gallery strip 3 columns */
.gallery-strip {
  grid-template-columns: repeat(3, 1fr);
}

/* Gallery grid 2 columns on mobile */
.gallery-grid {
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 160px;
}

/* Gallery items — equal height on mobile */
.gallery-item:nth-child(3n + 1),
.gallery-item:nth-child(3n + 2),
.gallery-item:nth-child(3n + 3) {
  grid-row: span 1;
}

/* Form grid */
.form-grid-2 {
  grid-template-columns: 1fr;
}

/* Navbar — hamburger mode */
.hamburger {
  display: flex;
}

.nav-menu {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--orange-header);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem 1.5rem;
  gap: 0.25rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
  box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
  height: calc(100vh - var(--navbar-height));
}
.nav-menu li {
  width: 100%;
}

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

.nav-link {
  width: 100%;
  padding: 1rem 0;
  font-size: var(--text-base);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  letter-spacing: 0.04em;
}
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border-radius: 6px;
}

.nav-link::after {
  display: none;
}

.nav-btn {
  margin-left: 0;
  margin-top: 1.5rem;
  width: 100%;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: var(--text-base);
}

.nav-overlay {
  display: block;
  pointer-events: none;
}

/* Booking float bar shows on mobile */
.booking-float-bar {
  display: flex;
}

/* WhatsApp float + back-to-top adjustment for float bar */
.whatsapp-float {
  bottom: 6.5rem;
}

/* Hero text scaling */
.hero-content {
  padding-block: 6rem 4rem;
}

/* Lightbox navigation repositioned */
.lightbox-prev {
  left: 0.5rem;
}
.lightbox-next {
  right: 0.5rem;
}

/* Cookie consent full width on mobile */
.cookie-consent {
  left: 1rem;
  right: 1rem;
  max-width: none;
  bottom: 1rem;
}

/* Modal full screen on mobile */
.modal {
  padding: 2rem 1.5rem;
  max-height: 90vh;
  overflow-y: auto;
}

/* Page hero */
.page-hero-content {
  padding-top: calc(var(--navbar-height) + 3rem);
  padding-bottom: 3rem;
}

/* --------------------------------------------------------------------------
   TABLET — 768px+
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  :root {
    --container-px: 1.5rem;
    --section-py: 4.5rem;
  }

  /* Stats — restore full columns at tablet+ */
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
  }

  .stat-item {
    padding: 2.75rem 1.75rem 2.5rem;
  }

  /* Grids */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Amenities */
  .amenities-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  /* Form grid */
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }

  /* Split section — 2 cols on tablet */
  .split-section {
    grid-template-columns: 1fr 1fr;
    min-height: 460px;
  }

  .split-section.reverse {
    direction: rtl;
  }

  .split-content {
    padding: 3rem 2.5rem;
  }

  .split-image {
    aspect-ratio: auto;
    min-height: 350px;
  }

  /* Restore multi-col photo grids on tablet */
  .dining-photo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .about-photo-strip {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* Booking widget — 2-col layout */
  .booking-form-row {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
  }

  .booking-submit-btn {
    grid-column: 1 / -1;
    width: max-content;
    margin-inline: auto;
  }

  /* Gallery */
  .gallery-strip {
    grid-template-columns: repeat(6, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }

  .gallery-item:nth-child(3n + 1) {
    grid-row: span 1;
  }
  .gallery-item:nth-child(3n + 2) {
    grid-row: span 2;
  }
  .gallery-item:nth-child(3n + 3) {
    grid-row: span 1;
  }

  /* Footer 2 columns */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
  }

  /* Cookie consent */
  .cookie-consent {
    left: 1.5rem;
    right: auto;
    max-width: 420px;
  }

  /* Booking float bar hidden on tablet */
  .booking-float-bar {
    display: none;
  }

  .whatsapp-float {
    bottom: 5.5rem;
  }
}

/* --------------------------------------------------------------------------
   DESKTOP — 1024px+
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root {
    --container-px: 2rem;
    --section-py: 5rem;
  }

  /* Navbar — full desktop mode */
  .hamburger {
    display: none;
  }

  .nav-menu {
    position: static;
    flex-direction: row;
    align-items: center;
    background: transparent;
    padding: 0;
    transform: none;
    box-shadow: none;
    overflow: visible;
    gap: 0.25rem;
  }

  .nav-link {
    width: auto;
    padding: 0.3rem 0.875rem;
    border-bottom: none;
    font-size: var(--text-sm);
  }

  .nav-btn {
    margin-top: 0;
    width: auto;
    padding: 0.6rem 1.5rem;
    font-size: var(--text-sm);
  }

  /* Grids */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }

  /* Booking widget — full row */
  .booking-form-row {
    grid-template-columns: repeat(4, 1fr) auto;
    grid-template-rows: 1fr;
  }

  .booking-submit-btn {
    grid-column: auto;
    margin-inline: 0;
    width: auto;
  }

  /* Footer 4 columns */
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  }

  /* Room cards grid */
  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Restore split-section and children on desktop */
  .split-section {
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
  }
  .split-content {
    padding: 3.5rem;
  }
  .split-image {
    min-height: 400px;
    aspect-ratio: auto;
  }

  /* Restore multi-col photo grids on desktop */
  .dining-photo-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .about-photo-strip {
    grid-template-columns: repeat(4, 1fr) !important;
  }

  /* Amenities highlight: restore 3 columns on desktop */
  .about-amenities-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   LARGE DESKTOP — 1280px+
   -------------------------------------------------------------------------- */
@media (min-width: 1280px) {
  :root {
    --section-py: 6rem;
  }

  .container {
    padding-inline: 2rem;
  }

  .rooms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --------------------------------------------------------------------------
   PRIVACY / TERMS — reduce inner padding on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Target the content box with 3rem padding */
  .container-sm > div[style*="padding:3rem"] {
    padding: 1.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   BOOKING PAGE — responsive sidebar layout
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .booking-layout {
    grid-template-columns: 1fr !important;
  }
  .booking-layout aside {
    position: static !important;
  }
}

/* Contact info grid — collapse on mobile */
@media (max-width: 767px) {
  .contact-info-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   ABOUT SECTION — responsive image grid
   -------------------------------------------------------------------------- */
/* On mobile, stack the about split into 1 column */
@media (max-width: 767px) {
  .about-split-grid {
    grid-template-columns: 1fr !important;
  }
  .about-img-collage {
    grid-template-columns: 1fr 1fr !important;
  }
  .about-img-collage img {
    height: 120px !important;
  }
  .about-extra-imgs {
    grid-template-columns: 1fr 1fr !important;
  }
  .about-extra-imgs img {
    height: 120px !important;
  }

  /* About page welcome section — disable sticky on mobile */
  .about-welcome-collage {
    position: static !important;
  }
  .about-welcome-collage img {
    height: 120px !important;
  }

  /* About page welcome grid: stack to 1 column */
  .about-welcome-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  /* Photo strip: 2 columns on mobile */
  .about-photo-strip {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Room overview horizontal cards: stack image on top */
  .about-room-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .about-room-card-inner {
    flex-direction: column !important;
  }
  .about-room-card-img {
    width: 100% !important;
    height: 180px !important;
  }

  /* Amenities highlight: 1 column on mobile */
  .about-amenities-grid {
    grid-template-columns: 1fr !important;
  }

  /* Index: room overview 2-col horizontal cards */
  .index-room-overview-grid {
    grid-template-columns: 1fr !important;
  }
  .index-room-card-inner {
    flex-direction: column !important;
  }
  .index-room-card-img {
    width: 100% !important;
    height: 180px !important;
  }

  /* Index: amenities highlight 3-col grid */
  .index-amenities-highlight {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Index: extra image row */
  .about-extra-imgs-3col {
    grid-template-columns: 1fr !important;
  }
  .about-extra-imgs-3col img {
    height: 160px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  /* About page welcome collage: disable sticky on tablet */
  .about-welcome-collage {
    position: static !important;
  }
  .about-welcome-collage img {
    height: 160px !important;
  }

  /* About page welcome grid: 2-col on tablet */
  .about-welcome-grid {
    gap: 2.5rem !important;
  }

  /* Photo strip: 3 columns on tablet */
  .about-photo-strip {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  /* Room overview on about page: 2 columns */
  .about-room-cards-grid {
    grid-template-columns: 1fr !important;
  }
  .about-room-card-inner {
    flex-direction: column !important;
  }
  .about-room-card-img {
    width: 100% !important;
    height: 200px !important;
  }

  /* Amenities highlight: 2 columns on tablet */
  .about-amenities-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Index: extra image row */
  .about-extra-imgs-3col img {
    height: 180px !important;
  }
}

/* --------------------------------------------------------------------------
   EXTRA LARGE — 1440px+
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  :root {
    --navbar-height: 88px;
  }

  .rooms-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .booking-widget {
    padding: 2.5rem 3rem;
  }
}

/* --------------------------------------------------------------------------
   TOP INFO BAR — hide on mobile, navbar returns to top:0
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .top-info-bar {
    display: none;
  }
  /* Navbar back to top when info bar hidden */
  .navbar {
    top: 0 !important;
  }
}

/* Prevent top-info-bar overflow on narrow tablets */
@media (min-width: 768px) and (max-width: 1023px) {
  .top-info-left {
    gap: 0.4rem;
  }
  .top-info-item {
    font-size: 0.68rem;
  }
  /* Hide address on tablet, keep phone + email */
  .top-info-left .top-info-item:first-child {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   HERO SPLIT — stack on mobile / tablet
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split-text {
    padding: calc(var(--navbar-height) + 1.5rem) 1.5rem 3rem;
    order: 2;
  }

  .hero-split-image {
    order: 1;
    min-height: 55vw;
    max-height: 420px;
  }

  .hero-split-image-badge {
    left: 1.25rem;
    bottom: 1.25rem;
    border-radius: var(--radius-md);
    border-left-width: 4px;
  }

  .hero-split-title {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .hero-split-inner {
    max-width: 100%;
  }

  /* Hide scroll indicator on mobile/tablet (only makes sense on desktop split) */
  .hero-split-scroll {
    display: none;
  }

  /* CTA buttons wrap properly */
  .hero-split-cta {
    flex-wrap: wrap;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .hero-split-image {
    min-height: 60vw;
    max-height: 300px;
  }

  .hero-split-text {
    padding: calc(var(--navbar-height) + 1rem) 1.25rem 2.5rem;
  }

  /* Badges strip: wrap more tightly on very small screens */
  .hero-split-badges {
    gap: 0.75rem;
    padding-top: 1.25rem;
  }

  /* Floating badge: smaller on mobile */
  .hero-split-image-badge {
    padding: 0.75rem 1rem 0.75rem 0.875rem;
    gap: 0.6rem;
  }

  .hero-split-image-badge-num {
    font-size: 2rem;
  }
}

/* DESKTOP — show navbar-right */
@media (min-width: 1024px) {
  .navbar-right {
    display: flex;
  }

  /* When top info bar is visible, shift navbar down */
  .navbar {
    top: 0;
  }

  /* Remove Book Now from nav-menu on desktop (shown in navbar-right) */
  .nav-menu .nav-btn {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   ROOMS PAGE — bathroom masonry grid responsive
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rooms-bath-grid {
    grid-template-columns: 1fr 1fr !important;
    grid-template-rows: auto !important;
  }
  /* Reset the large hero span on mobile */
  .rooms-bath-grid > div:first-child {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    max-height: 200px;
    overflow: hidden;
  }

  /* Room features 2-col: collapse to 1-col inside split-content */
  .split-content > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

/* --------------------------------------------------------------------------
   PAGE HERO IMAGE — cap height on mobile/tablet
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .page-hero .hero-bg img {
    max-height: 220px;
    object-fit: cover;
    object-position: center center;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .page-hero .hero-bg img {
    max-height: 320px;
    object-fit: cover;
    object-position: center center;
  }
}

/* --------------------------------------------------------------------------
   COLLAGE IMAGE HEIGHTS — override inline heights responsively
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-img-collage-img {
    height: 110px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-img-collage-img {
    height: 160px !important;
  }
}

/* --------------------------------------------------------------------------
   SPLIT CONTENT — reduce padding on small desktop / tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .split-content {
    padding: 2.5rem 2rem;
  }
}

/* --------------------------------------------------------------------------
   GALLERY STRIP — smoother column transition
   -------------------------------------------------------------------------- */
@media (min-width: 480px) and (max-width: 767px) {
  .gallery-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --------------------------------------------------------------------------
   AMENITIES GRID — 3-col on tablet, 5-col on desktop
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
  }
  .amenity-item {
    padding: 1rem 0.5rem;
    gap: 0.5rem;
  }
  .amenity-icon {
    font-size: 1.5rem;
  }
  .amenity-label {
    font-size: 0.72rem;
  }
}

/* --------------------------------------------------------------------------
   STATS GRID — ensure 2-col minimum on very small screens
   -------------------------------------------------------------------------- */
@media (max-width: 479px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-number {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }
}

/* --------------------------------------------------------------------------
   BOOKING WIDGET — prevent overflow on small screens
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .booking-widget {
    padding: 1.25rem;
  }
  .booking-widget-title {
    font-size: var(--text-xl);
    margin-bottom: 1rem;
  }
}

/* --------------------------------------------------------------------------
   FOOTER — tighten gap on tablet
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .footer-grid {
    gap: 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   EVENTS HOST STRIP — reduce gap on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .events-host-strip {
    gap: 0.75rem !important;
    font-size: 0.8rem !important;
  }
}

/* --------------------------------------------------------------------------
   ROOMS AMENITIES STRIP — reduce gap on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rooms-amenities-strip-inner {
    gap: 0.75rem !important;
    font-size: 0.8rem !important;
  }
}

/* --------------------------------------------------------------------------
   DINING — food photo row collapses to 1 col on mobile, 2 on tablet
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .dining-food-photo-row {
    grid-template-columns: 1fr !important;
  }
  .dining-cafe-features {
    grid-template-columns: 1fr 1fr !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .dining-food-photo-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   EVENTS — venue cards, Marigold, quote form on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  /* Feature checklist: already 2-col, keep it but reduce gap */
  .venue-features-grid {
    gap: 0.5rem !important;
  }
  /* Capacity row: stack vertically */
  .venue-capacity-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
  }
  /* Marigold hero: reduce min-height on mobile */
  .marigold-hero {
    min-height: 320px !important;
  }
  /* Marigold inner padding: reduce on mobile */
  .marigold-content {
    padding: 1.5rem !important;
  }
  /* Marigold inner flex: stack vertically */
  .marigold-inner-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.5rem !important;
  }
  /* Quote form box */
  .form-box-padded {
    padding: 1.5rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .marigold-content {
    padding: 2rem 2.5rem !important;
  }
  .form-box-padded {
    padding: 2rem !important;
  }
}

/* --------------------------------------------------------------------------
   CONTACT — map height on mobile, form box padding
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .contact-map-wrap {
    height: 240px !important;
    margin-bottom: 2.5rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .contact-map-wrap {
    height: 320px !important;
  }
}

/* --------------------------------------------------------------------------
   SECTION HEADER — reduce bottom margin on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .section-header {
    margin-bottom: 2rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .section-header {
    margin-bottom: 2.5rem;
  }
}


/* --------------------------------------------------------------------------
   ROOMS — bathroom thumbnail strip (3-col → 2-col mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rooms-bath-thumbnails {
    grid-template-columns: 1fr 1fr !important;
  }
  .rooms-bath-thumbnails img {
    height: 90px !important;
  }
}

/* --------------------------------------------------------------------------
   ROOMS — bathroom feature strip (4-col → 1-col mobile, 2-col tablet)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .rooms-bath-features {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  .rooms-bath-features > div {
    padding: 1.25rem 1rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .rooms-bath-features {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   ROOMS — room features 2-col grid inside split-content (mobile: 1-col)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .room-features-grid {
    grid-template-columns: 1fr !important;
    gap: 0.5rem !important;
  }
  .room-price-cta {
    padding-top: 1rem !important;
  }
  .room-price-box {
    padding: 0.75rem !important;
  }
}

/* --------------------------------------------------------------------------
   ABOUT — welcome CTA buttons (stack on mobile)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-cta-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }
  .about-cta-group .btn {
    margin-left: 0 !important;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* --------------------------------------------------------------------------
   ABOUT — split-grid gap reduce on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-split-grid {
    gap: 1.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   ABOUT — four pillars (grid-4) tablet: 2-col
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1023px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* --------------------------------------------------------------------------
   ROOMS — price/CTA section full-width button on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .room-price-cta .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

/* --------------------------------------------------------------------------
   GENERIC — flex CTA groups that use margin-left: wrap on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .hero-split-cta,
  div[style*="display:flex"][style*="gap:1rem"][style*="justify-content:center"] {
    flex-wrap: wrap !important;
  }
}

/* --------------------------------------------------------------------------
   EVENTS — reduce large margin-top on promise box on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .form-box-padded[style*="margin-top:4rem"] {
    margin-top: 2rem !important;
  }
}

/* --------------------------------------------------------------------------
   BOOKING — trust badges strip on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .trust-badges-strip {
    gap: 0.5rem 1rem !important;
    font-size: 0.78rem !important;
    row-gap: 0.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   CONTACT — reduce large margin-bottom on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .contact-cards-grid {
    margin-bottom: 2rem !important;
  }
  .contact-info-grid {
    margin-bottom: 2rem !important;
  }
  .contact-map-wrap {
    margin-bottom: 2rem !important;
  }
}

/* --------------------------------------------------------------------------
   FULL-BLEED QUOTE/IMAGE SECTIONS — reduce min-height and padding on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-commitment-section {
    min-height: 240px !important;
  }
  .about-commitment-content {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  /* dining philosophy section */
  section[style*="min-height:360px"] {
    min-height: auto !important;
  }
  section[style*="min-height:360px"] .container {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

/* --------------------------------------------------------------------------
   HERO SPLIT — mobile text + image proportions
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .hero-split-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem) !important;
  }
  .hero-split-sub {
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
  }
  .hero-split-badges {
    gap: 0.5rem !important;
  }
  .hero-split-badge {
    font-size: 0.78rem !important;
    padding: 0.3rem 0.75rem !important;
  }
}

/* --------------------------------------------------------------------------
   NAVBAR — logo size on mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .navbar-logo {
    width: auto !important;
    height: 64px !important;
  }
}

/* --------------------------------------------------------------------------
   ABOUT — room card inner padding on mobile (stacked layout)
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .about-room-card-inner > div:last-child {
    padding: 1.25rem !important;
  }
}

/* --------------------------------------------------------------------------
   REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-title,
  .hero-eyebrow,
  .hero-subtitle,
  .hero-cta {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .reveal,
  .reveal-up,
  .reveal-left,
  .reveal-right,
  .reveal-scale {
    opacity: 1;
    transform: none;
  }

  .preloader {
    display: none;
  }

  .scroll-progress {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   HIGH CONTRAST MODE
   -------------------------------------------------------------------------- */
@media (prefers-contrast: high) {
  :root {
    --primary: #e03d00;
    --primary-dark: #b33000;
  }

  .nav-link::after {
    height: 3px;
  }

  .btn {
    border-width: 3px;
  }
}

/* --------------------------------------------------------------------------
   HOVER QUERIES (touch device safe-guards)
   -------------------------------------------------------------------------- */
@media (hover: none) {
  /* Remove hover states that don't work on touch */
  .room-card:hover {
    transform: none;
  }

  .card-hover-overlay {
    transform: translateY(0);
    background: linear-gradient(
      to top,
      rgba(10, 10, 10, 0.5) 0%,
      transparent 60%
    );
  }

  .gallery-item:hover img {
    transform: none;
    filter: none;
  }
}

/* --------------------------------------------------------------------------
   PRINT
   -------------------------------------------------------------------------- */
@media print {
  :root {
    --section-py: 2rem;
  }

  .hero {
    min-height: auto;
    padding-block: 3rem;
  }

  .gallery-strip,
  .gallery-grid {
    display: none;
  }
}
