/* =============================================================
   Azura Voyages Mauritius
   1. Tokens          5. Sections & home
   2. Base            6. Hotels listing
   3. Navigation      7. Hotel modal
   4. Hero & banner   8. Footer, utilities, responsive
   ============================================================= */

/* ------------------------------- 1. Tokens ----------------- */
:root {
  --aqua: #17bec3;
  --aqua-dark: #0e8f96;
  --aqua-deep: #0b6f75;
  --aqua-tint: rgba(23, 190, 195, 0.12);
  --ink: #16303a;
  --muted: #5d7480;
  --line: #e2eef0;
  --sand: #f6fbfb;
  --white: #fff;

  --radius: 16px;
  --radius-lg: 22px;
  --shadow: 0 18px 40px -20px rgba(12, 60, 70, 0.45);
  --shadow-soft: 0 12px 30px -24px rgba(11, 59, 68, 0.9);
  --shadow-lift: 0 26px 60px -28px rgba(9, 52, 62, 0.55);

  --max: 1160px;
  --nav-h: 74px;
}

/* ------------------------------- 2. Base ------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Montserrat, system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Inner pages carry a solid bar, so the content needs to clear it. */
body.has-solid-nav { padding-top: var(--nav-h); }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
p { margin: 0 0 1rem; color: var(--muted); }

:focus-visible {
  outline: 3px solid var(--aqua);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.script { font-family: Parisienne, cursive; font-weight: 400; color: var(--aqua); }
.script-sm { font-size: 2rem; margin: 0 0 0.2rem; line-height: 1.2; }
.script-md { font-size: clamp(2.4rem, 6vw, 4rem); margin: 0; color: var(--white); line-height: 1.1; }

.eyebrow {
  text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.75rem; color: var(--aqua); margin: 0 0 0.4rem;
}
.dot { color: var(--aqua); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--white); color: var(--ink);
  padding: 0.7rem 1.1rem; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--aqua); color: var(--white);
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font: inherit; font-weight: 600; border: 0;
  cursor: pointer; letter-spacing: 0.04em; text-align: center;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--aqua-dark); transform: translateY(-2px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.78rem; }
.btn-ghost {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

/* ------------------------------- 3. Navigation ------------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--nav-h); padding: 0.7rem 0;
  position: relative;
}

/* Solid state: either scrolled, or an inner page from the first paint. */
.nav.scrolled,
.nav.solid {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 24px -18px #0b3b44;
  backdrop-filter: blur(8px);
}

.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-weight: 700; font-size: 1.15rem; color: var(--aqua-dark);
  flex-shrink: 0;
}
.brand img { width: 44px; height: 44px; }
.brand em { font-style: normal; color: var(--ink); }

.menu {
  display: flex; align-items: center; gap: 1.5rem;
  font-size: 0.82rem; text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600;
}
.menu a { transition: color 0.2s; white-space: nowrap; }
.menu a:hover { color: var(--aqua); }
.menu a.active { color: var(--aqua); }

/* Transparent-over-hero state uses light text. */
.nav:not(.scrolled):not(.solid) .brand,
.nav:not(.scrolled):not(.solid) .brand em,
.nav:not(.scrolled):not(.solid) .menu a { color: var(--white); }
.nav:not(.scrolled):not(.solid) .menu a.btn { color: var(--white); }
.nav:not(.scrolled):not(.solid) .menu a:hover { color: rgba(255, 255, 255, 0.75); }

.burger {
  display: none; background: none; border: 0;
  padding: 0.45rem; cursor: pointer; flex-shrink: 0;
}
.burger span {
  display: block; width: 24px; height: 2px; margin: 5px 0;
  background: var(--ink); transition: background 0.3s, transform 0.3s, opacity 0.3s;
}
.nav:not(.scrolled):not(.solid) .burger span { background: var(--white); }

