/* =============================================================================
   PACIFIC PROPERTY MANAGEMENT — Coastal Calm palette
   Paper + teal + sand. Clean, restful, professional.
   ============================================================================= */

:root {
  /* Coastal Calm palette */
  --paper: #FAF5EA;
  --paper-deep: #F1E9D5;
  --paper-shadow: #E8DDC4;
  --ink: #1F2A35;
  --ink-mute: #5E6B78;
  --ink-light: #93A0AD;
  --teal: #3D7A78;
  --teal-deep: #2D5F5D;
  --teal-soft: #E0EAE9;
  --sand: #DBA158;
  --sand-deep: #C58D44;
  --rule: #E5DCC4;
  --white: #FFFFFF;

  /* Typography */
  --display: 'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* =============================================================================
   BASE
   ============================================================================= */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--teal-deep); }
button { font-family: inherit; cursor: pointer; }

/* Language toggle: hide non-active language by default (EN) */
/* Language toggle - use !important to win over component-level display rules */
[data-lang-es], [data-lang-es-block] { display: none !important; }
[data-lang-en] { display: inline !important; }
[data-lang-en-block] { display: block !important; }
html[lang="es"] [data-lang-en], html[lang="es"] [data-lang-en-block] { display: none !important; }
html[lang="es"] [data-lang-es] { display: inline !important; }
html[lang="es"] [data-lang-es-block] { display: block !important; }

/* Container helpers */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* =============================================================================
   TYPOGRAPHY
   ============================================================================= */
h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0 0 0.6em;
  line-height: 1.15;
}
h1 { font-size: clamp(36px, 5.5vw, 64px); font-weight: 500; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: clamp(22px, 2.6vw, 28px); }
h4 { font-size: clamp(18px, 2vw, 22px); }
p { margin: 0 0 1em; }
.eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  display: inline-block;
  margin-bottom: 14px;
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  color: var(--ink-mute);
  font-weight: 300;
}
em.script {
  font-style: italic;
  font-weight: 400;
  font-family: var(--display);
  color: var(--teal);
}

/* =============================================================================
   NAVIGATION (top sticky)
   ============================================================================= */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 245, 234, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  gap: 16px;
}
.nav-brand {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-brand-name { white-space: nowrap; }
.nav-brand-tail { white-space: nowrap; }
.nav-brand-dot { color: var(--teal); }
.nav-brand-tag {
  font-family: var(--body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-light);
  margin-left: 4px;
}
.nav-links {
  display: flex; gap: clamp(20px, 3vw, 36px); align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a.active { color: var(--teal); }
.nav-lang {
  font-size: 12px; font-weight: 600;
  color: var(--ink-mute); cursor: pointer;
  background: transparent; border: 1px solid var(--rule);
  padding: 5px 11px; border-radius: 999px;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}
.nav-lang:hover { border-color: var(--teal); color: var(--teal); }
.nav-links a.nav-cta {
  font-size: 13px; font-weight: 600;
  color: var(--white);
  background: var(--ink);
  padding: 10px 18px; border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}
.nav-links a.nav-cta:hover { background: var(--teal-deep); color: var(--white); }

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px; height: 44px;
  background: transparent;
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0;
  cursor: pointer;
  gap: 4px;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile: hide desktop nav links + show hamburger; tighten brand */
@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 520px) {
  .nav-brand-tail { display: none; }
  .nav-brand-name { font-size: 18px; }
}

/* =============================================================================
   MOBILE DRAWER NAV (Phase 4 of build runbook)
   ============================================================================= */
.drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(31, 42, 53, 0.55);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}
.drawer-nav {
  position: fixed; top: 0; right: 0;
  width: min(86vw, 360px);
  height: 100vh; height: 100dvh;
  background: var(--paper);
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1);
  display: flex; flex-direction: column;
  box-shadow: -12px 0 32px -8px rgba(31, 42, 53, 0.18);
  padding: 0;
}
.drawer-nav.open { transform: translateX(0); }
.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--rule);
}
.drawer-brand {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.drawer-brand-dot { color: var(--teal); }
.drawer-close {
  background: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  padding: 0;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
}
.drawer-close:hover { color: var(--teal); }
.drawer-links {
  list-style: none;
  margin: 0;
  padding: 16px 0;
  flex: 1;
  overflow-y: auto;
}
.drawer-links li { margin: 0; }
.drawer-links a {
  display: block;
  padding: 16px 24px;
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: color 0.2s, background 0.2s;
}
.drawer-links a:hover { color: var(--teal); background: var(--paper-deep); }
.drawer-links a.active { color: var(--teal); }
.drawer-foot {
  padding: 20px 24px 32px;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column; gap: 12px;
}
.drawer-foot .drawer-lang { align-self: flex-start; padding: 8px 16px; font-size: 13px; }
.drawer-foot .drawer-cta {
  display: block; text-align: center;
  background: var(--ink);
  color: var(--white);
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.drawer-foot .drawer-cta:hover { background: var(--teal-deep); color: var(--white); }
@media (min-width: 821px) {
  .drawer-nav, .drawer-backdrop { display: none; }
}

/* =============================================================================
   BUTTONS
   ============================================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--teal-deep); color: var(--white); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--white); }
.btn-sand {
  background: var(--sand);
  color: var(--ink);
}
.btn-sand:hover { background: var(--sand-deep); color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--teal);
  padding: 8px 0;
  border-bottom: 1px solid var(--teal);
  border-radius: 0;
}
.btn-ghost:hover { color: var(--teal-deep); border-color: var(--teal-deep); }

/* =============================================================================
   HERO SECTIONS
   ============================================================================= */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex; align-items: flex-end;
  padding: 80px 0 60px;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,53,0.15) 0%, rgba(31,42,53,0.5) 100%);
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  z-index: 0;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-bottom: 18px;
}
.hero h1 {
  color: var(--white);
  max-width: 16ch;
  margin-bottom: 18px;
}
.hero p {
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-page {
  min-height: 50vh;
  padding: 100px 0 70px;
}
.hero-page h1 { max-width: 22ch; }

/* =============================================================================
   SECTIONS / SPACING
   ============================================================================= */
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 70px) 0; }
.section-deep { background: var(--paper-deep); }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--paper); }
.section-dark .eyebrow { color: var(--sand); }
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
}
.section-header.left {
  text-align: left;
  margin: 0 0 56px;
}
.section-header p {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-mute);
}

