/* La Cueva de Miravet — design system matching consultant build (Inter + Cormorant Garamond) */

:root {
  --cream: #FDFCF8;
  --stone: #F3F0E8;
  --ink: #2C2A24;
  --ink-soft: #5C574C;
  --line: #E3DDCC;
  --green: #2F4635;
  --green-dark: #223327;
  --terracotta: #C0663B;
  --terracotta-dark: #A0512C;
  --night: #1C1A16;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  color: var(--cream);
  transition: background 0.2s ease;
}
.site-header.is-solid { background: var(--green); }
.brand { display: block; line-height: 0; text-decoration: none; position: relative; z-index: 60; }
.brand img { height: 48px; width: auto; filter: brightness(0) invert(1); }
.nav { display: flex; align-items: center; gap: 30px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.nav a:not(.btn) { text-decoration: none; opacity: 0.92; }
.nav a:not(.btn):hover { opacity: 1; }
.nav .lang { opacity: 0.7; font-size: 12px; text-transform: none; letter-spacing: normal; }
.btn {
  display: inline-block; padding: 12px 26px; border-radius: 999px;
  background: var(--terracotta); color: var(--cream);
  text-decoration: none; font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase;
  border: none; cursor: pointer; transition: background 0.15s ease; font-weight: 600;
}
.btn:hover { background: var(--terracotta-dark); }
.btn-outline { background: transparent; border: 1px solid currentColor; color: inherit; }
.btn-block { display: block; width: 100%; text-align: center; }
.menu-toggle {
  display: none; background: none; border: none; color: inherit; cursor: pointer;
  padding: 4px; width: 32px; height: 24px; position: relative; z-index: 60;
}
.menu-toggle span, .menu-toggle::before, .menu-toggle::after {
  content: ''; display: block; position: absolute; left: 4px; right: 4px; height: 2px; background: currentColor; transition: transform 0.2s ease, opacity 0.2s ease;
}
.menu-toggle::before { top: 6px; }
.menu-toggle span { top: 12px; }
.menu-toggle::after { top: 18px; }
.menu-toggle.is-open::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open::after { transform: translateY(-6px) rotate(-45deg); }
.menu-toggle.is-open span { opacity: 0; }

/* Hero */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  background: var(--night); color: var(--cream); overflow: hidden; text-align: center;
  padding: 96px 20px 40px;
}
.hero-rating {
  display: inline-flex; align-items: center; gap: 12px; margin: -12px 0 24px; padding: 8px 16px 8px 8px;
  background: rgba(253,252,248,0.12); border: 1px solid rgba(253,252,248,0.3); border-radius: 999px;
  color: var(--cream); text-decoration: none; font-size: 13px;
}
.hero-rating .score { background: var(--terracotta); border-radius: 999px; padding: 4px 10px; font-weight: 700; font-size: 14px; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,18,15,0.5) 0%, rgba(20,18,15,0.35) 20%, rgba(20,18,15,0.55) 50%, rgba(20,18,15,0.7) 75%, rgba(20,18,15,0.92) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; padding-bottom: 60px; }
.hero .hero-content { background: rgba(20,18,15,0.68); backdrop-filter: blur(3px); border-radius: 12px; padding: 48px 40px 40px; }
.eyebrow { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.95; margin: 0 0 18px; text-shadow: 0 1px 6px rgba(0,0,0,0.9); }
.hero h1 {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: clamp(34px, 5.4vw, 58px); line-height: 1.12; margin: 0 0 22px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-sub { font-size: 17px; opacity: 0.98; margin: 0 0 36px; text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 1px 16px rgba(0,0,0,0.7); }

/* Booking bar */
.booking-bar {
  display: flex; align-items: stretch; gap: 0; background: rgba(20,18,15,0.55);
  border: 1px solid rgba(253,252,248,0.25); border-radius: 8px; padding: 6px; backdrop-filter: blur(6px);
  max-width: 700px; margin: 0 auto; text-align: left; flex-wrap: wrap;
}
.booking-bar .field { flex: 1; min-width: 120px; padding: 8px 16px; }
.booking-bar label { display: block; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.7; margin-bottom: 3px; }
.booking-bar input, .booking-bar select {
  background: none; border: none; color: var(--cream); font-family: var(--font-sans); font-size: 14px; padding: 0; width: 100%;
}
.booking-bar input::placeholder { color: rgba(253,252,248,0.6); }
.booking-bar .btn { border-radius: 6px; flex-shrink: 0; }

/* Sections */
section { padding: clamp(48px, 9vh, 96px) 0; }
.section-tight { padding: 70px 0; }
.section-alt { background: var(--stone); }
.section-dark { background: var(--green); color: var(--cream); }
.kicker { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 16px; font-weight: 700; }
.section-dark .kicker { color: #E5A97E; }
h2 {
  font-family: var(--font-serif); font-weight: 500; font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px); line-height: 1.18; margin: 0 0 20px; max-width: 22ch;
}
.center { text-align: center; margin-left: auto; margin-right: auto; }
.lede { font-size: 18px; color: var(--ink-soft); max-width: 62ch; margin: 0 0 8px; }
.section-dark .lede { color: rgba(253,252,248,0.82); }
p { color: var(--ink-soft); }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-reverse { direction: rtl; }
.split-reverse > * { direction: ltr; }
.split img { border-radius: 4px; width: 100%; max-height: 62vh; object-fit: cover; }

/* Rating chips overlaid on image */
.media-rated { position: relative; }
.rating-stack { position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; flex-wrap: wrap; gap: 10px; }
.rating-chip {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px;
  background: rgba(253,252,248,0.94); border-radius: 8px; box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  text-decoration: none; color: var(--ink); font-size: 12px; line-height: 1.25; backdrop-filter: blur(4px);
  transition: transform 0.15s ease;
}
.rating-chip:hover { transform: translateY(-2px); }
.rating-chip .score { background: var(--green); color: var(--cream); border-radius: 6px; padding: 6px 8px; font-weight: 700; font-size: 15px; min-width: 38px; text-align: center; }
.rating-chip .text strong { display: block; font-size: 13px; }

/* Horizontal scroller (rooms, and grids on mobile) */
.scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 20px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-top: 32px;
  scrollbar-width: thin;
}
.scroller > * { scroll-snap-align: start; }
.scroller .card img { aspect-ratio: 4/3; }
.scroller .card p:not(.eyebrow-sm) { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Amenity / property icon grid */
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.icon-cell { background: var(--cream); padding: clamp(18px, 3.5vh, 36px) 20px; text-align: center; }
.icon-cell .glyph { font-size: 28px; margin-bottom: 16px; color: var(--terracotta); font-family: var(--font-serif); }
.icon-cell .label { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: 56px; }
.fact { text-align: center; }
.fact .num { font-family: var(--font-serif); font-style: italic; font-size: 32px; color: var(--terracotta); display: block; margin-bottom: 4px; }
.fact .label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }

