﻿/* ======================================================
   ZIHUA ESCAPES — MASTER STYLESHEET v1.0 | 2026
   Mexican Pacific Coast Vacation Rentals
   ====================================================== */

/* ======================================================
   1. CSS CUSTOM PROPERTIES / DESIGN TOKENS
   ====================================================== */

:root {
  /* --- Colors --- */
  --primary:           #1a3c34;
  --primary-light:     #2a5a4e;
  --primary-dark:      #0f2a24;
  --accent:            #e67e22;
  --accent-dark:       #c0621a;
  --bg:                #f8f5f0;
  --bg-alt:            #eee8df;
  --sand:              #e8dcc8;
  --text:              #222;
  --text-muted:        #666;
  --white:             #fff;
  --border:            #d4c9bc;
  --success:           #27ae60;
  --disclosure-bg:     #fff3cd;
  --disclosure-border: #ffeaa7;

  /* --- Typography Scale --- */
  --font-xs:   0.75rem;   /* 12px */
  --font-sm:   0.875rem;  /* 14px */
  --font-base: 1rem;      /* 16px */
  --font-md:   1.125rem;  /* 18px */
  --font-lg:   1.25rem;   /* 20px */
  --font-xl:   1.5rem;    /* 24px */
  --font-2xl:  1.875rem;  /* 30px */
  --font-3xl:  2.25rem;   /* 36px */
  --font-4xl:  3rem;      /* 48px */
  --font-5xl:  3.75rem;   /* 60px */
  --font-6xl:  4.5rem;    /* 72px */

  /* --- Spacing --- */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-14: 3.5rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* --- Border Radius --- */
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   16px;
  --radius-xl:   20px;
  --radius-2xl:  28px;
  --radius-full: 50px;

  /* --- Shadows --- */
  --shadow-sm:     0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md:     0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg:     0 15px 35px rgba(0, 0, 0, 0.1);
  --shadow-xl:     0 25px 60px rgba(0, 0, 0, 0.15);
  --shadow-accent: 0 8px 24px rgba(230, 126, 34, 0.35);

  /* --- Transitions --- */
  --transition-fast:   all 0.15s ease;
  --transition-base:   all 0.25s ease;
  --transition-bounce: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* --- Layout --- */
  --container-max:     1280px;
  --container-content: 860px;

  /* --- Font Stack --- */
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}


/* ======================================================
   2. RESET & BASE
   ====================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: var(--font-base);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent);
}

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

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-8) 0;
}

::selection {
  background: var(--accent);
  color: var(--white);
  text-shadow: none;
}

::-moz-selection {
  background: var(--accent);
  color: var(--white);
  text-shadow: none;
}


/* ======================================================
   3. TYPOGRAPHY
   ====================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-body);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-4xl); letter-spacing: -0.02em; }
h2 { font-size: var(--font-3xl); letter-spacing: -0.015em; }
h3 { font-size: var(--font-2xl); }
h4 { font-size: var(--font-xl); }
h5 { font-size: var(--font-lg); }
h6 { font-size: var(--font-md); }

p {
  margin-bottom: var(--space-5);
  color: var(--text);
}

p:last-child {
  margin-bottom: 0;
}

blockquote {
  border-left: 4px solid var(--accent);
  padding: var(--space-4) var(--space-6);
  margin: var(--space-8) 0;
  background: var(--bg-alt);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-muted);
  font-size: var(--font-md);
}

strong { font-weight: 700; }
em     { font-style: italic; }

.lead {
  font-size: var(--font-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.section-title {
  font-size: var(--font-3xl);
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.section-subtitle {
  font-size: var(--font-md);
  color: var(--text-muted);
  margin-bottom: var(--space-10);
}


/* ======================================================
   4. LAYOUT UTILITIES
   ====================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--container-content);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.section {
  padding-block: var(--space-20);
}

.section--alt {
  background-color: var(--bg-alt);
}

.section--dark {
  background-color: var(--primary);
  color: var(--white);
}

.section--dark h2,
.section--dark h3,
.section--dark p {
  color: var(--white);
}

/* Grid utilities */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

/* Flex utilities */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between{ justify-content: space-between; }
.gap-4          { gap: var(--space-4); }
.gap-6          { gap: var(--space-6); }
.gap-8          { gap: var(--space-8); }


/* ======================================================
   5. SITE NAVIGATION
   ====================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-block: var(--space-4);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

/* Transparent over hero */
.site-nav:not(.scrolled) {
  background: transparent;
}

/* White with shadow when scrolled */
.site-nav.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  padding-block: var(--space-3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.nav-logo {
  font-size: var(--font-lg);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  transition: var(--transition-fast);
  text-decoration: none;
}

.site-nav.scrolled .nav-logo {
  color: var(--primary);
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.nav-link {
  font-size: var(--font-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.site-nav.scrolled .nav-link {
  color: var(--text);
}

.site-nav.scrolled .nav-link:hover {
  color: var(--primary);
  background: var(--bg-alt);
}

.nav-cta {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--white) !important;
  background: var(--accent);
  padding: var(--space-2) var(--space-5);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.nav-cta:hover {
  background: var(--accent-dark) !important;
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  margin-left: var(--space-4);
}

.lang-btn {
  font-size: var(--font-xs);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition-fast);
  background: transparent;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.lang-btn:hover,
.lang-btn.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.6);
}

.site-nav.scrolled .lang-btn {
  color: var(--text-muted);
  border-color: var(--border);
}

.site-nav.scrolled .lang-btn:hover,
.site-nav.scrolled .lang-btn.active {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--bg-alt);
}

/* Hamburger Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 4px;
  cursor: pointer;
  background: none;
  border: none;
  border-radius: var(--radius-sm);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition-base);
  transform-origin: center;
}

.site-nav.scrolled .nav-toggle__bar {
  background: var(--primary);
}

/* Hamburger → X animation */
.nav-open .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .nav-toggle__bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-open .nav-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav menu */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-dark);
  z-index: 999;
  padding-top: 80px;
  overflow-y: auto;
  opacity: 0;
  transform: translateX(100%);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-open .nav-mobile-menu {
  opacity: 1;
  transform: translateX(0);
}

.nav-mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding: var(--space-8) var(--space-6);
  gap: var(--space-2);
}

.nav-mobile-menu__link {
  font-size: var(--font-xl);
  font-weight: 700;
  color: var(--white);
  padding: var(--space-4) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  display: block;
}

.nav-mobile-menu__link:hover {
  color: var(--accent);
}


/* ======================================================
   6. HERO COMPONENTS
   ====================================================== */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--tall   { min-height: 100vh; }
.hero--medium { min-height: 60vh; }
.hero--short  { min-height: 40vh; }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 42, 36, 0.45) 0%,
    rgba(15, 42, 36, 0.75) 100%
  );
  z-index: 1;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 860px;
  padding: var(--space-8) var(--space-6);
  animation: fadeInUp 0.8s ease both;
}

.hero__title {
  font-size: var(--font-6xl);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-5);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__subtitle {
  font-size: var(--font-xl);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-8);
  line-height: 1.5;
  max-width: 600px;
  margin-inline: auto;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.hero__badge {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  justify-content: center;
}

/* Hero variant — short gets left-aligned text */
.hero--short .hero__inner {
  text-align: left;
  max-width: var(--container-max);
  padding-inline: var(--space-6);
}

.hero--short .hero__title {
  font-size: var(--font-4xl);
}

.hero--medium .hero__title {
  font-size: var(--font-5xl);
}


/* ======================================================
   7. BREADCRUMBS
   ====================================================== */

.breadcrumbs {
  padding: var(--space-4) 0;
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  list-style: none;
  align-items: center;
}

.breadcrumbs__item {
  display: flex;
  align-items: center;
  color: var(--text-muted);
}

.breadcrumbs__item a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumbs__item a:hover {
  color: var(--primary);
}

.breadcrumbs__item + .breadcrumbs__item::before {
  content: '/';
  margin: 0 var(--space-2);
  color: var(--border);
}

.breadcrumbs__item[aria-current='page'] {
  color: var(--text);
  font-weight: 500;
}


/* ======================================================
   8. E-E-A-T TRUST COMPONENTS
   ====================================================== */

/* Pulsing orange pill badge */
.eeat-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: badgePulse 2.5s infinite;
}

.eeat-badge::before {
  content: '✓';
  font-size: 0.8em;
}

/* Trust bar */
.trust-bar {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4) 0;
}

.trust-bar__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-8);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.trust-signal {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--primary);
}

.trust-signal__icon {
  font-size: var(--font-lg);
  color: var(--accent);
}

.trust-signal__label {
  color: var(--text-muted);
  font-weight: 400;
  margin-left: var(--space-1);
}

/* Visit stamp */
.visit-stamp {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--success);
  background: #edfbf1;
  border: 1px solid #a8e6be;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  margin-block: var(--space-4);
}

.visit-stamp__icon {
  font-size: var(--font-base);
}

/* Author byline */
.author-byline {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.author-byline__photo {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.author-byline__info {
  font-size: var(--font-sm);
  line-height: 1.4;
}

.author-byline__name {
  font-weight: 700;
  color: var(--primary);
}

.author-byline__meta {
  color: var(--text-muted);
}


/* ======================================================
   9. BUTTONS
   ====================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-size: var(--font-base);
  font-weight: 600;
  line-height: 1;
  padding: var(--space-4) var(--space-8);
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-base);
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.btn:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn--primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn--accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn--outline-dark:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--lg {
  font-size: var(--font-md);
  padding: var(--space-5) var(--space-10);
}

.btn--sm {
  font-size: var(--font-sm);
  padding: var(--space-2) var(--space-5);
}

.btn--icon {
  padding: var(--space-3);
  border-radius: 50%;
  width: 48px;
  height: 48px;
}


/* ======================================================
   10. CARDS
   ====================================================== */

/* Base card */
.card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card:hover .card__image img {
  transform: scale(1.06);
}

.card__badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--white);
  background: var(--accent);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

.card__badge--eco {
  background: var(--success);
}

.card__badge--featured {
  background: var(--primary);
}

.card__body {
  padding: var(--space-6);
}

.card__title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--text);
  margin-bottom: var(--space-2);
  line-height: 1.3;
}

.card__meta {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex-wrap: wrap;
}

.card__price {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.card__price span {
  font-size: var(--font-sm);
  font-weight: 400;
  color: var(--text-muted);
}

.card__rating {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.card__rating-count {
  color: var(--text-muted);
  font-weight: 400;
}

.card__features-row {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-5);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.card__feature {
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.card__cta {
  display: block;
  width: 100%;
  text-align: center;
}

/* Property card — horizontal */
.card--property-h {
  display: grid;
  grid-template-columns: 300px 1fr;
  border-radius: var(--radius-lg);
}

.card--property-h .card__image {
  aspect-ratio: unset;
  height: 100%;
  min-height: 220px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

/* Guide card */
.card--guide .card__image {
  aspect-ratio: 16 / 9;
}

.card--guide .card__category {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 2;
}

/* Location card */
.card--location {
  position: relative;
  cursor: pointer;
}

.card--location .card__image {
  aspect-ratio: 4 / 3;
}

.card--location .card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15, 42, 36, 0.9) 0%, transparent 100%);
  padding: var(--space-6);
  z-index: 2;
}

.card--location .card__title {
  color: var(--white);
  margin-bottom: var(--space-1);
}

.card--location .card__meta {
  color: rgba(255, 255, 255, 0.75);
}

/* Segment card */
.card--segment {
  padding: var(--space-8);
  text-align: center;
  background: var(--white);
  border: 1px solid var(--border);
}

.card--segment:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.card__segment-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
}