/* =============================================================================
   PROPERTY CARDS
   ============================================================================= */
.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.property-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  display: flex; flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(31, 42, 53, 0.18);
}
.property-card-media {
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  position: relative;
}
.property-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 4px;
}
.property-card-body { padding: 24px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.property-card-area {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.property-card-name {
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  line-height: 1.2;
}
.property-card-desc {
  color: var(--ink-mute);
  font-size: 14px; line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.property-card-stats {
  display: flex; gap: 14px;
  font-size: 13px;
  color: var(--ink-mute);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-bottom: 16px;
}
.property-card-stats span { display: inline-flex; align-items: center; gap: 5px; }
.property-card-foot {
  display: flex; align-items: center; justify-content: space-between;
}
.property-card-price {
  font-size: 13px;
  color: var(--ink-mute);
}
.property-card-price strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
}
.property-card-link {
  font-size: 13px; font-weight: 600;
  color: var(--teal);
  letter-spacing: 0.05em;
}
.property-card-link::after { content: " →"; transition: transform 0.2s; }
.property-card:hover .property-card-link::after { content: " →"; }

/* =============================================================================
   FEATURE GRID (services, why us)
   ============================================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px 32px;
}
.feature {
  display: flex; flex-direction: column; gap: 10px;
}
.feature-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 8px;
}
.feature-icon.sand {
  background: rgba(219, 161, 88, 0.18);
  color: var(--sand-deep);
}
.feature h3 {
  font-size: 20px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0 0 6px;
}
.feature p {
  color: var(--ink-mute);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

/* =============================================================================
   STATS BAND
   ============================================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px 24px;
  text-align: center;
}
.stat-num {
  font-family: var(--display);
  font-size: clamp(40px, 5vw, 56px);
  font-weight: 500;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* =============================================================================
   TESTIMONIALS
   ============================================================================= */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.testimonial {
  background: var(--white);
  border-radius: 14px;
  padding: 32px 28px;
  border: 1px solid var(--rule);
}
.testimonial-stars {
  color: var(--sand);
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testimonial-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 20px;
}
.testimonial-meta {
  font-size: 13px;
  color: var(--ink-mute);
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.testimonial-meta strong { color: var(--ink); font-weight: 600; }

/* =============================================================================
   CALENDAR (live availability)
   ============================================================================= */
.calendar-block {
  background: var(--white);
  border-radius: 16px;
  padding: 28px;
  border: 1px solid var(--rule);
}
.calendar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.calendar-month {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
}
.calendar-month-year {
  font-size: 14px;
  color: var(--ink-mute);
  margin-left: 6px;
  font-family: var(--body);
}
.calendar-nav {
  display: flex; gap: 6px;
}
.calendar-arrow {
  width: 36px; height: 36px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  color: var(--ink);
  font-size: 18px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.calendar-arrow:hover { background: var(--teal-soft); border-color: var(--teal); color: var(--teal); }
.calendar-arrow:disabled { opacity: 0.4; cursor: not-allowed; }
.calendar-grid {
  display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px;
}
.calendar-weekday {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  padding: 8px 0;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
}
.calendar-day.empty { color: transparent; }
.calendar-day.past { color: var(--ink-light); opacity: 0.5; }
.calendar-day.available {
  background: var(--paper);
}
.calendar-day.booked {
  background: var(--paper-deep);
  color: var(--ink-light);
  text-decoration: line-through;
}
.calendar-day.today {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
.calendar-legend {
  display: flex; gap: 18px; margin-top: 18px;
  font-size: 12px; color: var(--ink-mute);
}
.calendar-legend-dot {
  display: inline-block;
  width: 12px; height: 12px;
  border-radius: 3px;
  margin-right: 6px;
  vertical-align: middle;
}
.calendar-legend-dot.avail { background: var(--paper); border: 1px solid var(--rule); }
.calendar-legend-dot.booked { background: var(--paper-deep); border: 1px solid var(--rule); }
.calendar-loading {
  padding: 60px 20px;
  text-align: center;
  color: var(--ink-mute);
  font-size: 14px;
}
.calendar-source {
  margin-top: 14px;
  font-size: 12px;
  color: var(--ink-light);
  text-align: right;
}

/* =============================================================================
   WHATSAPP FLOATER
   ============================================================================= */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px; height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px -4px rgba(37, 211, 102, 0.45);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px -4px rgba(37, 211, 102, 0.6);
}
.wa-float svg { width: 32px; height: 32px; fill: white; }
.wa-float::before {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: 0.5;
  z-index: -1;
  animation: wa-pulse 2s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.6); opacity: 0; }
}
@media (max-width: 600px) {
  .wa-float { width: 54px; height: 54px; bottom: 18px; right: 18px; }
  .wa-float svg { width: 28px; height: 28px; }
}

/* =============================================================================
   FORMS
   ============================================================================= */
.form-row { margin-bottom: 18px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 6px;
}
.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--body);
  font-size: 15px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 8px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(61, 122, 120, 0.12);
}
.form-row textarea { min-height: 130px; resize: vertical; }
.form-row.row-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
@media (max-width: 600px) {
  .form-row.row-2 { grid-template-columns: 1fr; }
}
.form-status {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
}
.form-status.success {
  display: block;
  background: var(--teal-soft);
  color: var(--teal-deep);
  border: 1px solid var(--teal);
}
.form-status.error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  color: #B91C1C;
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* =============================================================================
   FOOTER
   ============================================================================= */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 50px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-brand {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--paper);
}
.footer-brand-dot { color: var(--sand); }
.footer-tag {
  font-size: 13px;
  color: rgba(250, 245, 234, 0.6);
  max-width: 30ch;
  line-height: 1.55;
}
.footer-col h4 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 245, 234, 0.55);
  margin: 0 0 16px;
}
.footer-col ul {
  list-style: none;
  margin: 0; padding: 0;
}
.footer-col li {
  margin-bottom: 8px;
}
.footer-col a {
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}
.footer-col a:hover { opacity: 1; color: var(--sand); }
.footer-bottom {
  border-top: 1px solid rgba(250, 245, 234, 0.12);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px;
  color: rgba(250, 245, 234, 0.55);
  flex-wrap: wrap; gap: 10px;
}

