/* ============================================================
   Tyddyn Eglwys — Design Tokens & Styles
   ============================================================ */

/* --- Type Scale (fluid) --- */
:root {
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* --- Spacing (4px base) --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* --- Radius --- */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* --- Transitions --- */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);

  /* --- Content Widths --- */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
  --content-full: 100%;

  /* --- Fonts --- */
  --font-display: 'Erode', 'Georgia', serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;
}

/* ============================================================
   COLOR PALETTE — Welsh Stone & Landscape
   ============================================================ */
:root, [data-theme="light"] {
  --color-bg:             #f5f1eb;
  --color-surface:        #faf7f2;
  --color-surface-2:      #ffffff;
  --color-surface-offset: #ede8e0;
  --color-surface-dynamic: #e5dfd6;
  --color-divider:        #d8d0c5;
  --color-border:         #cec5b8;

  --color-text:           #2a2520;
  --color-text-muted:     #6b6259;
  --color-text-faint:     #a49a8e;
  --color-text-inverse:   #faf7f2;

  --color-primary:        #2d5a3d;
  --color-primary-hover:  #1e4530;
  --color-primary-active: #153624;
  --color-primary-highlight: #d4e4d8;

  --color-accent:         #a0724e;
  --color-accent-hover:   #8a6041;
  --color-accent-active:  #6e4d34;

  --color-error:          #a13544;
  --color-success:        #437a22;

  --shadow-sm: 0 1px 2px oklch(0.2 0.02 60 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.02 60 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.02 60 / 0.12);
}

/* --- DARK MODE --- */
[data-theme="dark"] {
  --color-bg:             #1a1815;
  --color-surface:        #211f1b;
  --color-surface-2:      #292621;
  --color-surface-offset: #1e1c18;
  --color-surface-dynamic: #302d28;
  --color-divider:        #3a3630;
  --color-border:         #4a453d;

  --color-text:           #d8d2c9;
  --color-text-muted:     #948b7f;
  --color-text-faint:     #6b6259;
  --color-text-inverse:   #1a1815;

  --color-primary:        #5a9a6d;
  --color-primary-hover:  #6fb383;
  --color-primary-active: #4a8a5d;
  --color-primary-highlight: #2a3a2e;

  --color-accent:         #c99a72;
  --color-accent-hover:   #ddb08a;
  --color-accent-active:  #b38562;

  --color-error:          #dd6974;
  --color-success:        #6daa45;

  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --color-bg:             #1a1815;
    --color-surface:        #211f1b;
    --color-surface-2:      #292621;
    --color-surface-offset: #1e1c18;
    --color-surface-dynamic: #302d28;
    --color-divider:        #3a3630;
    --color-border:         #4a453d;
    --color-text:           #d8d2c9;
    --color-text-muted:     #948b7f;
    --color-text-faint:     #6b6259;
    --color-text-inverse:   #1a1815;
    --color-primary:        #5a9a6d;
    --color-primary-hover:  #6fb383;
    --color-primary-active: #4a8a5d;
    --color-primary-highlight: #2a3a2e;
    --color-accent:         #c99a72;
    --color-accent-hover:   #ddb08a;
    --color-accent-active:  #b38562;
    --color-error:          #dd6974;
    --color-success:        #6daa45;
    --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.25);
    --shadow-md: 0 4px 12px oklch(0 0 0 / 0.35);
    --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.45);
  }
}

/* ============================================================
   GLOBAL HELPERS
   ============================================================ */
.container {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .container { padding-inline: var(--space-8); }
}

.section-padding {
  padding-block: clamp(var(--space-12), 8vw, var(--space-32));
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) 0;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
}
.site-header:not(.scrolled) .nav-desktop a,
.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .logo,
.site-header:not(.scrolled) .theme-toggle,
.site-header:not(.scrolled) .hamburger span {
  color: #fff;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 0 16px rgba(0,0,0,0.35);
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.site-header.scrolled {
  background: oklch(from var(--color-bg) l c h / 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-sm);
  padding: var(--space-3) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: var(--space-4);
}
@media (min-width: 768px) {
  .header-inner { padding-inline: var(--space-8); }
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: var(--color-text);
}

.logo-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: var(--space-6);
}
@media (min-width: 768px) {
  .nav-desktop { display: flex; }
}