.card__segment-count {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-top: var(--space-2);
}


/* ======================================================
   11. PROPERTY GRID
   ====================================================== */

.property-grid {
  display: grid;
  gap: var(--space-8);
}

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

.property-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}


/* ======================================================
   12. CAROUSEL
   ====================================================== */

.carousel {
  position: relative;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: var(--space-6);
  scroll-snap-type: x mandatory;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-4);
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__item {
  scroll-snap-align: start;
  flex: 0 0 calc(33.333% - var(--space-4));
  min-width: 280px;
}

.carousel__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--white);
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-lg);
  cursor: pointer;
  transition: var(--transition-base);
}

.carousel__btn:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.carousel__btn--prev { left: -20px; }
.carousel__btn--next { right: -20px; }

.carousel__dots {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-5);
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition-fast);
  cursor: pointer;
  border: none;
}

.carousel__dot.active {
  background: var(--primary);
  transform: scale(1.3);
}


/* ======================================================
   13. FILTER BAR
   ====================================================== */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  user-select: none;
}

.filter-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-pill--active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.filter-pill--active:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
}

.filter-select {
  font-size: var(--font-sm);
  color: var(--text);
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
  appearance: none;
  padding-right: var(--space-8);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.filter-select:focus {
  outline: none;
  border-color: var(--primary);
}

.filter-count {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-left: auto;
}


/* ======================================================
   14. SEGMENT CARDS GRID
   ====================================================== */

.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.segment-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-10) var(--space-8);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-bounce);
}

.segment-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03) translateY(-4px);
}

.segment-card__icon {
  font-size: 3rem;
  margin-bottom: var(--space-4);
  line-height: 1;
}

.segment-card__title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.segment-card__count {
  font-size: var(--font-sm);
  color: var(--text-muted);
}


/* ======================================================
   15. LOCATION CARDS GRID
   ====================================================== */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.location-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
}

.location-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.location-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.location-card:hover img {
  transform: scale(1.08);
}

.location-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 42, 36, 0.85) 0%, rgba(15, 42, 36, 0.1) 60%, transparent 100%);
  z-index: 1;
}

.location-card__content {
  position: absolute;
  bottom: var(--space-6);
  left: var(--space-6);
  right: var(--space-6);
  z-index: 2;
}

.location-card__name {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-1);
}

.location-card__count {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.75);
}


/* ======================================================
   16. DISCLOSURE
   ====================================================== */

.disclosure {
  background: var(--disclosure-bg);
  border-left: 4px solid var(--accent);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: var(--space-8);
  font-size: var(--font-sm);
  color: var(--text);
  line-height: 1.6;
}

.disclosure strong {
  color: var(--accent-dark);
}

.disclosure p {
  margin-bottom: var(--space-2);
}

.disclosure p:last-child {
  margin-bottom: 0;
}


/* ======================================================
   17. STAY22 & MAP EMBEDS
   ====================================================== */

.map-embed,
.stay22-widget {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-alt);
  margin-block: var(--space-8);
}

.map-embed iframe,
.stay22-widget iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-lg);
}

/* Loading skeleton overlay */
.stay22-widget .skeleton-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    90deg,
    var(--bg-alt) 25%,
    var(--sand) 50%,
    var(--bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  z-index: 5;
}

.stay22-widget.loaded .skeleton-overlay {
  display: none;
}


/* ======================================================
   18. REVIEW BLOCK
   ====================================================== */

.review-block {
  background: var(--white);
  border-left: 4px solid var(--success);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  padding: var(--space-6);
  margin-block: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.review-block__header {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

.review-block__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--success);
  flex-shrink: 0;
}

.review-block__author {
  font-weight: 700;
  font-size: var(--font-base);
  color: var(--text);
}

.review-block__stars {
  color: var(--accent);
  font-size: var(--font-md);
  letter-spacing: 2px;
  margin-block: var(--space-1);
}

.review-block__visit {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.review-block__quote {
  font-size: var(--font-md);
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
  margin-bottom: 0;
}

.review-block__quote::before {
  content: '"';
  font-size: var(--font-3xl);
  color: var(--success);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: var(--space-1);
}


/* ======================================================
   19. AMENITIES GRID
   ====================================================== */

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-block: var(--space-8);
}

.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-5);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.amenity-item:hover {
  border-color: var(--primary);
  background: var(--bg-alt);
}

.amenity-icon {
  font-size: 1.75rem;
  margin-bottom: var(--space-2);
}

.amenity-label {
  font-size: var(--font-xs);
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.3;
}

.amenity-item--eco .amenity-label::after {
  content: ' 🌱';
}

.amenity-item--eco {
  border-color: #a8e6be;
  background: #f0fdf4;
}


/* ======================================================
   20. PROS / CONS
   ====================================================== */

.pros-cons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-block: var(--space-8);
}

.pros-cons__col {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.pros-cons__title {
  font-size: var(--font-lg);
  font-weight: 700;
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid currentColor;
}

.pros-cons__pros .pros-cons__title {
  color: var(--success);
  border-color: var(--success);
}

.pros-cons__cons .pros-cons__title {
  color: var(--accent);
  border-color: var(--accent);
}

.pros-cons__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.pros-cons__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--font-sm);
  color: var(--text);
  line-height: 1.5;
}

.pros-cons__pros .pros-cons__list li::before {
  content: '✓';
  color: var(--success);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.pros-cons__cons .pros-cons__list li::before {
  content: '✗';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}


/* ======================================================
   21. PROPERTY STATS BAR
   ====================================================== */

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  margin-block: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.stats-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-2) var(--space-5);
  flex: 1;
  min-width: 80px;
}

.stats-bar__item + .stats-bar__item {
  border-left: 1px solid var(--border);
}

.stats-bar__value {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stats-bar__label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-1);
}

.stats-bar__eco {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--success);
  background: #edfbf1;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-sm);
  margin-top: var(--space-1);
}


/* ======================================================
   22. GALLERY
   ====================================================== */

/* Hero gallery: 1 large + 4 small */
.gallery__hero {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: var(--space-2);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-block: var(--space-8);
}

.gallery__hero-main {
  grid-row: span 2;
  overflow: hidden;
  cursor: pointer;
}

.gallery__hero-main img,
.gallery__hero-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery__hero-main:hover img,
.gallery__hero-thumb:hover img {
  transform: scale(1.04);
}

.gallery__hero-thumb {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery__count {
  position: absolute;
  bottom: var(--space-3);
  right: var(--space-3);
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--white);
  background: rgba(0, 0, 0, 0.65);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(4px);
}

/* Gallery grid */
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--space-3);
  margin-block: var(--space-8);
}

.gallery__grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-base);
}

.gallery__grid img:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}


/* ======================================================
   23. ARTICLE / GUIDE LAYOUT
   ====================================================== */

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: var(--space-12);
  align-items: start;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-block: var(--space-12);
}

.article-body {
  min-width: 0;
}

.article-body h2 {
  font-size: var(--font-2xl);
  color: var(--primary);
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 2px solid var(--border);
}

.article-body h3 {
  font-size: var(--font-xl);
  color: var(--primary-light);
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.article-body p {
  font-size: var(--font-md);
  line-height: 1.75;
  color: var(--text);
  margin-bottom: var(--space-5);
}

.article-body .lead {
  font-size: var(--font-lg);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
  font-style: italic;
}

.article-body ul,
.article-body ol {
  margin-bottom: var(--space-5);
  padding-left: var(--space-6);
}

.article-body ul {
  list-style: disc;
}

.article-body ol {
  list-style: decimal;
}

.article-body li {
  margin-bottom: var(--space-2);
  line-height: 1.65;
}

.reading-time-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: var(--bg-alt);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

/* Table of Contents */
.article-toc {
  position: sticky;
  top: 100px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-sm);
}

.toc-title {
  font-size: var(--font-sm);
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

.article-toc__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.article-toc__item a {
  display: block;
  font-size: var(--font-sm);
  color: var(--text-muted);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border-left: 2px solid transparent;
  transition: var(--transition-fast);
  line-height: 1.4;
}

.article-toc__item a:hover {
  color: var(--primary);
  background: var(--bg-alt);
  border-left-color: var(--primary);
}

.article-toc__item.active a {
  color: var(--primary);
  background: var(--bg-alt);
  border-left-color: var(--accent);
  font-weight: 600;
}

.article-toc__item--h3 a {
  padding-left: var(--space-5);
  font-size: var(--font-xs);
}


/* ======================================================
   24. AUTHOR COMPONENTS
   ====================================================== */

/* Compact author box */
.author-box {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin-block: var(--space-6);
  border: 1px solid var(--border);
}

.author-box__photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
  flex-shrink: 0;
}

.author-box__name {
  font-weight: 700;
  color: var(--primary);
  font-size: var(--font-base);
}

.author-box__bio {
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin: var(--space-1) 0;
}

.author-box__link {
  font-size: var(--font-sm);
  color: var(--accent);
  font-weight: 600;
}

/* Full author card */
.author-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: var(--space-8);
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  margin-block: var(--space-8);
}

.author-card__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--radius-xl);
  object-fit: cover;
}

.author-card__name {
  font-size: var(--font-3xl);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.author-card__title {
  font-size: var(--font-md);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: var(--space-4);
}

.author-card__bio {
  font-size: var(--font-base);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.author-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.author-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-3) var(--space-5);
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  text-align: center;
  min-width: 90px;
}

.author-stat__value {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary);
}

.author-stat__label {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--primary);
  background: #e8f4f1;
  border: 1px solid #a8d5c9;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  margin-right: var(--space-2);
  margin-bottom: var(--space-2);
}

/* Visit timeline */
.visit-timeline {
  list-style: none;
  position: relative;
  padding-left: var(--space-6);
}

.visit-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--border);
}

.visit-timeline__item {
  position: relative;
  padding-bottom: var(--space-4);
  font-size: var(--font-sm);
  color: var(--text);
}

.visit-timeline__item::before {
  content: '';
  position: absolute;
  left: calc(-1 * var(--space-6) + 4px);
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--border);
}

.visit-timeline__place {
  font-weight: 700;
  color: var(--primary);
}

.visit-timeline__date {
  color: var(--text-muted);
  font-size: var(--font-xs);
}


/* ======================================================
   25. LOCATION PAGE
   ====================================================== */

.location-hero {
  min-height: 60vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-12);
}

.location-stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-8);
  box-shadow: var(--shadow-lg);
  margin-top: calc(-1 * var(--space-10));
  position: relative;
  z-index: 10;
  margin-inline: var(--space-6);
}

.location-about {
  font-size: var(--font-md);
  line-height: 1.75;
  color: var(--text);
  max-width: var(--container-content);
  margin-inline: auto;
  padding-block: var(--space-12);
}

.local-tips-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-block: var(--space-8);
}

.local-tip {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  border-left: 4px solid var(--accent);
}

.local-tip__title {
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

/* Seasonal table */
.seasonal-table {
  width: 100%;
  border-collapse: collapse;
  margin-block: var(--space-8);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.seasonal-table th,
.seasonal-table td {
  padding: var(--space-4);
  text-align: left;
  font-size: var(--font-sm);
  border-bottom: 1px solid var(--border);
}

.seasonal-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.seasonal-table tr:nth-child(even) td {
  background: var(--bg-alt);
}

.seasonal-table td:first-child {
  font-weight: 600;
  color: var(--primary);
}

.nearby-locations {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-block: var(--space-6);
}

.nearby-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  color: var(--primary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: var(--transition-fast);
}

.nearby-link:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}


/* ======================================================
   26. SEGMENT PAGE
   ====================================================== */

.segment-description {
  max-width: var(--container-content);
  margin-inline: auto;
  font-size: var(--font-md);
  color: var(--text-muted);
  line-height: 1.75;
  text-align: center;
  padding-block: var(--space-10);
}

.segment-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-5) var(--space-6);
  margin-block: var(--space-8);
  box-shadow: var(--shadow-sm);
}