/* =============================================================================
   CTA BAND
   ============================================================================= */
.cta-band {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 72px 20px;
  border-radius: 16px;
}
.cta-band h2 {
  color: var(--white);
  max-width: 22ch;
  margin: 0 auto 16px;
}
.cta-band p {
  color: rgba(255,255,255,0.85);
  max-width: 50ch;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.55;
}
.cta-band .btn-primary { background: var(--white); color: var(--ink); }
.cta-band .btn-primary:hover { background: var(--paper); color: var(--ink); }
.cta-band .btn-secondary { border-color: var(--white); color: var(--white); }
.cta-band .btn-secondary:hover { background: var(--white); color: var(--ink); }

/* =============================================================================
   PROPERTY DETAIL specifics
   ============================================================================= */
.property-detail-hero {
  position: relative;
  height: 60vh;
  min-height: 460px;
  background-size: cover; background-position: center;
}
.property-detail-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,53,0) 0%, rgba(31,42,53,0.6) 100%);
}
.property-detail-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 48px var(--gutter) 36px;
  color: var(--white);
  z-index: 2;
}
.property-detail-overlay .container {
  padding: 0;
}
.property-detail-overlay .eyebrow {
  color: rgba(255,255,255,0.85);
}
.property-detail-overlay h1 {
  color: var(--white);
  font-size: clamp(36px, 5.5vw, 60px);
  margin-bottom: 8px;
}
.property-stats-bar {
  display: flex; gap: 28px;
  font-size: 14px;
  color: rgba(255,255,255,0.92);
  letter-spacing: 0.05em;
  font-weight: 500;
}
.property-stats-bar span { display: inline-flex; align-items: center; gap: 6px; }

.property-info-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 900px) {
  .property-info-grid { grid-template-columns: 1fr; gap: 36px; }
}
.property-summary p { font-size: 17px; line-height: 1.65; color: var(--ink); }
.property-side {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  border: 1px solid var(--rule);
  position: sticky;
  top: 90px;
}
.property-side .price-block { margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--rule); }
.property-side .price-big {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.property-side .price-per {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
}
.property-side .price-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin-top: 4px;
}
.property-side .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* Mini-gallery on detail page */
.mini-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  aspect-ratio: 2.4 / 1;
  margin: 40px 0;
  border-radius: 14px;
  overflow: hidden;
}
.mini-gallery > div {
  background-size: cover; background-position: center;
}
.mini-gallery > div:first-child {
  grid-row: 1 / 3;
}
@media (max-width: 700px) {
  .mini-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.4fr 1fr 1fr;
    aspect-ratio: 1 / 1.2;
  }
  .mini-gallery > div:first-child {
    grid-row: 1 / 2;
    grid-column: 1 / 3;
  }
  .mini-gallery > div:nth-child(4) { display: none; }
}

/* =============================================================================
   ABOUT page specifics
   ============================================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 800px) {
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
}
.about-image {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  border-radius: 14px;
}

/* =============================================================================
   UTILITY
   ============================================================================= */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: 36px; }
.hidden { display: none; }


/* =============================================================================
   PROPERTY DETAIL PAGE - rich content
   ============================================================================= */

/* Hero section: full-bleed photo with overlay text */
.pdp-hero {
  position: relative;
  height: 70vh;
  min-height: 520px;
  background-size: cover; background-position: center;
  margin-top: -1px; /* tight against nav */
}
.pdp-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,53,0.1) 0%, rgba(31,42,53,0.7) 100%);
}
.pdp-hero-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 56px var(--gutter) 44px;
  z-index: 2;
  color: var(--white);
}
.pdp-hero-overlay .container { padding: 0; }
.pdp-hero-overlay .eyebrow {
  color: var(--sand);
  font-weight: 700;
}
.pdp-hero-overlay h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 72px);
  margin-bottom: 14px;
  line-height: 1.05;
  max-width: 16ch;
}
.pdp-stats {
  display: flex; gap: 36px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.94);
}
.pdp-stats span {
  display: inline-flex; align-items: center; gap: 8px;
}
.pdp-stats em {
  font-style: normal;
  font-weight: 700;
  color: var(--white);
}
@media (max-width: 600px) {
  .pdp-hero { height: 60vh; min-height: 420px; }
  .pdp-stats { gap: 18px; font-size: 13px; }
}