.nav-desktop a {
  font-size: var(--text-sm);
  font-weight: 450;
  color: var(--color-text-muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--color-primary);
  transition: width 0.3s ease;
}
.nav-desktop a:hover { color: var(--color-text); }
.nav-desktop a:hover::after { width: 100%; }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.theme-toggle:hover { color: var(--color-text); background: var(--color-surface-dynamic); }

.hamburger {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: var(--radius-full);
}
.hamburger:hover { background: var(--color-surface-dynamic); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 768px) {
  .hamburger { display: none; }
}

/* Mobile Nav */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: oklch(from var(--color-bg) l c h / 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.mobile-nav.active {
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  text-decoration: none;
  font-weight: 400;
}
.mobile-nav a:hover { color: var(--color-primary); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      oklch(0.12 0.02 60 / 0.6) 0%,
      oklch(0.12 0.02 60 / 0.15) 18%,
      transparent 30%
    ),
    linear-gradient(
      to top,
      oklch(0.12 0.02 60 / 0.85) 0%,
      oklch(0.12 0.02 60 / 0.55) 40%,
      oklch(0.12 0.02 60 / 0.3) 70%,
      oklch(0.12 0.02 60 / 0.15) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding: var(--space-16) var(--space-4) var(--space-16);
  width: 100%;
}
@media (min-width: 768px) {
  .hero-content { padding: var(--space-20) var(--space-8) var(--space-20); }
}

.hero-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.hero-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 400;
  color: #faf7f2;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-4);
  max-width: 14ch;
}

.hero-tagline {
  font-size: var(--text-lg);
  color: rgba(250, 247, 242, 0.8);
  font-weight: 300;
  max-width: 38ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-primary:active {
  background: var(--color-primary-active);
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: transparent;
  color: var(--color-primary);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1.5px solid var(--color-primary);
  cursor: pointer;
}
.btn-secondary:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  margin-bottom: clamp(var(--space-8), 4vw, var(--space-16));
}

.section-label {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}
.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  max-width: 55ch;
  line-height: 1.7;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-grid {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-16));
}
@media (min-width: 768px) {
  .about-grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
  line-height: 1.75;
}

.about-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-top: var(--space-8);
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.about-fact {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.about-fact-number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-primary);
  font-weight: 400;
}

.about-fact-label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   GALLERY — Filters
   ============================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-bottom: var(--space-8);
  padding: 0 var(--space-2);
}
@media (max-width: 600px) {
  .gallery-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: var(--space-2);
    scrollbar-width: none;
  }
  .gallery-filters::-webkit-scrollbar { display: none; }
}

.filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 450;
  letter-spacing: 0.01em;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.filter-btn:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}
.filter-btn.active {
  background: #2d5a3d;
  border-color: #2d5a3d;
  color: #fff;
}
.filter-btn .filter-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.4em;
  height: 1.4em;
  padding: 0 0.35em;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.2);
  font-size: 0.75em;
  font-weight: 600;
  line-height: 1;
}
.filter-btn:not(.active) .filter-count {
  background: var(--color-border);
  color: var(--color-text-muted);
}

/* Dark mode adjustments for filters */
[data-theme="dark"] .filter-btn {
  border-color: rgba(255,255,255,0.15);
}
[data-theme="dark"] .filter-btn:not(.active) .filter-count {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}

/* ============================================================
   GALLERY — Grid
   ============================================================ */
.gallery-grid {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
}
@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
  }
}

/* Visual variety: tall items span 2 rows, wide items span 2 columns */
@media (min-width: 768px) {
  .gallery-item--tall { grid-row: span 2; }
  .gallery-item--wide { grid-column: span 2; }
}