.segment-count {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--primary);
  background: var(--bg-alt);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.sort-bar {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.sort-bar label {
  font-weight: 600;
  color: var(--text);
}


/* ======================================================
   27. GUIDE PAGE
   ====================================================== */

.guide-hero {
  min-height: 55vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-bottom: var(--space-10);
}

.guide-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border);
}

.guide-meta__category {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.guide-meta__date,
.guide-meta__reading-time {
  font-size: var(--font-sm);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

/* Guide spot */
.guide-spot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: start;
  padding: var(--space-8) 0;
  border-bottom: 1px solid var(--border);
}

.guide-spot:last-child {
  border-bottom: none;
}

.guide-spot__number {
  font-size: var(--font-5xl);
  font-weight: 900;
  color: var(--sand);
  line-height: 1;
  margin-bottom: var(--space-2);
  display: block;
}

.guide-spot__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.guide-spot__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Recipe box */
.recipe-box {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  margin-block: var(--space-8);
}

.recipe-box__title {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: var(--space-4);
}

.recipe-box__ingredients,
.recipe-box__steps {
  list-style: none;
  margin-bottom: var(--space-5);
}

.recipe-box__ingredients li,
.recipe-box__steps li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--font-sm);
}

/* Inline guide CTA */
.guide-cta-inline {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  margin-block: var(--space-10);
  color: var(--white);
}

.guide-cta-inline__title {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-3);
}

.guide-cta-inline__text {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: var(--space-6);
}


/* ======================================================
   28. HOME PAGE
   ====================================================== */

/* Stats row below hero */
.home-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-6) var(--space-10);
  border-right: 1px solid var(--border);
}

.home-stat:last-child {
  border-right: none;
}

.home-stat__value {
  font-size: var(--font-3xl);
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
}

.home-stat__label {
  font-size: var(--font-sm);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: var(--space-1);
}

.featured-section {
  padding-block: var(--space-20);
}

.content-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-10);
}

.content-pillar {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition-bounce);
}

.content-pillar:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.content-pillar__icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-4);
  display: block;
}

.content-pillar__title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: var(--primary);
  margin-bottom: var(--space-3);
}

.content-pillar__text {
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.65;
}


/* ======================================================
   29. NEWSLETTER FORM
   ====================================================== */

.newsletter-section {
  background: var(--primary);
  padding-block: var(--space-16);
  text-align: center;
}

.newsletter-section h2 {
  color: var(--white);
  margin-bottom: var(--space-3);
}

.newsletter-section p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--space-6);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  max-width: 480px;
  margin-inline: auto;
  justify-content: center;
}

.newsletter-form__input {
  flex: 1;
  min-width: 220px;
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: var(--font-base);
  outline: none;
  transition: var(--transition-fast);
}

.newsletter-form__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.newsletter-form__input:focus {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.18);
}

.newsletter-form__message {
  font-size: var(--font-sm);
  margin-top: var(--space-3);
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-sm);
  display: none;
}

.newsletter-form__message.success {
  display: block;
  background: #edfbf1;
  color: var(--success);
  border: 1px solid #a8e6be;
}

.newsletter-form__message.error {
  display: block;
  background: #fff3cd;
  color: var(--accent-dark);
  border: 1px solid var(--accent);
}


/* ======================================================
   30. FOOTER
   ====================================================== */

.page-footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--space-16);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-10);
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
  padding-bottom: var(--space-12);
}

.footer-logo {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: var(--space-4);
}

.footer-logo span {
  color: var(--accent);
}

.footer-tagline {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

.footer-col__title {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

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

.footer-col__links a {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition-fast);
}

.footer-col__links a:hover {
  color: var(--accent);
}

/* Social links */
.footer-social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: var(--font-base);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* NAP block */
.nap-block {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.8;
  margin-top: var(--space-4);
}

.nap-block strong {
  color: rgba(255, 255, 255, 0.85);
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-5) var(--space-6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  max-width: var(--container-max);
  margin-inline: auto;
  font-size: var(--font-xs);
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: var(--accent);
}


/* ======================================================
   31. UTILITY CLASSES
   ====================================================== */

.text-center  { text-align: center; }
.text-left    { text-align: left; }
.text-right   { text-align: right; }
.text-muted   { color: var(--text-muted); }
.text-white   { color: var(--white); }
.text-primary { color: var(--primary); }
.text-accent  { color: var(--accent); }

.fw-bold   { font-weight: 700; }
.fw-normal { font-weight: 400; }

.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }

.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

.hidden,
[hidden] { display: none !important; }

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/* Badges & tags */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-xs);
  font-weight: 700;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge--primary { background: var(--primary); color: var(--white); }
.badge--accent  { background: var(--accent); color: var(--white); }
.badge--success { background: var(--success); color: var(--white); }
.badge--outline { border: 1.5px solid var(--border); color: var(--text-muted); }

.tag {
  display: inline-flex;
  font-size: var(--font-xs);
  font-weight: 500;
  color: var(--primary);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.tag:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* Skip to content */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: var(--space-4);
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s ease;
}

.skip-to-content:focus {
  top: var(--space-4);
}


/* ======================================================
   32. BOOKING STICKY CTA (property pages)
   ====================================================== */

.booking-cta-sticky {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: var(--space-4) var(--space-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.35s ease;
}

.booking-cta-sticky.visible {
  transform: translateY(0);
}

.booking-cta-sticky__price {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--primary);
}

.booking-cta-sticky__price span {
  font-size: var(--font-sm);
  font-weight: 400;
  color: var(--text-muted);
}


/* ======================================================
   33. COOKIE BANNER
   ====================================================== */

.cookie-banner {
  position: fixed;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  max-width: 540px;
  background: var(--primary-dark);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  box-shadow: var(--shadow-xl);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  animation: slideInLeft 0.4s ease both;
}

.cookie-banner p {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-3);
}


/* ======================================================
   34. ANIMATIONS & KEYFRAMES
   ====================================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes badgePulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(230, 126, 34, 0.5);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(230, 126, 34, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Scroll animation entry */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.animate-on-scroll[data-delay="1"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="2"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="3"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="4"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="5"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="6"] { transition-delay: 0.6s; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--bg-alt) 25%,
    var(--sand) 50%,
    var(--bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
  color: transparent;
  user-select: none;
}

/* Gallery lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.2s ease both;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: var(--font-xl);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  backdrop-filter: blur(4px);
}

.lightbox-close { top: -60px; right: 0; }
.lightbox-prev  { left: -64px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: -64px; top: 50%; transform: translateY(-50%); }

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--accent);
}

.lightbox-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.2);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


/* ======================================================
   35. RESPONSIVE DESIGN (mobile-first breakpoints)
   ====================================================== */

/* --- 480px and below — Very narrow phones (320–480px) --- */
@media (max-width: 480px) {
  .container,
  .container--narrow {
    padding-inline: 1rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    padding-inline: var(--space-4);
    padding-bottom: var(--space-8);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-4);
    gap: var(--space-2);
  }
}

/* --- 480px — Small phones --- */
@media (min-width: 480px) {
  .hero__title { font-size: var(--font-4xl); }
  .carousel__item { flex: 0 0 calc(50% - var(--space-3)); }
}

/* --- 640px — Large phones / small tablets --- */
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .property-grid--2col,
  .property-grid--3col {
    grid-template-columns: 1fr;
  }

  .segments-grid,
  .locations-grid,
  .content-pillars-grid,
  .local-tips-grid {
    grid-template-columns: 1fr;
  }

  .pros-cons {
    grid-template-columns: 1fr;
  }

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

  .card--property-h {
    grid-template-columns: 1fr;
  }

  .card--property-h .card__image {
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    height: 220px;
    min-height: unset;
  }

  .author-card {
    grid-template-columns: 1fr;
  }

  .author-card__photo {
    max-width: 160px;
    margin-inline: auto;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-toc {
    position: static;
    margin-bottom: var(--space-8);
  }

  .gallery__hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: 280px;
  }

  .gallery__hero-main {
    grid-row: 1;
  }

  .gallery__hero-thumb {
    display: none;
  }
}

/* --- 768px — Tablets --- */
@media (max-width: 768px) {
  /* Nav collapses to hamburger */
  .nav-links,
  .lang-switcher {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-mobile-menu {
    display: block;
  }

  /* Hero font sizes */
  .hero--tall .hero__title,
  .hero__title {
    font-size: var(--font-4xl);
  }

  .hero--medium .hero__title {
    font-size: var(--font-3xl);
  }

  .hero--short .hero__title {
    font-size: var(--font-2xl);
  }

  .hero__subtitle {
    font-size: var(--font-base);
  }

  /* Footer grid */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  /* Stats bar */
  .stats-bar {
    justify-content: center;
  }

  .stats-bar__item + .stats-bar__item {
    border-left: none;
  }

  /* Home stats */
  .home-stat {
    padding: var(--space-5) var(--space-6);
  }

  .guide-spot {
    grid-template-columns: 1fr;
  }
}

/* --- 1024px — Small desktops / large tablets --- */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

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

  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .article-layout {
    grid-template-columns: 1fr 240px;
    gap: var(--space-8);
  }
}

/* --- 1280px — Wide desktops --- */
@media (min-width: 1280px) {
  .hero__title {
    font-size: var(--font-6xl);
  }
}


/* ======================================================
   36. ACCESSIBILITY
   ====================================================== */

/* Focus-visible outlines */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Remove outline for mouse users */
:focus:not(:focus-visible) {
  outline: none;
}

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

  .animate-on-scroll {
    opacity: 1;
    transform: none;
  }
}

/* High contrast */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid var(--text);
  }

  .btn--outline {
    border-color: var(--white);
  }
}


/* ======================================================
   37. PRINT STYLES
   ====================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  /* Hide non-essential elements */
  .site-nav,
  .page-footer,
  .cookie-banner,
  .booking-cta-sticky,
  .filter-bar,
  .newsletter-section,
  .carousel__btn,
  .nav-toggle {
    display: none !important;
  }

  /* Expand links */
  a[href]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }

  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  /* Article full width */
  .article-layout {
    display: block;
    padding: 0;
  }

  .article-toc {
    display: none;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  h1, h2, h3 {
    page-break-after: avoid;
  }

  p, blockquote, tr, img {
    page-break-inside: avoid;
  }

  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }

  img {
    max-width: 100% !important;
  }
}


/* ======================================================
   38. BRIDGE ALIASES
   (Compatibility aliases for page-level variable names)
   ====================================================== */

:root {
  --light: var(--white);
  --primary-dk: var(--primary-dark);
  --card-radius: var(--radius-xl);   /* 20px */
  --transition: var(--transition-base);
}


/* ======================================================
   39. PAGE-LEVEL COMPONENT EXTENSIONS
   Classes used in page inline styles not yet in master CSS
   ====================================================== */

/* ── Hero background helpers (set per-page via inline style attr) ── */
.hero {
  background-size: cover;
  background-position: center;
}

/* ── Index / Home page ────────────────────────────────────────────── */

/* CTA button row below hero subtitle */
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

/* Glassmorphism stats row below CTAs */
.hero-stats-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-stats-row .stat {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 0.6rem 1.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  backdrop-filter: blur(4px);
  color: var(--white);
}

/* About two-column grid */
.about-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.about-img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  height: 400px;
}