/* Audience segments (however you gather) */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); margin-top: 48px; }
.segment { background: var(--cream); padding: 36px 28px; }
.segment h3 { font-family: var(--font-serif); font-style: italic; font-size: 22px; font-weight: 500; margin: 0 0 12px; }
.segment p { font-size: 14px; margin: 0 0 18px; }
.segment a { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); text-decoration: none; font-weight: 600; }

/* Room cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 48px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 48px; }
.card { background: var(--cream); border: 1px solid var(--line); overflow: hidden; }
.card img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.card-body { padding: 22px; }
.card .eyebrow-sm { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); margin: 0 0 8px; font-weight: 600; }
.card h3 { font-family: var(--font-serif); font-style: italic; font-size: 22px; font-weight: 500; margin: 0 0 8px; }
.card p { font-size: 14px; margin: 0 0 14px; }
.card .view-link { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--terracotta); padding-bottom: 2px; }

/* Reviews */
.review-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.review-card { background: var(--cream); border: 1px solid var(--line); padding: 28px; }
.review-card p { font-size: 15px; color: var(--ink); margin: 0 0 16px; font-style: italic; }
.review-card .who { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); font-weight: 600; }
.rating-badge { display: inline-flex; align-items: center; gap: 14px; background: var(--stone); border: 1px solid var(--line); border-radius: 8px; padding: 14px 22px; margin-bottom: 32px; }
.rating-badge .score { font-family: var(--font-serif); font-style: italic; font-size: 28px; color: var(--terracotta); }
.rating-badge .text { text-align: left; font-size: 13px; line-height: 1.3; }
.rating-badge .text strong { display: block; font-size: 14px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.step .n { font-family: var(--font-serif); font-style: italic; font-size: 44px; color: var(--terracotta); display: block; margin-bottom: 14px; }
.step h3 { font-size: 16px; text-transform: uppercase; letter-spacing: 0.04em; margin: 0 0 10px; }
.step p { font-size: 14px; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 40px; }
.gallery img { aspect-ratio: 3/4; object-fit: cover; width: 100%; border-radius: 2px; }

/* Notes */
.notes { display: grid; gap: 20px; margin-top: 40px; }
.note { display: grid; grid-template-columns: 140px 1fr; gap: 24px; padding: 24px 0; border-top: 1px solid var(--line); }
.note:first-child { border-top: none; padding-top: 0; }
.note .tag { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.note p { margin: 0; font-size: 15px; }

/* FAQ */
.faq-item { border-top: 1px solid var(--line); padding: 22px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--terracotta); margin-left: 16px; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item p { margin: 14px 0 0; }

/* CTA band */
.cta-band { text-align: center; }
.cta-band h2 { max-width: none; margin-left: auto; margin-right: auto; }
.cta-band .lede { margin-left: auto; margin-right: auto; }
.cta-band .actions { display: flex; gap: 16px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }

/* Footer */
.site-footer { background: var(--night); color: rgba(253,252,248,0.75); padding: 64px 0 32px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { font-family: var(--font-serif); font-style: italic; font-size: 22px; color: var(--cream); margin: 0 0 10px; }
.footer-grid h4 { color: var(--cream); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 16px; }
.footer-grid a { text-decoration: none; opacity: 0.85; }
.footer-grid p { color: inherit; opacity: 0.85; margin: 0 0 10px; }
.footer-social { display: flex; gap: 14px; margin-top: 16px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(253,252,248,0.15); display: flex; justify-content: space-between; font-size: 12px; opacity: 0.6; flex-wrap: wrap; gap: 12px; }

/* Page hero (sub-pages) */
.page-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; background: var(--night); color: var(--cream); overflow: hidden; padding-top: 96px; }

/* Book page: form inside the lead section */
.book-hero { align-items: center; }
.book-lead { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; width: 100%; padding-bottom: 32px; }
.book-intro h1 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(34px, 4.6vw, 56px); margin: 0 0 16px; text-shadow: 0 2px 16px rgba(0,0,0,0.5); }
.book-hero .book-form { background: rgba(253,252,248,0.96); color: var(--ink); padding: 28px; max-width: none; margin: 0; }
.book-hero .book-form .row { margin-bottom: 14px; gap: 14px; }
.book-hero .book-form input, .book-hero .book-form select, .book-hero .book-form textarea { padding: 10px 12px; }
.book-hero .book-form textarea { min-height: 56px; }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(20,18,15,0.45) 0%, rgba(20,18,15,0.25) 30%, rgba(20,18,15,0.75) 75%, rgba(20,18,15,0.94) 100%); }
.page-hero .hero-content { padding-bottom: 56px; text-align: left; margin: 0; max-width: none; }
.page-hero h1 {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  line-height: 1.14; margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 48px); max-width: 24ch;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
}
.breadcrumb { font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.9; margin-bottom: 14px; text-shadow: 0 1px 6px rgba(0,0,0,0.9); }
.breadcrumb a { text-decoration: none; }
.page-hero .eyebrow { text-shadow: 0 1px 6px rgba(0,0,0,0.9); }

/* Room detail particulars */
.particulars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 32px 0; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.particulars .p-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); margin-bottom: 4px; }
.particulars .p-value { font-size: 15px; font-weight: 600; }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.tag-pill { font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-soft); }
.placeholder-note { background: var(--stone); border: 1px dashed var(--line); padding: 16px 20px; font-size: 13px; color: var(--ink-soft); margin-top: 24px; border-radius: 4px; }