/* Two-column body: main content + sticky sidebar */
.pdp-body {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 64px;
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0;
}
@media (max-width: 980px) {
  .pdp-body { grid-template-columns: 1fr; gap: 40px; }
}
.pdp-main h2 { margin-top: 56px; }
.pdp-main h2:first-child { margin-top: 0; }
.pdp-main p { font-size: 17px; line-height: 1.65; color: var(--ink); }
.pdp-main .lead-quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.4;
  color: var(--teal-deep);
  padding: 22px 0 22px 28px;
  border-left: 3px solid var(--sand);
  margin: 40px 0;
}

/* Sidebar - sticky book box */
.pdp-side {
  position: sticky;
  top: 96px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  padding: 28px 26px;
  box-shadow: 0 4px 20px -8px rgba(31, 42, 53, 0.08);
}
.pdp-side-rating {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.pdp-side-rating strong { color: var(--ink); font-size: 16px; }
.pdp-side-rating .stars { color: var(--sand); font-size: 13px; letter-spacing: 1px; }
.pdp-side-price {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pdp-side-price small {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
}
.pdp-side-note {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 8px 0 22px;
  line-height: 1.45;
}
.pdp-side .btn { width: 100%; justify-content: center; margin-bottom: 10px; padding: 14px 18px; }
.pdp-side .btn-primary { background: var(--ink); color: var(--white); }
.pdp-side .btn-primary:hover { background: var(--teal-deep); color: var(--white); }
.pdp-side-perks {
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 13.5px;
  color: var(--ink-mute);
  line-height: 1.6;
}
.pdp-side-perks ul { margin: 6px 0 0; padding-left: 18px; }
.pdp-side-perks li { margin-bottom: 4px; }

/* Photo gallery: masonry-ish 3 cols then full width hero shots */
.pdp-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 24px 0;
  border-radius: 12px;
  overflow: hidden;
}
.pdp-gallery img {
  width: 100%; height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  cursor: zoom-in;
  transition: transform 0.4s;
}
.pdp-gallery img:hover { transform: scale(1.03); }
.pdp-gallery .gal-wide { grid-column: span 2; }
.pdp-gallery .gal-tall { grid-row: span 2; aspect-ratio: 4/6; }
@media (max-width: 700px) {
  .pdp-gallery { grid-template-columns: repeat(2, 1fr); }
  .pdp-gallery .gal-wide { grid-column: span 2; }
  .pdp-gallery .gal-tall { grid-row: span 1; aspect-ratio: 4/3; }
}

/* Lightbox */
.pdp-lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(31,42,53,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
  cursor: zoom-out;
}
.pdp-lightbox.open { display: flex; }
.pdp-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
}
.pdp-lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: rgba(255,255,255,0.1);
  color: white;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 24px; line-height: 1;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pdp-lightbox-close:hover { background: rgba(255,255,255,0.2); }
.pdp-lightbox-counter {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  font-weight: 500;
}
.pdp-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  color: white;
  width: 50px; height: 50px;
  border-radius: 50%;
  font-size: 28px; line-height: 1;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pdp-lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.pdp-lightbox-nav.prev { left: 32px; }
.pdp-lightbox-nav.next { right: 32px; }
@media (max-width: 600px) {
  .pdp-lightbox-nav.prev { left: 12px; }
  .pdp-lightbox-nav.next { right: 12px; }
  .pdp-lightbox { padding: 20px; }
}

/* Amenities grid */
.pdp-amenities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 36px 28px;
  margin: 24px 0;
}
.pdp-amenity-group h3 {
  font-family: var(--body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.pdp-amenity-group ul {
  list-style: none;
  margin: 0; padding: 0;
}
.pdp-amenity-group li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  padding: 6px 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.pdp-amenity-group li::before {
  content: "✓";
  color: var(--teal);
  font-weight: 700;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Map block */
.pdp-map {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--rule);
  margin: 24px 0;
}
.pdp-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.pdp-walk-list {
  list-style: none;
  margin: 24px 0; padding: 0;
  display: grid;
  gap: 0;
}
.pdp-walk-list li {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 15px;
}
.pdp-walk-list li:last-child { border-bottom: none; }
.pdp-walk-list .place { color: var(--ink); font-weight: 500; }
.pdp-walk-list .mode {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-light);
}
.pdp-walk-list .time {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 500;
  color: var(--teal);
}

/* Local highlights */
.pdp-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin: 24px 0;
}
.pdp-highlight {
  padding: 22px;
  background: var(--paper-deep);
  border-radius: 12px;
}
.pdp-highlight-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}
.pdp-highlight h4 {
  font-size: 17px;
  font-family: var(--display);
  font-weight: 500;
  margin: 0 0 6px;
}
.pdp-highlight p {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
  line-height: 1.5;
}

/* About + Services beefed-up homepage sections */
.home-section-h {
  text-align: left;
  margin-bottom: 44px;
}
.home-section-h .eyebrow { display: block; margin-bottom: 12px; }
.home-section-h h2 { margin: 0 0 16px; max-width: 18ch; }
.home-section-h p {
  font-size: clamp(17px, 1.6vw, 19px);
  color: var(--ink-mute);
  max-width: 50ch;
  line-height: 1.55;
}