/* ============================================================
   GALLERY — Items
   ============================================================ */
.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  /* Filter animation */
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.gallery-item.gallery-hidden {
  opacity: 0;
  transform: scale(0.95);
  pointer-events: none;
  position: absolute;
  visibility: hidden;
  width: 0;
  height: 0;
  overflow: hidden;
}

.gallery-item.gallery-visible {
  opacity: 1;
  transform: scale(1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.1 0 0 / 0.3) 0%, transparent 40%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-item-label {
  position: absolute;
  bottom: var(--space-4);
  left: var(--space-4);
  z-index: 2;
  font-size: var(--text-xs);
  color: #faf7f2;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.gallery-item:hover .gallery-item-label {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   AMENITIES
   ============================================================ */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
}
@media (min-width: 600px) {
  .amenities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
}

.amenity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-6) var(--space-4);
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-divider);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.amenity-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.amenity-icon {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}

.amenity-name {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

/* ============================================================
   LOCAL AREA
   ============================================================ */
.local-area-grid {
  display: grid;
  gap: clamp(var(--space-6), 3vw, var(--space-12));
}
@media (min-width: 768px) {
  .local-area-grid { grid-template-columns: 1fr 1fr; }
}

.attraction-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
}

.attraction-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.attraction-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.attraction-card:hover .attraction-card-image img {
  transform: scale(1.04);
}

.attraction-card-body {
  padding: var(--space-6);
}

.attraction-card-body h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  font-weight: 400;
}

.attraction-card-body p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.attraction-distance {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 500;
  margin-top: var(--space-3);
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
}

.local-text-list {
  margin-top: clamp(var(--space-8), 4vw, var(--space-12));
}

.local-text-list h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-4);
  font-weight: 400;
}

.local-text-items {
  display: grid;
  gap: var(--space-3);
}
@media (min-width: 600px) {
  .local-text-items { grid-template-columns: 1fr 1fr; }
}

.local-text-item {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  padding: var(--space-4);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
}

.local-text-item-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.local-text-item-content h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
}

.local-text-item-content p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ============================================================
   BOOKING
   ============================================================ */
.booking-layout {
  display: grid;
  gap: clamp(var(--space-8), 4vw, var(--space-12));
}
@media (min-width: 900px) {
  .booking-layout { grid-template-columns: 1fr 400px; align-items: start; }
}

/* Calendar */
.calendar-container {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  padding: var(--space-6);
  overflow: hidden;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-6);
}

.calendar-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
}

.calendar-nav {
  display: flex;
  gap: var(--space-2);
}

.calendar-nav button {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
}
.calendar-nav button:hover {
  color: var(--color-text);
  background: var(--color-surface-dynamic);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.calendar-weekday {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-2) 0;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  color: var(--color-text);
  font-weight: 400;
}

.calendar-day:hover:not(.disabled):not(.empty) {
  background: var(--color-primary-highlight);
}

.calendar-day.empty { cursor: default; }
.calendar-day.disabled {
  color: var(--color-text-faint);
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.5;
}

.calendar-day.today {
  font-weight: 600;
  color: var(--color-primary);
}

.calendar-day.selected-start,
.calendar-day.selected-end {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  font-weight: 600;
  border-radius: var(--radius-md);
}

.calendar-day.in-range {
  background: var(--color-primary-highlight);
  border-radius: 0;
}

.calendar-day.selected-start { border-radius: var(--radius-md) 0 0 var(--radius-md); }
.calendar-day.selected-end { border-radius: 0 var(--radius-md) var(--radius-md) 0; }

.calendar-day.selected-start.selected-end {
  border-radius: var(--radius-md);
}

.calendar-legend {
  display: flex;
  gap: var(--space-6);
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-divider);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
}

.legend-dot.available { background: var(--color-primary-highlight); }
.legend-dot.unavailable { background: var(--color-divider); }
.legend-dot.selected { background: var(--color-primary); }

/* Booking Summary */
.booking-summary {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-divider);
  padding: var(--space-6);
  position: sticky;
  top: 100px;
}