/* Booking form */
.book-form { max-width: 620px; margin: 0 auto; background: var(--cream); border: 1px solid var(--line); padding: 48px; border-radius: 4px; }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.book-form label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; font-weight: 600; }
.book-form input, .book-form textarea, .book-form select {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font-family: var(--font-sans); font-size: 14px; background: var(--stone);
}
.book-form textarea { resize: vertical; min-height: 90px; }
.book-form .full { grid-column: 1 / -1; }

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: 55;
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 0 32px;
    background: var(--green); color: var(--cream);
    font-size: 20px; text-transform: none; letter-spacing: normal;
    transform: translateX(100%); transition: transform 0.25s ease;
  }
  .nav.is-open { transform: translateX(0); }
  .split, .split-reverse { grid-template-columns: 1fr; direction: ltr; gap: 32px; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3, .grid-4, .review-strip {
    display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 82%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; background: none; border: none; margin-top: 28px; padding-bottom: 10px;
  }
  .grid-3 > *, .grid-4 > *, .review-strip > * { scroll-snap-align: start; border: 1px solid var(--line); }
  .scroller { grid-auto-columns: 78%; }
  .icon-grid { grid-template-columns: 1fr 1fr; margin-top: 28px; }
  .icon-cell .glyph { font-size: 22px; margin-bottom: 8px; }
  .hero .hero-content { padding: 28px 20px 24px; }
  .hero-rating { font-size: 12px; margin-top: -8px; }
  .split img { max-height: 42vh; }
  .rating-stack { left: 10px; right: 10px; bottom: 10px; gap: 6px; }
  .rating-chip { padding: 6px 10px 6px 6px; font-size: 11px; }
  .rating-chip .score { font-size: 13px; min-width: 32px; padding: 4px 6px; }
  .book-lead { grid-template-columns: 1fr; gap: 20px; }
  .book-hero .book-form { padding: 20px; }
  .brand img { height: 40px; }
  .steps { gap: 18px; margin-top: 28px; }
  .step .n { font-size: 30px; margin-bottom: 4px; }
  .page-hero .hero-content { padding-bottom: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .particulars { grid-template-columns: 1fr 1fr; }
  .booking-bar { flex-direction: column; }
  .book-form { padding: 28px; }
  .book-form .row { grid-template-columns: 1fr; }
  section { padding: 44px 0; }
  h2 { font-size: 27px; }
  .lede { font-size: 16px; }
  .footer-bottom { flex-direction: column; }
}

/* ===== v2 layout: full-screen snapping sections ===== */
:root { --hh: 64px; }
html { scroll-snap-type: y mandatory; }
.site-header { padding: 8px 32px; height: var(--hh); }
.brand img { height: 42px; }
.nav .nav-contact { border: 1px solid rgba(253,252,248,0.6); border-radius: 999px; padding: 11px 20px; opacity: 1; }

body > section {
  min-height: 100vh; min-height: 100svh; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--hh) + 3vh) 0 4vh; position: relative;
}
body > section > .wrap { width: 100%; }
.site-footer { scroll-snap-align: end; }
.section-more { text-align: center; margin-top: 3vh; }

/* Light text on dark backgrounds (overrides p { color: ink-soft }) */
.hero p, .page-hero p, .section-dark p, .hero .eyebrow, .page-hero .eyebrow { color: var(--cream); opacity: 1; }
.hero-lede { font-size: 18px; max-width: 60ch; margin: 0; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }

/* Hero: lighter image, tighter box */
.hero-media::after { background: linear-gradient(180deg, rgba(20,18,15,0.3) 0%, rgba(20,18,15,0.1) 30%, rgba(20,18,15,0.2) 65%, rgba(20,18,15,0.55) 100%); }
.page-hero .hero-media::after { background: linear-gradient(180deg, rgba(20,18,15,0.3) 0%, rgba(20,18,15,0.05) 35%, rgba(20,18,15,0.45) 75%, rgba(20,18,15,0.8) 100%); }
.hero .hero-content { background: rgba(20,18,15,0.42); padding: 26px 36px 26px; }
.hero .eyebrow { margin-bottom: 10px; }
.hero h1 { margin-bottom: 12px; }
.hero-sub { margin-bottom: 18px; }
.hero-rating { margin: 0 0 18px; }
.page-hero { justify-content: flex-end; }

/* Rating chips: centred column over the image */
.rating-stack { inset: 0; flex-direction: column; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 12px; }
.rating-chip { width: 270px; }
.rating-chip .plat svg, .review-foot .plat svg { width: 30px; height: 30px; display: block; }

/* Rooms scroller: compact so the section fits one screen */
.rooms-scroller { margin-top: 2vh; }
.rooms-scroller .card img { aspect-ratio: 3/2; max-height: 26vh; }
.rooms-scroller .card-body { padding: 16px 18px; }

/* Photo background section */
.section-photo { overflow: hidden; }
.section-bg { position: absolute; inset: 0; }
.section-bg img { width: 100%; height: 100%; object-fit: cover; }
.section-bg::after { content: ''; position: absolute; inset: 0; background: rgba(28,40,31,0.55); }
.section-photo > .wrap { position: relative; z-index: 1; }

