/* ==========================================================================
   Balivo — foundation
   Design tokens, reset, typography scale, accessibility floor.
   Brand palette is unchanged from the 2025 site; the scale and spacing
   system around it is new.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Brand */
  --green: #2d5049;
  --green-dark: #1e3833;
  --green-deep: #162925;
  --gold: #b6a97b;
  --gold-dark: #9c8e60;
  --cream: #f8fceb;
  --sand: #e8e1cc;
  --sage: #7a9079;
  --coral: #d67d5c;
  --white: #ffffff;
  --black: #14100c;

  /* Neutrals — warm greys, tuned to sit under the green rather than fight it */
  --ink-900: #14100c;
  --ink-700: #443f38;
  --ink-500: #6b655c;
  --ink-300: #a8a29a;
  --line: #e7e3da;
  --line-soft: #f1eee7;
  --surface: #ffffff;
  --surface-alt: #faf9f5;

  /* Type */
  --sans: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", ui-serif, Georgia, "Times New Roman", serif;

  --step--1: clamp(0.79rem, 0.77rem + 0.1vw, 0.84rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1rem);
  --step-1: clamp(1.13rem, 1.07rem + 0.3vw, 1.28rem);
  --step-2: clamp(1.35rem, 1.24rem + 0.55vw, 1.65rem);
  --step-3: clamp(1.6rem, 1.42rem + 0.9vw, 2.15rem);
  --step-4: clamp(1.95rem, 1.62rem + 1.6vw, 2.9rem);
  --step-5: clamp(2.4rem, 1.8rem + 2.9vw, 4.1rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shape and depth */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow: 0 12px 30px rgb(20 16 12 / 6%);
  --shadow-hover: 0 18px 44px rgb(45 80 73 / 14%);
  --shadow-pop: 0 24px 60px rgb(20 16 12 / 18%);

  --transition: 180ms cubic-bezier(0.25, 0.8, 0.25, 1);
  --header-h: 72px;
  --wrap: 1280px;
}

/* --- Reset ---------------------------------------------------------------- */

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  text-size-adjust: 100%;
}

body {
  background: var(--white);
  color: var(--ink-900);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  min-height: 100dvh;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
picture,
svg,
video {
  display: block;
  max-width: 100%;
}

img { height: auto; }

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button { cursor: pointer; }

a {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition);
}

h1, h2, h3, h4, h5 {
  color: var(--green);
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-3); }
h4 { font-size: var(--step-1); }

p { text-wrap: pretty; }

ul, ol { padding-left: 1.15rem; }

hr { border: 0; border-top: 1px solid var(--line); }

/* --- Accessibility floor -------------------------------------------------- */

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

:focus:not(:focus-visible) { outline: none; }

.skip-link {
  background: var(--green);
  border-radius: 0 0 var(--r-sm) 0;
  color: var(--white);
  font-weight: 600;
  left: 0;
  padding: 0.85rem 1.4rem;
  position: fixed;
  top: 0;
  transform: translateY(-120%);
  transition: transform var(--transition);
  z-index: 5000;
}

.skip-link:focus-visible { transform: translateY(0); }