@media (max-width: 768px) {
  .about-two-col {
    grid-template-columns: 1fr;
  }
  .about-img {
    height: 260px;
  }
  .hero-stats-row {
    gap: 0.75rem;
  }
}

/* ── Property pages ───────────────────────────────────────────────── */

/* Gallery top layout (main + thumbs strip) */
.gallery {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.5rem;
}

.gallery__main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 0.75rem;
}

.gallery__main img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.gallery__thumb img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity var(--transition-base);
}

.gallery__thumb img:hover {
  opacity: 0.85;
}

/* Property header block */
.property-header {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
}

.property-header h1 {
  margin-bottom: 0.5rem;
}

/* Location badge (📍 pill below h1) */
.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.75rem;
}

/* Star rating row */
.star-rating {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.star-rating span {
  font-size: 0.85rem;
  color: #555;
  margin-left: 0.5rem;
}

/* Stats bar inner wrapper */
.stats-bar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 1rem;
}

/* Property 2-column layout */
.property-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

@media (max-width: 1024px) {
  .property-layout {
    grid-template-columns: 1fr;
  }
  .gallery__thumbs {
    grid-template-columns: repeat(4, 1fr);
  }
}

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

/* Booking sidebar card */
.booking-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--border);
  position: sticky;
  top: 90px;
}

@media (max-width: 1024px) {
  .booking-box {
    position: static;
  }
}

.booking-box__price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.booking-box__price span {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.booking-box__verified {
  font-size: 0.82rem;
  color: #555;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.booking-box__ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.booking-box__disclaimer {
  font-size: 0.78rem;
  color: #888;
  text-align: center;
  line-height: 1.5;
}

/* Quick facts sidebar */
.quick-facts {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin-top: 1.25rem;
  border: 1px solid var(--border);
}

.quick-facts h3 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.quick-facts__list {
  list-style: none;
  padding: 0;
}

.quick-facts__item {
  display: flex;
  justify-content: space-between;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
}

.quick-facts__item:last-child {
  border-bottom: none;
}

.quick-facts__label {
  color: #666;
}

.quick-facts__val {
  font-weight: 700;
  color: var(--primary);
}

/* Related properties grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Location pages ───────────────────────────────────────────────── */

/* Why-we-love-it highlight grid */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.highlight-box {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  border-top: 4px solid var(--accent);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.highlight-box__icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.highlight-box__title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.highlight-box__desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .highlights-grid {
    grid-template-columns: 1fr;
  }
}

/* About Troncones two-col layout */
.about-troncones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.about-troncones__img {
  border-radius: var(--radius-xl);
  object-fit: cover;
  width: 100%;
  height: 420px;
}

.about-troncones__text h2 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-troncones__text p {
  color: #444;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .about-troncones {
    grid-template-columns: 1fr;
  }
  .about-troncones__img {
    height: 260px;
  }
}

/* ── Segment pages ────────────────────────────────────────────────── */

/* Sort select dropdown */
.sort-select {
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  background: var(--white);
  color: var(--text);
  cursor: pointer;
}

/* Filter + sort bar wrapper */
.filter-sort-bar {
  max-width: 1280px;
  margin: 0 auto 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 768px) {
  .filter-sort-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Showing count */
.showing-count {
  font-size: 0.9rem;
  color: #666;
  font-weight: 600;
}

/* Segment intro paragraph block */
.segment-intro {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.8;
  text-align: center;
}

/* What to expect 4-column grid */
.what-to-expect-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.expect-box {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2rem 1.25rem;
  text-align: center;
  border: 2px solid var(--border);
}

.expect-box__icon {
  font-size: 2.2rem;
  margin-bottom: 0.75rem;
}

.expect-box__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.expect-box__desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.6;
}

/* Trust / comparison table */
.trust-table {
  width: 100%;
  border-collapse: collapse;
  max-width: 900px;
  margin: 0 auto;
  font-size: 0.9rem;
}

.trust-table th {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
}

.trust-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
}

.trust-table tr:nth-child(even) td {
  background: var(--bg);
}

.check { color: #27ae60; font-weight: 700; }
.cross { color: #e74c3c; font-weight: 700; }

/* Related segments row */
.related-segments {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.related-segment-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  text-decoration: none;
  color: var(--text);
  border: 2px solid transparent;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.related-segment-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}

.related-segment-card__icon {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
}

.related-segment-card__name {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.3rem;
}

.related-segment-card__desc {
  font-size: 0.88rem;
  color: #555;
}

@media (max-width: 1024px) {
  .what-to-expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-segments {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .what-to-expect-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .related-segments {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .what-to-expect-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Guide / Article pages ────────────────────────────────────────── */

/* Reading time inline badge */
.reading-time {
  font-size: 0.82rem;
  color: #888;
}

/* Article lead paragraph */
.article-lead {
  font-size: 1.15rem;
  font-weight: 500;
  color: #2a2a2a;
  line-height: 1.85;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--border);
}

/* Break rating pill */
.break-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.3rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0.25rem 0;
}

/* Surf school card */
.school-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  border-left: 4px solid var(--accent);
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.school-card h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.3rem;
}

.school-card__meta {
  font-size: 0.82rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.school-card p {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 0;
}

/* Inline compact property card inside article */
.inline-property-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  margin: 1.75rem 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.inline-property-card__img {
  width: 100px;
  height: 70px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.inline-property-card__label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.inline-property-card__name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.15rem;
}

.inline-property-card__price {
  font-size: 0.9rem;
  color: #666;
}

.inline-property-card__cta {
  margin-left: auto;
  flex-shrink: 0;
}

/* Where to stay mini grid inside article */
.where-to-stay-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.mini-property-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: var(--text);
  transition: transform var(--transition-base);
}

.mini-property-card:hover {
  transform: translateY(-4px);
}

.mini-property-card img {
  width: 100%;
  height: 130px;
  object-fit: cover;
}

.mini-property-card__body {
  padding: 0.9rem;
}

.mini-property-card__name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.mini-property-card__price {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
}

/* Sarah quote block */
.sarah-quote {
  background: linear-gradient(135deg, #e8f0ec, #f0ece8);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
  border-left: 4px solid var(--accent);
  font-style: italic;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.8;
}

.sarah-quote strong {
  font-style: normal;
  color: var(--primary);
}

/* Related guides grid */
.related-guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .related-guides-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .related-guides-grid {
    grid-template-columns: 1fr;
  }
  .inline-property-card {
    flex-direction: column;
  }
  .inline-property-card__cta {
    margin-left: 0;
  }
}

/* ── Author page ──────────────────────────────────────────────────── */

/* Author hero section */
.author-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #2d5a4e 60%, var(--primary-dark) 100%);
  padding: 80px 0 60px;
  color: var(--white);
}

.author-hero .container {
  display: flex;
  gap: 48px;
  align-items: center;
}

.author-photo-wrap {
  flex-shrink: 0;
}

.author-photo-wrap img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.author-hero-info {
  flex: 1;
}

.author-hero-info h1 {
  font-size: 2.8rem;
  margin: 0 0 6px;
  color: var(--white);
  letter-spacing: -0.5px;
}

.author-hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  font-style: italic;
}

/* Credential badges row */
.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.author-stats-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding: 20px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.author-stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.author-stat-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.author-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Expertise grid */
.expertise-section {
  padding: 60px 0;
  background: var(--bg);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.expertise-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  transition: transform 0.2s, box-shadow 0.2s;
}

.expertise-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.expertise-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
  display: block;
}

.expertise-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 0 0 10px;
}

.expertise-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 14px;
}

.expertise-years {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

/* Editorial standards grid */
.standards-section {
  padding: 60px 0;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.standards-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.standards-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.standards-list li::before {
  content: '✓';
  color: var(--primary);
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 1px;
}

.standards-list li:last-child {
  border-bottom: none;
}

/* Contact section */
.contact-section {
  padding: 60px 0;
  background: var(--primary);
  color: var(--white);
}

.contact-section h2 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.contact-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-options {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
}

.contact-btn--primary {
  background: var(--accent);
  color: var(--white);
}

.contact-btn--primary:hover {
  background: var(--accent-dark);
}

.contact-btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.contact-btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

/* Bio layout */
.bio-section {
  padding: 60px 0;
}

.bio-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.bio-text h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 20px;
}

.bio-aside {
  position: sticky;
  top: 90px;
}

.bio-aside-card {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.bio-aside-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.bio-aside-card-body {
  padding: 20px;
}

.bio-aside-card-body h3 {
  font-size: 1rem;
  color: var(--primary);
  margin: 0 0 10px;
}

.bio-aside-card-body p {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.camera-note {
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  padding: 16px 20px;
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.6;
}

.camera-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.92rem;
}

/* Reviewed properties grid */
.reviewed-section {
  padding: 60px 0;
  background: var(--bg);
}

.reviewed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.reviewed-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.reviewed-card:hover {
  transform: translateY(-3px);
}

.reviewed-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.reviewed-card-body {
  padding: 16px;
}

.reviewed-card-body h3 {
  font-size: 0.95rem;
  color: var(--primary);
  margin: 0 0 6px;
}

.reviewed-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.reviewed-price {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
}

.reviewed-date {
  font-size: 0.76rem;
  color: #999;
}

.reviewed-rating {
  color: #f59e0b;
  font-size: 0.82rem;
  margin-top: 4px;
}

.reviewed-location {
  font-size: 0.8rem;
  color: #888;
  margin-top: 2px;
}

/* Section heading variants (author page) */
.section-heading {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.section-subheading {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0;
  max-width: 600px;
}

/* Visit timeline (author page extended) */
.timeline-section {
  padding: 60px 0;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -27px;
  top: 6px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-dot--primary {
  background: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline-date {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 6px;
}

.timeline-item h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin: 0 0 8px;
}

.timeline-item p {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin: 0 0 10px;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.timeline-tag {
  background: #f0f4f2;
  color: var(--primary);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 10px;
}

/* Author page responsive */
@media (max-width: 1024px) {
  .bio-layout {
    grid-template-columns: 1fr;
  }
  .bio-aside {
    position: static;
  }
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .reviewed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .author-hero .container {
    flex-direction: column;
    text-align: center;
    gap: 28px;
  }
  .author-photo-wrap img {
    width: 180px;
    height: 180px;
  }
  .author-hero-info h1 {
    font-size: 2rem;
  }
  .author-stats-row {
    justify-content: center;
  }
  .author-social {
    justify-content: center;
  }
  .credential-badges {
    justify-content: center;
  }
  .expertise-grid {
    grid-template-columns: 1fr;
  }
  .reviewed-grid {
    grid-template-columns: 1fr;
  }
  .standards-grid {
    grid-template-columns: 1fr;
  }
}


/* ======================================================
   CAROUSEL FILTER BAR
   Used on segment + location pages for cross-filtering
   properties by location / segment respectively.
   ====================================================== */

.carousel-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-8);
  margin-top: var(--space-6);
}

.carousel-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  border: 2px solid var(--border);
  border-radius: 9999px;
  background: var(--white);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  user-select: none;
  white-space: nowrap;
}

.carousel-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.carousel-filter-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.carousel-filter-btn.active:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
}

.carousel-filter-btn__count {
  font-size: 0.78rem;
  font-weight: 400;
  opacity: 0.75;
}

.carousel-filter-btn.active .carousel-filter-btn__count {
  opacity: 0.9;
}

.carousel-groups {
  min-height: 200px;
}

.carousel-group__empty {
  color: var(--text-muted);
  font-style: italic;
  padding: var(--space-8) 0;
  text-align: center;
}


/* ======================================================
   CONTENT.CSS — page templates & component overrides
   ====================================================== */

/* ===== BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background-color: #FDFCF9;
    color: #2C3A31;
    line-height: 1.65;
}
:root {
    --deep-forest: #2A5F4E;
    --ocean-depth: #1A6F8F;
    --mist-teal: #6C8E8E;
    --sky-bright: #4A90B0;
    --dunes-beige: #D4C4A8;
    --pure-white: #FFFFFF;
    --warm-sand: #F6F3EC;
    --shadow-sm: 0 12px 28px rgba(0,0,0,0.05);
    --shadow-hover: 0 24px 36px -14px rgba(0,0,0,0.12);
    --shadow-modal: 0 30px 50px -20px rgba(0,0,0,0.3);
    --rating-gold: #F4B942;
    --deal-red: #E76F51;
    --budget-green: #2A9D8F;
    --culinary-accent: #C57B3E;
    --adventure-orange: #E76F51;
    --adventure-green: #2A9D8F;
    --romantic-rose: #E8A2B6;
    --romantic-burgundy: #8B2252;
    --romantic-gold: #F4B942;
    --tackle-green: #2A5F4E;
    --carbon-green: #2A9D8F;
    --decision-green: #2A9D8F;
    --decision-gold: #F4B942;
}
h1, h2, h3, .logo-text, .heading-font {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.main-container {
    max-width: 980px;
    margin: 0 auto;
}

/* ===== NAVBAR ===== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--pure-white);
    border-bottom: 2px solid var(--dunes-beige);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-wrap: wrap;
    gap: 1rem;
    max-width: 100vw;
    overflow-x: hidden;
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-svg { height: 54px; width: auto; }
.logo-text { font-size: 1.8rem; font-weight: 700; color: var(--deep-forest); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; flex-wrap: wrap; }
.nav-links li a { text-decoration: none; font-weight: 600; color: var(--deep-forest); transition: 0.2s; font-size: 0.95rem; }
.nav-links li a:hover { color: var(--ocean-depth); }
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none; position: absolute; background: var(--pure-white); min-width: 260px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.12); border-radius: 20px; z-index: 200;
    padding: 0.8rem 0; border: 1px solid var(--dunes-beige); top: 130%; left: 0;
}
.dropdown-content a { color: var(--deep-forest); padding: 0.7rem 1.5rem; text-decoration: none; display: block; font-weight: 500; }
.dropdown-content a:hover { background: #f4efe6; color: var(--ocean-depth); }
.dropdown:hover .dropdown-content { display: block; }
.dropbtn { background: none; border: none; font-weight: 600; font-size: 0.95rem; cursor: pointer; color: var(--deep-forest); font-family: 'Inter', sans-serif; }
.dropbtn i { margin-left: 6px; font-size: 0.75rem; }
.btn-lead {
    background: var(--ocean-depth); color: white; padding: 0.6rem 1.4rem; border-radius: 60px;
    font-weight: 700; font-size: 0.85rem; border: none; cursor: pointer; transition: 0.2s;
    display: flex; align-items: center; gap: 8px;
}
.btn-lead:hover { background: var(--sky-bright); transform: translateY(-2px); }
.lang-switch { display: flex; gap: 0.5rem; margin-left: 1rem; }
.lang-switch a {
    padding: 0.3rem 0.8rem; border-radius: 40px; font-size: 0.8rem; font-weight: 600;
    text-decoration: none; background: var(--warm-sand); color: var(--deep-forest);
}
.lang-switch a.active { background: var(--deep-forest); color: white; }

/* ===== VALUE BAR ===== */
.value-bar { background: var(--warm-sand); padding: 2rem 0; border-bottom: 1px solid var(--dunes-beige); margin-bottom: 2rem; }
.value-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; text-align: center; }
.value-item { flex: 1; min-width: 140px; }
.value-item i { font-size: 2rem; color: var(--ocean-depth); margin-bottom: 0.5rem; }