.booking-summary h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  margin-bottom: var(--space-6);
  font-weight: 400;
}

.price-display {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
}

.price-amount {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-text);
  font-weight: 400;
}

.price-unit {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.date-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.date-input-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.date-input-group label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}

.date-input-group .date-value {
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--color-bg);
  min-height: 44px;
  display: flex;
  align-items: center;
  color: var(--color-text);
}

.date-value.placeholder {
  color: var(--color-text-faint);
}

/* Guest selector */
.guest-selector {
  margin-bottom: var(--space-6);
}

.guest-selector label {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  display: block;
  margin-bottom: var(--space-1);
}

.guest-counter {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg);
}

.guest-counter button {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  font-size: var(--text-lg);
  color: var(--color-text);
}
.guest-counter button:hover {
  background: var(--color-surface-dynamic);
}
.guest-counter button:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.guest-counter .guest-count {
  flex: 1;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 500;
}

/* Price breakdown */
.price-breakdown {
  margin-bottom: var(--space-6);
}

.price-line {
  display: flex;
  justify-content: space-between;
  padding: var(--space-2) 0;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.price-total {
  display: flex;
  justify-content: space-between;
  padding-top: var(--space-4);
  margin-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
}

.book-now-btn {
  width: 100%;
  padding: var(--space-4);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}
.book-now-btn:hover {
  background: var(--color-primary-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.book-now-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ============================================================
   BOOKING MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: oklch(0.1 0 0 / 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-8);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
}
.modal-close:hover { background: var(--color-surface-dynamic); color: var(--color-text); }

.modal h2 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  margin-bottom: var(--space-2);
}

.modal-subtitle {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.form-group {
  margin-bottom: var(--space-4);
}

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  background: var(--color-bg);
  color: var(--color-text);
  min-height: 44px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px oklch(from var(--color-primary) l c h / 0.15);
}

.form-group textarea { min-height: 80px; resize: vertical; }

.modal-summary {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
}

.modal-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding: var(--space-1) 0;
  color: var(--color-text-muted);
}

.modal-summary-total {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: var(--text-base);
  padding-top: var(--space-2);
  margin-top: var(--space-2);
  border-top: 1px solid var(--color-divider);
  color: var(--color-text);
}

.stripe-btn {
  width: 100%;
  padding: var(--space-4);
  background: #635BFF;
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
}
.stripe-btn:hover { background: #5046e5; }

.stripe-demo-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  margin-top: var(--space-3);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: oklch(0.05 0 0 / 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  cursor: zoom-out;
}
.lightbox.active { opacity: 1; pointer-events: auto; }

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.active img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #faf7f2;
  border-radius: var(--radius-full);
  font-size: var(--text-lg);
  cursor: pointer;
  z-index: 2;
}
.lightbox-close:hover { background: oklch(1 0 0 / 0.1); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  line-height: 1.7;
  max-width: 32ch;
}

.footer-col h4 {
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
}
.footer-col a:hover { color: var(--color-primary); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-8);
  margin-top: var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  border: 1px solid var(--color-divider);
}
.footer-social a:hover {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 100ms; }
.reveal-delay-2 { transition-delay: 200ms; }
.reveal-delay-3 { transition-delay: 300ms; }
.reveal-delay-4 { transition-delay: 400ms; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 50;
  box-shadow: var(--shadow-md);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

/* ============================================================
   ABOUT — Motto
   ============================================================ */
.about-motto {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  color: var(--color-primary);
  margin-top: var(--space-4);
  margin-bottom: var(--space-4);
  letter-spacing: -0.01em;
}

/* ============================================================
   AMENITY NOTE (sub-label)
   ============================================================ */
.amenity-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
  font-weight: 400;
}

/* ============================================================
   ACCORDION — Your Stay
   ============================================================ */
.accordion {
  max-width: 800px;
  margin-inline: auto;
}

.accordion-item {
  border-bottom: 1px solid var(--color-divider);
}