.visually-hidden {
  block-size: 1px;
  border: 0;
  clip-path: inset(50%);
  inline-size: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Icons ---------------------------------------------------------------- */
/* Replaces the Font Awesome <i> element. Inherits colour and sits on the
   text baseline so it can be dropped anywhere an <i> used to live. */

.icon {
  display: inline-block;
  fill: none;
  flex: none;
  height: 1em;
  stroke: currentcolor;
  vertical-align: -0.135em;
  width: 1em;
}

.icon-lg { height: 1.35em; width: 1.35em; }
.icon-xl { height: 2em; width: 2em; }

/* The inherited component styles set display on cards and panels, which beats
   the user-agent rule for [hidden]. Filtering silently stopped working
   without this. */
[hidden] { display: none !important; }


/* --- inherited component styles, carried over from the 2025 build --- */

body.modal-open { overflow: hidden; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 5rem 0; }
.bg-cream { background-color: var(--cream); }
.bg-green { background-color: var(--green); color: var(--white); }
.bg-green h1,.bg-green h2,.bg-green h3 { color: var(--gold); }
/* NAVBAR */
header { position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(255,255,255,0.98); border-bottom: 1px solid rgba(45,80,73,0.08); box-shadow: 0 4px 20px rgba(0,0,0,0.02); }
.nav-inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.logo { display: flex; align-items: center; height: 100%; padding: 8px 0; z-index: 1001; cursor: pointer; }
.logo img { height: 30px; width: auto; max-width: 150px; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 2rem; }
.nav-links { display: flex; gap: 1.8rem; align-items: center; }
.nav-links a { font-size: 0.9rem; font-weight: 500; color: var(--black); white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 1.2rem; border-left: 1px solid #eee; padding-left: 1.2rem; }
.btn-outline { padding: 0.65rem 1.6rem; border: 1.5px solid var(--green); border-radius: 6px; color: var(--green) !important; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; font-size: 0.9rem; cursor: pointer; background: transparent; font-family: var(--sans); }
.btn-outline:hover { background: var(--green); color: var(--white) !important; border-color: var(--green); }
#currency-selector { border: none; outline: none; background: transparent; font-family: var(--sans); font-weight: 600; color: var(--green); font-size: 0.9rem; cursor: pointer; padding: 0.4rem; }
.hamburger { display: none; font-size: 1.5rem; color: var(--green); cursor: pointer; z-index: 1001; }
/* HERO */
.hero { position: relative; height: 85vh; min-height: 650px; display: flex; align-items: center; justify-content: center; text-align: center; margin-top: 72px; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(45,80,73,0.35), rgba(0,0,0,0.65)); z-index: -1; }
.hero-content { max-width: 980px; padding: 0 2rem; width: 100%; }
.hero h1 { color: var(--white); font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1.1; margin-bottom: 0.8rem; }
.hero p { color: var(--white); font-size: 1.1rem; font-weight: 300; margin-bottom: 2.5rem; }
/* SEARCH BAR */
.search-wrapper { background: var(--white); padding: 0; border-radius: 14px; box-shadow: 0 20px 60px rgba(0,0,0,0.2); position: relative; }
.search-bar-row { display: flex; align-items: stretch; }
.search-bar-row > .search-field:first-child { border-radius: 14px 0 0 14px; }
.search-bar-row > .search-field:last-child, .search-bar-row > .search-btn-wrap:last-child { border-radius: 0 14px 14px 0; }
.search-field { flex: 1; display: flex; flex-direction: column; padding: 1.2rem 1.5rem; border-right: 1px solid #eee; cursor: pointer; transition: background 0.2s; position: relative; min-width: 0; }
.search-field:hover { background: #f9f9f9; }
.search-field:last-of-type { border-right: none; }
.search-field-label { font-size: 0.75rem; font-weight: 700; color: var(--black); margin-bottom: 0.3rem; text-transform: uppercase; letter-spacing: 0.05em; }
.search-field-input { border: none; outline: none; font-family: var(--sans); font-size: 0.95rem; color: #555; background: transparent; cursor: pointer; padding: 0; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; width: 100%; display: block; }
span.search-field-input { line-height: 1.4; }
select.search-field-input { appearance: none; -webkit-appearance: none; }
.search-field i.field-icon { color: var(--gold); font-size: 1rem; margin-bottom: 0.3rem; }
.search-btn-wrap { padding: 0.8rem; display: flex; align-items: center; }
.btn-search { background: var(--green); color: var(--white); border: none; padding: 1rem 2rem; border-radius: 10px; cursor: pointer; transition: var(--transition); font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 0.5rem; white-space: nowrap; height: 100%; font-family: var(--sans); }
.btn-search:hover { background: var(--gold); }
/* Guest Dropdown */
/* Guest dropdown - portal style, lives at body level, position:fixed via JS */
.guest-dropdown-portal { position: fixed; background: var(--white); min-width: 320px; max-width: 90vw; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,0.18); padding: 1.5rem; display: none; z-index: 10000; border: 1px solid #eee; }
.guest-dropdown-portal.show { display: block; }
.who-field { user-select: none; }
/* Legacy class kept for safety, no longer used */
.guest-dropdown { position: absolute; top: 110%; left: 0; background: var(--white); min-width: 280px; border-radius: 10px; box-shadow: var(--shadow); padding: 1.5rem; display: none; z-index: 100; border: 1px solid #eee; cursor: default; }
.guest-dropdown.show { display: block; }
.guest-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.guest-row:last-child { margin-bottom: 0; }
.guest-row-label { color: var(--black); font-weight: 500; }
.guest-controls { display: flex; align-items: center; gap: 0.8rem; }
.guest-controls button { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--gold); background: var(--white); color: var(--green); cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: var(--transition); font-family: var(--sans); }
.guest-controls button:hover { background: var(--cream); }
.guest-controls button:disabled { opacity: 0.4; cursor: not-allowed; }
/* SECTION HEADERS */
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 3rem; flex-wrap: wrap; gap: 1rem; }
.section-header h2 { font-size: 2.5rem; color: var(--green); margin-bottom: 0.5rem; }
.section-header p { color: #666; font-size: 1rem; max-width: 700px; }
.section-header-center { text-align: center; margin-bottom: 3.5rem; }
.section-header-center h2 { font-size: 2.5rem; color: var(--green); margin-bottom: 0.6rem; }
.section-header-center p { color: #666; font-size: 1rem; max-width: 720px; margin: 0 auto; }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn { padding: 0.55rem 1.4rem; border: 1px solid #ddd; background: var(--white); border-radius: 30px; font-family: var(--sans); font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--black); }
.filter-btn.active, .filter-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }
/* VILLA CARDS */
.villa-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2.5rem; }
@media (max-width: 768px) {
.villa-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}
.villa-card { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #eee; transition: var(--transition); display: flex; flex-direction: column; cursor: pointer; }
.villa-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.vc-image-container { position: relative; height: 240px; overflow: hidden; border-radius: 12px 12px 0 0; background: #f5f5f5; }
.vc-slider { display: flex; height: 100%; transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.vc-slider img { min-width: 100%; width: 100%; height: 100%; object-fit: cover; }
.vc-slider-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.95); border: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; opacity: 0; transition: var(--transition); box-shadow: 0 2px 6px rgba(0,0,0,0.15); }
.villa-card:hover .vc-slider-btn { opacity: 1; }
.vc-slider-btn.prev { left: 10px; }
.vc-slider-btn.next { right: 10px; }
.vc-actions { position: absolute; top: 1rem; right: 1rem; display: flex; gap: 0.5rem; z-index: 4; }
.vc-btn { width: 34px; height: 34px; background: rgba(255,255,255,0.95); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--black); cursor: pointer; transition: var(--transition); border: none; }
.vc-btn:hover { color: var(--gold); }
.vc-price { position: absolute; bottom: 1rem; left: 1rem; background: rgba(255,255,255,0.95); padding: 0.5rem 1rem; border-radius: 6px; font-size: 0.88rem; font-weight: 600; color: var(--black); z-index: 4; }
.vc-content { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.vc-title { font-size: 1.1rem; color: var(--black); margin-bottom: 0.7rem; font-weight: 600; font-family: var(--sans); }
.vc-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.83rem; color: #666; margin-bottom: 1rem; }
.vc-meta :is(i, .icon) { color: var(--gold); }
.vc-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #eee; padding-top: 1rem; margin-top: auto; font-size: 0.88rem; }
.vc-footer .price-value { font-weight: 700; color: var(--green); }
.no-results { grid-column: 1/-1; text-align: center; padding: 4rem 0; display: none; }
.vc-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 5px; z-index: 3; }
.vc-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.6); transition: var(--transition); }
.vc-dot.active { background: var(--white); width: 16px; border-radius: 4px; }
/* VILLA DETAIL MODAL */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.82); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(6px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); width: 95%; max-width: 1050px; max-height: 92vh; border-radius: 14px; overflow-y: auto; position: relative; transform: translateY(20px); transition: var(--transition); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.modal-close { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; cursor: pointer; border: 1px solid #eee; z-index: 10; box-shadow: var(--shadow); transition: var(--transition); }
.modal-close:hover { background: var(--cream); color: var(--gold); }
.modal-gallery { position: relative; height: 480px; overflow: hidden; background: #f0f0f0; }
.modal-gallery-slider { display: flex; height: 100%; transition: transform 0.4s ease; }
.modal-gallery-slider img { min-width: 100%; width: 100%; height: 100%; object-fit: cover; object-position: center; background: #f0f0f0; }
.modal-gallery-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.95); border: none; width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 5; font-size: 1rem; transition: var(--transition); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.modal-gallery-btn.prev { left: 1rem; }
.modal-gallery-btn.next { right: 1rem; }
.modal-gallery-btn:hover { background: var(--white); color: var(--gold); }
.modal-gallery-dots { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.modal-gallery-dots .vc-dot { width: 8px; height: 8px; }
.modal-gallery-dots .vc-dot.active { width: 22px; }
.modal-body { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; }
.modal-info-panel { padding: 2.5rem; }
.modal-title { font-size: 1.9rem; color: var(--green); line-height: 1.2; margin-bottom: 0.4rem; }
.modal-loc { color: #666; font-size: 0.9rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.modal-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-bottom: 1.5rem; background: var(--cream); padding: 1.2rem; border-radius: 8px; }
.modal-meta-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.88rem; font-weight: 500; }
.modal-meta-item :is(i, .icon) { color: var(--gold); font-size: 1.1rem; }
.modal-desc { font-size: 0.92rem; color: #555; margin-bottom: 1.5rem; line-height: 1.7; }
.modal-section-title { font-family: var(--serif); font-size: 1.25rem; color: var(--green); margin: 0 0 1rem 0; padding-top: 0.5rem; border-top: 1px solid #f0f0f0; padding-top: 1.5rem; }
.modal-amenities { margin-bottom: 1.5rem; }
.amenities-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem 1.5rem; margin-bottom: 1rem; }
.amenity-item { display: flex; align-items: center; gap: 0.8rem; font-size: 0.88rem; color: #444; padding: 0.4rem 0; }
.amenity-item :is(i, .icon) { color: var(--green); font-size: 1rem; width: 20px; text-align: center; flex-shrink: 0; }
.modal-map { height: 180px; border-radius: 8px; overflow: hidden; margin-bottom: 1.5rem; border: 1px solid #eee; }
.modal-form-panel { padding: 2rem; background: var(--cream); border-left: 1px solid #eee; display: flex; flex-direction: column; }
.modal-price-badge { background: var(--green); color: var(--white); padding: 1rem 1.2rem; border-radius: 8px; margin-bottom: 1.5rem; text-align: center; }
.modal-price-badge .price-main { font-size: 1.4rem; font-weight: 700; color: var(--gold); }
.modal-price-badge .price-label { font-size: 0.78rem; opacity: 0.8; }
.modal-form h4 { font-family: var(--sans); font-size: 1rem; margin-bottom: 1.2rem; font-weight: 600; }
.modal-form .form-group { margin-bottom: 0.9rem; }
.modal-form input, .modal-form select { width: 100%; padding: 0.75rem; border: 1px solid #ddd; border-radius: 6px; font-family: var(--sans); font-size: 0.88rem; background: var(--white); }
.btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 1rem; }
.btn-email { background: var(--black); color: var(--white); border: none; padding: 0.9rem; font-size: 0.85rem; font-weight: 600; border-radius: 6px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-family: var(--sans); }
.btn-whatsapp { background: #25D366; color: var(--white); border: none; padding: 0.9rem; font-size: 0.85rem; font-weight: 600; border-radius: 6px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.4rem; font-family: var(--sans); }
.btn-email:hover { background: var(--gold); }
.btn-whatsapp:hover { background: #1ebd5a; }
/* WHY CHOOSE US */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.why-item { text-align: center; }
.why-item img { width: 100%; height: 220px; object-fit: cover; margin-bottom: 1.5rem; border-radius: 8px; }
.why-item h4 { font-family: var(--sans); font-size: 1.05rem; color: var(--black); margin-bottom: 0.7rem; font-weight: 600; }
.why-item p { font-size: 0.88rem; color: #555; }
/* REVIEWS CAROUSEL */
.reviews-section { background: var(--green); color: var(--white); text-align: center; }
.reviews-section h2 { color: var(--gold); margin-bottom: 0.5rem; }
.reviews-section .section-intro { color: rgba(255,255,255,0.8); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }
.reviews-carousel { position: relative; max-width: 1100px; margin: 0 auto; overflow: hidden; padding: 0 60px; }
/* COMBINED Why Choose + Reviews Section — stacked vertically for proper proportions */
.combined-section { background: var(--green); color: var(--white); padding: 5.5rem 0; }
.combined-section .why-block { text-align: center; }
.combined-heading { color: var(--gold) !important; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.7rem; }
.combined-intro { color: rgba(255,255,255,0.78); max-width: 640px; margin: 0 auto 3rem; font-size: 1rem; line-height: 1.65; }
.combined-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; max-width: 1140px; margin: 0 auto; }
.combined-feature { padding: 2rem 1.4rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; text-align: center; transition: var(--transition); }
.combined-feature:hover { background: rgba(255,255,255,0.07); transform: translateY(-4px); }
.combined-feature-icon { width: 56px; height: 56px; border-radius: 50%; background: rgba(232, 198, 109, 0.14); border: 1px solid rgba(232, 198, 109, 0.3); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; color: var(--gold); font-size: 1.25rem; }
.combined-feature h4 { color: var(--white); font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 0.6rem; line-height: 1.35; }
.combined-feature p { color: rgba(255,255,255,0.75); font-size: 0.86rem; line-height: 1.6; }
.combined-divider { max-width: 280px; height: 1px; background: linear-gradient(90deg, transparent, rgba(232,198,109,0.45), transparent); margin: 4.5rem auto 3.5rem; }
.combined-reviews-block { max-width: 1000px; margin: 0 auto; text-align: center; }
.combined-reviews-heading { color: var(--gold); font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 1.9rem); margin-bottom: 0.5rem; }
.combined-reviews-intro { color: rgba(255,255,255,0.72); font-size: 0.95rem; margin: 0 auto 2.5rem; max-width: 560px; }
.combined-reviews-block .reviews-carousel { padding: 0 60px; max-width: 100%; }
@media (max-width: 960px) {
.combined-features { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
}
@media (max-width: 540px) {
.combined-section { padding: 3.5rem 0; }
.combined-features { grid-template-columns: 1fr; gap: 1rem; }
.combined-feature { padding: 1.6rem 1.3rem; }
.combined-divider { margin: 3rem auto 2.5rem; }
.combined-reviews-block .reviews-carousel { padding: 0 50px; }
}
.reviews-track { display: flex; transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); }
.reviews-track .review-slide { min-width: 100%; padding: 0 1rem; box-sizing: border-box; }
.review-card { background: rgba(255,255,255,0.07); padding: 2.5rem; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); text-align: left; max-width: 760px; margin: 0 auto; }
.review-stars { color: var(--gold); margin-bottom: 1rem; font-size: 1rem; }
.review-text { font-style: italic; line-height: 1.8; color: rgba(255,255,255,0.95); margin-bottom: 1.6rem; font-size: 1rem; }
.review-author { font-weight: 600; color: var(--gold); font-size: 1rem; }
.review-meta { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-top: 0.3rem; }
.reviews-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25); width: 44px; height: 44px; border-radius: 50%; color: var(--white); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); z-index: 5; }
.reviews-nav:hover { background: var(--gold); border-color: var(--gold); }
.reviews-nav.prev { left: 0; }
.reviews-nav.next { right: 0; }
.reviews-dots { display: flex; gap: 8px; justify-content: center; margin-top: 2rem; }
.reviews-dots .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.3); cursor: pointer; transition: var(--transition); border: none; padding: 0; }
.reviews-dots .dot.active { background: var(--gold); width: 24px; border-radius: 4px; }
/* FAQ */
.faq-acc-item { background: var(--white); border: 1px solid #eee; border-radius: 8px; margin-bottom: 0.8rem; overflow: hidden; }
.faq-acc-btn { width: 100%; padding: 1.2rem 1.5rem; text-align: left; background: none; border: none; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; color: var(--black); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-acc-btn :is(i, .icon) { color: var(--gold); transition: var(--transition); flex-shrink: 0; }
.faq-acc-btn.active :is(i, .icon) { transform: rotate(180deg); }
.faq-acc-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-acc-content p { padding: 0 1.5rem 1.5rem; font-size: 0.9rem; color: #555; line-height: 1.7; }
.faq-tabs { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; justify-content: center; }
.faq-tab { padding: 0.7rem 1.6rem; border: 1px solid #ddd; background: var(--white); border-radius: 30px; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: var(--transition); color: var(--black); }
.faq-tab.active, .faq-tab:hover { background: var(--green); color: var(--white); border-color: var(--green); }
.faq-category { display: none; }
.faq-category.active { display: block; animation: fadeIn 0.4s; }
.faq-section-title { font-family: var(--serif); font-size: 1.4rem; color: var(--green); margin-bottom: 1rem; margin-top: 2rem; }
.faq-section-title:first-child { margin-top: 0; }
/* GUEST SERVICES */
.gs-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.gs-card { background: var(--white); border: 1px solid #eee; border-radius: 12px; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; }
.gs-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.gs-card-img { height: 200px; overflow: hidden; }
.gs-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gs-card:hover .gs-card-img img { transform: scale(1.05); }
.gs-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.gs-card h4 { font-family: var(--sans); font-size: 1.05rem; color: var(--black); margin-bottom: 0.6rem; font-weight: 600; }
.gs-card p { font-size: 0.88rem; color: #555; margin-bottom: 1.5rem; flex: 1; }
.gs-card .btn-outline { padding: 0.55rem 1.2rem; font-size: 0.82rem; align-self: flex-start; }
/* PROMOTIONS */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.promo-card { background: var(--white); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; cursor: pointer; transition: var(--transition); }
.promo-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.promo-card-img { height: 220px; position: relative; overflow: hidden; }
.promo-card-img img { width: 100%; height: 100%; object-fit: cover; }
.promo-tag { position: absolute; top: 1rem; left: 1rem; background: var(--gold); color: var(--white); padding: 0.4rem 1rem; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.promo-card-body { padding: 1.8rem; flex: 1; display: flex; flex-direction: column; }
.promo-card h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.promo-card p { font-size: 0.9rem; color: #555; margin-bottom: 1.2rem; flex: 1; }
.promo-validity { font-size: 0.82rem; color: #888; margin-bottom: 1rem; }
.promo-card .btn-promo-inquire { background: var(--gold); color: var(--white); border: none; padding: 0.7rem 1.5rem; border-radius: 6px; font-family: var(--sans); font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: var(--transition); align-self: flex-start; }
.promo-card .btn-promo-inquire:hover { background: var(--green); }
/* PARTNER WITH US */
.partner-hero { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: var(--white); padding: 6rem 0 4rem; text-align: center; margin-top: 72px; }
.partner-hero h1 { color: var(--white); font-size: clamp(2.5rem, 4.5vw, 3.8rem); margin-bottom: 1rem; }
.partner-hero p { font-size: 1.1rem; max-width: 720px; margin: 0 auto 2rem; opacity: 0.9; }
.partner-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin: 3rem 0; }
.stat-card { text-align: center; padding: 2rem; background: var(--white); border-radius: 12px; border: 1px solid #eee; }
.stat-card h3 { font-size: 2.8rem; color: var(--gold); margin-bottom: 0.5rem; }
.stat-card p { color: #555; font-size: 0.9rem; }
/* HOW IT WORKS */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; position: relative; }
.how-grid::before { content: ''; position: absolute; top: 32px; left: 16.66%; right: 16.66%; height: 2px; background: linear-gradient(to right, var(--gold), var(--gold)); background-image: repeating-linear-gradient(to right, var(--gold) 0, var(--gold) 8px, transparent 8px, transparent 14px); z-index: 0; }
.how-step { background: var(--white); padding: 2rem 1.6rem; border-radius: 12px; border: 1px solid #eee; text-align: center; position: relative; z-index: 1; }
.how-num { width: 64px; height: 64px; background: var(--green); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; margin: 0 auto 1.4rem; border: 4px solid var(--white); box-shadow: 0 0 0 2px var(--gold); }
.how-step h4 { font-family: var(--sans); font-size: 1.05rem; color: var(--black); margin-bottom: 0.7rem; font-weight: 600; }
.how-step p { font-size: 0.9rem; color: #555; line-height: 1.7; }
/* OUR VALUES (Partner page) */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
.value-card { text-align: center; padding: 2rem 1.2rem; background: var(--cream); border-radius: 12px; border: 1px solid rgba(45,80,73,0.08); }
.value-icon { width: 56px; height: 56px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.2rem; color: var(--green); font-size: 1.4rem; box-shadow: 0 4px 12px rgba(45,80,73,0.08); }
.value-card h4 { font-family: var(--sans); font-size: 0.95rem; color: var(--black); margin-bottom: 0.6rem; font-weight: 600; }
.value-card p { font-size: 0.82rem; color: #555; line-height: 1.6; }
/* PARTNER SERVICES */
.services-tabs { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; justify-content: center; flex-wrap: wrap; }
.services-tab { padding: 0.7rem 1.6rem; border: 1px solid #ddd; background: var(--white); border-radius: 30px; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; cursor: pointer; color: var(--black); transition: var(--transition); }
.services-tab.active { background: var(--green); color: var(--white); border-color: var(--green); }
.services-content { display: none; }
.services-content.active { display: block; animation: fadeIn 0.4s; }
.services-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.service-block { background: var(--white); padding: 2rem; border-radius: 12px; border: 1px solid #eee; }
.service-block-num { font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 600; margin-bottom: 0.4rem; line-height: 1; }
.service-block h4 { font-family: var(--sans); font-size: 1.1rem; color: var(--black); margin-bottom: 1rem; font-weight: 600; }
.service-block ul { list-style: none; padding: 0; }
.service-block li { font-size: 0.88rem; color: #555; padding: 0.4rem 0; border-bottom: 1px solid #f3f3f3; }
.service-block li:last-child { border-bottom: none; }
.service-block li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--gold); margin-right: 0.6rem; font-size: 0.78rem; }
.additional-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.additional-col { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid #eee; }
.additional-col-header { background: var(--green); color: var(--white); padding: 1rem 1.4rem; font-family: var(--sans); font-size: 0.95rem; font-weight: 600; }
.additional-col-list { padding: 0.6rem 0; }
.additional-col-list li { list-style: none; padding: 0.8rem 1.4rem; font-size: 0.88rem; color: #444; border-bottom: 1px solid #f5f5f5; display: flex; align-items: center; gap: 0.6rem; }
.additional-col-list li:last-child { border-bottom: none; }
.additional-col-list li :is(i, .icon) { color: var(--gold); width: 18px; }
/* TRUST CARDS */
.trust-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin: 3rem 0; }
.trust-card { background: var(--white); padding: 2rem; border-radius: 12px; border: 1px solid #eee; text-align: left; }
.trust-card-icon { width: 50px; height: 50px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; color: var(--green); font-size: 1.2rem; }
.trust-card h4 { font-family: var(--sans); font-size: 1.05rem; color: var(--black); margin-bottom: 0.6rem; font-weight: 600; }
.trust-card p { font-size: 0.88rem; color: #555; }
/* PARTNER LOGOS */
.partner-logos { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; justify-content: center; padding: 2rem 0; max-width: 1100px; margin: 0 auto; }
.partner-logo { height: 60px; width: 160px; opacity: 0.75; transition: var(--transition); display: flex; align-items: center; justify-content: center; padding: 0.5rem; background: var(--white); border-radius: 8px; }
.partner-logo:hover { opacity: 1; transform: translateY(-2px); box-shadow: var(--shadow); }
.partner-logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
/* CONTACT PAGE */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
.contact-form { background: var(--white); padding: 2.5rem; border: 1px solid #eee; border-radius: 14px; }
.contact-form .form-group { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 0.4rem; color: var(--black); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 0.85rem 1rem; border: 1px solid #ddd; border-radius: 8px; font-family: var(--sans); font-size: 0.9rem; background: var(--white); }
.contact-form textarea { resize: vertical; min-height: 110px; }
.phone-group { display: grid; grid-template-columns: 170px 1fr; gap: 0.6rem; }
.contact-btn-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.5rem; }
.btn-contact-wa { background: #25D366; color: var(--white); border: none; padding: 1rem; font-size: 0.9rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--sans); }
.btn-contact-email { background: var(--green); color: var(--white); border: none; padding: 1rem; font-size: 0.9rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: var(--transition); display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--sans); }
.btn-contact-wa:hover { background: #1ebd5a; }
.btn-contact-email:hover { background: var(--gold); }
.contact-info-card { background: var(--green); color: var(--white); padding: 2.5rem; border-radius: 14px; margin-bottom: 1.5rem; }
.contact-info-card h3 { color: var(--gold); margin-bottom: 1.5rem; font-size: 1.5rem; }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; align-items: flex-start; }
.contact-info-item:last-child { margin-bottom: 0; }
.contact-info-item :is(i, .icon) { color: var(--gold); font-size: 1.1rem; margin-top: 0.2rem; }
.contact-info-item span, .contact-info-item a { font-size: 0.9rem; opacity: 0.9; line-height: 1.6; color: var(--white); }
.contact-info-item a:hover { color: var(--gold); opacity: 1; }
.contact-info-sub { font-size: 0.82rem; opacity: 0.75; margin-top: 0.25rem; line-height: 1.55; }
/* MAP */
.map-section { height: 480px; border-radius: 14px; overflow: hidden; }
.map-section #map { height: 100%; width: 100%; }
.custom-map-marker { background: var(--green); color: var(--white); padding: 0.5rem 0.8rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.2); border: 2px solid var(--white); white-space: nowrap; }
.custom-map-marker::after { content: ''; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%); width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-top: 7px solid var(--green); }
/* BALIVO TRAVEL */
.travel-section { background: var(--cream); padding: 6rem 0; }
.travel-tabs { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; justify-content: center; flex-wrap: wrap; }
.travel-tab { padding: 0.7rem 1.6rem; border: 1px solid var(--gold); background: var(--white); border-radius: 30px; font-family: var(--sans); font-size: 0.9rem; font-weight: 500; cursor: pointer; color: var(--green); transition: var(--transition); }
.travel-tab.active { background: var(--gold); color: var(--white); border-color: var(--gold); }
.travel-content { display: none; }
.travel-content.active { display: block; animation: fadeIn 0.4s; }
.travel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.8rem; }
.tour-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0,0,0,0.05); transition: var(--transition); display: flex; flex-direction: column; }
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.tour-img { height: 180px; overflow: hidden; }
.tour-img img { width: 100%; height: 100%; object-fit: cover; }
.tour-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.tour-body h4 { font-family: var(--sans); font-size: 1rem; color: var(--black); margin-bottom: 0.5rem; font-weight: 600; }
.tour-body p { font-size: 0.85rem; color: #555; margin-bottom: 1rem; flex: 1; }
.tour-price { color: var(--gold); font-weight: 700; font-size: 1rem; margin-bottom: 1rem; }
.tour-price-tba { color: #888; font-size: 0.85rem; font-weight: 400; font-style: italic; margin-bottom: 1rem; }
.tour-card .btn-outline { font-size: 0.82rem; padding: 0.55rem 1.2rem; align-self: flex-start; margin-top: auto; }
/* FOOTER */
footer { background: var(--black); color: var(--white); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-col h3 { color: var(--gold); font-family: var(--sans); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem; font-weight: 600; }
.footer-logo img { height: 30px; width: auto; max-width: 150px; margin-bottom: 1.5rem; object-fit: contain; filter: brightness(0) invert(1); }
.footer-col a, .footer-col p { font-size: 0.83rem; color: rgba(255,255,255,0.65); margin-bottom: 0.7rem; display: block; cursor: pointer; transition: var(--transition); text-decoration: none; }
.footer-col a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.8rem; margin-top: 1.2rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: var(--transition); margin: 0; }
.footer-social a:hover { background: var(--gold); color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; display: flex; justify-content: space-between; font-size: 0.78rem; color: rgba(255,255,255,0.45); align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-bottom-links a { color: rgba(255,255,255,0.45); }
.footer-bottom-links a:hover { color: var(--gold); }
/* LEGAL PAGES */
.legal-content { max-width: 860px; margin: 0 auto; padding: 7rem 2rem 5rem; }
.legal-content h1 { font-size: 2.5rem; margin-bottom: 2rem; }
.legal-content h2 { font-size: 1.4rem; margin-top: 2.5rem; margin-bottom: 1rem; color: var(--green); font-family: var(--serif); }
.legal-content p, .legal-content li { font-size: 0.95rem; color: #444; margin-bottom: 1rem; line-height: 1.75; }
.legal-content ul, .legal-content ol { margin-left: 1.5rem; margin-bottom: 1rem; }
.legal-content li { margin-bottom: 0.6rem; }
.legal-meta { color: #888; font-size: 0.88rem; margin-bottom: 2rem; font-style: italic; }
.legal-content a { color: var(--green); text-decoration: underline; }
.legal-content a:hover { color: var(--gold); }
/* GRID HELPERS */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
/* RESPONSIVE */
@media (max-width: 1024px) {
.nav-links { display: none; }
.hamburger { display: block; }
.nav-actions { border-left: none; padding-left: 0; }
.why-grid { grid-template-columns: repeat(2, 1fr); }
.reviews-carousel { padding: 0 50px; }
.review-card { padding: 1.8rem; }
.modal-body { grid-template-columns: 1fr; }
.modal-form-panel { border-left: none; border-top: 1px solid #eee; }
.amenities-grid { grid-template-columns: repeat(2, 1fr); }
.footer-grid { grid-template-columns: 1fr 1fr; }
.values-grid { grid-template-columns: repeat(3, 1fr); }
.services-list { grid-template-columns: 1fr; }
.additional-services { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
.logo img { height: 28px; max-width: 140px; }
.nav-inner { height: 64px; }
.hero { margin-top: 64px; }
.partner-hero { margin-top: 64px; }
.search-bar-row > .search-field:first-child { border-radius: 14px 14px 0 0; }
.search-bar-row > .search-field:last-child, .search-bar-row > .search-btn-wrap:last-child { border-radius: 0 0 14px 14px; }
.guest-dropdown { min-width: auto; width: 100%; left: 0 !important; right: 0; }
.how-grid, .partner-stats, .trust-cards { grid-template-columns: 1fr; }
.how-grid::before { display: none; }
.grid-2, .partner-stats, .benefit-grid, .contact-grid { grid-template-columns: 1fr; }
.section-padding { padding: 3.5rem 0; }
.section-header h2, .section-header-center h2 { font-size: 2rem; }
.footer-grid { grid-template-columns: 1fr 1fr; }
.search-bar-row { flex-direction: column; }
.search-field { border-right: none; border-bottom: 1px solid #eee; text-align: left; align-items: flex-start; }
.search-field-label { text-align: left; width: 100%; }
.search-field-input { text-align: left; }
select.search-field-input { padding-left: 0; }
.search-btn-wrap { padding: 1rem; }
.btn-search { width: 100%; }
.modal-gallery { height: 320px; }
.values-grid { grid-template-columns: repeat(2, 1fr); }
/* Ensure containers have proper mobile padding */
.container { padding: 0 1.2rem; }
}
@media (max-width: 480px) {
.footer-grid { grid-template-columns: 1fr; }
.footer-bottom { flex-direction: column; text-align: center; gap: 1rem; }
.btn-grid { grid-template-columns: 1fr; }
.contact-btn-grid { grid-template-columns: 1fr; }
.values-grid { grid-template-columns: 1fr; }
}


/* ==========================================================================
   Balivo — upgrade layer
   Everything the 2025 build did not have: real header behaviour, breadcrumbs,
   the standalone villa page, native dialogs, flagship treatment, footer polish.
   Loads after the inherited component styles so it wins where they overlap.
   ========================================================================== */

/* --- Layout primitives ---------------------------------------------------- */

.container {
  margin-inline: auto;
  max-width: var(--wrap);
  padding-inline: clamp(1rem, 4vw, 2rem);
  width: 100%;
}

.section-padding { padding-block: clamp(3rem, 7vw, 5rem); }

main { display: block; }

/* --- Header --------------------------------------------------------------- */

.site-header {
  background: rgb(255 255 255 / 92%);
  border-bottom: 1px solid transparent;
  inset-inline: 0;
  position: fixed;
  top: 0;
  transition: box-shadow var(--transition), border-color var(--transition), background var(--transition);
  z-index: 1000;
}

@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: saturate(150%) blur(14px); }
}

.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgb(20 16 12 / 5%);
}

.nav-inner {
  align-items: center;
  display: flex;
  gap: var(--sp-5);
  height: var(--header-h);
  justify-content: space-between;
}

.logo { align-items: center; display: flex; }
.logo img { height: 30px; object-fit: contain; width: auto; }

.nav-menu { align-items: center; display: flex; gap: var(--sp-6); }
.nav-links { align-items: center; display: flex; gap: 1.7rem; }

.nav-links a {
  color: var(--ink-900);
  font-size: 0.9rem;
  font-weight: 500;
  padding-block: 0.4rem;
  position: relative;
  white-space: nowrap;
}

.nav-links a::after {
  background: var(--gold);
  bottom: 0;
  content: "";
  height: 2px;
  inset-inline: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-links a:hover { color: var(--green); }
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-links a[aria-current="page"] { color: var(--green); font-weight: 600; }

.nav-actions {
  align-items: center;
  border-left: 1px solid var(--line);
  display: flex;
  gap: var(--sp-4);
  padding-left: var(--sp-4);
}

#currency-selector {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
}

.btn-outline {
  align-items: center;
  background: transparent;
  border: 1.5px solid var(--green);
  border-radius: var(--r-sm);
  color: var(--green);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-outline:hover { background: var(--green); color: var(--white); }

.btn-solid {
  align-items: center;
  background: var(--green);
  border: 1.5px solid var(--green);
  border-radius: var(--r-sm);
  color: var(--white);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  transition: background var(--transition), border-color var(--transition);
}

.btn-solid:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.hamburger {
  align-items: center;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  color: var(--green);
  display: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

@media (width <= 980px) {
  .hamburger { display: inline-flex; }

  .nav-menu {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    inset-inline: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--sp-4) clamp(1rem, 4vw, 2rem) var(--sp-6);
    position: fixed;
    top: var(--header-h);
    translate: 0 -12px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), translate var(--transition);
  }

  .nav-menu[data-open="true"] { opacity: 1; pointer-events: auto; translate: 0 0; }

  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }

  .nav-links a {
    border-bottom: 1px solid var(--line-soft);
    font-size: 1rem;
    padding-block: 0.95rem;
  }

  .nav-links a::after { display: none; }

  .nav-actions {
    border-left: 0;
    justify-content: space-between;
    padding-left: 0;
    padding-top: var(--sp-4);
  }
}

/* --- Breadcrumbs ---------------------------------------------------------- */

.breadcrumb {
  color: var(--ink-500);
  font-size: 0.82rem;
  /* First element inside <main> on every page except home, so it carries the
     clearance for the fixed header. */
  padding-block: calc(var(--header-h) + 1rem) 0;
}

.breadcrumb ol {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  padding: 0;
}

.breadcrumb li + li::before {
  color: var(--ink-300);
  content: "/";
  margin-right: 0.4rem;
}

.breadcrumb a:hover { color: var(--green); text-decoration: underline; }
.breadcrumb [aria-current="page"] { color: var(--ink-700); }

/* --- Page header band ----------------------------------------------------- */

.page-band {
  background: var(--cream);
  padding-block: 2.5rem;
  text-align: center;
}

.page-band--dark {
  background: linear-gradient(150deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
}

.page-band--dark h1 { color: var(--white); }
.page-band--dark p { color: rgb(255 255 255 / 78%); }

.page-band h1 { margin-bottom: 0.7rem; }

.page-band p {
  color: var(--ink-500);
  margin-inline: auto;
  max-width: 62ch;
}

/* --- Flagship + villa cards ---------------------------------------------- */

.villa-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.villa-card:hover,
.villa-card:focus-within {
  border-color: var(--sand);
  box-shadow: var(--shadow-hover);
  transform: translateY(-6px);
}

.villa-card--flagship {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold) inset;
}

.vc-badge {
  background: var(--gold);
  border-radius: var(--r-pill);
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 700;
  left: 1rem;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.75rem;
  position: absolute;
  top: 1rem;
  z-index: 4;
}

.vc-image-container { aspect-ratio: 4 / 3; height: auto; }

/* Title is the link; the whole card is clickable via the stretched pseudo. */
.vc-title a { color: inherit; }
.vc-title a::after { content: ""; inset: 0; position: absolute; z-index: 2; }
.villa-card { position: relative; }
.vc-slider-btn, .vc-actions, .vc-dots { z-index: 3; }

/* --- Villa detail page ---------------------------------------------------- */

.villa-hero { padding-top: calc(var(--header-h) + 1rem); }

.villa-hero__head {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  margin-block: 0.5rem 1.5rem;
}

.villa-hero__title { font-size: var(--step-4); margin-bottom: 0.4rem; }

.villa-hero__meta {
  align-items: center;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.9rem;
  gap: 1.1rem;
}

.villa-hero__meta .icon { color: var(--gold-dark); }

.gallery {
  border-radius: var(--r-lg);
  display: grid;
  gap: 8px;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  overflow: hidden;
}

.gallery__item { margin: 0; overflow: hidden; position: relative; }
.gallery__item:first-child { grid-column: 1; grid-row: 1 / span 2; }

.gallery img {
  aspect-ratio: 4 / 3;
  height: 100%;
  object-fit: cover;
  transition: scale 400ms cubic-bezier(0.25, 0.8, 0.25, 1);
  width: 100%;
}

.gallery__item:first-child img { aspect-ratio: 1 / 1; }
.gallery button:hover img { scale: 1.04; }

.gallery button {
  background: none;
  border: 0;
  display: block;
  height: 100%;
  padding: 0;
  width: 100%;
}

.gallery__more {
  align-items: center;
  backdrop-filter: blur(2px);
  background: rgb(20 16 12 / 45%);
  color: var(--white);
  display: flex;
  font-size: 0.9rem;
  font-weight: 600;
  gap: 0.5rem;
  inset: 0;
  justify-content: center;
  position: absolute;
}

@media (width <= 780px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery__item:first-child { grid-column: 1 / -1; grid-row: auto; }
  .gallery__item:first-child img { aspect-ratio: 16 / 10; }
  .gallery__item:nth-child(n + 4) { display: none; }
}

.villa-layout {
  align-items: start;
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.9fr);
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

@media (width <= 940px) {
  .villa-layout { grid-template-columns: 1fr; }
}

.villa-body > * + * { margin-top: 2.5rem; }
.villa-body h2 { font-size: var(--step-2); margin-bottom: 0.9rem; }
.villa-body p { color: var(--ink-700); max-width: 70ch; }

.fact-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.fact {
  background: var(--surface-alt);
  padding: 1.1rem 1.2rem;
}

.fact dt {
  color: var(--ink-500);
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}

.fact dd { font-size: 1.05rem; font-weight: 600; margin: 0; }

.highlight-list { display: grid; gap: 0.7rem; list-style: none; padding: 0; }

.highlight-list li {
  align-items: start;
  color: var(--ink-700);
  display: grid;
  gap: 0.7rem;
  grid-template-columns: 20px 1fr;
}

.highlight-list .icon { color: var(--green); margin-top: 0.35em; }

.amenity-cols {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  padding: 0;
}

@media (width <= 560px) { .amenity-cols { columns: 1; } }

.amenity-cols li {
  align-items: center;
  break-inside: avoid;
  color: var(--ink-700);
  display: flex;
  font-size: 0.9rem;
  gap: 0.7rem;
  padding-block: 0.42rem;
}

.amenity-cols .icon { color: var(--green); }

.villa-map {
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

/* Booking rail */

.book-rail { position: sticky; top: calc(var(--header-h) + 1.25rem); }

.book-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 1.6rem;
}

.book-card__price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.3rem;
}

.book-card__amount {
  color: var(--green);
  font-family: var(--serif);
  font-size: var(--step-3);
  line-height: 1;
}

.book-card__unit { color: var(--ink-500); font-size: 0.85rem; }

.rate-switch {
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  display: flex;
  gap: 2px;
  margin-block: 1.1rem;
  padding: 3px;
}

.rate-switch button {
  background: none;
  border: 0;
  border-radius: var(--r-pill);
  color: var(--ink-500);
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.5rem 0.4rem;
  transition: background var(--transition), color var(--transition);
}

.rate-switch button[aria-pressed="true"] {
  background: var(--green);
  color: var(--white);
}

.book-card .form-group { margin-bottom: 0.7rem; }

.book-card input,
.book-card select,
.book-card textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.7rem 0.8rem;
  width: 100%;
}

.book-card input:focus-visible,
.book-card select:focus-visible { border-color: var(--gold-dark); }

.btn-whatsapp,
.btn-email {
  align-items: center;
  border: 0;
  border-radius: var(--r-sm);
  color: var(--white);
  display: flex;
  font-size: 0.86rem;
  font-weight: 600;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.85rem;
  transition: background var(--transition);
  width: 100%;
}

.btn-whatsapp { background: #128c7e; }
.btn-whatsapp:hover { background: #0f7568; }
.btn-email { background: var(--green); }
.btn-email:hover { background: var(--green-dark); }

.btn-grid { display: grid; gap: 0.5rem; margin-top: 0.9rem; }

.book-card__note {
  color: var(--ink-500);
  font-size: 0.76rem;
  margin-top: 0.9rem;
  text-align: center;
}

@media (width <= 940px) {
  .book-rail { position: static; }
}

/* --- Native dialog -------------------------------------------------------- */

dialog {
  background: var(--white);
  border: 0;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  color: inherit;
  max-height: min(92dvh, 900px);
  max-width: min(96vw, 1040px);
  padding: 0;
  width: 100%;
}

dialog::backdrop {
  backdrop-filter: blur(5px);
  background: rgb(20 16 12 / 62%);
}

dialog:not([open]) { display: none; }

.dialog__close {
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--ink-900);
  display: flex;
  height: 40px;
  justify-content: center;
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 40px;
  z-index: 10;
}

.dialog__close:hover { background: var(--cream); color: var(--green); }

.dialog__body { padding: clamp(1.5rem, 4vw, 2.4rem); }

/* Lightbox */

#lightbox {
  background: transparent;
  box-shadow: none;
  max-height: 100dvh;
  max-width: 100vw;
  height: 100dvh;
  width: 100vw;
}

.lightbox__stage {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: clamp(1rem, 5vw, 3rem);
  position: relative;
}

.lightbox__stage img {
  border-radius: var(--r-md);
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.lightbox__nav {
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border: 0;
  border-radius: 50%;
  color: var(--ink-900);
  display: flex;
  height: 48px;
  justify-content: center;
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  width: 48px;
}

.lightbox__nav[data-dir="prev"] { left: 1rem; }
.lightbox__nav[data-dir="next"] { right: 1rem; }

.lightbox__count {
  background: rgb(20 16 12 / 60%);
  border-radius: var(--r-pill);
  bottom: 1.4rem;
  color: var(--white);
  font-size: 0.82rem;
  left: 50%;
  padding: 0.4rem 0.9rem;
  position: absolute;
  translate: -50% 0;
}

/* --- Related villas ------------------------------------------------------- */

.related { background: var(--cream); }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--green-deep);
  color: rgb(255 255 255 / 72%);
  padding-block: 4rem 2rem;
}

.footer-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3rem);
  grid-template-columns: 1.7fr repeat(3, 1fr);
  margin-bottom: 3rem;
}

@media (width <= 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (width <= 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-col h2 {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}

.footer-col a,
.footer-col p {
  color: rgb(255 255 255 / 68%);
  display: block;
  font-size: 0.85rem;
  margin-bottom: 0.65rem;
}

.footer-col a:hover { color: var(--gold); }
.footer-logo img { height: 28px; margin-bottom: 1.3rem; width: auto; }

.footer-social { display: flex; gap: 0.7rem; margin-top: 1.2rem; }

.footer-social a {
  align-items: center;
  background: rgb(255 255 255 / 8%);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  height: 38px;
  justify-content: center;
  margin: 0;
  transition: background var(--transition);
  width: 38px;
}

.footer-social a:hover { background: var(--gold); color: var(--green-deep); }

.footer-bottom {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 12%);
  color: rgb(255 255 255 / 48%);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.78rem;
  gap: 1rem;
  justify-content: space-between;
  padding-top: 2rem;
}

.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-bottom-links a { color: inherit; }
.footer-bottom-links a:hover { color: var(--gold); }

/* --- Legal pages ---------------------------------------------------------- */

.legal-content {
  margin-inline: auto;
  max-width: 74ch;
  padding-block: 1.5rem 4rem;
}

.legal-content h1 { font-size: var(--step-4); margin-bottom: 1.5rem; }
.legal-content h2 { font-size: var(--step-2); margin-block: 2.2rem 0.8rem; }
.legal-content h3 { font-size: var(--step-1); margin-block: 1.6rem 0.6rem; }
.legal-content p,
.legal-content li { color: var(--ink-700); margin-bottom: 0.8rem; }

/* --- Forms ---------------------------------------------------------------- */

input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.75rem 0.85rem;
  transition: border-color var(--transition);
  width: 100%;
}

textarea { min-height: 120px; resize: vertical; }

label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 0.35rem; }

.form-status {
  border-radius: var(--r-sm);
  display: none;
  font-size: 0.88rem;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
}

.form-status[data-state="ok"] {
  background: #eaf5ee;
  color: #1d6b3c;
  display: block;
}

.form-status[data-state="error"] {
  background: #fdeceb;
  color: #a02218;
  display: block;
}

/* --- Sticky mobile booking bar ------------------------------------------- */

.mobile-book-bar {
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  bottom: 0;
  box-shadow: 0 -6px 24px rgb(20 16 12 / 8%);
  display: none;
  gap: 1rem;
  inset-inline: 0;
  justify-content: space-between;
  padding: 0.8rem clamp(1rem, 4vw, 2rem);
  padding-bottom: max(0.8rem, env(safe-area-inset-bottom));
  position: fixed;
  z-index: 900;
}

@media (width <= 940px) {
  body[data-villa-page] .mobile-book-bar { display: flex; }
  body[data-villa-page] { padding-bottom: 5rem; }
}

.mobile-book-bar__price { font-size: 0.9rem; font-weight: 600; }
.mobile-book-bar__price span { color: var(--ink-500); display: block; font-size: 0.74rem; font-weight: 400; }

/* --- Image loading -------------------------------------------------------- */

img[loading="lazy"] { background: var(--surface-alt); }

.no-photos {
  align-items: center;
  background: var(--surface-alt);
  border: 1px dashed var(--line);
  border-radius: var(--r-md);
  color: var(--ink-500);
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  gap: 0.6rem;
  justify-content: center;
  min-height: 260px;
  padding: 2rem;
  text-align: center;
}

.no-photos .icon { color: var(--ink-300); height: 2rem; width: 2rem; }

/* --- Print ---------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .mobile-book-bar,
  .book-rail { display: none; }

  body { padding: 0; }
}

/* --- Listing subtitles ---------------------------------------------------- */
/* The sheet carries two names per property: the one guests search for
   ("Villa Ayuma Garden") and the descriptive one ("Garden 2BR Villa in
   Kedungu"). The first leads, the second sits under it. */

.vc-subtitle {
  color: var(--ink-500);
  font-size: 0.84rem;
  margin-top: -0.4rem;
  margin-bottom: 0.75rem;
}

.villa-hero__subtitle {
  color: var(--ink-500);
  font-size: var(--step-1);
  font-family: var(--serif);
  font-style: italic;
  margin-bottom: 0.7rem;
}

[data-unavailable="true"] { color: var(--ink-500); font-size: 0.92em; }

/* --- Reviews -------------------------------------------------------------- */

.reviews-viewport { flex: 1; min-width: 0; overflow: hidden; }
.reviews-track { display: flex; transition: transform 450ms cubic-bezier(0.25, 0.8, 0.25, 1); }

.review-card {
  flex: 0 0 100%;
  margin: 0;
  padding-inline: clamp(0.5rem, 3vw, 2rem);
  text-align: center;
}

.review-stars { color: var(--gold); display: flex; gap: 0.2rem; justify-content: center; margin-bottom: 1rem; }
.review-stars .icon { fill: currentcolor; }

.review-card blockquote p {
  color: rgb(255 255 255 / 88%);
  font-family: var(--serif);
  font-size: var(--step-1);
  font-style: italic;
  line-height: 1.6;
  margin-inline: auto;
  max-width: 60ch;
}

.review-card figcaption { margin-top: 1.3rem; }
.review-card figcaption strong { color: var(--gold); display: block; }
.review-card figcaption span { color: rgb(255 255 255 / 55%); font-size: 0.8rem; }

.reviews-carousel { align-items: center; display: flex; gap: 0.5rem; margin-inline: auto; max-width: 1000px; }

.reviews-nav {
  align-items: center;
  background: rgb(255 255 255 / 8%);
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 50%;
  color: var(--white);
  display: flex;
  flex: none;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.reviews-nav:hover { background: var(--gold); border-color: var(--gold); color: var(--green-deep); }

.reviews-dots { display: flex; gap: 0.4rem; justify-content: center; margin-top: 1.6rem; }

.reviews-dot {
  background: rgb(255 255 255 / 28%);
  border: 0;
  border-radius: var(--r-pill);
  height: 6px;
  padding: 0;
  transition: background var(--transition), width var(--transition);
  width: 6px;
}

.reviews-dot.active { background: var(--gold); width: 22px; }

/* --- Promotions ----------------------------------------------------------- */

.promo-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }

.promo-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.promo-image { position: relative; }
.promo-image img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }

.promo-tag {
  background: var(--gold);
  border-radius: var(--r-pill);
  color: var(--green-deep);
  font-size: 0.68rem;
  font-weight: 700;
  left: 1rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  position: absolute;
  top: 1rem;
}

.promo-content { display: flex; flex: 1; flex-direction: column; gap: 0.7rem; padding: 1.5rem; }
.promo-content h2 { font-size: var(--step-1); }
.promo-content p { color: var(--ink-700); font-size: 0.9rem; }
.promo-validity { align-items: center; color: var(--ink-500); display: flex; font-size: 0.82rem; gap: 0.45rem; }
.promo-details { margin-top: auto; }
.promo-details summary { display: inline-flex; list-style: none; }
.promo-details summary::-webkit-details-marker { display: none; }
.promo-details[open] summary { background: var(--green); color: var(--white); }
.promo-body { margin-top: 1.2rem; }
.promo-body h2, .promo-body h3 { font-size: var(--step-1); margin-block: 1rem 0.5rem; }
.promo-body ul { margin-block: 0.5rem; }
.promo-body li { color: var(--ink-700); font-size: 0.88rem; margin-bottom: 0.35rem; }

/* --- FAQ ------------------------------------------------------------------ */

.faq-acc-item { border-bottom: 1px solid var(--line); }

.faq-acc-btn {
  align-items: center;
  background: none;
  color: var(--green);
  cursor: pointer;
  display: flex;
  font-family: var(--serif);
  font-size: var(--step-1);
  gap: 1rem;
  justify-content: space-between;
  list-style: none;
  padding-block: 1.15rem;
  text-align: left;
}

.faq-acc-btn::-webkit-details-marker { display: none; }
.faq-acc-btn .icon { color: var(--gold-dark); transition: rotate var(--transition); }
.faq-acc-item[open] .faq-acc-btn .icon { rotate: 180deg; }
.faq-acc-content { padding-bottom: 1.2rem; }
.faq-acc-content p { color: var(--ink-700); max-width: 72ch; }


/* --- Why choose Balivo ---------------------------------------------------- */
/* The inherited sheet styled these as h4. The rebuild promotes them to h3 so
   the heading outline is correct, so the styling has to follow. */

.combined-feature h3 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.combined-features { align-items: stretch; }

@media (width <= 900px) {
  .combined-features { grid-template-columns: 1fr 1fr; }
}

@media (width <= 560px) {
  .combined-features { grid-template-columns: 1fr; }
}

/* --- Card meta ------------------------------------------------------------ */

.vc-meta {
  align-items: center;
  color: var(--ink-500);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.82rem;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.vc-meta span { align-items: center; display: inline-flex; gap: 0.35rem; white-space: nowrap; }
.vc-meta .icon { color: var(--gold-dark); }

.vc-footer { align-items: center; display: flex; gap: 1rem; justify-content: space-between; }
.vc-cta { align-items: center; color: var(--green); display: inline-flex; font-size: 0.85rem; font-weight: 600; gap: 0.35rem; }
.villa-card:hover .vc-cta { color: var(--gold-dark); }


/* The inherited sheet padded the carousel for absolutely positioned arrows.
   The arrows are flex siblings now, so that padding just clips the slides. */
.reviews-carousel { max-width: 1000px; overflow: visible; padding: 0; }

/* --- Hero + search on small screens -------------------------------------- */
/* The inherited hero was locked to 85vh with a 650px floor. Once the search
   bar stacks, that height cannot hold its own content and the form spills
   into the section below. Let the hero grow instead. */

.hero-content { width: 100%; }

.search-field-label {
  color: var(--ink-900);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
}

.search-field .search-field-input {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.search-field { justify-content: center; }

@media (width <= 860px) {
  .hero {
    height: auto;
    margin-top: 0;
    min-height: 0;
    padding-block: calc(var(--header-h) + 3.5rem) 3.5rem;
  }

  .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .hero p { font-size: 1rem; margin-bottom: 2rem; }

  .search-bar-row {
    display: grid;
    gap: 1px;
    grid-template-columns: 1fr 1fr;
  }

  .search-bar-row > .search-field {
    border: 0;
    border-bottom: 1px solid var(--line-soft);
    border-radius: 0;
    padding: 0.9rem 1.1rem;
  }

  .search-bar-row > .search-field:first-child { grid-column: 1 / -1; }
  .search-bar-row > .search-field:nth-child(4) { grid-column: 1 / -1; }
  .search-btn-wrap { grid-column: 1 / -1; padding: 0.8rem; }
  .btn-search { justify-content: center; width: 100%; }
  .search-wrapper { border-radius: var(--r-md); overflow: hidden; }
}

/* --- Header logo ---------------------------------------------------------- */

@media (width <= 420px) {
  .logo img { height: 24px; }
}

/* --- Contrast corrections ------------------------------------------------- */
/* The inherited palette put --gold (#b6a97b) on --green (#2d5049) at 3.8:1 and
   white on WhatsApp green at 2.0:1, both below WCAG AA. These keep the brand
   colours but move the text side far enough to pass. */

:root {
  --gold-on-dark: #e0d6b0;  /* 6.1:1 on --green */
  --whatsapp: #0b5f55;      /* 7.6:1 with white */
  --whatsapp-hover: #084b43;
}

.combined-section .review-card figcaption strong,
.combined-heading,
.combined-reviews-heading,
.combined-feature-icon,
.review-stars,
.bg-green h1,
.bg-green h2,
.bg-green h3 { color: var(--gold-on-dark); }

.combined-intro,
.combined-reviews-intro,
.review-card blockquote p { color: #dfe5e3; }

.combined-feature p,
.review-card figcaption span { color: #c6cfcc; }

.reviews-dot.active { background: var(--gold-on-dark); }

.btn-whatsapp,
.btn-contact-wa { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover,
.btn-contact-wa:hover { background: var(--whatsapp-hover); }

/* Gold as a background needs dark text, not white */
.travel-tab.active,
.faq-tab.active,
.services-tab.active,
.vc-badge,
.promo-tag,
.btn-gold { background: var(--gold); color: var(--green-deep); }

.footer-social a:hover { color: var(--green-deep); }

/* Gold as *text* on a light background tops out at 2.3:1. This bronze keeps
   the same family and clears AA at 5.2:1 on white and 5.0:1 on cream. */

:root { --bronze-text: #786c43; }

.tour-price,
.service-block-num,
.gs-price,
.price-gold,
.text-gold { color: var(--bronze-text); }

/* The inherited card capped itself at 760px while the track still translated
   by 100% of the viewport, so the next slide peeked out on every step. */

.reviews-track .review-card {
  border: 1px solid rgb(255 255 255 / 12%);
  background: rgb(255 255 255 / 6%);
  border-radius: var(--r-md);
  flex: 0 0 100%;
  margin: 0;
  max-width: none;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  width: 100%;
}

.reviews-track .review-card blockquote p { max-width: 56ch; }

/* --- FAQ accordion: clipping fix ------------------------------------------ */
/* The inherited sheet animated these open by moving max-height from 0 to a
   fixed value, driven by an .active class the old JavaScript added. These are
   native <details> now, so nothing ever adds .active and the answer stayed
   clamped at max-height 0 — visible but cut off after one line. */

.faq-acc-content {
  max-height: none;
  overflow: visible;
  transition: none;
}

.faq-acc-content p { padding: 0 1.5rem 0.4rem; }

.faq-acc-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 0.8rem; }
.faq-acc-item[open] { border-color: var(--sand); }
.faq-acc-btn { padding: 1.15rem 1.5rem; }

/* --- Tab panels ----------------------------------------------------------- */
/* Same story: .faq-category, .travel-content and .services-content are
   display:none until an .active class arrives. The tab script now adds it. */

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* --- Filter bar ----------------------------------------------------------- */

.filter-bar {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
}

@media (width >= 780px) {
  .filter-bar { grid-template-columns: auto 1fr; align-items: start; gap: 1.25rem 2rem; }
  .filter-group { display: contents; }
}

.filter-group__label {
  color: var(--ink-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  margin: 0.55rem 0 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-group__options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.filter-bar .filter-btn { padding: 0.45rem 1.15rem; font-size: 0.84rem; }

.filter-reset {
  background: none;
  border: 0;
  color: var(--ink-500);
  font-size: 0.82rem;
  padding: 0.45rem 0;
  text-decoration: underline;
}

.filter-reset:hover { color: var(--green); }

.filter-summary { color: var(--ink-500); font-size: 0.88rem; margin-top: 1.25rem; }