/* ===== HERO ===== */
.hero-fullwidth { width: 100%; margin-bottom: 2rem; }
.article-hero { border-radius: 0; overflow: hidden; box-shadow: var(--shadow-sm); position: relative; width: 100%; }
.article-hero img { width: 100%; height: 500px; object-fit: cover; display: block; }
.hero-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 3rem 2rem 1.5rem; color: white;
}
.hero-overlay h1 { font-size: 3rem; color: white; text-shadow: 0 2px 10px rgba(0,0,0,0.4); margin-bottom: 0.5rem; max-width: 900px; }
.article-meta { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 0; }
.author-badge { display: flex; align-items: center; gap: 0.8rem; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%; background: var(--dunes-beige);
    display: flex; align-items: center; justify-content: center; font-weight: bold; color: var(--deep-forest);
}
.experience-tag {
    background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); padding: 0.4rem 1rem;
    border-radius: 40px; font-size: 0.8rem; font-weight: 600; border: 1px solid rgba(255,255,255,0.4);
}

/* ===== GALLERY & LIGHTBOX ===== */
.gallery-teaser { margin: -20px 0 2rem; position: relative; z-index: 5; }
.gallery-grid { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: center; }
.gallery-thumb {
    width: 100px; height: 100px; border-radius: 20px; object-fit: cover; cursor: pointer;
    border: 2px solid var(--pure-white); box-shadow: var(--shadow-sm); transition: transform 0.2s, border-color 0.2s;
}
.gallery-thumb:hover { transform: scale(1.05); border-color: var(--ocean-depth); }
.lightbox-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.92); z-index: 2000; align-items: center; justify-content: center; backdrop-filter: blur(8px);
}
.lightbox-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 92vw;
    max-height: 92vh;
}
.lightbox-media-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 280px;
    min-height: 200px;
}
.lightbox-media-container img {
    max-width: 90vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    display: block;
}
.lightbox-iframe {
    width: min(900px, 90vw);
    height: min(507px, 56.25vw);
    border: none;
    border-radius: 20px;
    background: #000;
    display: block;
}
.lightbox-iframe--instagram {
    width: min(480px, 90vw);
    height: min(600px, 80vh);
    border-radius: 20px;
    background: #fff;
}
.lightbox-iframe--video {
    width: min(900px, 90vw);
    height: min(507px, 56.25vw);
    border-radius: 20px;
    background: #000;
}
.lightbox-caption {
    color: rgba(255,255,255,0.85);
    font-size: 0.88rem;
    text-align: center;
    margin-top: 0.75rem;
    max-width: 600px;
    line-height: 1.4;
    min-height: 1.2em;
}
.lightbox-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    padding: 3rem;
}
.lightbox-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: rgba(255,255,255,0.8);
    border-radius: 50%;
    animation: lightboxSpin 0.7s linear infinite;
}
@keyframes lightboxSpin {
    to { transform: rotate(360deg); }
}
.lightbox-dev-notice {
    background: rgba(255,255,255,0.08);
    border: 1px dashed rgba(255,255,255,0.3);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    text-align: center;
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    max-width: 420px;
    line-height: 1.6;
}
.lightbox-dev-notice strong { color: #fff; display: block; margin-bottom: 0.5rem; font-size: 1rem; }
.lightbox-close { position: absolute; top: -44px; right: 0; background: none; border: none; color: white; font-size: 2.2rem; cursor: pointer; opacity: 0.8; line-height: 1; }
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
    position: absolute;
    top: calc(50% - 1.5rem);
    transform: translateY(-50%);
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    font-size: 1.4rem;
    padding: 0.6rem 0.9rem;
    cursor: pointer;
    border-radius: 50px;
    line-height: 1;
}
.lightbox-prev { left: -56px; }
.lightbox-next { right: -56px; }
.lightbox-nav:hover { background: var(--ocean-depth); }

/* ===== ARTICLE LAYOUT ===== */
.article-wrapper { display: flex; gap: 2.5rem; margin-top: 2rem; }
.article-sidebar { width: 280px; flex-shrink: 0; order: 1; position: sticky; top: 100px; align-self: start; }
.article-main { flex: 1; max-width: 780px; order: 2; }
.toc-sidebar {
    background: var(--pure-white); border-radius: 28px; padding: 1.8rem;
    border: 1px solid var(--dunes-beige); box-shadow: var(--shadow-sm);
}
.toc-sidebar h3 { margin-bottom: 1.2rem; color: var(--deep-forest); }
.toc-sidebar ul { list-style: none; }
.toc-sidebar li { margin-bottom: 0.8rem; }
.toc-sidebar a { text-decoration: none; color: #3b4b44; font-weight: 500; transition: 0.2s; display: block; }
.toc-sidebar a:hover { color: var(--ocean-depth); padding-left: 5px; }

/* ===== COMPONENTS (Cards, Tables, Checklist, etc.) ===== */
.image-float-left { float: left; width: 45%; margin-right: 1.8rem; margin-bottom: 1rem; border-radius: 28px; box-shadow: var(--shadow-sm); }
.image-float-right { float: right; width: 45%; margin-left: 1.8rem; margin-bottom: 1rem; border-radius: 28px; box-shadow: var(--shadow-sm); }
.image-full { width: 100%; border-radius: 32px; margin: 2rem 0; box-shadow: var(--shadow-sm); }
.callout-box {
    background: var(--warm-sand); border-left: 6px solid var(--ocean-depth); padding: 1.8rem 2rem;
    border-radius: 24px; margin: 2rem 0; clear: both;
}
.stat-highlight {
    display: flex; gap: 2rem; background: var(--pure-white); border-radius: 28px; padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm); margin: 2rem 0; border: 1px solid var(--dunes-beige); flex-wrap: wrap; justify-content: center;
}
.stat-item { text-align: center; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--ocean-depth); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--mist-teal); }