.accordion-item:first-child {
  border-top: 1px solid var(--color-divider);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-5) 0;
  cursor: pointer;
  color: var(--color-text);
  background: none;
  border: none;
  text-align: left;
  gap: var(--space-4);
}

.accordion-header:hover {
  color: var(--color-primary);
}

.accordion-header-content {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.accordion-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.accordion-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--color-text-muted);
}

.accordion-header[aria-expanded="true"] .accordion-chevron {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-body-inner {
  padding-bottom: var(--space-6);
}

.accordion-body-inner ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.accordion-body-inner li {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  padding-left: var(--space-6);
  position: relative;
}

.accordion-body-inner li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--color-primary);
  opacity: 0.4;
}

.accordion-body-inner li strong {
  color: var(--color-text);
  font-weight: 600;
}

.accordion-body-inner li em {
  color: var(--color-text);
}

/* ============================================================
   DINING — Where to Eat
   ============================================================ */
.dining-category {
  margin-bottom: clamp(var(--space-8), 3vw, var(--space-12));
}

.dining-category:last-child {
  margin-bottom: 0;
}

.dining-category-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 400;
  margin-bottom: var(--space-2);
  color: var(--color-text);
}

.dining-category-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-bottom: var(--space-4);
}

.dining-grid {
  display: grid;
  gap: var(--space-3);
}

@media (min-width: 600px) {
  .dining-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 900px) {
  .dining-grid { grid-template-columns: repeat(3, 1fr); }
}

.dining-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

a.dining-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.dining-card-info h4 {
  font-size: var(--text-sm);
  font-weight: 600;
  margin-bottom: var(--space-1);
  color: var(--color-text);
}

.dining-card-info p {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  line-height: 1.4;
}

.dining-card-time {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--color-accent);
  white-space: nowrap;
  flex-shrink: 0;
}

.dining-card-badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  background: var(--color-primary-highlight);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  flex-shrink: 0;
}

.dining-card-tip {
  border-color: var(--color-primary-highlight);
  background: oklch(from var(--color-primary-highlight) l c h / 0.5);
}

/* ============================================================
   FOOTER — Hosts
   ============================================================ */
.footer-hosts {
  font-size: var(--text-xs);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: var(--space-2);
}

/* ============================================================
   CYCLING & WALKING — Activities Section
   ============================================================ */

/* --- Activities Hero Banner --- */
.activities-hero {
  position: relative;
  height: clamp(320px, 50vw, 540px);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.activities-hero-img {
  position: absolute;
  inset: 0;
}

.activities-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.activities-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    oklch(0.15 0.02 60 / 0.3) 0%,
    oklch(0.15 0.02 60 / 0.6) 100%
  );
}

.activities-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  padding: var(--space-8);
}

.activities-hero-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  margin-bottom: var(--space-4);
  letter-spacing: -0.02em;
}

.activities-hero-subtitle {
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  font-weight: 400;
  max-width: 520px;
  margin: 0 auto;
}

/* --- Toggle / Tab Bar --- */
.activities-toggle {
  display: inline-flex;
  gap: var(--space-1);
  background: var(--color-surface);
  border-radius: var(--radius-full);
  padding: 5px;
  margin: 0 0 var(--space-12);
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}

.activities-toggle-btn {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  padding: var(--space-3) var(--space-6);
  border: none;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
  min-width: 120px;
  text-align: center;
  white-space: nowrap;
}

.activities-toggle-btn:hover {
  color: var(--color-text);
  background: var(--color-surface-offset);
}

.activities-toggle-btn.active {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  box-shadow: var(--shadow-sm);
}

.activities-toggle-btn.active:hover {
  background: var(--color-primary-hover);
}

/* --- Routes Container --- */
.activities-routes {
  opacity: 1;
  transition: opacity 350ms ease;
}

.activities-routes--hidden {
  display: none;
  opacity: 0;
}

.activities-routes--fade-out {
  opacity: 0;
}

/* --- Route Cards (editorial magazine style) --- */
.route-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-12);
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 350ms cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 350ms cubic-bezier(0.16, 1, 0.3, 1);
}