/* Service detail cards on homepage */
.home-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 900px) {
  .home-services { grid-template-columns: 1fr; }
}
.home-service {
  background: var(--white);
  border-radius: 16px;
  padding: 36px 32px;
  border: 1px solid var(--rule);
  transition: transform 0.3s, box-shadow 0.3s;
  display: flex; flex-direction: column;
}
.home-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -16px rgba(31, 42, 53, 0.12);
}
.home-service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--teal-soft);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.home-service-icon.sand { background: rgba(219, 161, 88, 0.18); }
.home-service h3 {
  font-size: 22px;
  margin: 0 0 12px;
  font-family: var(--display);
  font-weight: 500;
}
.home-service p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-mute);
  margin: 0 0 20px;
  flex: 1;
}
.home-service ul {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.home-service li {
  font-size: 14px;
  color: var(--ink);
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; gap: 8px;
}
.home-service li::before { content: "→"; color: var(--teal); font-weight: 700; }
.home-service li:last-child { border-bottom: none; }
.home-service .btn-ghost { margin-top: auto; align-self: flex-start; }

/* About home section */
.home-about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 900px) {
  .home-about { grid-template-columns: 1fr; gap: 40px; }
}
.home-about-img {
  aspect-ratio: 4 / 5;
  background-size: cover; background-position: center;
  border-radius: 16px;
}
.home-about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.home-about-stat .stat-num {
  font-size: 36px;
  margin-bottom: 4px;
}
.home-about-stat .stat-label {
  font-size: 11px;
}


/* =============================================================================
   VIDEO HERO - for homepage and Casa Nube
   ============================================================================= */
.hero-video-wrap {
  position: relative;
  width: 100%;
  min-height: 88vh;
  overflow: hidden;
  background: var(--ink); /* fallback */
}
.hero-video-wrap video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 0;
}
.hero-video-wrap::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(31,42,53,0.35) 0%, rgba(31,42,53,0.15) 30%, rgba(31,42,53,0.75) 100%);
  z-index: 1;
}
.hero-video-content {
  position: relative;
  z-index: 2;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--gutter) 80px;
  color: var(--white);
  text-align: left;
  max-width: 1480px;
  margin: 0 auto;
}
.hero-video-content .eyebrow,
.hero-video-content .hero-eyebrow {
  color: var(--sand);
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.hero-video-content h1 {
  color: var(--white);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.05;
  max-width: 18ch;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
.hero-video-content h1 .script {
  color: var(--sand); /* sand contrasts safely against green/teal/jungle */
  font-style: italic;
}
.hero-video-content p {
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,0.95);
  max-width: 50ch;
  margin-bottom: 32px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hero-video-content .btn-sand {
  background: var(--sand);
  color: var(--ink);
  border-color: var(--sand);
}
.hero-video-content .btn-sand:hover { background: var(--white); border-color: var(--white); }
.hero-video-content .btn-glass {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.hero-video-content .btn-glass:hover {
  background: rgba(255,255,255,0.22);
  color: var(--white);
}

/* Property hero with video */
.pdp-hero.with-video {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.pdp-hero.with-video video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 0;
}
.pdp-hero.with-video::after {
  background: linear-gradient(180deg, rgba(31,42,53,0.4) 0%, rgba(31,42,53,0.2) 35%, rgba(31,42,53,0.8) 100%);
  z-index: 1;
}
.pdp-hero.with-video .pdp-hero-overlay { z-index: 2; }
.pdp-hero.with-video .pdp-hero-overlay .eyebrow { color: var(--sand); }
.pdp-hero.with-video .pdp-hero-overlay h1 {
  text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}
.pdp-hero.with-video .pdp-hero-overlay .pdp-stats {
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* =============================================================================
   GALLERY: Show first 6, "See more" toggles the rest
   ============================================================================= */
.pdp-gallery.collapsed > img:nth-child(n+7) {
  display: none;
}
.pdp-gallery-toggle-wrap {
  text-align: center;
  margin: 20px 0 40px;
}
.pdp-gallery-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--ink);
  border: 1.5px solid var(--rule);
  padding: 12px 26px;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
}
.pdp-gallery-toggle:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}
.pdp-gallery-toggle .icon { font-size: 16px; transition: transform 0.2s; }
.pdp-gallery-toggle[data-state="expanded"] .icon { transform: rotate(180deg); }

/* =============================================================================
   CALENDAR DATE PICKER (click-to-select for booking)
   ============================================================================= */
.calendar-day.available {
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.calendar-day.available:hover {
  background: var(--teal-soft);
  color: var(--ink);
}
.calendar-day.selected-start,
.calendar-day.selected-end {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
}
.calendar-day.selected-start { border-radius: 50% 0 0 50%; }
.calendar-day.selected-end { border-radius: 0 50% 50% 0; }
.calendar-day.selected-start.selected-end {
  border-radius: 50%;
}

.calendar-selected-summary {
  background: var(--paper-deep);
  padding: 16px 18px;
  border-radius: 10px;
  margin-top: 18px;
  font-size: 14px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
}
.calendar-selected-summary strong { color: var(--ink); font-weight: 600; }
.calendar-selected-summary .clear {
  background: transparent;
  border: none;
  color: var(--ink-mute);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

/* Book direct button updates when dates picked */
.pdp-side-cta-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.pdp-side-cta-wa svg {
  width: 18px; height: 18px;
  fill: currentColor;
}


/* Calendar layout - one month per view (use nav arrows to browse) */
.calendar-months {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
.calendar-month-block { background: var(--white); border-radius: 12px; padding: 18px; border: 1px solid var(--rule); }
.calendar-month {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-right: 8px;
}
.calendar-month-year {
  font-size: 14px;
  color: var(--ink-mute);
  font-weight: 500;
}
.calendar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.calendar-nav { display: flex; gap: 8px; }
.calendar-arrow {
  width: 32px; height: 32px;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--white);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}
.calendar-arrow:hover { background: var(--paper-deep); }
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}
.calendar-weekday {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: var(--ink-light);
  padding: 6px 0;
}
.calendar-day {
  aspect-ratio: 1;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  color: var(--ink);
  position: relative;
}
.calendar-day.empty { background: transparent; }
.calendar-day.past { color: var(--ink-light); opacity: 0.4; }
.calendar-day.booked {
  color: var(--ink-light);
  text-decoration: line-through;
  background: var(--paper-deep);
}
.calendar-day.today {
  outline: 2px solid var(--teal);
  outline-offset: -2px;
}
.calendar-day.available {
  background: var(--paper);
}
.calendar-loading {
  padding: 40px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-mute);
}

/* Calendar legend */
.calendar-legend {
  display: flex; gap: 18px; flex-wrap: wrap;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--ink-mute);
}
.calendar-legend .legend-item {
  display: inline-flex; align-items: center; gap: 6px;
}
.calendar-legend .legend-dot {
  width: 12px; height: 12px;
  border-radius: 3px;
  display: inline-block;
}
.calendar-legend .legend-dot.available { background: var(--paper); border: 1px solid var(--rule); }
.calendar-legend .legend-dot.booked { background: var(--paper-deep); border: 1px solid var(--rule); text-decoration: line-through; }
.calendar-legend .legend-dot.selected-start { background: var(--ink); }