/* ===== CTA BOOK NOW ===== */
.cta-book-now {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
    background: linear-gradient(135deg, var(--ocean-depth), var(--mist-teal));
    border-radius: 24px; padding: 1.4rem 1.8rem; margin: 1.8rem 0; clear: both;
}
.cta-book-now--activity { background: linear-gradient(135deg, #2d6a4f, #52b788); }
.cta-book-now__text strong { display: block; color: #fff; font-size: 1rem; margin-bottom: 0.2rem; }
.cta-book-now__text span { color: rgba(255,255,255,0.85); font-size: 0.85rem; }
.cta-book-now__btn {
    flex-shrink: 0; background: #fff; color: var(--ocean-depth); border-radius: 14px;
    padding: 0.65rem 1.3rem; font-weight: 700; font-size: 0.9rem; text-decoration: none;
    display: inline-flex; align-items: center; gap: 0.4rem; transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.cta-book-now__btn:hover { background: var(--warm-sand); color: var(--deep-forest); }

/* Sidebar booking widget */
.sidebar-booking-widget {
    margin-top: 1.5rem; background: var(--pure-white); border-radius: 24px; padding: 1.4rem;
    border: 1px solid var(--dunes-beige); box-shadow: var(--shadow-sm); text-align: center;
}
.sidebar-booking-widget__label { font-weight: 700; color: var(--deep-forest); font-size: 0.95rem; margin-bottom: 0.3rem; }
.sidebar-booking-widget__sub { font-size: 0.82rem; color: #5c6f64; margin-bottom: 0.9rem; }
.btn-book-sidebar {
    display: block; background: var(--ocean-depth); color: #fff; border-radius: 14px;
    padding: 0.7rem 1rem; font-weight: 700; font-size: 0.88rem; text-decoration: none;
    transition: background 0.2s; margin-bottom: 0.5rem;
}
.btn-book-sidebar:hover { background: var(--mist-teal); color: #fff; }
.btn-book-sidebar--tours {
    background: transparent; color: var(--ocean-depth); border: 2px solid var(--ocean-depth);
}
.btn-book-sidebar--tours:hover { background: var(--ocean-depth); color: #fff; }

/* Carousel */
.similar-section { margin: 3rem 0 2rem; }
.similar-header {
    display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap;
    margin-bottom: 1.5rem; border-left: 6px solid var(--dunes-beige); padding-left: 1.2rem;
}
.carousel-controls { display: flex; gap: 0.8rem; }
.carousel-btn {
    background: var(--pure-white); border: 1.5px solid var(--mist-teal); border-radius: 60px;
    width: 42px; height: 42px; cursor: pointer; transition: 0.2s; color: var(--deep-forest);
}
.carousel-btn:hover { background: var(--ocean-depth); border-color: var(--ocean-depth); color: white; }
.carousel-container { overflow-x: auto; scroll-behavior: smooth; border-radius: 28px; padding: 0.5rem 0 0.2rem; }
.carousel-track { display: flex; gap: 1.8rem; padding: 0.5rem 0.2rem 1rem; }
.carousel-card {
    flex: 0 0 300px; background: var(--pure-white); border-radius: 24px; overflow: hidden;
    transition: 0.3s; box-shadow: var(--shadow-sm);
}
.carousel-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.carousel-card img { width: 100%; height: 200px; object-fit: cover; }
.carousel-card-content { padding: 1rem 1rem 1.2rem; }
.carousel-card-content h4 { font-size: 1.2rem; color: var(--deep-forest); }
.carousel-location { font-size: 0.75rem; color: var(--mist-teal); margin: 0.3rem 0; }
.carousel-price { font-weight: 800; color: var(--ocean-depth); margin-top: 0.5rem; }
.carousel-link { display: inline-block; margin-top: 0.6rem; color: var(--ocean-depth); font-weight: 600; text-decoration: none; }

/* Checklist */
.checklist-step {
    background: var(--pure-white); border-radius: 28px; padding: 1.6rem; margin-bottom: 1.8rem;
    box-shadow: var(--shadow-sm); transition: all 0.2s; border: 1px solid var(--dunes-beige);
    display: flex; gap: 1.2rem; flex-wrap: wrap;
}
.step-checkbox-area input[type="checkbox"] { width: 28px; height: 28px; cursor: pointer; accent-color: var(--ocean-depth); }
.progress-container { background: #e9e3d8; border-radius: 60px; height: 12px; width: 100%; margin: 1.5rem 0 0.5rem; }
.progress-fill { background: var(--ocean-depth); width: 0%; height: 12px; border-radius: 60px; transition: width 0.25s ease; }
.progress-stats { display: flex; justify-content: space-between; font-size: 0.9rem; font-weight: 600; margin-top: 0.4rem; color: var(--deep-forest); }

/* Deal / Seasonal */
.deal-card-grid { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 2rem 0; }
.deal-card {
    flex: 1; min-width: 280px; background: white; border-radius: 32px; overflow: hidden;
    box-shadow: var(--shadow-sm); transition: transform 0.2s; border: 1px solid var(--dunes-beige); position: relative;
}
.deal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.deal-tag {
    position: absolute; top: 1rem; left: 1rem; background: var(--deal-red); color: white;
    padding: 0.2rem 1rem; border-radius: 60px; font-weight: 700; font-size: 0.7rem; z-index: 2;
}
.deal-card-img { height: 200px; overflow: hidden; }
.deal-card-img img { width: 100%; height: 100%; object-fit: cover; }
.deal-card-body { padding: 1.5rem; }
.deal-price { font-size: 1.8rem; font-weight: 800; color: var(--ocean-depth); }
.deal-old-price { text-decoration: line-through; font-size: 1rem; color: var(--mist-teal); margin-left: 0.5rem; }
.deal-save { background: var(--rating-gold); display: inline-block; padding: 0.2rem 0.6rem; border-radius: 40px; font-size: 0.7rem; font-weight: 700; margin-left: 0.5rem; }
.btn-deal { background: var(--deal-red); color: white; border: none; width: 100%; padding: 0.8rem; border-radius: 60px; font-weight: 700; cursor: pointer; margin-top: 1rem; transition: 0.2s; }
.btn-deal:hover { background: var(--ocean-depth); }

/* Comparison tables */
.comparison-table {
    width: 100%; border-collapse: collapse; background: white; border-radius: 28px;
    overflow: hidden; box-shadow: var(--shadow-sm);
}
.comparison-table th, .comparison-table td {
    padding: 1rem 1.2rem; text-align: left; border-bottom: 1px solid var(--dunes-beige); vertical-align: top;
}
.comparison-table th { background: var(--deep-forest); color: white; font-weight: 600; }
.comparison-table tr:last-child td { border-bottom: none; }

/* Full‑width CTA */
.fullwidth-cta { width: 100%; background: var(--deep-forest); margin-top: 3rem; }
.cta-inner { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem; text-align: center; color: white; }
.cta-inner h2 { color: white; font-size: 2.2rem; }
.cta-btn {
    background: var(--dunes-beige); color: var(--deep-forest); padding: 1rem 2.5rem;
    border-radius: 60px; font-weight: 700; cursor: pointer; border: none; transition: 0.2s; display: inline-block;
}
.cta-btn:hover { background: var(--sky-bright); color: white; transform: translateY(-2px); }

/* Footer */
.footer { background: #ede9e1; padding: 2.5rem 0 1.5rem; border-top: 1px solid var(--dunes-beige); }
.footer-columns { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; margin-bottom: 2rem; }
.footer-col { text-align: center; }
.footer-col a { display: block; color: #3d5a4f; text-decoration: none; margin: 0.5rem 0; }
.footer-col a:hover { color: var(--ocean-depth); }
.social-icons a { display: inline-block; margin-right: 1.2rem; font-size: 1.6rem; color: var(--deep-forest); }
.footer-copyright { text-align: center; padding-top: 1.5rem; border-top: 1px solid #cfc6b6; font-size: 0.85rem; color: #5c6f64; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .article-wrapper { flex-direction: column; }
    .article-sidebar { width: 100%; order: 1; position: static; }
    .toc-sidebar { position: static; }
    .hero-overlay h1 { font-size: 2.2rem; }
    .image-float-left, .image-float-right { float: none; width: 100%; margin: 1.5rem 0; }
    .lightbox-prev { left: 8px; }
    .lightbox-next { right: 8px; }
    .lightbox-iframe { width: min(700px, 90vw); height: min(394px, 50.625vw); }
}
@media (max-width: 768px) {
    .navbar { flex-direction: row; justify-content: space-between; align-items: center; }
    .hamburger-btn { display: flex; }
    .nav-links {
        display: none; flex-direction: column; width: 100%; gap: 0;
        order: 4; border-top: 1px solid var(--dunes-beige); padding: 0.5rem 0;
    }
    .nav-links.nav-open { display: flex; }
    .nav-links li a, .nav-links .dropbtn { padding: 0.75rem 1.5rem; display: block; width: 100%; text-align: left; }
    .nav-links .dropdown-content { position: static; box-shadow: none; border-radius: 0; border: none; border-top: 1px solid var(--dunes-beige); min-width: unset; top: auto; }
    .nav-links .dropdown:hover .dropdown-content { display: none; }
    .nav-links .dropdown.open .dropdown-content { display: block; }
    .nav-links .btn-lead { margin: 0.5rem 1.5rem; width: calc(100% - 3rem); justify-content: center; }
    .hero-overlay h1 { font-size: 1.8rem; }
    .article-hero img { height: 380px; }
    .carousel-card { flex: 0 0 260px; }
    .checklist-step { flex-direction: column; }
}
@media (max-width: 480px) {
    .hero-overlay h1 { font-size: 1.5rem; }
    .value-item { min-width: 120px; }
    .gallery-thumb { width: 70px; height: 70px; }
    .gallery-item { width: 70px; height: 70px; }
    .gallery-media-badge { width: 22px; height: 22px; font-size: 0.65rem; bottom: 4px; right: 4px; }
    .container,
    .main-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .navbar {
        padding: 0.75rem 1rem;
    }
    .nav-links {
        gap: 0.75rem;
        font-size: 0.85rem;
    }
    .logo-svg {
        height: 42px;
    }
}

/* ===== PROMOTED PROPERTY CARD ===== */
.promoted-property-card {
    background: var(--pure-white);
    border-radius: 28px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    margin: 2rem 0;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    border: 1px solid var(--dunes-beige);
}
.promoted-property-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--ocean-depth);
}
.promoted-property-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.promoted-property-body {
    padding: 1.5rem;
}
.promoted-property-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 0.5rem;
}
.promoted-property-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.promoted-property-stars {
    color: var(--rating-gold);
    letter-spacing: 2px;
}
.promoted-property-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--ocean-depth);
    margin: 0.5rem 0;
}
.promoted-property-desc {
    color: #4a5c52;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}
.promoted-property-btn {
    background: var(--deep-forest);
    color: white;
    border: none;
    padding: 0.7rem 1.2rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    width: fit-content;
}
.promoted-property-btn:hover {
    background: var(--ocean-depth);
}

/* Badge & note – inside the card, above carousel */
.property-recommendation-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--deep-forest);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    margin: 0.5rem 1rem 0 1rem;
    border-radius: 60px;
    width: fit-content;
}
.property-recommendation-badge i {
    font-size: 1rem;
}
.property-recommendation-note {
    font-size: 0.75rem;
    color: var(--mist-teal);
    margin: 0.5rem 1rem 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.property-recommendation-note i {
    color: var(--ocean-depth);
}

/* ===== AFFILIATE BANNER IN SIDEBAR ===== */
.affiliate-banner-container {
    margin-top: 1.5rem;
    text-align: center;
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 0.5rem;
    border: 1px solid var(--dunes-beige);
}
.affiliate-banner-placeholder {
    background: #e9e3d8;
    border-radius: 16px;
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--mist-teal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}
.affiliate-banner-placeholder i {
    font-size: 2rem;
    color: var(--ocean-depth);
}
.affiliate-banner-container.vertical {
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}
.affiliate-banner-container.vertical .affiliate-banner-placeholder {
    min-height: 600px;
    justify-content: center;
}

/* ===== PROPERTY CARD CAROUSEL ===== */
.property-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
}
.property-carousel-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
}
.property-carousel-slide {
    flex: 0 0 100%;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
}
.property-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}
.property-carousel-btn:hover {
    background: var(--ocean-depth);
}
.property-carousel-prev { left: 12px; }
.property-carousel-next { right: 12px; }
.property-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}
.property-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.2s;
}
.property-carousel-dot.active {
    background: white;
    transform: scale(1.2);
}
@media (hover: hover) {
    .property-carousel-btn { opacity: 0; transition: opacity 0.2s; }
    .property-carousel:hover .property-carousel-btn { opacity: 1; }
}
@media (max-width: 768px) {
    .property-carousel-btn { opacity: 1; width: 32px; height: 32px; }
    .promoted-property-img { height: 180px; }
    .promoted-property-title { font-size: 1.3rem; }
}

/* ===== SEGMENT-SPECIFIC VALUE BARS ===== */
.value-bar { transition: background 0.3s ease, color 0.3s ease; }