.route-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.route-card:last-child {
  margin-bottom: 0;
}

/* Alternate image left/right */
.route-card--reverse {
  direction: rtl;
}
.route-card--reverse > * {
  direction: ltr;
}

/* Route Card Image */
.route-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  height: 100%;
  min-height: 260px;
}

.route-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.route-card:hover .route-card-image img {
  transform: scale(1.04);
}

/* Route Card Content */
.route-card-content {
  padding: var(--space-8) var(--space-10);
}

/* Meta row */
.route-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-4);
}

/* Difficulty badges */
.route-badge {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  line-height: 1.5;
}

.route-badge--easy {
  background: oklch(from #2d5a3d l c h / 0.12);
  color: #2d5a3d;
}

[data-theme="dark"] .route-badge--easy {
  background: oklch(from #5aa06d l c h / 0.2);
  color: #8fd4a0;
}

.route-badge--moderate {
  background: oklch(from #a0724e l c h / 0.12);
  color: #a0724e;
}

[data-theme="dark"] .route-badge--moderate {
  background: oklch(from #c49a74 l c h / 0.2);
  color: #d4aa84;
}

.route-badge--hard {
  background: oklch(from #8b3a3a l c h / 0.12);
  color: #8b3a3a;
}

[data-theme="dark"] .route-badge--hard {
  background: oklch(from #c06060 l c h / 0.2);
  color: #e08080;
}

.route-badge--black {
  background: oklch(from #2a2a2a l c h / 0.14);
  color: #2a2a2a;
}

[data-theme="dark"] .route-badge--black {
  background: oklch(from #888 l c h / 0.25);
  color: #ccc;
}

.route-distance,
.route-drive {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.route-distance::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Cpath d='M18 6L6 18M6 6l12 12'/%3E%3C/svg%3E");
  mask-size: contain;
  opacity: 0;
  width: 0;
}

.route-drive::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: currentColor;
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 6v6l4 2'/%3E%3C/svg%3E");
  mask-size: contain;
}

/* Route Card Title */
.route-card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.2;
  margin-bottom: var(--space-1);
  letter-spacing: -0.01em;
}

.route-card-tagline {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-accent);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: var(--space-4);
}

.route-card-desc {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.route-card-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap 250ms ease, color 200ms ease;
  letter-spacing: 0.01em;
}

.route-card-link:hover {
  color: var(--color-primary-hover);
  gap: var(--space-3);
}

/* --- Activities CTA --- */
.activities-cta {
  margin-top: var(--space-16);
  text-align: center;
}

.activities-cta-inner {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-12) var(--space-8);
  max-width: 640px;
  margin: 0 auto;
}

.activities-cta-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 400;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.activities-cta-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* --- Responsive: Mobile --- */
@media (max-width: 768px) {
  .activities-hero {
    height: clamp(240px, 60vw, 360px);
  }

  .activities-hero-content {
    padding: var(--space-6) var(--space-6);
  }

  .activities-hero-title {
    font-size: var(--text-xl);
  }

  .route-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .route-card--reverse {
    direction: ltr;
  }

  .route-card-image {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }

  .route-card-content {
    padding: var(--space-6);
  }

  .activities-toggle {
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    flex-wrap: wrap;
    justify-content: center;
  }

  .activities-toggle-btn {
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-4);
    min-width: 80px;
  }

  .activities-cta-inner {
    padding: var(--space-8) var(--space-6);
  }
}

.calendar-sync-status {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  text-align: center;
  margin-top: var(--space-2);
  transition: color 0.3s ease;
}
.calendar-sync-status.synced {
  color: var(--color-accent);
}

/* ── Enquiry Form ── */
.form-row {
  display: flex;
  gap: var(--space-3);
}
.form-row--thirds {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--space-3);
}
@media (max-width: 480px) {
  .form-row--thirds {
    grid-template-columns: 1fr;
  }
}
.form-group select {
  width: 100%;
  padding: var(--space-3);
  border: 1px solid oklch(from var(--color-text) l c h / 0.15);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}
.form-group select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px oklch(from var(--color-accent) l c h / 0.15);
}
.enquiry-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4);
  background: var(--color-accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.15s ease;
}
.enquiry-btn:hover {
  background: oklch(from var(--color-accent) calc(l - 0.05) c h);
  transform: translateY(-1px);
}
.enquiry-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ── Guest Count Validation ── */
.guest-count-indicator {
  font-size: var(--text-xs);
  text-align: center;
  margin-top: var(--space-1);
  margin-bottom: var(--space-2);
  padding: var(--space-2) var(--space-3);
  border-radius: 6px;
  transition: all 0.25s ease;
  min-height: 1.5em;
}
.guest-count-ok {
  color: var(--color-accent);
  background: oklch(from var(--color-accent) l c h / 0.08);
}
.guest-count-full {
  color: #a0724e;
  background: oklch(0.7 0.1 60 / 0.1);
  font-weight: 500;
}
.guest-count-over {
  color: #c0392b;
  background: oklch(0.6 0.15 25 / 0.1);
  font-weight: 600;
}
.form-group select option:disabled {
  color: oklch(from var(--color-text) l c h / 0.3);
}