/* Review carousel */
.review-carousel { margin-top: 3vh; }
.rc-viewport { overflow: hidden; margin: 0 -12px; }
.rc-track { display: flex; transition: transform 0.45s ease; }
.rc-item { flex: 0 0 33.3333%; padding: 0 12px; display: flex; }
.rc-item .review-card { display: flex; flex-direction: column; justify-content: space-between; width: 100%; }
.review-foot { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.rscore { font-weight: 700; font-size: 16px; color: var(--green); }
.rscore small { font-weight: 500; font-size: 11px; color: var(--ink-soft); }
.review-foot .who { margin-left: 4px; }
.rc-controls { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.rc-controls button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 18px; cursor: pointer; }
.rc-controls button:disabled { opacity: 0.3; cursor: default; }
.rc-count { font-size: 13px; color: var(--ink-soft); min-width: 48px; text-align: center; }
.review-strip { display: none; }

@media (max-width: 1100px) {
  .nav { gap: 20px; }
}
@media (max-width: 860px) {
  :root { --hh: 58px; }
  html { scroll-snap-type: y proximity; }
  .site-header { padding: 8px 18px; }
  .brand img { height: 38px; }
  .nav .nav-contact { border: none; padding: 0; }
  body > section { padding: calc(var(--hh) + 20px) 0 28px; }
  .hero .hero-content { padding: 20px 18px; }
  .rc-item { flex-basis: 100%; }
  .rating-chip { width: 230px; }
  .rating-chip .plat svg { width: 24px; height: 24px; }
  .note { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .particulars { gap: 12px; margin: 18px 0; padding: 16px 0; }
  .rooms-scroller .card img { max-height: 30vh; }
}
.booking-bar select option { color: var(--ink); background: var(--cream); }
.h2-wide { max-width: 28ch; }
/* Segments: tighter heading-to-row gap (match review section) */
.grid-4 { margin-top: 3vh; }
/* Rooms: button aligned with heading's last line */
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.head-row h2 { margin-bottom: 0; }
.head-row + .rooms-scroller { margin-top: 3vh; }
/* Review carousel: arrows either side of the row */
.review-carousel { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; column-gap: 20px; }
.review-carousel .rc-count { grid-column: 2; text-align: center; margin-top: 16px; font-size: 13px; color: var(--ink-soft); }
.review-carousel > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 18px; cursor: pointer; }
.review-carousel > button:disabled { opacity: 0.3; cursor: default; }
@media (max-width: 860px) {
  .review-carousel { grid-template-columns: 34px 1fr 34px; column-gap: 8px; }
  .review-carousel > button { width: 34px; height: 34px; font-size: 15px; }
  .head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
}
/* Rooms carousel: arrows either side of a scrollable row */
.room-carousel { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; column-gap: 20px; margin-top: 3vh; }
.room-carousel .rooms-scroller { margin-top: 0; scrollbar-width: none; scroll-behavior: smooth; }
.room-carousel .rooms-scroller::-webkit-scrollbar { display: none; }
.room-carousel > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 18px; cursor: pointer; }
.room-carousel > button:disabled { opacity: 0.3; cursor: default; }
/* CTA on photo */
.cta-band.section-photo .btn-outline { color: var(--cream); border-color: var(--cream); }
@media (max-width: 860px) {
  .room-carousel { grid-template-columns: 34px 1fr 34px; column-gap: 8px; }
  .room-carousel > button { width: 34px; height: 34px; font-size: 15px; }
}
/* Shared carousel */
.carousel { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; column-gap: 20px; margin-top: 3vh; }
.carousel .rc-viewport { overflow: hidden; margin: 0 -12px; }
.carousel .rc-track { display: flex; }
.carousel > button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ink); background: none; font-size: 18px; cursor: pointer; }
.room-carousel .rc-item { display: block; }
.room-carousel .card { height: 100%; }
.room-carousel .card img { aspect-ratio: 3/2; max-height: 26vh; }
.room-carousel .card-body { padding: 16px 18px; }
.room-carousel .card p:not(.eyebrow-sm) { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fine-print { font-size: 12px; text-align: center; margin: 2vh 0 0; }
@media (max-width: 860px) {
  .carousel { grid-template-columns: 34px 1fr 34px; column-gap: 8px; }
  .carousel > button { width: 34px; height: 34px; font-size: 15px; }
}
/* Header: current page */
.nav a[aria-current="page"]:not(.btn) { opacity: 1; font-weight: 700; box-shadow: inset 0 -2px 0 var(--terracotta); padding-bottom: 4px; }
.nav a.btn[aria-current="page"] { box-shadow: 0 0 0 2px var(--cream); }
.nav a.nav-contact[aria-current="page"] { background: rgba(253,252,248,0.15); }

/* CTA styled like the home hero */
.cta-hero .hero-title { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: clamp(32px, 4.6vw, 52px); line-height: 1.12; margin: 0 0 12px; max-width: none; color: var(--cream); }
.cta-hero .hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-hero .btn-outline { color: var(--cream); border-color: var(--cream); }

/* Stay: room showcase */
.room-showcase { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.rs-card { background: var(--cream); border: 1px solid var(--line); box-shadow: 0 12px 40px rgba(0,0,0,0.08); }
.rs-tabs { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.rs-tabs button { flex: 1 1 auto; background: none; border: none; border-bottom: 2px solid transparent; padding: 12px 10px; font: 600 12px var(--font-sans); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; }
.rs-tabs button.is-active { color: var(--ink); border-bottom-color: var(--terracotta); }
.rs-stage { position: relative; }
.rs-panel { display: none; }
.rs-panel.is-active { display: block; }
.rs-panel img { width: 100%; aspect-ratio: 16/10; max-height: 46vh; object-fit: cover; }
.rs-body { padding: 20px 24px 24px; }
.rs-body h3 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 26px; margin: 0 0 6px; }
.rs-body p { margin: 0 0 12px; font-size: 15px; }
.rs-body .eyebrow-sm { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--terracotta); font-weight: 600; margin-bottom: 6px; }
.rs-body .view-link { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--terracotta); }
.rs-prev, .rs-next { position: absolute; top: 23vh; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: none; background: rgba(253,252,248,0.92); font-size: 18px; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
.rs-prev { left: 14px; } .rs-next { right: 14px; }
@media (max-width: 860px) {
  .room-showcase { grid-template-columns: 1fr; gap: 20px; }
  .rs-tabs { flex-wrap: nowrap; overflow-x: auto; }
  .rs-tabs button { flex: 0 0 auto; }
  .rs-panel img { max-height: 32vh; }
  .rs-prev, .rs-next { top: 16vh; width: 36px; height: 36px; }
  .nav a[aria-current="page"]:not(.btn) { box-shadow: none; text-decoration: underline; text-decoration-color: var(--terracotta); text-underline-offset: 6px; }
}
/* Room showcase arrows: see-through, fill on hover, centred on the stage */
.rs-prev, .rs-next { top: 50%; transform: translateY(-50%); background: rgba(253,252,248,0.18); color: var(--cream); border: 1px solid rgba(253,252,248,0.7); box-shadow: none; backdrop-filter: blur(3px); text-shadow: 0 1px 4px rgba(0,0,0,0.5); transition: background 0.2s ease, color 0.2s ease; }
.rs-prev:hover, .rs-next:hover { background: var(--cream); color: var(--ink); text-shadow: none; }
.steps { margin-top: 3vh; }
@media (max-width: 860px) { .rs-prev, .rs-next { top: 50%; } }
.page-hero h1.one-line { max-width: none; white-space: nowrap; }
.hero-lede.two-line { max-width: none; }
/* Room showcase arrows: clear, chevron icon */
.rs-prev, .rs-next { display: flex; align-items: center; justify-content: center; padding: 0; width: 48px; height: 48px; background: transparent; border: none; backdrop-filter: none; color: var(--cream); filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7)); }
.rs-prev svg, .rs-next svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: block; }
.rs-prev:hover, .rs-next:hover { background: transparent; color: var(--terracotta); }
@media (max-width: 860px) { .page-hero h1.one-line { white-space: normal; } }
/* Room showcase: balanced bottom spacing, fade between rooms */
.rs-body { padding: 18px 24px; }
.rs-body p:last-child { margin-bottom: 0; }
.rs-panel.is-active { animation: rsFade 0.5s ease; }
@keyframes rsFade { from { opacity: 0.3; } to { opacity: 1; } }
/* Licence line */
.hero .licence { font-size: 11px; letter-spacing: 0.06em; margin: 14px 0 0; opacity: 0.8; }
/* Location: directions + map */
.directions { align-items: stretch; gap: 48px; }
.directions .lede { font-size: 16px; }
.route { border-top: 1px solid var(--line); padding: 12px 0; }
.route .tag { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); font-weight: 700; }
.route p { margin: 4px 0; font-size: 14px; }
.route a { font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--terracotta); }
.facts-4 { grid-template-columns: repeat(4, 1fr); margin-top: 20px; gap: 12px; }
.facts-4 .num { font-size: 26px; }
.map-frame { border: 1px solid var(--line); min-height: 420px; }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
/* Etiquette */
.etiquette-intro { font-size: 16px; max-width: 90ch; }
.notes-2 { grid-template-columns: 1fr 1fr; column-gap: 48px; row-gap: 0; margin-top: 2vh; }
.notes-2 .note { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; border-top: 1px solid var(--line); }
.notes-2 .note:first-child { padding-top: 16px; border-top: 1px solid var(--line); }
.notes-2 .note p { font-size: 14px; }
@media (max-width: 860px) {
  .notes-2 { grid-template-columns: 1fr; }
  .facts-4 { grid-template-columns: repeat(2, 1fr); }
  .map-frame, .map-frame iframe { min-height: 300px; }
}
/* Sub-page heroes: text block inset from the left edge */
.page-hero .hero-content { padding-left: clamp(24px, 5.2vw, 100px); padding-right: clamp(24px, 5.2vw, 100px); }
/* Scrolling: gentle snap so the scrollbar and wheel both work freely */
html { scroll-snap-type: y proximity; }
body > section { min-height: 100vh; }