/* =============================================================================
   HERO VIDEO (homepage) - background video with bottom-up dark gradient
   ============================================================================= */
.hero-video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31, 42, 53, 0.15) 0%, rgba(31, 42, 53, 0.3) 50%, rgba(31, 42, 53, 0.78) 100%);
  z-index: 1;
}
.hero .hero-inner { position: relative; z-index: 2; }
.hero .hero-inner .hero-eyebrow {
  color: var(--sand);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.hero .hero-inner h1 {
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.hero .hero-inner h1 em.script {
  color: var(--sand);
}
.hero .hero-inner p {
  color: rgba(250, 245, 234, 0.95);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

/* =============================================================================
   PDP RESTRUCTURE: top section 2-col, then full-width below
   ============================================================================= */
.pdp-top {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 56px;
  align-items: start;
  padding: clamp(48px, 6vw, 80px) 0 56px;
}
@media (max-width: 980px) {
  .pdp-top { grid-template-columns: 1fr; gap: 32px; }
}
.pdp-fullwidth {
  padding: 56px 0;
}
.pdp-fullwidth h2:first-child { margin-top: 0; }

/* Booking widget (right column) - calendar lives INSIDE here */
.pdp-book {
  position: sticky;
  top: 96px;
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--rule);
  padding: 28px 26px;
  box-shadow: 0 4px 20px -8px rgba(31, 42, 53, 0.08);
}
.pdp-book-rating {
  display: flex; align-items: baseline; gap: 6px;
  font-size: 14px;
  color: var(--ink-mute);
  margin-bottom: 12px;
}
.pdp-book-rating strong { color: var(--ink); font-size: 16px; }
.pdp-book-rating .stars { color: var(--sand); font-size: 13px; letter-spacing: 1px; }
.pdp-book-price {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.pdp-book-price small {
  font-family: var(--body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-mute);
  margin-left: 4px;
}
.pdp-book-prompt {
  font-size: 13px;
  color: var(--ink-mute);
  margin: 8px 0 18px;
  line-height: 1.5;
}
.pdp-book-dates {
  background: var(--paper-deep);
  border-radius: 10px;
  padding: 14px 16px;
  margin-bottom: 14px;
  display: none;
}
.pdp-book-dates.has-dates { display: block; }
.pdp-book-dates-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
}
.pdp-book-dates-row.total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}
.pdp-book-dates-row .label {
  color: var(--ink-mute);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
}
.pdp-book-dates-row .val {
  color: var(--ink);
  font-weight: 500;
}
.pdp-book-dates-row.total .val {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
}
.pdp-book .btn { width: 100%; justify-content: center; margin-bottom: 10px; padding: 13px 18px; }
.pdp-book .btn-wa {
  background: #25D366;
  color: white;
  display: flex; align-items: center; gap: 10px;
}
.pdp-book .btn-wa:hover { background: #1FB855; color: white; }
.pdp-book .btn-wa svg { width: 20px; height: 20px; fill: currentColor; }
.pdp-book .btn-email {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.pdp-book .btn-email:hover { background: var(--ink); color: var(--white); }
.pdp-book-mini {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
}
.pdp-book-mini h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  margin: 0 0 8px;
}
.pdp-book-mini ul {
  list-style: none;
  margin: 0; padding: 0;
}
.pdp-book-mini li {
  font-size: 13px;
  color: var(--ink-mute);
  padding: 3px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.pdp-book-mini li::before { content: "✓"; color: var(--teal); }
.pdp-book-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--teal);
  text-decoration: underline;
}

/* Calendar inside booking widget */
.pdp-book .calendar-block {
  margin: 6px -8px 16px;
}
.pdp-book .calendar {
  border: 1px solid var(--rule);
  padding: 12px;
  background: var(--white);
  font-size: 13px;
}
.pdp-book .calendar-day {
  cursor: pointer;
  transition: background 0.15s;
}
.pdp-book .calendar-day:not(.is-past):not(.is-booked):hover {
  background: var(--teal-soft);
}
.pdp-book .calendar-day.is-selected {
  background: var(--teal);
  color: white;
  font-weight: 600;
}
/* "View all photos" button overlay on gallery */
.pdp-gallery-wrap {
  position: relative;
}
.pdp-gallery-cta {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  border: 1px solid var(--ink);
  cursor: pointer;
  box-shadow: 0 4px 14px -4px rgba(31, 42, 53, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s, background 0.2s;
  z-index: 5;
}
.pdp-gallery-cta:hover {
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
}
.pdp-gallery-cta svg {
  width: 16px; height: 16px;
  fill: currentColor;
}
@media (max-width: 640px) {
  .pdp-gallery-cta {
    bottom: 12px; right: 12px;
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Hide extra gallery items unless expanded */
.pdp-gallery.is-collapsed img:nth-child(n+7) {
  display: none;
}

/* PDP hero with video background (Casa Nube) */
.pdp-hero.with-video {
  position: relative;
  overflow: hidden;
}
.pdp-hero.with-video > video {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  object-fit: cover;
  z-index: 0;
}
.pdp-hero.with-video::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(31,42,53,0.25) 0%, rgba(31,42,53,0.15) 30%, rgba(31,42,53,0.8) 100%);
  z-index: 1;
}
.pdp-hero.with-video .pdp-hero-overlay { z-index: 2; }

/* Hero text contrast on video */
.pdp-hero.with-video h1 { text-shadow: 0 2px 24px rgba(0,0,0,0.45); }
.pdp-hero.with-video .pdp-stats { text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.pdp-hero.with-video .eyebrow { text-shadow: 0 1px 8px rgba(0,0,0,0.4); }

/* =============================================================================
   TEXT OVERFLOW FIXES — prevent long URLs / emails / compound words from
   pushing content off the right edge on narrow viewports.
   ============================================================================= */
body, .pdp-main, .pdp-book, .footer-tag, .footer-col, .lead-quote, .section-lead {
  overflow-wrap: anywhere;
  word-break: break-word;
}
p { overflow-wrap: break-word; hyphens: auto; }
a { overflow-wrap: anywhere; }
.pdp-book-link, .footer-col a { word-break: break-all; }

/* =============================================================================
   PDP SIDEBAR — tighter spacing now that column is ~1/3 width (Airbnb-style)
   ============================================================================= */
.pdp-book { padding: 20px; }
.pdp-book .calendar-block { padding: 14px; }
.pdp-book .calendar-day { font-size: 13px; }
.pdp-book .pdp-book-mini h4 { font-size: 13px; }
.pdp-book .pdp-book-mini li { font-size: 13px; }
.pdp-book .pdp-reserve-trust { font-size: 11px; }
@media (max-width: 980px) {
  .pdp-book { position: static; padding: 24px; }
}

/* =============================================================================
   MOBILE STICKY BOTTOM BAR — Airbnb-style 'Check availability' on phones
   Hidden on desktop. Always visible on phones, even before dates are picked.
   ============================================================================= */
.pdp-mobile-bar {
  display: none;
}
@media (max-width: 980px) {
  .pdp-mobile-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: var(--white);
    border-top: 1px solid var(--rule);
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    box-shadow: 0 -4px 20px rgba(31, 42, 53, 0.08);
    align-items: center;
    gap: 12px;
    font-family: var(--body);
  }
  .pdp-mobile-bar-info {
    flex: 1;
    min-width: 0;
  }
  .pdp-mobile-bar-price {
    font-family: var(--display);
    font-size: 18px;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.1;
    margin: 0;
  }
  .pdp-mobile-bar-meta {
    font-size: 12px;
    color: var(--ink-mute);
    margin-top: 2px;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .pdp-mobile-bar-cta {
    background: var(--teal);
    color: var(--white);
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .pdp-mobile-bar-cta:active { opacity: 0.85; }
  /* push page bottom up so the bar doesn't cover footer content */
  body { padding-bottom: 88px; }
}

/* =============================================================================
   WhatsApp float button needs to sit above the mobile sticky bar (88px tall).
   ============================================================================= */
@media (max-width: 980px) {
  .wa-float {
    bottom: 100px;  /* 88px sticky bar + 12px breathing room */
  }
}

/* =============================================================================
   MOBILE OVERFLOW SAFETY - the booking sidebar + calendar must never push
   the viewport wider than itself. Mobile sweep additions.
   ============================================================================= */
@media (max-width: 980px) {
  /* Sidebar full-width, never overflow */
  .pdp-top > aside { width: 100%; max-width: 100%; min-width: 0; }
  .pdp-book { box-sizing: border-box; width: 100%; max-width: 100%; }
  .pdp-book .calendar-block, .pdp-book [data-calendar] { max-width: 100%; box-sizing: border-box; }
  /* Calendar grid must shrink to fit the column */
  .pdp-book .calendar-months { width: 100%; }
  .pdp-book .calendar-month-block { padding: 12px; }
  .pdp-book .calendar-grid { width: 100%; }
  .pdp-book .calendar-day { font-size: 13px; }
  /* Lightbox swipe affordance: full-bleed image area, no horizontal scroll */
  .pdp-lightbox img { max-width: calc(100vw - 32px); height: auto; }
}
@media (max-width: 480px) {
  /* Very small phones: tighter padding on calendar + smaller cells */
  .pdp-book { padding: 16px; }
  .pdp-book .calendar-block { padding: 8px; }
  .pdp-book .calendar-month-block { padding: 8px; }
  .pdp-book .calendar-day { font-size: 12px; }
  .pdp-book .pdp-book-mini { font-size: 13px; }
}

/* Make sure the lightbox prev/next buttons are tappable on mobile */
@media (max-width: 768px) {
  .pdp-lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
  .pdp-lightbox-close { width: 44px; height: 44px; font-size: 32px; }
}

/* =============================================================================
   DESKTOP STICKY TOP NAV (Airbnb-style)
   Shows after the user scrolls past the booking sidebar. Hidden on mobile.
   ============================================================================= */
.pdp-sticky-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 95;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--rule);
  transform: translateY(-100%);
  transition: transform 0.25s ease-out, opacity 0.2s ease-out;
  opacity: 0;
  pointer-events: none;
}
.pdp-sticky-nav.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.pdp-sticky-nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.pdp-sticky-nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.pdp-sticky-nav-links::-webkit-scrollbar { display: none; }
.pdp-sticky-nav-links a {
  color: var(--ink-mute);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--body);
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s;
}
.pdp-sticky-nav-links a:hover { color: var(--ink); }
.pdp-sticky-nav-links a.is-active {
  color: var(--ink);
}
.pdp-sticky-nav-links a.is-active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--ink);
}

