/* ============================================
   Maison du Clos Marin — Île de Ré
   Stylesheet
   ============================================ */

:root {
  --color-bg: #fdfbf6;
  --color-bg-alt: #f5efe3;
  --color-text: #1c2a33;
  --color-text-muted: #5a6b75;
  --color-primary: #1f4a5f;     /* deep sea blue */
  --color-primary-dark: #133341;
  --color-accent: #d6a563;      /* warm sand */
  --color-accent-dark: #b88846;
  --color-white: #ffffff;
  --color-border: #e6dfd1;
  --color-shadow: rgba(28, 42, 51, 0.08);

  --font-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.25s ease;

  --max-width: 1200px;
  --container-padding: clamp(1rem, 4vw, 2.5rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-primary-dark);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; color: var(--color-text); }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 246, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem var(--container-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-primary-dark);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  flex: 0 1 auto;
}
.brand-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
}
.nav-links a:hover { color: var(--color-primary); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lang-switcher select {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-white);
  color: var(--color-text);
  cursor: pointer;
}

/* Hamburger / mobile menu */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 200;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--color-primary-dark);
  margin: 5px auto;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 64px;
    left: 0; right: 0;
    background: var(--color-bg);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 24px var(--color-shadow);
    transform: translateY(-110%);
    transition: transform 0.3s ease;
    z-index: 100;
  }
  .nav-links.open { transform: translateY(0); display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 1rem var(--container-padding);
    border-bottom: 1px solid var(--color-border);
  }
  .nav-links li:last-child a { border-bottom: none; }
}

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-primary-dark);
}
.hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(19, 51, 65, 0.15) 0%, rgba(19, 51, 65, 0.8) 100%);
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 4rem var(--container-padding);
  max-width: var(--max-width);
  margin: 0 auto;
  color: var(--color-white);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Hero badges (rating + availability) */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero-badge.rating {
  background: rgba(214, 165, 99, 0.95);
  color: var(--color-primary-dark);
  font-weight: 600;
}
.hero-badge.availability {
  background: rgba(255, 255, 255, 0.18);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-badge .star { color: #fff; }
.hero-badge.rating .star { color: var(--color-primary-dark); }
.hero h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
  max-width: 16ch;
}
.hero-subtitle {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 50ch;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-primary-dark);
  border-color: var(--color-accent);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary-dark);
}
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.btn-secondary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: var(--color-white);
}

/* ============================================
   QUICK-INFO STRIP
   ============================================ */
.quick-info {
  background: var(--color-bg-alt);
  padding: 2rem 0;
  border-bottom: 1px solid var(--color-border);
}
.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.quick-info-item .value {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  font-weight: 500;
}
.quick-info-item .label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ============================================
   SECTIONS
   ============================================ */
section {
  padding: 5rem 0;
}
section.alt { background: var(--color-bg-alt); }

.section-eyebrow {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.lead {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  max-width: 70ch;
  margin: 0 auto;
}

/* Description */
.description-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.description-text p { margin-bottom: 1rem; font-size: 1.05rem; }
.description-image img { border-radius: var(--radius-lg); box-shadow: 0 20px 60px var(--color-shadow); }

@media (max-width: 820px) {
  .description-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ============================================
   AMENITIES
   ============================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.amenity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.amenity:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--color-shadow);
}
.amenity-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  line-height: 1;
}
.amenity-label { font-size: 0.95rem; font-weight: 500; }

/* ============================================
   ROOMS
   ============================================ */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.room-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.room-card h3 { color: var(--color-primary-dark); margin-bottom: 0.75rem; }
.room-card ul { list-style: none; padding: 0; }
.room-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.room-card li:last-child { border-bottom: none; }

/* ============================================
   GALLERY
   ============================================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 0.75rem;
}
.gallery-item {
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

@media (max-width: 820px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 1; }
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(19, 51, 65, 0.95);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: var(--radius); }
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: transparent; border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  width: 44px; height: 44px;
}
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent; border: none;
  color: var(--color-white);
  font-size: 2rem;
  cursor: pointer;
  width: 60px; height: 60px;
}
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ============================================
   LOCATION
   ============================================ */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}
.location-text { padding: 1rem 0; }
.location-text h3 { margin-top: 1.5rem; }
.location-text ul { list-style: none; padding: 0; }
.location-text li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--color-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.location-text li:last-child { border-bottom: none; }
.location-text li strong { color: var(--color-primary-dark); }

.location-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
  border-radius: var(--radius-lg);
}

@media (max-width: 820px) {
  .location-grid { grid-template-columns: 1fr; }
  .location-map iframe { min-height: 320px; }
}