.value-bar--romantic { background: #FDF2F8; border-bottom: 1px solid #FBCFE8; }
.value-bar--romantic .value-item i { color: #BE185D; }
.value-bar--romantic .value-item { color: #831843; }

.value-bar--family { background: #FEF3C7; border-bottom: 1px solid #FDE68A; }
.value-bar--family .value-item i { color: #D97706; }
.value-bar--family .value-item { color: #92400E; }

.value-bar--surf { background: #E0F2FE; border-bottom: 1px solid #BAE6FD; }
.value-bar--surf .value-item i { color: #0284C7; }
.value-bar--surf .value-item { color: #0369A1; }

.value-bar--wellness { background: #ECFDF5; border-bottom: 1px solid #A7F3D0; }
.value-bar--wellness .value-item i { color: #059669; }
.value-bar--wellness .value-item { color: #047857; }

.value-bar--workation { background: #F1F5F9; border-bottom: 1px solid #CBD5E1; }
.value-bar--workation .value-item i { color: #475569; }
.value-bar--workation .value-item { color: #1E293B; }

.value-bar--pet { background: #FEF2F2; border-bottom: 1px solid #FECACA; }
.value-bar--pet .value-item i { color: #DC2626; }
.value-bar--pet .value-item { color: #991B1B; }

.value-bar--group { background: #F5F3FF; border-bottom: 1px solid #DDD6FE; }
.value-bar--group .value-item i { color: #7C3AED; }
.value-bar--group .value-item { color: #5B21B6; }

.value-bar--boutique { background: #FFFBEB; border-bottom: 1px solid #FDE68A; }
.value-bar--boutique .value-item i { color: #B45309; }
.value-bar--boutique .value-item { color: #78350F; }

.value-bar--allinclusive { background: #F8FAFC; border-bottom: 1px solid #E2E8F0; box-shadow: inset 0 -1px 0 0 #38BDF8; }
.value-bar--allinclusive .value-item i { color: #0284C7; }
.value-bar--allinclusive .value-item { color: #0F172A; }

.value-bar--eco { background: #ECFDF5; border-bottom: 1px solid #A7F3D0; }
.value-bar--eco .value-item i { color: #059669; }
.value-bar--eco .value-item { color: #047857; }

/* ===== BEHIND‑THE‑SCENES CAROUSEL ===== */
.behind-scenes-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 24px;
    margin: 1.5rem 0;
    background: #FDFCF9;
    box-shadow: var(--shadow-sm);
    aspect-ratio: 3 / 2;
}

.behind-scenes-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    height: 100%;
}

.behind-scenes-track .bs-img {
    flex: 0 0 100%;
    height: 100%;
}

.behind-scenes-track .bs-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.behind-scenes-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    color: var(--deep-forest);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, opacity 0.2s;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.behind-scenes-nav-btn:hover {
    background: var(--ocean-depth);
    color: white;
}

.behind-scenes-prev {
    left: 10px;
}
.behind-scenes-next {
    right: 10px;
}

.behind-scenes-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.behind-scenes-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}
.behind-scenes-dot.active {
    background: white;
    transform: scale(1.3);
}

@media (max-width: 480px) {
    .behind-scenes-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
}

/* ===== NEW: MISSING CHECKLIST & STEP STYLES ===== */
.checklist-intro {
    text-align: center;
    margin-bottom: 2rem;
}
.checklist-intro i {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.checklist-intro h2 {
    color: var(--deep-forest);
}
.checklist-intro p {
    max-width: 700px;
    margin: 0.5rem auto 0;
    color: #4a5c52;
}

.reset-checklist-btn {
    background: var(--ocean-depth);
    color: white;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.reset-checklist-btn:hover {
    background: var(--sky-bright);
}

.step-checkbox-area {
    display: flex;
    align-items: flex-start;
    padding-top: 0.2rem;
}

.step-content {
    flex: 1;
    min-width: 0;
}

.step-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--deep-forest);
    display: flex;
    align-items: baseline;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.step-badge {
    background: var(--warm-sand);
    color: var(--deep-forest);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.step-description {
    color: #4a5c52;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.step-img {
    margin-top: 1rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.step-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.sub-checklist {
    background: var(--warm-sand);
    border-radius: 16px;
    padding: 1rem;
    margin-top: 0.8rem;
}
.sub-checklist p {
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.sub-checklist ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.sub-checklist ul li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}
.sub-checklist ul li i {
    color: var(--ocean-depth);
    width: 1.2rem;
    text-align: center;
}
/* ===== MISSING STYLES FOR ALL TEMPLATES ===== */

/* --- Comparison / Decision Guide (comparison_decision_guide_sample_template, comparison_sample_template) --- */
.comparison-table-wrapper,
.comparison-table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}
.comparison-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.comp-card {
    background: var(--pure-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
    border: 1px solid var(--dunes-beige);
}
.comp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.comp-card-img {
    height: 180px;
    overflow: hidden;
}
.comp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.comp-card-body {
    padding: 1.2rem;
}
.comp-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 0.3rem;
}
.comp-card-price {
    font-weight: 800;
    color: var(--ocean-depth);
    margin-bottom: 0.8rem;
}
.comp-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
    font-size: 0.9rem;
}
.comp-feature-list li {
    padding: 0.2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.comp-feature-list li i.fa-check-circle {
    color: var(--ocean-depth);
}
.comp-feature-list li i.fa-times-circle {
    color: var(--deal-red);
}
.btn-small {
    display: inline-block;
    background: var(--deep-forest);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}
.btn-small:hover {
    background: var(--ocean-depth);
}

.pros-cons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}
.pros-box, .cons-box {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.pros-box h4 i { color: var(--ocean-depth); }
.cons-box h4 i { color: var(--deal-red); }

.pros-cons-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
.pros-card, .cons-card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: var(--shadow-sm);
}

.decision-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.matrix-card {
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
}
.matrix-card i {
    font-size: 2rem;
    color: var(--ocean-depth);
    margin-bottom: 0.5rem;
}
.matrix-card h3 {
    font-size: 1.2rem;
    color: var(--deep-forest);
    margin-bottom: 0.5rem;
}

.quiz-card {
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.decision-intro, .comparison-intro {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.rating-badge {
    background: var(--rating-gold);
    color: #000;
    padding: 0.2rem 0.7rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
}

.rating-stars-small {
    color: var(--rating-gold);
    letter-spacing: 2px;
}

/* --- Culinary Adventure (culinary_adventure_sample_template) --- */
.combo-card {
    display: flex;
    gap: 1.5rem;
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--adventure-orange);
    flex-wrap: wrap;
}
.combo-icon {
    font-size: 2.5rem;
    color: var(--adventure-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}
.combo-content {
    flex: 1;
}
.adventure-badge {
    background: var(--adventure-orange);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.5rem;
}
.adventure-btn {
    background: var(--adventure-orange);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 0.8rem;
    display: inline-block;
    text-decoration: none;
}

.itinerary-day {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    border-left: 6px solid var(--ocean-depth);
}
.itinerary-day strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--deep-forest);
}

/* --- Budget Culinary (culinary_budget_sample_template) --- */
.budget-intro {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.street-food-card {
    display: flex;
    gap: 1rem;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
    align-items: center;
}
.food-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    flex-shrink: 0;
}
.price-tag {
    background: var(--deal-red);
    color: white;
    padding: 0.15rem 0.6rem;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.8rem;
    white-space: nowrap;
}
.money-tip {
    background: var(--warm-sand);
    padding: 0.8rem 1rem;
    border-radius: 16px;
    margin: 0.8rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.money-tip i {
    color: var(--ocean-depth);
    font-size: 1.2rem;
}
.budget-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}
.budget-table th, .budget-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--dunes-beige);
}
.budget-table th {
    background: var(--deep-forest);
    color: white;
}
.daily-budget {
    background: var(--warm-sand);
    border-radius: 16px;
    padding: 0.8rem;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* --- Cultural Culinary (culinary_cultural_sample_template) --- */
.culture-intro {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.dish-culture-card {
    display: flex;
    gap: 1.2rem;
    background: var(--pure-white);
    padding: 1.2rem;
    border-radius: 20px;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}
.dish-icon {
    font-size: 2rem;
    color: var(--culinary-accent);
    min-width: 40px;
    text-align: center;
}
.festival-card {
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.festival-card i {
    color: var(--ocean-depth);
}
.market-story {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}
.recipe-short {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1rem;
    margin: 1rem 0;
}
.heritage-section {
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 2rem 0;
}

/* --- Deep Dive Culinary (culinary_deep_dive_sample_template) --- */
.ingredient-spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.ingredient-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.ingredient-card i {
    font-size: 2rem;
    color: var(--culinary-accent);
    margin-bottom: 0.5rem;
}
.technique-card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}
.chef-interview {
    display: flex;
    gap: 1.5rem;
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    flex-wrap: wrap;
    align-items: center;
}
.chef-avatar {
    font-size: 3rem;
    color: var(--ocean-depth);
}
.recipe-deep {
    margin: 2rem 0;
}
.recipe-step {
    background: var(--pure-white);
    border-radius: 16px;
    padding: 1rem;
    margin: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--ocean-depth);
}

/* --- Romantic Culinary (culinary_romantic_sample_template) --- */
.romantic-intro {
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}
.romance-card {
    display: flex;
    gap: 1.2rem;
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.2rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
    align-items: center;
}
.romance-icon {
    font-size: 2rem;
    color: var(--romantic-rose);
    min-width: 40px;
    text-align: center;
}
.romance-content {
    flex: 1;
}
.price-romantic {
    font-weight: 700;
    color: var(--ocean-depth);
    font-size: 0.9rem;
}
.heart-badge {
    background: var(--romantic-rose);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}
.sunset-picnic {
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}
.proposal-card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

/* --- General Fishing (fishing_guide_sample_template) --- */
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.species-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.species-card i {
    font-size: 2rem;
    color: var(--ocean-depth);
}
.season-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
    font-size: 0.85rem;
}
.season-table th, .season-table td {
    padding: 0.5rem 0.4rem;
    text-align: center;
    border-bottom: 1px solid var(--dunes-beige);
}
.season-table th {
    background: var(--deep-forest);
    color: white;
}
.hot-month {
    background: var(--deal-red);
    color: white;
    font-weight: 700;
}
.charter-card {
    display: flex;
    gap: 1rem;
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.2rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
    align-items: center;
}
.charter-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
}
.charter-info {
    flex: 1;
}
.gear-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}
.gear-item {
    background: var(--warm-sand);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* --- Practical Fishing (fishing_guide_practical_sample_template) --- */
.practical-intro {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}
.gear-checklist {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1.2rem;
    margin: 1rem 0;
}
.gear-checklist ul {
    list-style: none;
    padding: 0;
}
.gear-checklist ul li {
    padding: 0.3rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.knot-card {
    display: flex;
    gap: 1rem;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1rem;
    margin: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    align-items: center;
}
.knot-img {
    font-size: 2rem;
    color: var(--ocean-depth);
    min-width: 40px;
    text-align: center;
}
.reg-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}
.reg-table th, .reg-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid var(--dunes-beige);
}
.reg-table th {
    background: var(--deep-forest);
    color: white;
}
.safety-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.safety-card {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}
.download-checklist {
    background: var(--tackle-green);
    color: white;
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}

/* --- Itinerary (itinerary_sample_template) --- */
.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.day-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin: 0;
}
.day-badge {
    background: var(--warm-sand);
    padding: 0.2rem 0.8rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}
.day-content {
    margin-bottom: 1rem;
}
.time-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 0.8rem 0;
}
.time-icon {
    background: var(--ocean-depth);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    white-space: nowrap;
}
.time-text {
    flex: 1;
}
.activity-highlight {
    background: var(--warm-sand);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
    font-style: italic;
}
.packing-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1rem 0;
}
.packing-item {
    background: var(--warm-sand);
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.map-placeholder {
    background: #e0e7e3;
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
    border: 2px dashed var(--mist-teal);
}

/* --- Road Map (road_map_guide_sample_template) --- */
.map-placeholder-large {
    background: #e0e7e3;
    border-radius: 32px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
    border: 2px dashed var(--mist-teal);
}
.poi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}
.poi-card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--dunes-beige);
    transition: transform 0.2s;
    text-align: center;
}
.poi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.poi-card i { font-size: 2rem; color: var(--ocean-depth); margin-bottom: 0.8rem; }
.poi-card h3 { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--deep-forest); margin-bottom: 0.5rem; }
.poi-card .poi-distance { font-size: 0.9rem; font-weight: 600; color: var(--mist-teal); margin-bottom: 0.5rem; }
.route-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.5rem 0;
}
.route-table th, .route-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--dunes-beige);
}
.route-table th { background: var(--deep-forest); color: white; font-weight: 600; }
.route-table tr:last-child td { border-bottom: none; }
.time-badge {
    background: var(--warm-sand);
    border-radius: 60px;
    padding: 0.2rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
}

/* --- Listicle (listicle_roundup_sample_template) --- */
.listicle-intro {
    margin-bottom: 1.5rem;
}
.roundup-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.stat-chip {
    background: var(--warm-sand);
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
}
.listicle-item {
    display: flex;
    gap: 1.5rem;
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}
.rank-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ocean-depth);
    font-family: 'Playfair Display', serif;
    min-width: 60px;
    line-height: 1;
}
.listicle-content {
    flex: 1;
}
.listicle-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin-bottom: 0.3rem;
}
.rating {
    color: var(--rating-gold);
    margin-bottom: 0.5rem;
}
.tag-group {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}
.tag {
    background: var(--warm-sand);
    padding: 0.2rem 0.6rem;
    border-radius: 40px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--deep-forest);
}
.pros-cons-mini {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
}
.pros-mini { color: var(--ocean-depth); }
.cons-mini { color: var(--deal-red); }
.listicle-img {
    width: 180px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
}
.btn-sm {
    display: inline-block;
    background: var(--ocean-depth);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s;
}
.btn-sm:hover { background: var(--sky-bright); }
.honorable-mention {
    margin: 2rem 0 1rem;
}
.honorable-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}
.honor-card {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
}

/* --- Spotlight Review (spotlight_review_sample_template) --- */
.review-scorecard {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}
.score-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.overall-rating {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ocean-depth);
}
.stars-large {
    color: var(--rating-gold);
    font-size: 1.5rem;
}
.category-rating {
    display: flex;
    justify-content: space-between;
    background: var(--warm-sand);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    margin: 0.4rem 0;
    font-weight: 600;
}
.insight-quote {
    background: var(--warm-sand);
    border-left: 6px solid var(--ocean-depth);
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    font-style: italic;
    margin: 1.5rem 0;
}
.user-review-card {
    display: flex;
    gap: 1rem;
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1rem;
    margin: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    align-items: flex-start;
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--dunes-beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--deep-forest);
    flex-shrink: 0;
}
.user-review-text {
    flex: 1;
}
.user-stars {
    color: var(--rating-gold);
}

/* --- Sustainable Travel (sustainability_...template) --- */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
    margin: 1.5rem 0;
}
.principle-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.principle-card i {
    font-size: 2rem;
    color: var(--ocean-depth);
    margin-bottom: 0.5rem;
}
.impact-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}
.impact-stat {
    background: var(--warm-sand);
    padding: 0.4rem 0.8rem;
    border-radius: 40px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.carbon-calculator {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1rem 0;
}
.cert-badge {
    background: var(--deep-forest);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 1rem;
}
.ethics-checklist {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1.2rem;
}
.ethics-checklist ul {
    list-style: none;
    padding: 0;
}
.ethics-checklist ul li {
    padding: 0.4rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.eco-pledge {
    background: var(--warm-sand);
    border-radius: 24px;
    padding: 1.5rem;
    text-align: center;
    margin: 2rem 0;
}

/* --- Travel Deals (travel_deals_sample_template) --- */
.seasonal-alert {
    background: var(--deal-red);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}
.countdown {
    font-size: 1.2rem;
    font-weight: 800;
}
.deal-badge {
    background: var(--deal-red);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
}
.flash-sale {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1rem;
    margin: 1.5rem 0;
    font-size: 1.1rem;
    text-align: center;
}
.season-highlight {
    background: var(--warm-sand);
    border-radius: 20px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* --- Dish Grid (culinary guide) --- */
.dish-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.dish-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1.2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}
.dish-card i {
    font-size: 2rem;
    color: var(--culinary-accent);
    margin-bottom: 0.5rem;
}

/* --- Recipe Card (general) --- */
.recipe-card {
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}
.recipe-steps {
    margin-top: 0.8rem;
}

/* --- Restaurant Card (fishing) --- */
.restaurant-card {
    display: flex;
    gap: 1rem;
    background: var(--pure-white);
    border-radius: 24px;
    padding: 1.2rem;
    margin: 1rem 0;
    box-shadow: var(--shadow-sm);
    align-items: center;
    flex-wrap: wrap;
}
.restaurant-img {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
}
.restaurant-info {
    flex: 1;
}

/* --- Fishing Culinary (fishing_guide_culinary_sample_template) --- */
.fish-species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}
.fish-card {
    background: var(--pure-white);
    border-radius: 20px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--ocean-depth);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 0 0 12px 12px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ===== HAMBURGER BUTTON ===== */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
}
.hamburger-btn:hover { background: var(--warm-sand); }
.hamburger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--deep-forest);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}
.hamburger-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger-btn.active span:nth-child(2) { opacity: 0; }
.hamburger-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
    background: var(--warm-sand);
    border-bottom: 1px solid var(--dunes-beige);
    padding: 0.5rem 0;
}
.breadcrumb {
    display: flex;
    gap: 0;
    list-style: none;
    font-size: 0.82rem;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
}
.breadcrumb li {
    display: flex;
    align-items: center;
    color: var(--mist-teal);
}
.breadcrumb li:not(:last-child)::after {
    content: "›";
    margin: 0 0.5rem;
    color: var(--mist-teal);
}
.breadcrumb a {
    text-decoration: none;
    color: var(--ocean-depth);
    font-weight: 500;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb li[aria-current="page"] { color: var(--deep-forest); font-weight: 600; }

/* ===== GALLERY ITEMS (multi-type) ===== */
.gallery-item {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--pure-white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s, border-color 0.2s;
    flex-shrink: 0;
}
.gallery-item:hover,
.gallery-item:focus-visible {
    transform: scale(1.05);
    border-color: var(--ocean-depth);
    outline: none;
}
.gallery-item:focus-visible { outline: 3px solid var(--ocean-depth); outline-offset: 2px; }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}
.gallery-media-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #fff;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}
.gallery-media-badge--youtube { background: #FF0000; }
.gallery-media-badge--instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.gallery-media-badge--video { background: #333; }
.gallery-media-badge--iframe { background: var(--ocean-depth); }

/* ===== PROPERTY DETAILS MODAL ===== */
.prop-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.prop-modal.is-open {
    display: flex;
}
.prop-modal-content {
    background: var(--pure-white);
    border-radius: 28px;
    overflow: hidden;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-modal);
    position: relative;
}
.prop-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.prop-modal-close:hover { background: var(--ocean-depth); }
.prop-modal-carousel {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #111;
    flex-shrink: 0;
}
.prop-modal-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.prop-modal-slide {
    flex: 0 0 100%;
    height: 100%;
}
.prop-modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prop-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
}
.prop-modal-nav:hover { background: var(--ocean-depth); }
.prop-modal-prev { left: 14px; }
.prop-modal-next { right: 14px; }
.prop-modal-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}
.prop-modal-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
}
.prop-modal-dot.active {
    background: white;
    transform: scale(1.3);
}
.prop-modal-counter {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.7rem;
    border-radius: 40px;
    z-index: 5;
}
.prop-modal-body {
    padding: 1.6rem 1.8rem 1.8rem;
    overflow-y: auto;
    flex: 1;
}
.prop-modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-forest);
    margin: 0 0 0.6rem;
    padding-right: 1rem;
}
.prop-modal-meta {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.prop-modal-location {
    color: var(--mist-teal);
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.prop-modal-location i { color: var(--ocean-depth); }
.prop-modal-price {
    font-weight: 800;
    color: var(--ocean-depth);
    font-size: 1.1rem;
}
.prop-modal-desc {
    color: #4a5c52;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1rem;
}
.prop-modal-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.3rem;
}
.prop-modal-amenity {
    background: var(--warm-sand);
    border: 1px solid var(--dunes-beige);
    color: var(--deep-forest);
    padding: 0.3rem 0.85rem;
    border-radius: 40px;
    font-size: 0.78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.prop-modal-amenity i { color: var(--ocean-depth); font-size: 0.7rem; }
.prop-modal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--deep-forest);
    color: white;
    padding: 0.85rem 1.6rem;
    border-radius: 60px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    width: 100%;
}
.prop-modal-btn:hover {
    background: var(--ocean-depth);
    transform: translateY(-2px);
}
@media (max-width: 480px) {
    .prop-modal-carousel { height: 240px; }
    .prop-modal-body { padding: 1.2rem 1.2rem 1.4rem; }
    .prop-modal-title { font-size: 1.25rem; }
}