/* ── Gallery Video Items ── */
.gallery-item--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.gallery-item--video {
  cursor: default;
}

/* ============================================================
   REVIEWS SECTION
   ============================================================ */

/* --- Subtitle row with stars + Airbnb badge --- */
.reviews-subtitle-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.reviews-rating-badge {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.reviews-stars {
  color: #d4a853;
  font-size: var(--text-lg);
  letter-spacing: 2px;
  line-height: 1;
}

.airbnb-logo {
  display: block;
}

/* --- Carousel wrapper --- */
.reviews-carousel-wrapper {
  position: relative;
  margin-top: var(--space-10);
  padding: 0 var(--space-12);
}

.reviews-carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.reviews-track {
  display: flex;
  gap: var(--space-6);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: grab;
  user-select: none;
}

.reviews-track.is-dragging {
  cursor: grabbing;
  transition: none;
}

/* --- Review Card --- */
.review-card {
  flex: 0 0 calc((100% - var(--space-6) * 2) / 3);
  background: var(--color-surface-2);
  border: 1px solid var(--color-divider);
  border-radius: 12px;
  padding: var(--space-8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  flex-shrink: 0;
}

.review-meta {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.review-date {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.review-stars {
  color: #d4a853;
  font-size: var(--text-sm);
  letter-spacing: 1px;
  line-height: 1;
}

.review-text {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-style: italic;
  line-height: 1.7;
  color: var(--color-text-muted);
  flex: 1;
}

.review-source {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: auto;
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}

/* --- Arrow buttons --- */
.reviews-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: var(--color-surface-2);
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-interactive);
}

.reviews-arrow:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.reviews-arrow--left {
  left: 0;
}

.reviews-arrow--right {
  right: 0;
}

/* --- CTA link --- */
.reviews-cta {
  text-align: center;
  margin-top: var(--space-10);
}

.reviews-read-all {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: none;
  padding: var(--space-3) var(--space-6);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-interactive);
}

.reviews-read-all:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.reviews-read-all svg {
  transition: transform 0.2s ease;
}

.reviews-read-all:hover svg {
  transform: translateX(3px);
}

/* --- Responsive: Tablet (2 cards) --- */
@media (max-width: 1024px) {
  .review-card {
    flex: 0 0 calc((100% - var(--space-6)) / 2);
  }
  .reviews-carousel-wrapper {
    padding: 0 var(--space-10);
  }
}

/* --- Responsive: Mobile (1 card) --- */
@media (max-width: 640px) {
  .review-card {
    flex: 0 0 100%;
  }
  .reviews-carousel-wrapper {
    padding: 0;
  }
  .reviews-arrow {
    display: none;
  }
  .reviews-track {
    gap: var(--space-4);
  }
}