/* ============================================
   PRICING
   ============================================ */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem auto;
  max-width: 720px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 16px var(--color-shadow);
}
.pricing-table th,
.pricing-table td {
  padding: 0.95rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}
.pricing-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:nth-child(even) td { background: var(--color-bg-alt); }
.pricing-table .price {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--color-primary-dark);
  font-weight: 500;
}

.pricing-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* ============================================
   BOOKING CTAs
   ============================================ */
.booking {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  text-align: center;
}
.booking h2 { color: var(--color-white); }
.booking .lead { color: rgba(255, 255, 255, 0.85); }
.booking .section-eyebrow { color: var(--color-accent); }

.booking-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}
.booking-card {
  background: var(--color-white);
  color: var(--color-text);
  padding: 2rem 1.75rem;
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform var(--transition);
}
.booking-card:hover { transform: translateY(-4px); }
.booking-card h3 {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
}
.booking-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin: 0.75rem 0 1.25rem;
}
.booking-card .btn { width: 100%; justify-content: center; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer h4 {
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer p, .footer a { color: rgba(255, 255, 255, 0.75); font-size: 0.92rem; }
.footer a:hover { color: var(--color-accent); }
.footer ul { list-style: none; padding: 0; }
.footer li { margin-bottom: 0.5rem; }
.footer-bottom {
  text-align: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }

/* Visually hidden but accessible to screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   STICKY MOBILE CTA
   ============================================ */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 24px rgba(19, 51, 65, 0.35);
  z-index: 90;
  text-decoration: none;
  transition: background var(--transition), transform 0.2s ease;
}
.sticky-cta:hover {
  background: var(--color-accent-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}
@media (max-width: 820px) {
  .sticky-cta { display: block; }
  body { padding-bottom: 5rem; }
}

/* ============================================
   PRICING — peak season highlight
   ============================================ */
.pricing-table tr.peak td {
  background: linear-gradient(90deg, rgba(214, 165, 99, 0.15) 0%, rgba(214, 165, 99, 0.05) 100%);
  font-weight: 600;
}
.pricing-table tr.peak td:first-child::before {
  content: "★ ";
  color: var(--color-accent-dark);
}
.pricing-table tr.peak .price {
  color: var(--color-accent-dark);
}
.pricing-table tbody tr {
  transition: background 0.15s ease;
}
.pricing-table tbody tr:hover td {
  background: var(--color-bg);
}

/* ============================================
   FAQ
   ============================================ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] {
  box-shadow: 0 4px 16px var(--color-shadow);
}
.faq-item summary {
  cursor: pointer;
  padding: 1.25rem 1.5rem;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: background 0.15s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--color-accent-dark);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { background: var(--color-bg); }
.faq-item .faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }
  .reveal.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.25), transparent 70%);
  opacity: 0;
  transform: scale(0.3);
  transition: opacity 0.3s ease, transform 0.4s ease;
  pointer-events: none;
}
.btn:hover::after { opacity: 1; transform: scale(1); }
.btn:active { transform: scale(0.98); }

.quick-info-item .value {
  display: inline-block;
  transition: transform 0.2s ease;
}
.quick-info-item:hover .value { transform: translateY(-2px); }

.room-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--color-shadow);
}

/* ============================================
   MOBILE ERGONOMICS — comprehensive overhaul
   ============================================ */
@media (max-width: 820px) {

  /* --- Hero --- */
  .hero {
    min-height: 68vh;
    min-height: 68svh; /* small viewport height — better on mobile browsers with URL bar */
  }
  .hero-content {
    padding: 2.5rem var(--container-padding) 2rem;
  }
  .hero h1 {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
    max-width: 100%;
  }
  .hero-subtitle {
    font-size: 1rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-eyebrow {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }
  .hero-badges {
    gap: 0.4rem;
    margin-bottom: 1rem;
  }
  .hero-badge {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
  }
  .hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.25rem;
    font-size: 1rem;
  }

  /* --- Section padding (big space saver) --- */
  section {
    padding: 3rem 0;
  }
  .section-header {
    margin-bottom: 2rem;
  }
  h2 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }
  .lead {
    font-size: 1rem;
  }

  /* --- Quick info: 2 columns, tighter --- */
  .quick-info {
    padding: 1.25rem 0 !important;
  }
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .quick-info-item .value {
    font-size: 1.4rem;
  }
  .quick-info-item .label {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
  }

  /* --- Description: stack with image first for visual punch --- */
  .description-grid {
    gap: 1.5rem;
  }
  .description-image {
    order: -1;
  }
  .description-text p {
    font-size: 1rem;
  }

  /* --- Rooms: tighter cards --- */
  .rooms-grid {
    gap: 1rem;
    margin-top: 1.5rem;
  }
  .room-card {
    padding: 1.25rem;
  }

  /* --- Amenities: 1 column on very small screens --- */
  .amenities-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.5rem;
  }
  .amenity {
    padding: 0.85rem 1rem;
  }
  .amenity-label {
    font-size: 0.88rem;
  }

  /* --- Gallery: tighter rows --- */
  .gallery {
    grid-auto-rows: 140px;
    gap: 0.5rem;
  }

  /* --- Lightbox: bigger touch targets, better positioning --- */
  .lightbox {
    padding: 0.5rem;
  }
  .lightbox-close {
    top: max(1rem, env(safe-area-inset-top));
    right: 1rem;
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    font-size: 1.75rem;
  }
  .lightbox-nav {
    width: 48px;
    height: 48px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    font-size: 1.75rem;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  /* --- Location: stack, smaller map --- */
  .location-grid {
    gap: 1.5rem;
  }
  .location-text li {
    padding: 0.75rem 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  .location-text li strong {
    color: var(--color-accent-dark);
  }
  .location-map iframe {
    min-height: 260px;
  }

  /* --- Pricing table: smaller text, full-width --- */
  .pricing-table {
    font-size: 0.92rem;
    margin: 1.5rem auto;
  }
  .pricing-table th,
  .pricing-table td {
    padding: 0.7rem 0.85rem;
  }
  .pricing-table .price {
    font-size: 1.05rem;
  }
  .pricing-note {
    font-size: 0.92rem;
    padding: 0 var(--container-padding);
  }

  /* --- FAQ: full-width, tighter --- */
  .faq-item summary {
    padding: 1rem 1.25rem;
    font-size: 0.98rem;
  }
  .faq-item .faq-answer {
    padding: 0 1.25rem 1rem;
    font-size: 0.95rem;
  }

  /* --- Booking cards: full-width column --- */
  .booking-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2rem;
  }
  .booking-card {
    padding: 1.5rem 1.25rem;
  }

  /* --- Footer: compact --- */
  .footer {
    padding: 2.5rem 0 1rem;
  }
  .footer-grid {
    gap: 1.75rem;
  }
  .footer h4 {
    margin-bottom: 0.5rem;
  }
  .footer li {
    margin-bottom: 0.35rem;
  }
  .footer-bottom {
    margin-top: 2rem;
    font-size: 0.75rem;
    padding: 1rem var(--container-padding) 0;
  }

  /* --- Navbar mobile polish --- */
  .navbar-inner {
    padding: 0.75rem var(--container-padding);
  }
  .brand {
    font-size: 1rem;
  }
  .brand-sub {
    font-size: 0.6rem;
  }
  /* On very small screens, hide brand-sub to save space */
  @media (max-width: 400px) {
    .brand-sub { display: none; }
  }
  .lang-switcher select {
    font-size: 0.78rem;
    padding: 0.35rem 0.5rem;
  }
  /* Hide "Langue:" label, just keep flag — save space */
  .lang-switcher label { display: none; }

  /* --- Sticky CTA: safe area + minimum size --- */
  .sticky-cta {
    bottom: max(1rem, env(safe-area-inset-bottom));
    left: 1rem;
    right: 1rem;
    padding: 1.1rem;
    font-size: 1.05rem;
    min-height: 52px;
  }
  body {
    padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  }

  /* --- Tap target minimum (44×44 per Apple HIG) --- */
  .nav-toggle,
  .nav-links a,
  .btn,
  .lightbox-close,
  .lightbox-nav,
  .faq-item summary {
    min-height: 44px;
  }

  /* --- Mobile menu: cleaner with safe-area --- */
  .nav-links {
    top: 56px; /* match smaller navbar height */
    padding-top: 0.5rem;
    padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
}

/* Even smaller phones (< 380px) */
@media (max-width: 380px) {
  :root {
    --container-padding: 0.85rem;
  }
  .quick-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item.wide, .gallery-item.tall { grid-column: span 1; grid-row: span 1; }
  .hero-badges { flex-direction: column; align-items: flex-start; }
}

/* Landscape phones: hide sticky CTA to free vertical space */
@media (max-width: 820px) and (orientation: landscape) and (max-height: 500px) {
  .sticky-cta { display: none; }
  body { padding-bottom: 0; }
  .hero { min-height: 100vh; }
}

/* Respect "Reduce motion" preference */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .navbar, .booking, .lightbox, .sticky-cta, .nav-toggle { display: none; }
}