/* ------------------------------- 4. Hero & banner ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 45, 55, 0.58),
    rgba(6, 45, 55, 0.15) 42%,
    rgba(6, 45, 55, 0.55)
  );
}
.hero-copy {
  position: relative; text-align: center; color: var(--white);
  padding: 7rem 0 4rem;
}
.hero-copy .eyebrow { color: rgba(255, 255, 255, 0.85); }
.hero h1 { font-size: 0; margin-bottom: 0; }
.hero h1 .script {
  display: block; font-size: clamp(3.5rem, 12vw, 8rem);
  color: var(--white); line-height: 0.95;
  text-shadow: 0 6px 30px rgba(4, 34, 42, 0.35);
}
.hero h1 .sub {
  display: block; font-size: clamp(1.1rem, 2.4vw, 1.9rem);
  font-weight: 500; margin-top: 0.6rem;
}
.hero-actions {
  display: flex; gap: 0.8rem; justify-content: center;
  margin-top: 2.2rem; flex-wrap: wrap;
}
.hero-scroll {
  position: absolute; left: 50%; bottom: 2rem;
  translate: -50% 0; width: 26px; height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.65); border-radius: 999px;
  display: grid; place-items: start center; padding-top: 8px;
}
.hero-scroll span {
  width: 4px; height: 8px; border-radius: 2px; background: var(--white);
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(12px); opacity: 0.35; }
}

/* Inner-page banner */
.page-banner { position: relative; overflow: hidden; }
.page-banner img {
  width: 100%; height: clamp(240px, 34vw, 380px); object-fit: cover;
}
.page-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6, 45, 55, 0.42), rgba(6, 45, 55, 0.62));
}
.page-banner-copy {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white);
}
.page-banner-copy .eyebrow { color: rgba(255, 255, 255, 0.88); }
.page-banner h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 0 0 0.5rem; color: var(--white);
}
.crumbs {
  display: flex; gap: 0.6rem; align-items: center;
  font-size: 0.8rem; letter-spacing: 0.06em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.85);
}
.crumbs a:hover { color: var(--aqua); }
.crumbs span[aria-hidden] { opacity: 0.6; }

/* ------------------------------- 5. Sections & home -------- */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.alt { background: var(--sand); }

.head { text-align: center; margin-bottom: 2.75rem; }
.head-lead { max-width: 62ch; margin-inline: auto; }

.grid-2 {
  display: grid; gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.media img { border-radius: var(--radius); box-shadow: var(--shadow); }

.ticks { list-style: none; padding: 0; margin: 1.4rem 0 0; }
.ticks li {
  position: relative; padding-left: 1.7rem;
  margin-bottom: 0.5rem; color: var(--muted);
}
.ticks li::before { content: "✦"; position: absolute; left: 0; color: var(--aqua); }

.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem 1.6rem; box-shadow: var(--shadow-soft);
  border: 1px solid var(--line); transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card .ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: 14px; background: var(--aqua-tint);
  color: var(--aqua-dark); font-size: 1.4rem; margin-bottom: 1rem;
}
.card h3 { font-size: 1.1rem; }

.center-cta { text-align: center; margin: 2.75rem 0 0; }

/* Band */
.band {
  position: relative; padding: clamp(3.5rem, 8vw, 6rem) 0;
  background: linear-gradient(135deg, var(--aqua-deep), var(--aqua));
  color: var(--white); text-align: center;
}
.band h2 { color: var(--white); }
.band .eyebrow { color: rgba(255, 255, 255, 0.85); }
.band-lead {
  color: rgba(255, 255, 255, 0.88); max-width: 58ch;
  margin: 0 auto 1.8rem;
}
.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem; margin-top: 2.5rem;
}
.stats strong { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); }
.stats span {
  font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.12em; opacity: 0.85;
}