/* ── Availability Calendar ─────────────────────────────────────────────────── */
.ze-avail-cal {
    border: 1px solid var(--ze-border, #e0e8e4);
    border-radius: 10px;
    padding: 1rem 1.25rem;
    background: #fff;
}
.ze-avail-cal__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: .75rem;
}
.ze-avail-range-label {
    font-size: .875rem;
    font-weight: 600;
    color: var(--deep-forest, #1a3a2a);
}
.ze-avail-nav-btn {
    background: none;
    border: 1px solid var(--mist-teal, #4a8a7a);
    border-radius: 6px;
    color: var(--mist-teal, #4a8a7a);
    cursor: pointer;
    padding: .3rem .6rem;
    line-height: 1;
    transition: background .15s;
}
.ze-avail-nav-btn:hover:not(:disabled) {
    background: var(--mist-teal, #4a8a7a);
    color: #fff;
}
.ze-avail-nav-btn:disabled {
    opacity: .35;
    cursor: default;
}
.ze-avail-cal__legend {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .78rem;
    color: #555;
    margin-bottom: .9rem;
}
.ze-avail-dot {
    display: inline-block;
    width: 11px;
    height: 11px;
    border-radius: 50%;
}
.ze-avail-dot--free   { background: #d4edda; border: 1px solid #a8d5b4; }
.ze-avail-dot--booked { background: #e74c3c; border: 1px solid #c0392b; }
.ze-avail-cal__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.ze-avail-loading {
    grid-column: 1 / -1;
    text-align: center;
    color: #888;
    font-size: .85rem;
    padding: 1rem 0;
}
.ze-avail-month__name {
    text-align: center;
    font-size: .82rem;
    font-weight: 700;
    color: var(--deep-forest, #1a3a2a);
    margin-bottom: .5rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.ze-avail-month__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
.ze-avail-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    border-radius: 4px;
}
.ze-avail-cell--header {
    font-weight: 700;
    font-size: .65rem;
    color: #888;
    aspect-ratio: unset;
    padding-bottom: .2rem;
}
.ze-avail-cell--empty  { background: transparent; }
.ze-avail-cell--past   { color: #ccc; }
.ze-avail-cell--free   { background: #d4edda; color: #155724; }
.ze-avail-cell--booked { background: #e74c3c; color: #fff; font-weight: 600; }
.ze-avail-cell--today  { outline: 2px solid var(--mist-teal, #4a8a7a); outline-offset: -2px; font-weight: 700; }
@media (max-width: 768px) {
    .ze-avail-cal__grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .ze-avail-cal { padding: .75rem; }
}