.pdp-sticky-nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.pdp-sticky-nav-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.pdp-sticky-nav-price-row {
  font-family: var(--display);
  font-size: 16px;
  color: var(--ink);
}
.pdp-sticky-nav-price-row strong { font-weight: 500; }
.pdp-sticky-nav-price-row span { font-size: 13px; color: var(--ink-mute); }
.pdp-sticky-nav-rating {
  font-size: 12px;
  color: var(--ink-mute);
  margin-top: 2px;
}
.pdp-sticky-nav-rating span[aria-hidden] { color: var(--sand-deep); }

.pdp-sticky-nav-btn {
  background: var(--teal);
  color: var(--white);
  border: none;
  padding: 12px 22px;
  border-radius: 8px;
  font-family: var(--body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.05s;
  white-space: nowrap;
}
.pdp-sticky-nav-btn:hover { opacity: 0.92; }
.pdp-sticky-nav-btn:active { transform: translateY(1px); }

/* Hide on mobile - bottom sticky bar covers it */
@media (max-width: 980px) {
  .pdp-sticky-nav { display: none; }
}

/* Tablet: hide section anchors when they'd cause overflow */
@media (max-width: 1100px) and (min-width: 981px) {
  .pdp-sticky-nav-inner { padding: 12px 20px; gap: 16px; }
  .pdp-sticky-nav-links { gap: 18px; }
  .pdp-sticky-nav-links a { font-size: 13px; }
  .pdp-sticky-nav-price { display: none; } /* keep just rating + CTA on tablet */
}

/* =============================================================================
   DUAL RESERVE CTAs (Card + PayPal) on rental page sidebar
   ============================================================================= */
.pdp-reserve-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.pdp-reserve-btn-paypal {
  width: 100%;
  padding: 13px 18px;
  background: #FFFFFF;
  color: #1F2A35;
  border: 1.5px solid var(--rule, #E5DCC4);
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: border-color 0.15s, transform 0.05s;
}
.pdp-reserve-btn-paypal:hover { border-color: #003087; }
.pdp-reserve-btn-paypal:active { transform: translateY(1px); }
.pdp-reserve-btn-paypal .pdp-paypal-mark {
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 15px;
}
.pdp-reserve-btn-paypal .pdp-paypal-mark .pp-pay { color: #003087; }
.pdp-reserve-btn-paypal .pdp-paypal-mark .pp-pal { color: #009CDE; }

/* "Prefer email? lars@..." inline hyperlink, replaces the old btn-email button */
.pdp-email-link {
  font-size: 12.5px;
  color: var(--ink-mute, #5E6B78);
  text-align: center;
  margin: 10px 0 0;
  line-height: 1.4;
}
.pdp-email-link a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pdp-email-link a:hover { color: var(--ink); }

/* Calendar in-range (between selected start and end) - canonical rule */
.calendar-day.in-range {
  background: #B9D2D0;
  color: var(--ink);
}

/* =============================================================================
   HERO TEXT + CTA OVERRIDES
   - All hero text pure white (was using rgba 85-92% + sand-yellow accents)
   - Primary CTA in teal instead of sand-yellow for better readability
   ============================================================================= */

/* Pure white for all hero text variants */
.hero-eyebrow,
.hero-video-content .eyebrow,
.hero-video-content .hero-eyebrow {
  color: var(--white) !important;
  opacity: 1;
}
.hero p,
.hero-video-content p {
  color: var(--white) !important;
  opacity: 1;
}
.hero h1,
.hero-video-content h1 {
  color: var(--white) !important;
}
/* The italic "script" accent inside h1 - was sand, now white */
.hero-video-content h1 .script {
  color: var(--white);
}

/* Primary hero CTA in teal (replaces sand-yellow .btn-sand) */
.hero-video-content .btn-sand,
.hero .btn-sand {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.hero-video-content .btn-sand:hover,
.hero .btn-sand:hover {
  background: var(--teal-deep);
  color: var(--white);
  border-color: var(--teal-deep);
}