/* Testimonials */
.quote {
  background: var(--sand); border-left: 4px solid var(--aqua);
  border-radius: 12px; padding: 1.6rem; min-height: 200px;
}
.quote p { font-style: italic; color: var(--ink); }
.quote .who { font-weight: 700; color: var(--aqua-dark); font-style: normal; margin: 0; }
.quote .meta { font-size: 0.85rem; margin: 0; font-style: normal; }
.quote-nav { display: flex; gap: 0.6rem; margin-top: 1rem; }
.rnd {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid #cfe6e7; background: var(--white);
  cursor: pointer; color: var(--aqua-dark); font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.rnd:hover { background: var(--aqua); color: var(--white); }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li {
  display: grid; grid-template-columns: 90px 1fr; gap: 0.6rem;
  padding: 0.6rem 0; border-bottom: 1px dashed #d8e8ea; color: var(--muted);
}
.contact-list span {
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.12em;
  color: var(--aqua-dark); padding-top: 0.25rem;
}
.form {
  background: var(--white); border-radius: var(--radius);
  padding: 1.8rem; box-shadow: var(--shadow); display: grid; gap: 0.9rem;
}
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.form label {
  display: grid; gap: 0.35rem; font-size: 0.78rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: var(--aqua-dark);
}
.form input, .form textarea {
  font: inherit; padding: 0.75rem 0.9rem;
  border: 1px solid #dceaec; border-radius: 10px;
  color: var(--ink); background: #fbfeff; width: 100%;
}
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--aqua); border-color: transparent; }
.form .invalid { border-color: #e2645f; background: #fff7f6; }
.count { font-size: 0.75rem; margin: 0; text-align: right; }
.ok { color: var(--aqua-dark); font-weight: 600; margin: 0; }

/* ------------------------------- 6. Hotels listing --------- */
.hotel-grid {
  display: grid; gap: 1.8rem;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
}

.hotel-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.hotel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }

.hotel-card-media {
  position: relative; display: block; width: 100%;
  padding: 0; margin: 0; border: 0; background: #d8ecef;
  cursor: pointer; overflow: hidden; aspect-ratio: 3 / 2;
}
.hotel-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.55s ease;
}
.hotel-card:hover .hotel-card-media img { transform: scale(1.06); }

.hotel-card-stars {
  position: absolute; top: 0.85rem; left: 0.85rem;
  background: rgba(9, 52, 62, 0.62); color: #ffd873;
  padding: 0.25rem 0.6rem; border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.08em; backdrop-filter: blur(4px);
}
.hotel-card-region {
  position: absolute; bottom: 0.85rem; right: 0.85rem;
  background: rgba(255, 255, 255, 0.92); color: var(--aqua-dark);
  padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}

.hotel-card-body {
  padding: 1.35rem 1.4rem 1.5rem;
  display: flex; flex-direction: column; flex: 1;
}
.hotel-card-place {
  font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--aqua-dark); margin: 0 0 0.35rem; font-weight: 600;
}
.hotel-card-body h3 { font-size: 1.16rem; margin: 0 0 0.6rem; }
.hotel-card-desc {
  font-size: 0.9rem; margin: 0 0 1.2rem; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; line-clamp: 4;
  -webkit-box-orient: vertical; overflow: hidden;
}
.hotel-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem; padding-top: 1rem; border-top: 1px solid var(--line);
}
.hotel-card-price { margin: 0; font-size: 0.74rem; color: var(--muted); line-height: 1.3; }
.hotel-card-price strong {
  display: block; font-size: 1.3rem; color: var(--ink); line-height: 1.15;
}

.empty-state {
  text-align: center; padding: 3rem 1rem;
  background: var(--sand); border-radius: var(--radius);
}
.empty-state code {
  background: var(--white); padding: 0.15rem 0.4rem;
  border-radius: 5px; color: var(--aqua-dark);
}

/* ------------------------------- 7. Hotel modal ------------ */
.modal {
  position: fixed; inset: 0; z-index: 90;
  display: grid; place-items: center; padding: clamp(0.5rem, 3vw, 2rem);
}
.modal[hidden] { display: none; }

.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(7, 38, 47, 0.62);
  backdrop-filter: blur(3px);
  animation: fadeIn 0.25s ease;
}