/* Home hero slideshow */
.hero-slides img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slides img.is-active { opacity: 1; }

/* Location: directions + map, compact */
.directions { align-items: center; }
.directions h2 { margin-bottom: 12px; }
.directions .lede { margin-bottom: 12px; }
.route { padding: 10px 0; }
.map-col { display: flex; flex-direction: column; gap: 16px; }
.map-frame, .map-frame iframe { min-height: 0; height: 46vh; }
.map-col .facts-4 { margin-top: 0; }
.map-col .facts-4 .num { font-size: 24px; }

/* Etiquette: icon cards in four columns */
.notes-icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 3vh; }
.notes-icons .note { display: block; padding: 0; border: none; }
.notes-icons .note:first-child { padding-top: 0; border: none; }
.note-icon { display: block; width: 52px; height: 52px; color: var(--green); margin-bottom: 12px; }
.note-icon svg { width: 100%; height: 100%; display: block; }
.notes-icons .tag { display: block; margin-bottom: 6px; }
.notes-icons .note p { font-size: 14px; line-height: 1.5; }
@media (max-width: 1100px) { .notes-icons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 860px) {
  .notes-icons { grid-template-columns: 1fr; gap: 16px; }
  .notes-icons .note { display: grid; grid-template-columns: 40px 1fr; column-gap: 12px; }
  .note-icon { width: 40px; height: 40px; grid-row: span 2; }
  .map-frame, .map-frame iframe { height: 34vh; }
}
/* Hero slide tracker */
.slide-dots { position: absolute; right: clamp(20px, 3vw, 48px); bottom: clamp(20px, 3vh, 36px); z-index: 3; display: flex; gap: 10px; }
.slide-dots button { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 1px solid rgba(253,252,248,0.9); background: transparent; cursor: pointer; transition: width 0.3s ease, background 0.3s ease; }
.slide-dots button.is-active { width: 28px; background: var(--cream); }
.one-line-h2 { max-width: none; white-space: nowrap; }
@media (max-width: 860px) { .one-line-h2 { white-space: normal; } }
/* Location FAQ: question list + answer panel with photo */
.faq-tabs { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; margin-top: 3vh; align-items: start; }
.faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-list button { text-align: left; background: none; border: none; border-bottom: 1px solid var(--line); padding: 11px 4px; font: 500 15px var(--font-sans); color: var(--ink); cursor: pointer; }
.faq-list button:hover { color: var(--terracotta); }
.faq-list button.is-active { color: var(--terracotta); font-weight: 700; }
.faq-panel { display: none; background: var(--cream); border: 1px solid var(--line); }
.faq-panel.is-active { display: block; animation: rsFade 0.4s ease; }
.faq-panel img { width: 100%; height: 30vh; object-fit: cover; }
.faq-answer { padding: 20px 24px; }
.faq-answer h3 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 24px; margin: 0 0 8px; }
.faq-answer p { margin: 0; font-size: 15px; }
@media (max-width: 860px) {
  .faq-tabs { grid-template-columns: 1fr; gap: 16px; }
  .faq-list { flex-direction: row; overflow-x: auto; border: none; gap: 8px; }
  .faq-list button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 13px; }
  .faq-panel img { height: 22vh; }
}
/* Scrolling is handled in app.js (one section per wheel step), so no CSS snapping */
html { scroll-snap-type: none; scroll-behavior: auto; }