.modal-panel {
  position: relative; z-index: 1;
  width: min(1080px, 100%); max-height: min(92svh, 900px);
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(4, 32, 40, 0.6);
  overflow: hidden; display: flex; flex-direction: column;
  animation: modalIn 0.32s cubic-bezier(0.2, 0.9, 0.3, 1);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn {
  from { opacity: 0; transform: translateY(22px) scale(0.985); }
  to { opacity: 1; transform: none; }
}

.modal-close {
  position: absolute; top: 0.75rem; right: 0.85rem; z-index: 5;
  width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, 0.92); color: var(--ink);
  font-size: 1.6rem; line-height: 1; cursor: pointer;
  box-shadow: 0 6px 18px -8px rgba(9, 52, 62, 0.7);
  transition: background 0.2s, transform 0.2s;
}
.modal-close:hover { background: var(--aqua); color: var(--white); transform: rotate(90deg); }

.modal-loading, .modal-error {
  display: grid; place-items: center; gap: 1rem;
  padding: 5rem 2rem; text-align: center;
}
.modal-loading[hidden], .modal-error[hidden], .modal-body[hidden] { display: none; }

.spinner {
  width: 38px; height: 38px; border-radius: 50%;
  border: 3px solid var(--line); border-top-color: var(--aqua);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal-body {
  display: grid; grid-template-columns: 1.05fr 1fr;
  overflow: hidden; min-height: 0;
}

/* Gallery */
.modal-gallery {
  background: #eef7f8; padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.85rem;
  overflow-y: auto; min-height: 0;
}

/* Centre the gallery only on wide screens, where it sits in a tall column
   next to the scrolling details. Stacked layouts must stay top-aligned. */
@media (min-width: 981px) {
  .modal-gallery { justify-content: center; }
}
.modal-figure { margin: 0; }
.modal-figure img {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  background: #d8ecef;
}
.modal-figure figcaption {
  font-size: 0.78rem; color: var(--muted);
  margin-top: 0.55rem; text-align: center;
}
.modal-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
}
.modal-thumb {
  padding: 0; border: 2px solid transparent; border-radius: 10px;
  overflow: hidden; cursor: pointer; background: none;
  aspect-ratio: 3 / 2; transition: border-color 0.2s, opacity 0.2s;
  opacity: 0.72;
}
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }
.modal-thumb:hover { opacity: 1; }
.modal-thumb.active { border-color: var(--aqua); opacity: 1; }

/* Info column */
.modal-info {
  padding: 1.9rem 1.75rem 2rem;
  overflow-y: auto; min-height: 0;
}
.modal-eyebrow {
  display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--aqua-dark); margin: 0 0 0.5rem; font-weight: 600;
}
.modal-stars { color: #f0b429; letter-spacing: 0.1em; }
.modal-info h2 { font-size: clamp(1.4rem, 2.6vw, 1.95rem); margin: 0 0 0.7rem; }

.modal-price {
  display: flex; align-items: baseline; gap: 0.4rem;
  font-size: 0.8rem; color: var(--muted); margin: 0 0 1.1rem;
}
.modal-price strong { font-size: 1.55rem; color: var(--aqua-dark); }

.modal-desc p { font-size: 0.92rem; margin: 0 0 0.85rem; }

.modal-amenities {
  list-style: none; padding: 0; margin: 0 0 1.6rem;
  display: flex; flex-wrap: wrap; gap: 0.45rem;
}
.modal-amenities li {
  background: var(--aqua-tint); color: var(--aqua-deep);
  padding: 0.3rem 0.75rem; border-radius: 999px;
  font-size: 0.74rem; font-weight: 600;
}

/* Booking form inside the modal */
.booking {
  background: var(--sand); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.3rem;
  display: grid; gap: 0.85rem;
}
.booking-title {
  font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--aqua-dark); margin: 0 0 0.2rem;
}
.booking-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.booking-field {
  display: grid; gap: 0.3rem; font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 600; color: var(--aqua-dark);
}
.booking-field input,
.booking-field select {
  font: inherit; font-size: 0.88rem; text-transform: none;
  letter-spacing: normal; font-weight: 400;
  padding: 0.6rem 0.75rem; border: 1px solid #dceaec;
  border-radius: 10px; color: var(--ink); background: var(--white);
  width: 100%; min-width: 0;
}
.booking-field input:focus,
.booking-field select:focus { outline: 2px solid var(--aqua); border-color: transparent; }
.booking-field .invalid { border-color: #e2645f; background: #fff7f6; }

.booking-room-note {
  font-size: 0.78rem; margin: -0.4rem 0 0; color: var(--muted); line-height: 1.5;
}
.booking-room-note:empty { display: none; }

.booking-total {
  background: var(--white); border: 1px dashed var(--aqua);
  border-radius: 12px; padding: 0.8rem 0.95rem;
}
.booking-total[hidden] { display: none; }
.booking-total-line {
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 0.8rem; font-size: 0.85rem; color: var(--muted);
}
.booking-total-line strong { font-size: 1.25rem; color: var(--ink); }
.booking-total-note { font-size: 0.7rem; margin: 0.35rem 0 0; }

.booking-message {
  margin: 0; padding: 0.7rem 0.9rem; border-radius: 10px;
  font-size: 0.85rem; font-weight: 500;
}
.booking-message[hidden] { display: none; }
.booking-message.is-error { background: #fdeceb; color: #b2312b; }
.booking-message.is-success { background: #e6f8f8; color: var(--aqua-deep); }

.booking-submit { width: 100%; }

/* ------------------------------- 8. Footer & utilities ----- */
.footer {
  background: var(--ink); color: rgba(255, 255, 255, 0.75);
  padding: 1.6rem 0; font-size: 0.85rem;
}
.footer-inner {
  display: flex; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap; align-items: center;
}
.footer p { margin: 0; color: inherit; }
.footer nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
.footer a:hover { color: var(--aqua); }

/* Scroll reveal — only applied once JS is confirmed, so content is
   never invisible if the script fails to load. */
.js .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in { opacity: 1; transform: none; }

/* Locks background scrolling while the modal is open. */
body.modal-open { overflow: hidden; }

/* ------------------------------- Responsive ---------------- */
@media (max-width: 980px) {
  .modal-body { grid-template-columns: 1fr; overflow-y: auto; }
  .modal-gallery, .modal-info {
    overflow: visible; min-height: auto;
    justify-content: flex-start; flex: none;
  }
  .modal-panel { max-height: 94svh; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  .grid-2 { grid-template-columns: 1fr; }
  .burger { display: block; }

  .menu {
    position: absolute; top: 100%; right: 0; left: 0;
    flex-direction: column; align-items: flex-start; gap: 0.9rem;
    background: var(--white); padding: 1.3rem;
    border-radius: var(--radius); box-shadow: var(--shadow);
    display: none; max-height: 70svh; overflow-y: auto;
  }
  .menu.open { display: flex; }
  /* Inside the dropdown the background is white, so force dark text. */
  .nav:not(.scrolled):not(.solid) .menu a { color: var(--ink); }
  .nav:not(.scrolled):not(.solid) .menu a.btn { color: var(--white); }
  .nav:not(.scrolled):not(.solid) .menu a:hover { color: var(--aqua); }

  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav:not(.scrolled):not(.solid) .burger[aria-expanded="true"] span { background: var(--ink); }

  .cards { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .hotel-grid { grid-template-columns: 1fr; }
  .modal-info { padding: 1.4rem 1.2rem 1.6rem; }
  .modal-gallery { padding: 1rem; }
}

@media (max-width: 460px) {
  .booking-row { grid-template-columns: 1fr; }
  .hotel-card-foot { flex-direction: column; align-items: stretch; }
  .hotel-card-foot .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .modal-panel, .modal-backdrop { animation: none; }
  .hero-scroll span { animation: none; }
  .hotel-card, .hotel-card-media img { transition: none; }
}