/* Location: static map */
.map-static { position: relative; display: block; height: 46vh; overflow: hidden; }
.map-static img { width: 100%; height: 100%; object-fit: cover; }
.map-credit { position: absolute; right: 0; bottom: 0; background: rgba(255,255,255,0.8); font-size: 10px; padding: 2px 6px; color: #333; }
.map-frame { height: auto; min-height: 0; }

/* FAQ: same-height answer boxes, scrolling question list */
.faq-tabs { align-items: stretch; }
.faq-list, .faq-panels { height: min(56vh, 480px); }
.faq-list { overflow-y: auto; scrollbar-width: thin; }
.faq-panel { height: 100%; flex-direction: column; }
.faq-panel.is-active { display: flex; }
.faq-panel img { height: 55%; flex: none; }
.faq-answer { flex: 1; overflow: auto; }
@media (max-width: 860px) {
  .faq-list { height: auto; }
  .faq-panels { height: 52vh; }
  .map-static { height: 34vh; }
}
/* Cards contrast with their section: stone cards on cream sections, cream cards on stone sections */
body > section:not(.section-alt):not(.section-dark):not(.hero):not(.page-hero) .card,
body > section:not(.section-alt):not(.section-dark):not(.hero):not(.page-hero) .review-card,
body > section:not(.section-alt):not(.section-dark):not(.hero):not(.page-hero) .rs-card,
body > section:not(.section-alt):not(.section-dark):not(.hero):not(.page-hero) .segment,
body > section:not(.section-alt):not(.section-dark):not(.hero):not(.page-hero) .icon-cell { background: var(--stone); }
.section-alt .card, .section-alt .review-card, .section-alt .rs-card, .section-alt .segment, .section-alt .icon-cell, .section-alt .faq-panel { background: var(--cream); }
/* FAQ answer area: heading + 3 lines, photo takes the rest */
.faq-answer { flex: none; height: 148px; overflow: hidden; padding: 16px 22px; }
.faq-answer h3 { font-size: 22px; line-height: 1.2; margin-bottom: 6px; }
.faq-answer p { font-size: 15px; line-height: 1.55; }
.faq-panel img { height: auto; flex: 1; min-height: 0; }
/* Click-to-load map */
.map-static .map-load { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); background: var(--cream); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 20px; font: 600 12px var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
.map-static .map-load:hover { background: var(--terracotta); color: var(--cream); border-color: var(--terracotta); }
.map-static iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Day-trip photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; height: min(60vh, 560px); margin-top: 3vh; }
.mosaic-tile { position: relative; margin: 0; overflow: hidden; border-radius: 4px; }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.mosaic-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,15,0) 35%, rgba(20,18,15,0.78) 100%); }
.mosaic-tile figcaption { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--cream); }
.mosaic-tile strong { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 22px; line-height: 1.15; }
.m-time { display: inline-block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; background: var(--terracotta); padding: 2px 8px; border-radius: 999px; margin-bottom: 6px; }
.m-desc { display: block; font-size: 13px; max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.4s ease, opacity 0.4s ease; }
.mosaic-tile:hover img { transform: scale(1.05); }
.mosaic-tile:hover .m-desc { max-height: 60px; opacity: 1; margin-top: 4px; }
.t1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.t2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.t3 { grid-column: 5 / 7; grid-row: 1 / 3; }
.t4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.t5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.t6 { grid-column: 1 / 3; grid-row: 3 / 4; }
.t7 { grid-column: 3 / 5; grid-row: 3 / 4; }
.t8 { grid-column: 5 / 7; grid-row: 3 / 4; }
.t4 strong, .t5 strong { font-size: 18px; }
@media (max-width: 860px) {
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: none; grid-auto-rows: 22vh; height: auto; }
  .mosaic-tile { grid-column: auto !important; grid-row: auto !important; }
  .m-desc { max-height: none; opacity: 1; }
}
.hero .licence { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.hero .licence span + span { opacity: 0.85; }
.rating-chip .plat img, .review-foot .plat img { width: 30px; height: 30px; display: block; border-radius: 5px; }
.rating-chip .score { white-space: nowrap; }
.rating-title { margin: 0 0 2px; color: var(--cream); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-shadow: 0 1px 8px rgba(0,0,0,0.8); }
/* Book & Contact: readable text panel on the photo */
.book-intro { background: rgba(20,18,15,0.55); backdrop-filter: blur(4px); border-radius: 12px; padding: 28px 32px; }
.book-intro .eyebrow, .book-intro h1, .book-intro .hero-sub { text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.book-intro .hero-sub { font-size: 17px; margin: 0 0 12px; }
.book-intro .hero-sub.small { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; margin: 0; opacity: 0.9; }
.book-intro a { color: var(--cream); }

/* "Read guest reviews" label */
.rating-title { background: rgba(20,18,15,0.7); padding: 6px 14px; border-radius: 999px; text-shadow: none; }

/* Booking flow */
.booking-flow { position: relative; }
.bf-progress { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 18px; counter-reset: s; }
.bf-progress li { flex: 1; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-soft); padding-top: 8px; border-top: 3px solid var(--line); counter-increment: s; }
.bf-progress li::before { content: counter(s) '. '; }
.bf-progress li.is-active { color: var(--ink); border-top-color: var(--terracotta); }
.bf-progress li.is-done { color: var(--green); border-top-color: var(--green); }
.bf-step { display: none; }
.bf-step.is-active { display: block; animation: rsFade 0.3s ease; }
.bf-summary { background: var(--stone); border: 1px solid var(--line); border-radius: 4px; padding: 12px 14px; margin: 0 0 14px; font-size: 14px; }
.bf-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.bf-summary .bf-total { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 8px; font-weight: 700; color: var(--ink); }
.bf-ok { color: var(--green); font-weight: 700; margin: 0 0 6px; }
.bf-note { margin: 0; font-size: 13px; }
.bf-nav { display: flex; gap: 12px; }
.bf-nav .btn { flex: 1; text-align: center; }
.bf-nav .btn-outline { color: var(--ink); border-color: var(--ink); }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.bf-pay { border: 1px solid var(--line); border-radius: 4px; padding: 10px 14px; margin: 0 0 12px; }
.bf-pay legend { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; padding: 0 6px; }
.bf-pay label, .bf-terms { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: normal; font-weight: 500; font-size: 14px; margin: 6px 0; }
.bf-pay input, .bf-terms input { width: auto; }
.bf-pay small { color: var(--ink-soft); font-weight: 400; }
.bf-terms { margin-bottom: 14px; }
.bf-done h3 { font-family: var(--font-serif); font-style: italic; font-weight: 500; font-size: 26px; margin: 0 0 10px; }
.bf-done .bf-note { background: var(--stone); border: 1px dashed var(--line); padding: 10px 12px; margin-top: 12px; }
.bf-help { font-size: 12px; text-align: center; margin: 14px 0 0; color: var(--ink-soft); }
.bf-help a { color: var(--terracotta); }
@media (max-width: 860px) { .book-intro { padding: 20px; } }
/* Carousel arrows: clean chevrons, centred */
.carousel > button { display: flex; align-items: center; justify-content: center; padding: 0; width: 44px; height: 44px; border: none; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; transition: background 0.2s ease, color 0.2s ease; }
.carousel > button svg { width: 28px; height: 28px; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.carousel > button:hover { background: var(--terracotta); color: var(--cream); }
.section-dark .carousel > button { color: var(--cream); }
@media (max-width: 860px) { .carousel > button { width: 34px; height: 34px; } .carousel > button svg { width: 22px; height: 22px; } }
/* Carousel: keep card top borders visible (viewport clipped them at fractional offsets) */
.rc-viewport, .carousel .rc-viewport { padding: 1px 0; }
/* Room tabs: hover highlight */
.rs-tabs button { transition: color .2s, border-color .2s, background-color .2s; }
.rs-tabs button:hover { color: var(--ink); border-bottom-color: rgba(192,102,59,.5); background: rgba(192,102,59,.06); }
/* Desktop proportional scaling: html is zoomed by --z (set in <head>); keep full-screen blocks full-screen */
:root { --z: 1; }
body > section, .hero, .page-hero { min-height: calc(100vh / var(--z)); }

/* ===== Mobile (≤ 860px): natural-height sections, swipe carousels, accordion FAQ ===== */
.header-book { display: none; }
@media (max-width: 860px) {
  body > section { min-height: 0; justify-content: flex-start; padding: calc(var(--hh) + 28px) 0 40px; }
  body > section.hero, body > section.page-hero { min-height: 100svh; }
  body > section > .wrap > *, .split > *, .faq-tabs > * { min-width: 0; }
  .wrap { padding: 0 16px; }
  /* header: logo, Book, menu */
  .site-header { padding: 8px 16px; }
  .header-book { display: inline-flex; margin-left: auto; margin-right: 14px; padding: 9px 16px; font-size: 12px; }
  .nav .lang { margin-top: 12px; }
  /* heroes */
  .hero .hero-content, .page-hero .hero-content { text-align: center; }
  .hero-title, .page-hero h1, .book-intro h1 { font-size: 34px; }
  .hero-lede.two-line br, .hero-sub br { display: none; }
  .slide-dots { left: 50%; right: auto; transform: translateX(-50%); bottom: 16px !important; top: auto !important; }
  .licence { flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
  /* carousels: one card with a peek of the next, swipe instead of arrows */
  .carousel { grid-template-columns: 1fr; column-gap: 0; }
  .carousel > button { display: none; }
  .carousel .rc-viewport { margin: 0 -6px; padding: 1px 0; }
  .rc-item, .carousel .rc-item { flex-basis: 86%; padding: 0 6px; }
  .room-carousel .card img, .rooms-scroller .card img { max-height: none; }
  /* room showcase */
  .rs-tabs { scrollbar-width: none; }
  .rs-tabs::-webkit-scrollbar { display: none; }
  .rs-panel img { max-height: none; aspect-ratio: 4/3; }
  .rs-prev, .rs-next { width: 40px; height: 40px; }
  /* grids */
  .grid-3, .grid-4, .notes-2 { display: grid; grid-auto-flow: row; grid-template-columns: 1fr; grid-auto-columns: auto; overflow: visible; gap: 12px; }
  .grid-3 > *, .grid-4 > * { border: 1px solid var(--line); }
  .notes-icons { grid-template-columns: 1fr 1fr; gap: 14px; }
  .mosaic { grid-auto-rows: 30vw; }
  .one-line-h2, .page-hero h1.one-line { white-space: normal; }
  /* FAQ: accordion */
  .faq-tabs { display: block; }
  .faq-panels { display: none; }
  .faq-list { flex-direction: column; height: auto; overflow: visible; border-top: 1px solid var(--line); gap: 0; }
  .faq-list button { border: none; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 28px 14px 2px; font-size: 15px; white-space: normal; position: relative; }
  .faq-list button::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--terracotta); }
  .faq-list button.is-active::after { content: '\2212'; }
  .faq-acc { display: none; padding: 4px 2px 16px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .faq-acc.is-open { display: block; }
  .faq-acc p { margin: 0; }
  .map-static { height: 60vw; }
  /* forms: big targets, 16px text so iPhones do not zoom */
  input, select, textarea { font-size: 16px !important; min-height: 44px; }
  .book-form .row { grid-template-columns: 1fr; }
  .bf-nav { flex-direction: column-reverse; gap: 10px; }
  .bf-nav .btn { width: 100%; }
  /* home booking bar collapses to one button */
  .booking-bar.is-collapsed .field { display: none; }
  .booking-bar .btn { width: 100%; }
  /* footer */
  .footer-grid { gap: 24px; }
  .footer-bottom { text-align: center; gap: 8px; }
}

/* El Olivo: sofa-bed tag overlaid on the photo (no change to card height) */
.sofa-card { position: relative; }
.sofa-tag { position: absolute; top: 12px; left: 12px; z-index: 1; background: rgba(47,70,53,0.92); color: var(--cream); font: 600 11px var(--font-sans); letter-spacing: 0.04em; padding: 6px 10px; border-radius: 999px; }
/* Home hero: a little wider so the guest selector fits "15 (+€65 sofa bed)" */
@media (min-width: 861px) { .hero .hero-content { max-width: 860px; } .booking-bar .field:nth-child(3) { flex: 1.3; } }

/* Rooms: two photos per room, framed by the card/section colour */
.room-photos, .rs-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; }
.room-photos { aspect-ratio: 3/2; max-height: 26vh; }
.rs-photos { aspect-ratio: 16/10; max-height: 46vh; }
.card .room-photos img, .room-carousel .card .room-photos img, .rs-panel .rs-photos img { width: 100%; height: 100%; min-height: 0; aspect-ratio: auto; max-height: none; object-fit: cover; }
.hero-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--night); }
.hero-duo { grid-template-rows: 100%; overflow: hidden; }
.hero-duo img { min-width: 0; min-height: 0; height: 100%; }
.sofa-tag { left: auto; right: 14px; top: 14px; }
@media (max-width: 860px) {
  .room-photos { max-height: none; }
  .rs-photos { max-height: none; aspect-ratio: 4/3; }
}
/* "Scroll to see our rooms" hint: centred on the photos, hidden once the rooms move or the page scrolls */
.has-hint { position: relative; }
.scroll-hint { position: absolute; z-index: 4; top: 40%; left: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 12px;
  background: var(--terracotta); color: #fff; font: 600 13px var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap;
  padding: 12px 20px; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,0.25); pointer-events: none; transition: opacity 0.4s ease; }
.scroll-hint svg { width: 30px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.scroll-hint.is-hidden { opacity: 0; }
@media (max-width: 860px) {
  .scroll-hint { font-size: 11px; padding: 10px 16px; }
}

/* Firefox: keep full width when max-height caps an aspect-ratio box */
.room-photos, .rs-photos { width: 100%; box-sizing: border-box; }
/* Room tabs: active tab filled terracotta */
.rs-tabs button.is-active, .rs-tabs button.is-active:hover { background: var(--terracotta); color: var(--cream); border-bottom-color: var(--terracotta); }
/* Equal visual space above and below card text (offsets the photo frame and line spacing) */
.rs-body { padding-top: 14px; padding-bottom: 20px; }
.room-carousel .rc-item { display: flex; }
.room-carousel .card { display: flex; flex-direction: column; width: 100%; }
.room-carousel .card-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-top: 18px; padding-bottom: 14px; }
.room-carousel .room-photos + .card-body { padding-top: 10px; padding-bottom: 16px; }
.room-carousel .card-body > :last-child { margin-bottom: 0; }
.room-carousel .card-body .view-link { align-self: flex-start; }
/* Page scrollbar: thin, site green (Chrome 121+ and Firefox) */
html { scrollbar-width: thin; scrollbar-color: rgba(47,70,53,0.45) transparent; }
/* Stay hero: lighter overlay so the sunset shows through */
.stay-hero .hero-media::after { background: linear-gradient(180deg, rgba(20,18,15,0.15) 0%, rgba(20,18,15,0) 35%, rgba(20,18,15,0.3) 75%, rgba(20,18,15,0.62) 100%); }
/* Booking form: readable helper text on the light card (was inheriting the hero's cream text) */
.book-form.booking-flow p, .book-form.booking-flow .bf-summary, .book-form.booking-flow .bf-note { color: var(--ink-soft); }
.book-form.booking-flow .bf-help { color: var(--ink-soft); }
.book-form.booking-flow .bf-help a { color: var(--terracotta); }
.book-form.booking-flow .btn:disabled { opacity: 0.75; }

/* Legal pages */
body > section.legal-page { min-height: 0; display: block; padding: calc(var(--hh) + 56px) 0 72px; }
.legal-wrap { max-width: 820px; }
.legal-page h2 { max-width: none; margin-bottom: 6px; }
.legal-page h3 { font: 600 13px var(--font-sans); letter-spacing: 0.06em; text-transform: uppercase; color: var(--terracotta); margin: 28px 0 8px; }
.legal-page p, .legal-page li { font-size: 15px; line-height: 1.65; color: var(--ink); }
.legal-page ul { padding-left: 20px; }
.legal-meta { font-size: 13px !important; color: var(--ink-soft) !important; margin-bottom: 20px; }
.legal-page a { color: var(--terracotta); }
.legal-sep { border: none; border-top: 1px solid var(--line); margin: 56px 0 40px; }
.footer-legal a { color: inherit; opacity: 0.85; }
/* Booking form: terms link, key terms, amount due now */
.bf-terms-note { font-size: 13px; margin: 4px 0 12px; }
.bf-terms-note a, .bf-terms a { color: var(--terracotta); }
.bf-key { list-style: none; margin: 0 0 12px; padding: 10px 14px; background: var(--stone); border: 1px solid var(--line); border-radius: 4px; font-size: 13px; line-height: 1.5; color: var(--ink-soft); }
.bf-key li + li { margin-top: 4px; }
.bf-key strong { color: var(--ink); }
.bf-summary .bf-due { font-weight: 600; color: var(--terracotta); }
/* Step 3: compact so it fits one screen; acceptance line in normal case */
.book-form .bf-terms, .book-form .bf-pay label { text-transform: none; letter-spacing: normal; font-weight: 500; font-size: 13px; margin: 4px 0; }
.book-form .bf-terms { margin: 0 0 12px; }
@media (min-width: 861px) {
  .bf-pay { display: flex; flex-wrap: wrap; column-gap: 24px; padding: 6px 14px 8px; margin-bottom: 10px; }
  .bf-pay legend { width: 100%; }
  .bf-key { padding: 8px 12px; margin-bottom: 10px; font-size: 12px; line-height: 1.45; }
  .bf-key li + li { margin-top: 2px; }
  #bf-review { margin-bottom: 10px; padding: 8px 12px; }
}
@media (min-width: 861px) {
  body > section.book-hero { padding-top: calc(var(--hh) + 14px); padding-bottom: 14px; }
  .book-hero .book-form { padding: 22px 26px; }
}
@media (min-width: 861px) {
  .book-hero .book-form { padding: 16px 26px; }
  .book-hero .bf-progress { margin-bottom: 12px; }
  .book-hero .bf-help { margin-top: 8px; }
}
@media (min-width: 861px) {
  .book-hero .bf-summary { font-size: 13px; padding: 8px 12px; margin-bottom: 10px; line-height: 1.35; }
  .book-hero .bf-summary > div { padding: 1px 0; }
  .book-hero .bf-summary .bf-ok { margin: 0 0 4px; }
  .book-hero .bf-summary .bf-total { margin-top: 4px; padding-top: 5px; }
}

/* Booking form: country code + phone number */
.bf-phone { display: flex; gap: 8px; }
.bf-phone select { flex: 0 0 104px; width: 104px; padding-left: 8px; padding-right: 4px; }
.bf-phone input { flex: 1; min-width: 0; }

/* Escapada Rural note on the Terms page (remove with the Escapada Rural handoff) */
.legal-note { background: var(--sand, #f3ece2); border-left: 3px solid var(--terracotta); padding: 12px 16px; margin: 16px 0; }

/* Contact form result message */
.cf-status { margin: 10px 0 0; font-size: 14px; min-height: 1.2em; }
.cf-status.is-ok { color: var(--green, #4f6b3a); }
.cf-status.is-error { color: var(--terracotta); }
