/*
Theme Name: Pool Residences Modern
Theme URI: https://poolresidences.com/
Author: Private Pool Residences
Description: A modern, responsive WordPress theme for Private Pool Residences on Koh Phangan.
Version: 1.6.55-staging-payment-labels-r1
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: poolresidences-modern
*/

:root {
  --forest-950: #102c28;
  --forest-900: #153b35;
  --forest-800: #1e5148;
  --forest-700: #28695d;
  --sage-100: #244f45;
  --sand-50: #0d2422;
  --sand-100: #112f2c;
  --sand-200: #517b70;
  --coral-500: #d97559;
  --coral-600: #bc5c43;
  --ink: #c2d7ce;
  --ink-soft: #c2d7ce;
  --muted: #b7cfc3;
  --heading: #eef7f2;
  --surface-card: #1a3d37;
  --white: #ffffff;
  --action-gold: #e1b971;
  --action-gold-hover: #f1cf91;
  --action-gold-border: #8a6735;
  --action-sage: #a1c6bc;
  --action-sage-hover: #bfd8cf;
  --action-sage-border: #577f73;
  --action-ink: #102c28;
  --button-wine: #862440;
  --button-wine-deep: #651b35;
  --button-wine-light: #9d2b4d;
  --button-wine-hover: #ad355b;
  --button-wine-edge: #cf7896;
  --button-wine-glow: rgba(239, 99, 149, 0.48);
  --highlight-petrol: #234c59;
  --highlight-edge: #719ba4;
  --shadow-sm: 0 12px 35px rgba(16, 44, 40, 0.08);
  --shadow-lg: 0 28px 70px rgba(16, 44, 40, 0.18);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 38px;
  --content: 1180px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--sand-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: #f6cddd;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #ffffff;
}

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.65em;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.2rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 4.25rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

p {
  margin: 0 0 1.35rem;
}

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

.skip-link:focus {
  position: fixed;
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  clip: auto;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--forest-950);
  border-radius: 8px;
}

.site-shell {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.offer-proof-section {
  position: relative;
  z-index: 4;
  padding: 1.35rem 0 0;
}

.offer-proof {
  display: grid;
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(130px, 0.65fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(207, 120, 150, 0.45);
  border-radius: 24px;
  background: rgba(207, 120, 150, 0.25);
  box-shadow: 0 24px 55px rgba(5, 18, 16, 0.22);
}

.offer-proof > div {
  min-width: 0;
  padding: 1.25rem 1.4rem;
  background: linear-gradient(145deg, rgba(31, 78, 69, 0.98), rgba(19, 52, 47, 0.98));
}

.offer-proof-source span,
.offer-proof-item span {
  display: block;
  color: rgba(238, 247, 242, 0.75);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.1em;
  line-height: 1.45;
  text-transform: uppercase;
}

.offer-proof-source strong,
.offer-proof-item strong {
  display: block;
  margin-top: 0.25rem;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.15;
}

.offer-proof-note {
  grid-column: 1 / -1;
  margin: 0;
  padding: 0.9rem 1.4rem 1rem;
  color: var(--muted);
  background: rgba(10, 34, 31, 0.98);
  font-size: 0.88rem;
}

.offer-proof-note a,
.property-address-inline a {
  color: #f6cddd;
}

.property-address-inline {
  margin: 1.35rem 0 0;
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--button-wine-edge);
  border-radius: 0 12px 12px 0;
  background: rgba(16, 44, 40, 0.48);
}

.property-address-inline strong {
  color: var(--heading);
}

.site-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  padding: 1.25rem 0;
  color: var(--white);
}

.site-header.is-solid,
body:not(.home) .site-header {
  position: relative;
  background: var(--forest-950);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: -0.08em;
}

.brand-copy {
  display: grid;
  line-height: 1.05;
}

.brand-name {
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-place {
  margin-top: 0.3rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.65rem, 1.1vw, 1rem);
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: var(--white);
}

.nav-book {
  padding: 0.72rem 1.05rem;
  border: 1px solid var(--action-gold);
  border-radius: 999px;
}

.primary-nav .nav-book {
  color: var(--action-ink);
  background: var(--action-gold);
}

.primary-nav .nav-book:hover,
.primary-nav .nav-book:focus-visible {
  color: var(--action-ink);
  background: var(--action-gold-hover);
  border-color: var(--action-gold-hover);
}

.menu-toggle {
  position: relative;
  z-index: 101;
  flex-shrink: 0;
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  color: var(--action-sage-hover);
  background: var(--highlight-petrol);
  border: 1px solid var(--highlight-edge);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span[aria-hidden],
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span[aria-hidden] {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(12, 38, 34, 0.96) 0%, rgba(12, 38, 34, 0.78) 43%, rgba(12, 38, 34, 0.16) 75%),
    linear-gradient(0deg, rgba(12, 38, 34, 0.55) 0%, transparent 40%);
}

.hero-media {
  position: absolute;
  inset: 0 0 0 43%;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 63%;
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 760px;
  align-items: center;
  padding: 9rem 0 5rem;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.15rem;
  color: var(--coral-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 38px;
  height: 1px;
  content: "";
  background: currentColor;
}

.hero h1 {
  max-width: 670px;
  color: var(--white);
}

.hero-lead {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.25rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  color: var(--action-ink);
  background: var(--action-gold);
  border-color: var(--action-gold-border);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.16);
}

.button-primary:hover {
  color: var(--action-ink);
  background: var(--action-gold-hover);
}

.button-secondary,
.button-dark {
  color: var(--action-ink);
  border-color: var(--action-sage-border);
  background: var(--action-sage);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.button-secondary:hover,
.button-dark:hover {
  color: var(--action-ink);
  background: var(--action-sage-hover);
}

.button:focus-visible,
.form-submit:focus-visible,
.nav-book:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid var(--action-ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 7px var(--action-gold-hover);
}

.hero-stats {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 5rem;
  display: grid;
  width: 470px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 12px;
  margin: 0;
}

.hero-stat {
  position: relative;
  isolation: isolate;
  display: flex;
  min-width: 0;
  min-height: 192px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 24px 18px 20px;
  border: 1px solid #b96687;
  border-radius: 22px 22px 22px 5px;
  color: var(--white);
  background: radial-gradient(ellipse at 100% 0%, #772a4b 0%, transparent 68%), linear-gradient(155deg, #3b1a2c, #24151f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 36px rgba(6, 9, 12, 0.3);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.hero-stat::before {
  position: absolute;
  top: 0;
  left: 18px;
  width: 54px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, #e794b7, #f6cddd);
  box-shadow: 0 0 22px rgba(239, 99, 149, 0.55);
  content: "";
}

.hero-stat::after {
  position: absolute;
  z-index: -1;
  top: -32px;
  right: -32px;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 191, 215, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(255, 191, 215, 0.035);
  content: "";
}

.hero-stat .hero-stat-icon {
  position: absolute;
  top: 20px;
  right: 17px;
  width: 30px;
  height: 30px;
  color: #f6cddd;
}

.hero-stat .hero-stat-number {
  display: block;
  margin: 26px 0 12px;
  color: var(--white);
  font-size: 5rem;
  font-weight: 900;
  font-variant-numeric: lining-nums;
  line-height: 0.85;
  letter-spacing: -0.065em;
  text-shadow: 0 3px 20px rgba(239, 99, 149, 0.22);
}

.hero-stat .hero-stat-label {
  color: var(--white);
  font-size: 0.69rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: 0.085em;
  text-transform: uppercase;
}

.hero-stat-pool {
  border-color: #ed9fbc;
  background: radial-gradient(ellipse at 100% 0%, #a03b62 0%, transparent 72%), linear-gradient(155deg, #702541, #45192f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 30px rgba(193, 55, 105, 0.17), 0 18px 36px rgba(6, 9, 12, 0.3);
}

@media (hover: hover) and (pointer: fine) {
  .hero-stat:hover {
    border-color: #ffd9e8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 28px rgba(239, 99, 149, 0.28), 0 18px 36px rgba(6, 9, 12, 0.3);
  }
}

@media (max-width: 1100px) {
  .hero-inner {
    align-content: center;
    gap: 36px;
    padding-bottom: 3rem;
  }

  .hero-stats {
    position: static;
    width: min(100%, 580px);
  }
}

.section {
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.section-soft {
  background: var(--sand-100);
}

.section-dark {
  color: rgba(255, 255, 255, 0.76);
  background: var(--forest-950);
}

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

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.65fr);
  gap: 4rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

.section-intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-dark .section-intro p {
  color: rgba(255, 255, 255, 0.68);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.story-media {
  position: relative;
  min-height: 610px;
}

.story-media-main {
  position: absolute;
  inset: 0 16% 0 0;
  width: 84%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.story-media-detail {
  position: absolute;
  right: 0;
  bottom: 3rem;
  width: 38%;
  height: 250px;
  object-fit: cover;
  border: 8px solid var(--sand-50);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.story-copy p {
  color: var(--muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.feature-card {
  min-height: 210px;
  padding: 1.65rem;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm);
  background: linear-gradient(145deg, var(--surface-card), #163730);
}

.feature-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1.2rem;
  place-items: center;
  color: #f6cddd;
  background: var(--sage-100);
  border-radius: 50%;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Villa details: continue the wine-red blockbuster language from the hero stats. */
.villa-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.villa-detail-grid .villa-detail-card {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 2rem 1.65rem 1.7rem;
  border: 1px solid #b96687;
  border-radius: 24px 24px 24px 6px;
  color: var(--white);
  background: radial-gradient(ellipse at 100% 0%, #772a4b 0%, transparent 68%), linear-gradient(155deg, #3b1a2c, #24151f);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 18px 36px rgba(6, 9, 12, 0.24);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.villa-detail-grid .villa-detail-card:nth-child(3n) {
  border-color: #ed9fbc;
  background: radial-gradient(ellipse at 100% 0%, #a03b62 0%, transparent 72%), linear-gradient(155deg, #702541, #45192f);
}

.villa-detail-grid .villa-detail-card::before {
  position: absolute;
  top: 0;
  left: 1.65rem;
  width: 56px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, #e794b7, #f6cddd);
  box-shadow: 0 0 22px rgba(239, 99, 149, 0.58);
  content: "";
}

.villa-detail-grid .villa-detail-card::after {
  position: absolute;
  z-index: -1;
  top: -38px;
  right: -38px;
  width: 152px;
  height: 152px;
  border: 1px solid rgba(255, 191, 215, 0.16);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(255, 191, 215, 0.04);
  content: "";
}

.villa-detail-grid .feature-icon {
  display: block;
  width: auto;
  height: auto;
  margin: 4.6rem 0 1rem;
  color: var(--white);
  background: transparent;
  border-radius: 0;
  font-size: clamp(3.6rem, 6vw, 4.8rem);
  font-weight: 900;
  font-variant-numeric: lining-nums;
  line-height: 0.85;
  letter-spacing: -0.07em;
  text-shadow: 0 3px 20px rgba(239, 99, 149, 0.24);
}

.villa-detail-symbol {
  position: absolute;
  top: 1.5rem;
  right: 1.4rem;
  width: 34px;
  height: 34px;
  color: #f6cddd;
}

.villa-detail-grid .villa-detail-card h3 {
  margin: 0 0 0.65rem;
  color: var(--white);
  font-family: inherit;
  font-size: clamp(1.25rem, 2.3vw, 1.55rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.villa-detail-grid .villa-detail-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.62;
}

@media (hover: hover) and (pointer: fine) {
  .villa-detail-grid .villa-detail-card:hover {
    border-color: #ffd9e8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 30px rgba(239, 99, 149, 0.27), 0 22px 42px rgba(6, 9, 12, 0.28);
  }
}

/* Keep the Amenities numbers, headings and copy aligned from the top. */
.amenities-feature-grid .villa-detail-card {
  justify-content: flex-start;
}

.amenities-feature-grid .feature-icon {
  margin-top: 1rem;
}

@media (min-width: 641px) {
  .amenities-feature-grid .villa-detail-card h3 {
    min-height: 2.36em;
  }
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}

.gallery-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-sm);
}

.gallery-grid figure:first-child {
  grid-row: 1 / span 2;
}

.gallery-grid figure:nth-child(4) {
  grid-column: 2 / span 2;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.035);
}

.location-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 0.85fr);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.location-copy {
  padding: clamp(2rem, 5vw, 5rem);
}

.location-copy p {
  color: var(--muted);
}

.distance-list {
  display: grid;
  gap: 0;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.distance-list li {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--sand-200);
}

.distance-list strong {
  color: #f6cddd;
}

.location-media {
  min-height: 520px;
}

.location-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 7vw, 6rem);
  border-radius: var(--radius-lg);
  color: var(--white);
  background: var(--forest-900);
}

.cta-panel::after {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 360px;
  height: 360px;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.04), 0 0 0 110px rgba(255, 255, 255, 0.025);
}

.cta-panel h2 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: var(--white);
}

.cta-panel p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  color: rgba(255, 255, 255, 0.72);
}

.cta-panel .button-row {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0 clamp(3rem, 6vw, 5rem);
  color: var(--white);
  background:
    radial-gradient(circle at 82% 15%, rgba(217, 117, 89, 0.24), transparent 28%),
    var(--forest-950);
}

.page-hero h1 {
  max-width: 900px;
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 5.8rem);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.7);
}

.entry-wrap {
  display: grid;
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
  width: min(100% - 32px, 960px);
  margin-inline: auto;
}

.entry-content > * {
  max-width: 760px;
}

.entry-content > .alignwide {
  width: min(1080px, calc(100vw - 40px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.entry-content img {
  border-radius: var(--radius-sm);
}

.entry-content h2,
.entry-content h3 {
  margin-top: 1.8em;
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.booking-page-hero {
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.booking-section {
  padding-top: clamp(1rem, 2vw, 1.75rem);
}

.booking-aside {
  position: sticky;
  top: 2rem;
}

.booking-aside img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.booking-points {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.booking-points li {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
}

.booking-points li::before {
  flex: 0 0 auto;
  color: var(--coral-500);
  content: "✓";
  font-weight: 900;
}

.whatsapp-card {
  display: grid;
  justify-items: start;
  gap: 0.65rem;
  margin-top: 1.5rem;
  padding: 1.1rem;
  color: var(--forest-950);
  background: var(--sage-100);
  border-radius: 14px;
}

.whatsapp-card p {
  margin: 0;
}

.whatsapp-card a {
  color: var(--forest-800);
  font-weight: 800;
}

.whatsapp-qr-link {
  display: inline-flex;
  padding: 0.55rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.whatsapp-card .whatsapp-qr {
  width: 150px;
  height: 150px;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
}

.whatsapp-qr-label {
  color: var(--muted);
  font-size: 0.82rem;
}

.booking-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.booking-card h2 {
  margin-bottom: 0.45em;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.booking-note {
  padding: 1rem 1.1rem;
  color: var(--forest-900);
  background: var(--sage-100);
  border-radius: 12px;
  font-size: 0.92rem;
}

.availability-status {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  color: var(--forest-800);
  background: var(--sage-100);
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.availability-status span {
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 0.35rem;
  background: var(--forest-700);
  border-radius: 50%;
}

.availability-status.is-unavailable {
  color: #7d2d23;
  background: #fcebe6;
}

.availability-status.is-unavailable span {
  background: var(--coral-600);
}

.availability-status.is-available {
  color: var(--forest-800);
  background: #dfeee7;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0;
}

.form-grid .booking-note,
.form-grid .availability-status {
  margin: 0;
}

.field-full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 0.42rem;
  color: var(--forest-950);
  font-size: 0.86rem;
  font-weight: 750;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.75rem 0.9rem;
  color: var(--ink);
  background: var(--sand-50);
  border: 1px solid var(--sand-200);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--forest-700);
  box-shadow: 0 0 0 3px rgba(40, 105, 93, 0.13);
}

.date-picker-field {
  position: relative;
}

.date-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
}

.date-input-wrap .date-display {
  border-radius: 10px 0 0 10px;
}

.date-picker-trigger {
  display: grid;
  min-height: 52px;
  place-items: center;
  color: var(--action-ink);
  background: var(--action-sage);
  border: 1px solid var(--action-sage-border);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  cursor: pointer;
  font-size: 1.15rem;
}

.date-picker-trigger:hover,
.date-picker-trigger:focus-visible {
  color: var(--action-ink);
  background: var(--action-sage-hover);
  outline: 2px solid var(--action-ink);
  outline-offset: 2px;
}

.date-calendar {
  position: absolute;
  z-index: 30;
  top: calc(100% + 0.55rem);
  left: 0;
  width: min(340px, calc(100vw - 48px));
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--sand-200);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(16, 44, 40, 0.2);
}

.calendar-header {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  margin-bottom: 0.8rem;
}

.calendar-title {
  margin: 0;
  text-align: center;
  font-size: 1rem;
  font-weight: 850;
}

.calendar-nav {
  width: 38px;
  height: 38px;
  padding: 0;
  color: var(--action-ink);
  background: var(--action-sage);
  border: 1px solid var(--action-sage-border);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
}

.calendar-nav:hover,
.calendar-nav:focus-visible {
  color: var(--action-ink);
  background: var(--action-sage-hover);
  outline: 2px solid var(--action-ink);
  outline-offset: 2px;
}

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

.calendar-weekday {
  padding: 0.2rem 0;
  color: var(--muted);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.calendar-weekday:nth-child(6),
.calendar-weekday:nth-child(7) {
  color: var(--muted);
}

.calendar-day,
.calendar-blank {
  aspect-ratio: 1;
}

.calendar-day {
  display: grid;
  padding: 0.18rem;
  place-items: center;
  color: var(--forest-950);
  background: var(--sand-50);
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
}

.calendar-day-price {
  display: block;
  max-width: 100%;
  font-size: 0.46rem;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

.booking-price-preview {
  padding: 1rem 1.1rem;
  color: var(--forest-950);
  background: var(--sand-50);
  border: 1px solid rgba(250, 232, 209, 0.34);
  border-radius: 14px;
}

.booking-price-preview[hidden] {
  display: none;
}

.booking-price-preview ul {
  margin: 0.7rem 0;
  padding-left: 1.25rem;
}

.calendar-day:hover:not(:disabled),
.calendar-day:focus-visible {
  border-color: var(--forest-700);
  outline: none;
}

.calendar-day.is-today {
  border-color: var(--forest-700);
}

.calendar-day.is-selected {
  color: var(--white);
  background: var(--forest-800);
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px var(--forest-800);
}

.calendar-day.is-booked {
  color: #a62f25;
  background: #fde8e6;
  border-color: #a62f25;
}

.calendar-day.is-weekend:not(.is-booked):not(.is-past) {
  color: var(--forest-950);
}

.calendar-day.is-booked.is-selected {
  color: var(--white);
  background: #a62f25;
  box-shadow: 0 0 0 2px var(--white), 0 0 0 4px #a62f25;
}

.calendar-day:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.calendar-day.is-past:not(.is-booked) {
  color: #a5aaa7;
  background: #f1f1ee;
}

.calendar-legend {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.calendar-legend-dot {
  width: 12px;
  height: 12px;
  background: #c84336;
  border-radius: 3px;
}

.form-consent {
  display: flex;
  grid-column: 1 / -1;
  gap: 0.65rem;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.88rem;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.25rem;
}

.form-submit {
  grid-column: 1 / -1;
  min-height: 54px;
  color: var(--action-ink);
  background: var(--action-gold);
  border: 1px solid var(--action-gold-border);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  margin-top: 3.5rem;
}

.form-submit:hover {
  color: var(--action-ink);
  background: var(--action-gold-hover);
}

.form-alert {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: 10px;
}

.form-alert-success {
  color: #164b33;
  background: #e5f5eb;
  border: 1px solid #b6dfc6;
}

.form-alert-error {
  color: #7a2f2b;
  background: #fff0ed;
  border: 1px solid #efc2ba;
}

/* Booking: dark surfaces throughout, including every calendar/form state. */
body:has(.booking-section) {
  background: #0d2422;
  color-scheme: dark;
}

.booking-section {
  color: #c4d9d0;
  background: #0d2422;
  color-scheme: dark;
}

.booking-section .booking-card {
  color: #c4d9d0;
  background: linear-gradient(145deg, #193b35, #132f2b 70%);
  border-color: #7d5063;
  box-shadow: inset 0 1px 0 rgba(246, 205, 221, 0.1), 0 24px 60px rgba(0, 0, 0, 0.22);
}

.booking-section h2,
.booking-section .form-field label,
.booking-section .calendar-title {
  color: #eef7f2;
}

.booking-section .booking-points li,
.booking-section .form-consent,
.booking-section .whatsapp-qr-label {
  color: #c4d9d0;
}

.booking-section .booking-points li::before {
  color: #ed9fbc;
}

.booking-section .whatsapp-card {
  color: #eef7f2;
  background: linear-gradient(135deg, #3c2032, #281d2b);
  border: 1px solid #946078;
}

.booking-section .whatsapp-card a,
.booking-section .form-consent a {
  color: #f6cddd;
  text-underline-offset: 3px;
}

.booking-section .whatsapp-card a:hover,
.booking-section .form-consent a:hover {
  color: #ffffff;
}

.booking-section .whatsapp-card a:focus-visible,
.booking-section .form-consent a:focus-visible {
  outline: 2px solid #f6cddd;
  outline-offset: 4px;
}

.booking-section .whatsapp-qr-link {
  isolation: isolate;
  background: #f0d3df;
}

.booking-section .whatsapp-qr {
  /* Tint only the QR's white scan area; its black pattern stays unchanged. */
  mix-blend-mode: multiply;
}

.site-footer a.footer-contact-action {
  isolation: isolate;
  background: linear-gradient(#f0d3df 0 96px, transparent 96px);
  border-radius: 10px;
}

.site-footer .footer-whatsapp-qr {
  mix-blend-mode: multiply;
}

.booking-section .booking-note {
  color: #f3dce7;
  background: #392432;
  border: 1px solid #825b70;
}

.booking-section .availability-status {
  color: #d9eee3;
  background: #1b4037;
  border: 1px solid #658f7e;
}

.booking-section .availability-status span,
.booking-section .availability-status.is-available span {
  background: #9cd7b8;
}

.booking-section .availability-status.is-available,
.booking-section .form-alert-success {
  color: #d8f8e7;
  background: #174234;
  border-color: #87b79e;
}

.booking-section .availability-status.is-unavailable,
.booking-section .form-alert-error {
  color: #ffe0e3;
  background: #4f2030;
  border-color: #df8aa3;
}

.booking-section .availability-status.is-unavailable span {
  background: #ffb5af;
}

.booking-section .form-field input,
.booking-section .form-field select,
.booking-section .form-field textarea,
.booking-section .form-field option {
  color: #eef7f2;
  background: #0c2522;
  border-color: #6f9688;
  font-size: 16px;
  color-scheme: dark;
  caret-color: #f6cddd;
}

.booking-section .form-field input::placeholder,
.booking-section .form-field textarea::placeholder {
  color: #afc8bd;
  opacity: 1;
}

.booking-section .form-field input:focus,
.booking-section .form-field select:focus,
.booking-section .form-field textarea:focus {
  border-color: #ed9fbc;
  box-shadow: 0 0 0 3px rgba(237, 159, 188, 0.23);
}

.booking-section .form-field input:-webkit-autofill,
.booking-section .form-field input:-webkit-autofill:hover,
.booking-section .form-field input:-webkit-autofill:focus {
  -webkit-text-fill-color: #eef7f2;
  -webkit-box-shadow: 0 0 0 1000px #0c2522 inset;
  box-shadow: 0 0 0 1000px #0c2522 inset;
  caret-color: #f6cddd;
}

.booking-section .form-consent input {
  accent-color: #862440;
  color-scheme: dark;
}

.booking-section .date-calendar {
  color: #eef7f2;
  background: #132f2b;
  border-color: #946078;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.booking-section #check-out-calendar {
  right: 0;
  left: auto;
}

@media (max-width: 640px) {
  .booking-section .date-calendar,
  .booking-section #check-out-calendar {
    right: auto;
    left: -16px;
    width: calc(100% + 32px);
    padding: 12px;
  }

  .booking-section .calendar-grid {
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .booking-section .calendar-title {
    font-size: 0.9rem;
  }
}

/* Public booking UI delta — five-step, premium and mobile-first. */
.booking-card {
  overflow: visible;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 35%),
    var(--surface-card);
  border-color: rgba(225, 185, 113, 0.32);
  box-shadow: 0 28px 75px rgba(2, 15, 13, 0.34);
}

.booking-intro {
  max-width: 620px;
  margin: 0 0 1.5rem;
  color: var(--muted);
}

.booking-step {
  min-width: 0;
  margin: 0 0 1.25rem;
  padding: clamp(1rem, 2.5vw, 1.5rem);
  border: 1px solid rgba(225, 185, 113, 0.2);
  border-radius: 20px;
  background: rgba(7, 30, 27, 0.48);
}

.booking-step > legend {
  display: flex;
  align-items: center;
  gap: 0.78rem;
  padding: 0 0.35rem;
  color: var(--heading);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.42rem);
  font-weight: 750;
}

.booking-step > legend small {
  display: block;
  margin-bottom: 0.08rem;
  color: var(--action-gold);
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  line-height: 1.1;
  text-transform: uppercase;
}

.step-number {
  display: grid;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  place-items: center;
  color: #10221f;
  background: linear-gradient(135deg, var(--action-gold-hover), var(--action-gold));
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 900;
  box-shadow: 0 8px 22px rgba(225, 185, 113, 0.2);
}

.bedroom-option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0.55rem 0 0.85rem;
}

.bedroom-option-card {
  position: relative;
  display: grid;
  min-height: 126px;
  padding: 1.15rem;
  align-content: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(183, 207, 195, 0.25);
  border-radius: 16px;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.bedroom-option-card input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.bedroom-option-card strong {
  color: var(--heading);
  font-size: 1.18rem;
}

.bedroom-card-check {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  display: grid;
  width: 1.55rem;
  height: 1.55rem;
  place-items: center;
  color: transparent;
  border: 1px solid rgba(183, 207, 195, 0.38);
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 900;
}

.bedroom-option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(225, 185, 113, 0.62);
  background: rgba(225, 185, 113, 0.07);
}

.bedroom-option-card:has(input:focus-visible) {
  outline: 3px solid var(--action-gold-hover);
  outline-offset: 3px;
}

.bedroom-option-card:has(input:checked) {
  color: var(--heading);
  background: linear-gradient(145deg, rgba(225, 185, 113, 0.18), rgba(40, 105, 93, 0.25));
  border-color: var(--action-gold);
  box-shadow: inset 0 0 0 1px rgba(225, 185, 113, 0.24), 0 14px 28px rgba(0, 0, 0, 0.18);
}

.bedroom-option-card:has(input:checked) .bedroom-card-check {
  color: #10221f;
  background: var(--action-gold);
  border-color: var(--action-gold);
}

.bedroom-option-card:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.45;
}

.booking-step .booking-note {
  margin: 0;
  border: 1px solid rgba(183, 207, 195, 0.14);
}

.field-feedback,
.field-help,
.field-error {
  display: block;
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.field-error {
  color: #ffc5b7;
  font-weight: 700;
}

.country-combobox {
  position: relative;
}

.country-listbox {
  position: absolute;
  z-index: 45;
  top: calc(100% - 2.7rem);
  right: 0;
  left: 0;
  max-height: 300px;
  overflow-y: auto;
  padding: 0.35rem;
  background: #112f2c;
  border: 1px solid rgba(225, 185, 113, 0.45);
  border-radius: 13px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.45);
}

.country-listbox-option {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0.7rem 0.8rem;
  color: var(--heading);
  background: transparent;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  text-align: left;
}

.country-listbox-option:hover,
.country-listbox-option.is-active {
  color: #10221f;
  background: var(--action-gold-hover);
}

.booking-step .form-field input,
.booking-step .form-field select,
.booking-step .form-field textarea {
  min-width: 0;
  min-height: 56px;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(183, 207, 195, 0.3);
  border-radius: 13px;
}

.booking-step .form-field input::placeholder,
.booking-step .form-field textarea::placeholder {
  color: rgba(183, 207, 195, 0.7);
}

.booking-step .form-field input:focus,
.booking-step .form-field select:focus,
.booking-step .form-field textarea:focus {
  border-color: var(--action-gold);
  box-shadow: 0 0 0 3px rgba(225, 185, 113, 0.2);
}

.booking-step .date-picker-trigger {
  min-height: 56px;
  color: #10221f;
  background: var(--action-gold);
  border-color: var(--action-gold);
  border-radius: 0 13px 13px 0;
}

.booking-step .date-calendar {
  width: min(370px, calc(100vw - 42px));
  color: var(--ink);
  background: #112f2c;
  border-color: rgba(225, 185, 113, 0.38);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.46);
}

.booking-step .calendar-day {
  min-width: 0;
  min-height: 43px;
  aspect-ratio: auto;
  color: var(--heading);
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(183, 207, 195, 0.1);
}

.booking-step .calendar-day:hover:not(:disabled),
.booking-step .calendar-day:focus-visible {
  border-color: var(--action-gold);
  outline: 2px solid var(--action-gold-hover);
  outline-offset: 1px;
}

.booking-step .calendar-day.is-in-range {
  background: rgba(225, 185, 113, 0.14);
  border-color: rgba(225, 185, 113, 0.32);
}

.booking-step .calendar-day.is-selected {
  color: #10221f;
  background: var(--action-gold);
  border-color: var(--action-gold-hover);
  font-weight: 900;
}

.booking-step .calendar-day-price {
  color: currentColor;
  font-size: 0.58rem;
  letter-spacing: -0.02em;
}

.booking-price-preview {
  display: flex;
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: start;
  flex-direction: column;
  justify-content: flex-start;
  padding: 0.65rem 0.85rem 0.7rem;
  background: linear-gradient(145deg, rgba(225, 185, 113, 0.14), rgba(40, 105, 93, 0.18));
  border: 1px solid rgba(225, 185, 113, 0.4);
  border-radius: 16px;
}

.booking-price-preview h3 {
  margin: 0;
  color: var(--action-gold-hover);
  line-height: 1.2;
}

.booking-direct-price {
  margin: 0.18rem 0 0;
  color: var(--heading);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 5vw, 2.55rem);
  font-weight: 800;
  line-height: 1;
}

.booking-price-message {
  margin: 0.2rem 0 0;
  color: var(--muted);
  line-height: 1.35;
}

.booking-price-details[hidden] {
  display: none;
}

.booking-price-preview[data-price-state="ready"] .booking-price-message,
.booking-price-preview[data-price-state="ready"] .booking-price-details {
  display: none;
}

.booking-price-preview[data-price-state="ready"] {
  border-color: rgba(225, 185, 113, 0.72);
  box-shadow: 0 16px 38px rgba(4, 19, 17, 0.2);
}

.booking-price-preview[data-price-state="invalid"],
.booking-price-preview[data-price-state="error"] {
  border-color: rgba(217, 117, 89, 0.72);
}

.booking-price-preview[data-price-state="invalid"] .booking-price-message,
.booking-price-preview[data-price-state="error"] .booking-price-message {
  color: #ffd7cd;
}

.booking-submit-step {
  margin-bottom: 0;
  background: linear-gradient(145deg, rgba(40, 105, 93, 0.26), rgba(225, 185, 113, 0.08));
}

.booking-submit-step .form-consent {
  margin: 1.15rem 0;
}

.booking-submit-step .form-submit {
  width: 100%;
  min-height: 58px;
  border-radius: 13px;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .booking-card {
    padding: 1rem;
    border-radius: 20px;
  }

  .booking-step {
    padding: 0.95rem;
    border-radius: 16px;
  }

  .bedroom-option-grid,
  .booking-step .form-grid {
    grid-template-columns: 1fr;
  }

  .bedroom-option-card {
    min-height: 98px;
  }

  .booking-step .date-calendar {
    position: fixed;
    z-index: 100;
    inset: auto 12px 12px;
    width: auto;
    max-height: calc(100vh - 24px);
    overflow-y: auto;
  }

  .booking-step .calendar-grid {
    gap: 0.2rem;
  }

  .booking-step .calendar-day {
    min-height: 46px;
    padding-inline: 0.06rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bedroom-option-card {
    transition: none;
  }
}

.booking-section .calendar-weekday,
.booking-section .calendar-legend {
  color: #c4d9d0;
}

.booking-section .calendar-day,
.booking-section .calendar-day.is-weekend:not(.is-booked):not(.is-past) {
  color: #eef7f2;
  background: #21473e;
}

.booking-section .calendar-day.is-today {
  border-color: #ed9fbc;
}

.booking-section .calendar-day:hover:not(:disabled),
.booking-section .calendar-day:focus-visible {
  border-color: #f6cddd;
  outline: 2px solid #ed9fbc;
  outline-offset: 1px;
}

.booking-section .calendar-day.is-selected,
.booking-section .calendar-day.is-weekend.is-selected:not(.is-booked):not(.is-past) {
  color: #ffffff;
  background: #862440;
  border-color: #f6cddd;
  box-shadow: 0 0 0 2px #132f2b, 0 0 0 4px #ed9fbc;
}

.booking-section .calendar-day.is-booked,
.booking-section .calendar-day.is-booked.is-selected {
  color: #ffb5af;
  background: #5c2330;
  border-color: #db6f82;
}

.booking-section .calendar-day.is-booked.is-selected {
  box-shadow: 0 0 0 2px #132f2b, 0 0 0 4px #ffb5af;
}

.booking-section .calendar-day.is-past:not(.is-booked) {
  color: #91a99d;
  background: #102923;
}

.booking-section .calendar-legend-dot {
  background: #db6f82;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 4.5rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.68);
  background: #0c2420;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.8fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-brand .brand {
  margin-bottom: 1.2rem;
}

.footer-brand p {
  max-width: 420px;
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-contact-actions {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.footer-contact-action {
  display: block;
  width: 96px;
  text-align: center;
}

.footer-contact-icon {
  display: grid;
  width: 96px;
  height: 96px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
}

.footer-contact-icon svg {
  width: 46px;
  height: 46px;
}

.footer-contact-icon:hover {
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.12);
}

.footer-whatsapp-qr {
  width: 96px;
  padding: 5px;
  border-radius: 10px;
  background: #fff;
}

.footer-whatsapp-label {
  display: block;
  margin-top: 0.35rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.74rem;
  text-align: center;
}

.footer-google-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: var(--white) !important;
  font-size: 0.82rem;
  font-weight: 750;
}

.footer-profile-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-facebook-link svg {
  fill: #1877f2;
}

.footer-google-link svg {
  width: 18px;
  height: 18px;
  fill: #fbbc04;
}

.location-map-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: stretch;
}

.location-details {
  padding: clamp(1.7rem, 4vw, 3.2rem);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.location-details h2 {
  margin-bottom: 1rem;
}

.location-map-frame {
  min-height: 500px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.location-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 500px;
  border: 0;
  filter: invert(0.9) hue-rotate(180deg) contrast(0.9);
}

.google-profile-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--sand-200);
}

.google-rating {
  color: var(--heading);
  font-weight: 800;
}

.google-rating span {
  display: block;
  color: #e2a800;
  letter-spacing: 0.12em;
}

.destination-hero {
  position: relative;
  min-height: 620px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  background: var(--forest-950);
}

.destination-hero-media,
.destination-hero-media::after {
  position: absolute;
  inset: 0;
}

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

.destination-hero-media::after {
  content: "";
  background: linear-gradient(180deg, rgba(7, 25, 24, 0.12) 15%, rgba(7, 25, 24, 0.86) 100%);
}

.destination-hero-copy {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  padding-block: clamp(8rem, 20vw, 13rem) clamp(3.5rem, 8vw, 6.5rem);
}

.destination-hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.98;
}

.destination-hero-lead {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.island-guide-grid,
.beach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.island-guide-card,
.beach-card {
  overflow: hidden;
  border: 1px solid var(--sand-200);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--surface-card), #163730);
  box-shadow: 0 18px 55px rgba(16, 52, 48, 0.08);
}

.island-guide-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.island-guide-card h2,
.beach-card h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.island-guide-card p,
.beach-card p {
  margin: 0;
  color: var(--ink-soft);
}

.beach-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.beach-card-copy {
  padding: clamp(1.3rem, 3vw, 2rem);
}

.beach-meta {
  display: inline-block;
  margin-bottom: 0.7rem;
  color: #ed9fbc;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.travel-note {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-left: 4px solid var(--coral-500);
  border-radius: 0 14px 14px 0;
  background: var(--sand-100);
}

.travel-note h2 {
  margin-top: 0;
}

.amenities-photo-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 270px 270px;
  gap: 1rem;
}

.amenities-photo-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius-sm);
}

.amenities-photo-grid figure:first-child {
  grid-row: 1 / span 2;
}

.amenities-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking-review-summary {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.booking-review-score {
  display: grid;
  width: 82px;
  height: 82px;
  flex: 0 0 82px;
  place-items: center;
  color: var(--white);
  border-radius: 22px 22px 22px 6px;
  background: var(--forest-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
}

.booking-review-summary p {
  margin: 0;
  color: var(--muted);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card {
  display: flex;
  min-height: 235px;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.7rem;
  border: 1px solid var(--sand-200);
  border-radius: var(--radius-sm);
  background: var(--surface-card);
  box-shadow: var(--shadow-sm);
}

.review-summary {
  margin: 0 0 1.5rem;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  line-height: 1.4;
}

.review-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.review-source-link {
  margin-top: 2rem;
}

.review-disclosure {
  margin: -0.75rem 0 1.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.more-reviews {
  margin-top: 1.5rem;
}

.more-reviews summary {
  display: inline-flex;
  min-height: 50px;
  cursor: pointer;
  align-items: center;
  padding: 0.7rem 1.2rem;
  color: var(--white);
  border-radius: 999px;
  background: var(--forest-900);
  font-weight: 750;
  list-style: none;
}

.more-reviews summary::-webkit-details-marker {
  display: none;
}

.more-reviews[open] summary {
  margin-bottom: 1.5rem;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

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

.not-found {
  min-height: 60vh;
  padding: 8rem 0;
  text-align: center;
}

/* A continuous, dark coastal palette for the entire homepage, not only its hero. */
body.home {
  --home-base: #0d2422;
  --home-soft: #112f2c;
  --home-card: #1a3d37;
  --home-heading: #eef7f2;
  --home-copy: #c2d7ce;
  --home-accent: var(--action-gold);
  --home-border: #517b70;
  color: var(--home-copy);
  background: var(--home-base);
}

.home #main-content > .section {
  background: var(--home-base);
}

.home #main-content > .section-soft {
  background: var(--home-soft);
  border-block: 1px solid #2a4c44;
}

.home #main-content > .section-dark {
  background: #091f1d;
}

.home #main-content :is(h1, h2, h3, h4) {
  color: var(--home-heading);
}

.home :is(.story-copy p, .section-intro p, .feature-card p, .location-copy p, .cta-panel p) {
  color: var(--home-copy);
}

.home #main-content .eyebrow {
  color: var(--home-accent);
}

.home .story-media-main {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.home .story-media-detail {
  border-color: #244f45;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.32);
}

.home .feature-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  border-color: var(--home-border);
  border-radius: 20px;
  background: linear-gradient(145deg, var(--home-card), #163730);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.home .feature-icon {
  width: 46px;
  height: 46px;
  color: var(--home-accent);
  border: 1px solid #658d7e;
  border-radius: 14px;
  background: #244f45;
  font-weight: 750;
}

.home .location-card {
  border: 1px solid var(--home-border);
  background: var(--home-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.home .distance-list li {
  border-color: var(--home-border);
}

.home .distance-list strong {
  color: var(--home-accent);
}

.home .cta-panel {
  border: 1px solid var(--home-border);
  background: linear-gradient(125deg, #204d42, #12352f);
}

.home .button-primary,
.section-dark .button-primary,
.cta-panel .button-primary {
  border-color: var(--action-gold);
}

.home :is(.button-dark, .button-secondary),
.section-dark :is(.button-dark, .button-secondary),
.cta-panel .button-secondary {
  border-color: var(--action-sage);
}

.home a:focus-visible,
.home button:focus-visible {
  outline: 3px solid var(--home-accent);
  outline-offset: 4px;
}

@media (max-width: 960px) {
  .offer-proof {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .offer-proof-source {
    grid-column: 1 / -1;
  }

  .location-map-grid {
    grid-template-columns: 1fr;
  }

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

  .amenities-photo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .amenities-photo-grid figure:first-child {
    grid-row: auto;
  }
}

/* Keep the ten-link menu readable before the desktop header runs out of space. */
@media (max-width: 1140px) {
  .menu-toggle {
    display: block;
  }

  .primary-nav {
    position: fixed;
    z-index: 99;
    top: var(--site-admin-offset, 0px);
    right: 0;
    display: flex;
    width: min(420px, 88vw);
    height: calc(100vh - var(--site-admin-offset, 0px));
    height: calc(100dvh - var(--site-admin-offset, 0px));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 76px 24px 28px;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    pointer-events: none;
    background: linear-gradient(155deg, #1d3d36, #102c28 55%, #301c2a);
    border-left: 1px solid #946078;
    box-shadow: -20px 0 55px rgba(0, 0, 0, 0.24);
    transform: translateX(105%);
    transition: transform 220ms ease, visibility 220ms;
  }

  .primary-nav.is-open,
  body.menu-open .primary-nav {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .primary-nav a {
    padding: 10px 12px;
    min-height: 48px;
    flex-shrink: 0;
    border-radius: 10px;
    font-size: 1.08rem;
  }

  .primary-nav a:not(.nav-book):hover,
  .primary-nav a:not(.nav-book):focus-visible {
    color: #fff;
    background: #4f2438;
    outline: 2px solid #ed9fbc;
    outline-offset: -2px;
  }

  .site-header::after {
    position: fixed;
    z-index: 98;
    inset: var(--site-admin-offset, 0px) 0 0;
    background: rgba(3, 14, 13, 0.72);
    opacity: 0;
    visibility: hidden;
    content: "";
    transition: opacity 220ms ease, visibility 220ms;
  }

  body.menu-open .site-header::after {
    opacity: 1;
    visibility: visible;
  }

  .nav-book {
    margin-top: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 960px) {
  .hero,
  .hero-inner {
    min-height: 720px;
  }

  .hero-media {
    inset: 0;
    opacity: 0.56;
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(12, 38, 34, 0.92), rgba(12, 38, 34, 0.62));
  }

  .section-intro,
  .story-grid,
  .location-card,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .story-media {
    min-height: 520px;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 340px 240px 240px;
  }

  .gallery-grid figure:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .gallery-grid figure:nth-child(4) {
    grid-column: 1 / -1;
  }

  .location-media {
    min-height: 420px;
  }

  .booking-aside {
    position: static;
  }

  .booking-card {
    order: -1;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .offer-proof {
    grid-template-columns: 1fr 1fr;
    border-radius: 18px;
  }

  .offer-proof-source,
  .offer-proof-note {
    grid-column: 1 / -1;
  }

  .offer-proof > div {
    padding: 1rem;
  }

  .offer-proof-item:last-of-type {
    grid-column: 1 / -1;
  }

  .offer-proof-note {
    padding: 0.85rem 1rem 0.95rem;
  }

  .island-guide-grid,
  .beach-grid {
    grid-template-columns: 1fr;
  }

  .destination-hero {
    min-height: 540px;
  }

  .amenities-photo-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 230px);
  }

  .booking-review-summary {
    align-items: flex-start;
  }

  body {
    font-size: 16px;
  }

  .site-shell {
    width: min(calc(100% - 28px), var(--content));
  }

  .brand-place {
    display: none;
  }

  .hero,
  .hero-inner {
    min-height: 760px;
  }

  .hero-inner {
    align-items: start;
    align-content: start;
    padding-top: 9.5rem;
    padding-bottom: 2rem;
  }

  .hero-stats {
    width: 100%;
    gap: 9px;
  }

  .hero-stat {
    min-height: 153px;
    padding: 18px 12px 15px;
    border-radius: 17px 17px 17px 4px;
  }

  .hero-stat::before {
    left: 12px;
    width: 34px;
  }

  .hero-stat .hero-stat-icon {
    top: 16px;
    right: 12px;
    width: 26px;
    height: 26px;
  }

  .hero-stat .hero-stat-number {
    margin-top: 26px;
    margin-bottom: 10px;
    font-size: clamp(3.25rem, 15vw, 4.5rem);
  }

  .hero-stat .hero-stat-label {
    font-size: clamp(0.6rem, 2.75vw, 0.75rem);
    letter-spacing: 0.035em;
    white-space: nowrap;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }

  .story-media {
    min-height: 440px;
  }

  .story-media-main {
    right: 10%;
    width: 90%;
  }

  .story-media-detail {
    height: 180px;
  }

  .feature-grid,
  .gallery-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-rows: repeat(4, 280px);
  }

  .gallery-grid figure,
  .gallery-grid figure:first-child,
  .gallery-grid figure:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .field-full,
  .form-consent,
  .form-submit {
    grid-column: auto;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

/* Keep complete labels at the narrowest supported phone width. */
@media (max-width: 360px) {
  .hero-stat {
    padding-right: 8px;
    padding-left: 8px;
  }

  .hero-stat .hero-stat-label {
    min-height: 2.8em;
    font-size: 0.625rem;
    line-height: 1.4;
    letter-spacing: 0;
    white-space: normal;
  }
}

/* Contact: dark, high-contrast surfaces, with clear QR quiet zones. */
.contact-page { background: #0d2422; color: #c2d7ce; }
.contact-page h1, .contact-page h2, .contact-page h3 { color: #eef7f2; }
.contact-page .eyebrow { color: var(--action-gold); font-size: .73rem; letter-spacing: .17em; }
.contact-page a { color: var(--action-gold); }
.contact-page a:hover { color: var(--action-gold-hover); }
.contact-page :focus-visible { outline: 3px solid var(--action-gold); outline-offset: 5px; }
.contact-hero { padding: clamp(44px, 6vw, 86px) 0; background: radial-gradient(ellipse at 90% 20%, #20514a 0, #112f2c 46%, #0d2422 85%); }
.contact-hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.contact-hero h1 { font-size: clamp(3rem, 5.9vw, 5.8rem); line-height: 1.04; max-width: 700px; }
.contact-lead { max-width: 540px; font-size: 1.06rem; }
.contact-text-link { display: inline-flex; gap: 24px; align-items: center; min-height: 44px; font-weight: 650; }
.contact-hero-photo { position: relative; margin: 0; border-radius: 100px 24px 24px 24px; overflow: hidden; border: 1px solid #517b70; }
.contact-hero-photo img { width: 100%; aspect-ratio: 1.2; height: auto; object-fit: cover; object-position: center 65%; }
.contact-hero-photo figcaption { position: absolute; bottom: 18px; left: 18px; right: 18px; padding: 9px 14px; border-radius: 12px; background: #0d2422ed; color: #eef7f2; font-size: .82rem; }
.contact-hero-photo figcaption span { margin-right: 8px; color: var(--action-gold); }
.contact-section { padding: 16px 0 80px; }
.contact-layout { display: grid; grid-template-columns: 1.15fr 1fr; align-items: start; gap: 48px; }
.contact-form-card { background: #153b35; border: 1px solid #517b70; border-radius: 26px; padding: clamp(24px, 3vw, 42px); scroll-margin-top: 24px; box-shadow: 0 24px 64px #0002; }
.contact-form-card h2, .contact-channels h2 { font-size: clamp(2.2rem, 3.2vw, 3rem); }
.contact-form-intro { margin-bottom: 28px; }
.contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.contact-fields > div { min-width: 0; }
.contact-fields label { display: block; margin-bottom: 8px; color: #eef7f2; font-weight: 600; font-size: .87rem; }
.contact-fields label > span { color: var(--action-gold); }
.contact-fields label small { font-weight: 400; font-size: .73rem; color: #c2d7ce; margin-left: 4px; }
.contact-fields input, .contact-fields select, .contact-fields textarea { width: 100%; min-height: 52px; border: 1px solid #73968b; border-radius: 10px; background: #0d2824; color: #eef7f2; padding: 12px 14px; font-size: 16px; color-scheme: dark; }
.contact-fields select { padding-right: 28px; }
.contact-fields textarea { resize: vertical; min-height: 170px; }
.contact-fields textarea::placeholder { color: #adc8bc; opacity: 1; }
.contact-field-wide { grid-column: 1 / -1; }
.contact-field-wide > small { display: block; font-size: .8rem; line-height: 1.6; margin-top: 8px; }
.contact-consent { display: flex; align-items: flex-start; gap: 12px; margin-top: 26px; font-size: .82rem; line-height: 1.65; cursor: pointer; }
.contact-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--action-gold); }
.contact-send, .contact-page .contact-booking-link { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 100%; min-height: 56px; background: var(--action-gold); color: var(--action-ink); border: 1px solid var(--action-gold); border-radius: 10px; padding: 12px 20px; font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; }
.contact-send { margin-top: 32px; }
.contact-send:hover, .contact-page .contact-booking-link:hover { background: var(--action-gold-hover); color: var(--action-ink); }
.contact-send:disabled { cursor: wait; opacity: .8; }
.contact-form-footnote { margin: 14px 0 0; font-size: .75rem; line-height: 1.6; }
.contact-channels { padding-top: 20px; min-width: 0; }
.contact-chat-card { display: grid; grid-template-columns: 148px 1fr; gap: 24px; align-items: center; margin-top: 24px; padding: 24px; border: 1px solid #517b70; border-radius: 22px; background: #1a3d37; }
.contact-chat-telegram { background: #163941; border-color: #597e87; }
.contact-qr { display: block; width: 148px; border-radius: 12px; overflow: hidden; background: #f0d3df; isolation: isolate; }
.contact-qr img { display: block; width: 100%; height: auto; aspect-ratio: 1; mix-blend-mode: multiply; }
.contact-channel-label { display: block; color: #c2d7ce; font-size: .66rem; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5; margin-bottom: 8px; }
.contact-chat-card h3 { font-family: inherit; font-size: 1.32rem; font-weight: 650; margin-bottom: 10px; letter-spacing: -.025em; }
.contact-chat-card p { font-size: .85rem; line-height: 1.6; margin-bottom: 8px; }
.contact-chat-link { display: inline-flex; align-items: center; min-height: 44px; gap: 10px; font-size: .86rem; font-weight: 650; }
.contact-email-link { display: flex; align-items: center; gap: 16px; padding: 24px 0; text-decoration: none; border-bottom: 1px solid #517b70; }
.contact-email-link svg { width: 34px; height: 34px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; }
.contact-email-link > span:nth-child(2) { min-width: 0; font-size: .8rem; color: #c2d7ce; }
.contact-email-link strong { display: block; color: #eef7f2; font-size: .95rem; overflow-wrap: anywhere; }
.contact-email-link > span:last-child { margin-left: auto; }
.contact-bottom { padding: 64px 0 72px; background: #112f2c; border-top: 1px solid #517b70; }
.contact-bottom-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-bottom h2 { font-size: clamp(2rem, 3.4vw, 3.25rem); }
.contact-bottom address { font-style: normal; margin: 24px 0 16px; }
.contact-booking-callout { padding-left: 48px; border-left: 1px solid #517b70; }
.contact-alert { padding: 16px; margin-bottom: 24px; border-radius: 10px; border: 1px solid #8ebda9; background: #234b41; color: #eef7f2; font-size: .9rem; }
.contact-alert strong { display: block; margin-bottom: 4px; }
.contact-alert-error { background: #582d2d; border-color: #efb2a7; }
.contact-alert-warning { background: #493e26; border-color: #e8ca8d; }
@media (max-width: 1050px) {
  .contact-layout { grid-template-columns: 1.1fr 1fr; gap: 28px; }
  .contact-chat-card { grid-template-columns: 112px 1fr; padding: 20px; gap: 18px; }
  .contact-qr { width: 112px; }
}
@media (max-width: 900px) {
  .contact-layout { grid-template-columns: 1fr; gap: 44px; }
  .contact-chat-card { grid-template-columns: 160px 1fr; gap: 28px; }
  .contact-qr { width: 160px; }
  .contact-channels { padding-top: 0; }
  .contact-bottom-grid { gap: 40px; }
  .contact-booking-callout { padding-left: 32px; }
}
@media (max-width: 640px) {
  .contact-page .site-shell { width: calc(100% - 32px); }
  .contact-hero { padding: 36px 0 40px; }
  .contact-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .contact-hero h1 { font-size: clamp(2.75rem, 11.3vw, 4.2rem); }
  .contact-lead { font-size: 1rem; }
  .contact-hero-photo { border-radius: 56px 18px 18px 18px; }
  .contact-hero-photo img { aspect-ratio: 1.7; }
  .contact-section { padding: 0 0 48px; }
  .contact-form-card { padding: 24px 20px; border-radius: 20px; }
  .contact-fields { grid-template-columns: 1fr; gap: 20px; }
  .contact-bottom { padding: 44px 0; }
  .contact-bottom-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-booking-callout { padding: 32px 0 0; border-left: 0; border-top: 1px solid #517b70; }
}
@media (max-width: 440px) {
  .contact-chat-card { grid-template-columns: 128px 1fr; gap: 18px; padding: 20px 16px; }
  .contact-qr { width: 128px; }
  .contact-chat-card h3 { font-size: 1.2rem; }
  .contact-chat-link { font-size: .8rem; gap: 7px; }
}
@media (max-width: 360px) {
  .contact-chat-card { grid-template-columns: 1fr; }
  .contact-qr { width: 160px; }
}

/* Shared dark foundation also covers older WordPress information pages. */
body.wp-theme-poolresidences-modern {
  color: var(--ink);
  background: var(--sand-50);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.admin-bar {
  --site-admin-offset: 32px;
}

body.admin-bar.home .site-header:not(.is-solid) {
  top: var(--site-admin-offset);
}

@media (max-width: 782px) {
  body.admin-bar {
    --site-admin-offset: 46px;
  }
}

.entry-content {
  min-width: 0;
  width: 100%;
  overflow-wrap: anywhere;
}

.entry-content :is(h1, h2, h3, h4),
.entry-content .event h3 {
  color: var(--heading);
}

.entry-content .event,
.entry-content > header,
.entry-content > footer {
  color: var(--ink);
  background: var(--surface-card);
  border: 1px solid var(--sand-200);
  border-radius: 16px;
}

.entry-content h2.month {
  color: #f6cddd;
  border-color: #946078;
}

.entry-content .wp-block-table {
  max-width: 100%;
  margin-inline: 0;
  overflow-x: auto;
  border: 1px solid var(--sand-200);
  border-radius: 12px;
}

.entry-content .wp-block-table table {
  min-width: 560px;
  color: var(--ink);
  background: #132f2b;
  border-collapse: collapse;
}

.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
  padding: 14px;
  border-color: var(--sand-200);
}

.entry-content .wp-block-table th {
  color: #fff;
  background: #4f2438;
}

.entry-content .wp-block-table tbody tr:nth-child(even) {
  background: #1a3d37;
}

.entry-content .has-white-background-color {
  color: var(--ink) !important;
  background-color: var(--surface-card) !important;
}

.entry-content .has-black-color {
  color: var(--heading) !important;
}

/* Practical island guides: scoped dark surfaces, readable cards and touch-friendly links. */
.guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 36px;
  color: #c2d7ce;
  font-size: 0.85rem;
}

.guide-hero .button-row { margin-top: 28px; }
.guide-hero-illustrated { padding-top: clamp(40px, 5vw, 72px); }
.guide-hero-layout { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.guide-hero-copy { min-width: 0; }
.guide-hero-illustrated h1 { font-size: clamp(2.4rem, 4.3vw, 4rem); line-height: 1.08; }
.guide-hero-art { min-width: 0; margin: 0; }
.guide-hero-art img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid #517b70; border-radius: 44px 16px 44px 16px; box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28); background: #0d2422; }
.guide-hero-art figcaption { margin-top: 14px; padding-inline: 4px; color: #b7cfc3; font-size: 0.78rem; line-height: 1.5; }
.event-discovery-grid .planning-card { display: flex; flex-direction: column; align-items: flex-start; }
.event-discovery-grid .planning-card .button { margin-top: auto; }
.island-planning-page section[id] { scroll-margin-top: 110px; }
.planning-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.planning-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.planning-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid #517b70;
  border-radius: 24px;
  color: #c2d7ce;
  background: radial-gradient(ellipse at top right, rgba(157, 43, 77, 0.15), transparent 65%), linear-gradient(145deg, #1a3d37, #112f2c);
}
.planning-card h3 { margin: 0 0 18px; color: #eef7f2; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.2; }
.planning-card p { margin: 0 0 18px; }
.planning-card p:last-child { margin-bottom: 0; }
.planning-card .button { margin-top: 8px; }
.planning-number { display: inline-block; margin-bottom: 24px; color: #f6cddd; font-size: 2.8rem; line-height: 1; font-weight: 800; letter-spacing: -0.06em; }
.planning-card .planning-kicker { margin-bottom: 10px; color: #f6cddd; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.planning-source { margin: 28px 0 0; max-width: 900px; color: #b7cfc3; font-size: 0.88rem; }
.planning-checklist { padding-left: 22px; }
.planning-checklist li { padding-left: 6px; margin-bottom: 16px; }
.planning-checklist li::marker { color: #f6cddd; }
.planning-card .button,
.island-planning-page .button { max-width: 100%; white-space: normal; text-align: center; overflow-wrap: anywhere; }
@media (max-width: 960px) {
  .planning-grid { grid-template-columns: 1fr; }
  .guide-hero-layout { grid-template-columns: 1fr; gap: 36px; }
  .guide-hero-art { width: 100%; }
}
@media (max-width: 680px) {
  .planning-split { grid-template-columns: 1fr; }
  .guide-breadcrumb { margin-bottom: 28px; }
  .guide-hero h1 { font-size: clamp(2.25rem, 10vw, 3.5rem); overflow-wrap: break-word; }
}

/* Terms remain readable on dark surfaces; contact details and contract copy are distinct. */
.terms-highlights h2 { margin: 0 0 16px; font-size: 1.65rem; }
.terms-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); align-items: start; gap: clamp(28px, 5vw, 70px); }
.terms-contact h2 { margin-top: 0; font-size: 1.7rem; }
.terms-contact address { font-style: normal; }
.terms-contact .terms-property-address { margin-top: 24px; }
.terms-contact .terms-small { margin-top: 22px; }
.terms-small { font-size: 0.9rem; }
.terms-contents { display: grid; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #517b70; }
.terms-contents a { padding-block: 6px; }
.terms-content { min-width: 0; overflow-wrap: anywhere; }
.terms-content section { margin-bottom: 42px; padding-bottom: 24px; border-bottom: 1px solid #517b70; scroll-margin-top: 36px; }
.terms-content h2 { margin-top: 0; font-size: clamp(1.65rem, 3vw, 2.35rem); }
.terms-content strong { color: #eef7f2; }
.terms-content li { margin-bottom: 12px; }
.terms-page .terms-version { margin-top: 26px; color: #c2d7ce; font-size: 0.88rem; }
@media (max-width: 960px) {
  .terms-layout { grid-template-columns: 1fr; }
}

/* Bordeaux actions: shared across navigation, page CTAs and form controls.
   Keep the gold/sage accent tokens for text and non-interactive villa facts. */
:is(.button, .primary-nav .nav-book, .form-submit, .contact-send, .contact-page .contact-booking-link, .menu-toggle, .date-picker-trigger, .calendar-nav),
:is(.button, .primary-nav .nav-book, .form-submit, .contact-send, .contact-page .contact-booking-link, .menu-toggle, .date-picker-trigger, .calendar-nav):hover {
  color: var(--white);
  background-color: var(--button-wine);
  background-image: linear-gradient(120deg, var(--button-wine-light), var(--button-wine) 52%, var(--button-wine-deep));
  border-color: var(--button-wine-edge);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 22px rgba(20, 3, 12, 0.24);
  text-shadow: 0 1px 2px rgba(31, 5, 17, 0.24);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
}

/* The same luminous treatment is available to keyboard users. */
:is(.button, .primary-nav .nav-book, .form-submit, .contact-send, .contact-page .contact-booking-link, .menu-toggle, .date-picker-trigger, .calendar-nav):focus-visible {
  color: var(--white);
  background-color: var(--button-wine-hover);
  background-image: linear-gradient(120deg, var(--button-wine-hover), #942647 55%, #791d3d);
  border-color: #f6b3cd;
  outline: 2px solid var(--white);
  outline-offset: 4px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(246, 179, 205, 0.28), 0 0 26px var(--button-wine-glow), 0 12px 28px rgba(83, 13, 43, 0.38);
}

@media (hover: hover) and (pointer: fine) {
  :is(.button, .primary-nav .nav-book, .form-submit, .contact-send, .contact-page .contact-booking-link, .menu-toggle, .date-picker-trigger, .calendar-nav):not(:disabled):not([aria-disabled="true"]):hover {
    color: var(--white);
    background-color: var(--button-wine-hover);
    background-image: linear-gradient(120deg, var(--button-wine-hover), #942647 55%, #791d3d);
    border-color: #f6b3cd;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 0 0 1px rgba(246, 179, 205, 0.28), 0 0 26px var(--button-wine-glow), 0 12px 28px rgba(83, 13, 43, 0.38);
    transform: translateY(-2px);
  }
}

:is(.button, .primary-nav .nav-book, .form-submit, .contact-send, .contact-page .contact-booking-link, .menu-toggle, .date-picker-trigger, .calendar-nav):not(:disabled):active {
  color: var(--white);
  transform: translateY(0);
  box-shadow: inset 0 2px 5px rgba(31, 5, 17, 0.28), 0 0 14px rgba(239, 99, 149, 0.28);
}

:is(.form-submit, .contact-send, .calendar-nav):disabled {
  cursor: not-allowed;
  opacity: 0.6;
  transform: none;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  :is(.button, .primary-nav .nav-book, .form-submit, .contact-send, .contact-page .contact-booking-link, .menu-toggle, .date-picker-trigger, .calendar-nav) {
    transform: none !important;
  }

  html {
    scroll-behavior: auto;
  }

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

/* Original 2025 villa photography: contained hero, editorial galleries and precise crops. */
.villa-showcase-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(6.5rem, 11vw, 10rem) 0 clamp(4.5rem, 8vw, 7rem);
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(157, 43, 77, 0.24), transparent 30%),
    radial-gradient(circle at 15% 90%, rgba(35, 76, 89, 0.45), transparent 36%),
    linear-gradient(145deg, #0a2421, #12352f 58%, #261624);
}

.villa-showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  gap: clamp(2.5rem, 6vw, 6.5rem);
  align-items: center;
}

.villa-showcase-copy {
  position: relative;
  z-index: 1;
}

.villa-showcase-copy h1 {
  max-width: 760px;
  color: var(--white);
  font-size: clamp(3rem, 5.7vw, 5.8rem);
  line-height: 0.98;
}

.villa-showcase-lead {
  max-width: 650px;
  color: #d2e2db;
  font-size: clamp(1.04rem, 1.8vw, 1.28rem);
}

.villa-showcase-media {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #6d9186;
  border-radius: 72px 24px 72px 24px;
  background: #0d2422;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.36);
}

.villa-showcase-media::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent 58%, rgba(4, 21, 19, 0.72));
}

.villa-showcase-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 62%;
}

.villa-showcase-media figcaption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  color: #eef7f2;
  font-size: 0.84rem;
  font-weight: 700;
}

.villa-showcase-media figcaption span {
  color: #f3cce0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story-media-main,
.story-media-detail,
.gallery-grid img,
.amenities-photo-grid img,
.villa-photo-grid img,
.location-media img,
.booking-aside > img,
.contact-hero-photo img {
  object-position: 50% 60%;
}

.gallery-grid img[src*="villa-exterior-evening"],
.location-media img[src*="tropical-garden-entrance"] {
  object-position: 50% 66%;
}

.villa-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 235px;
  gap: 1rem;
}

.villa-photo-grid figure {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 1px solid #355e55;
  border-radius: 18px;
  background: #112f2c;
}

.villa-photo-grid figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.villa-photo-grid figure:nth-child(6),
.villa-photo-grid figure:nth-child(9),
.villa-photo-grid figure:nth-child(10) {
  grid-column: span 2;
}

.villa-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 480ms cubic-bezier(.2,.8,.2,1);
}

.villa-photo-grid figure::after {
  position: absolute;
  inset: 45% 0 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(transparent, rgba(4, 19, 17, 0.78));
}

.villa-photo-grid figcaption {
  position: absolute;
  z-index: 1;
  right: 18px;
  bottom: 14px;
  left: 18px;
  color: #f4f8f6;
  font-size: 0.8rem;
  font-weight: 750;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.amenities-photo-grid-expanded {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(3, 225px);
  grid-auto-flow: dense;
}

.amenities-photo-grid-expanded figure:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.amenities-photo-grid-expanded figure:nth-child(8) {
  grid-column: span 2;
}

@media (hover: hover) and (pointer: fine) {
  .villa-photo-grid figure:hover img,
  .amenities-photo-grid-expanded figure:hover img {
    transform: scale(1.035);
  }
}

@media (max-width: 960px) {
  .villa-showcase-grid {
    grid-template-columns: 1fr;
  }

  .villa-showcase-copy {
    max-width: 760px;
  }

  .villa-showcase-media {
    width: min(100%, 720px);
  }

  .villa-showcase-media img {
    aspect-ratio: 4 / 3;
  }

  .villa-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .villa-photo-grid figure:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .villa-photo-grid figure:nth-child(6),
  .villa-photo-grid figure:nth-child(9),
  .villa-photo-grid figure:nth-child(10) {
    grid-column: auto;
  }

  .amenities-photo-grid-expanded {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-rows: 280px;
  }

  .amenities-photo-grid-expanded figure:first-child {
    grid-column: span 2;
    grid-row: auto;
  }

  .amenities-photo-grid-expanded figure:nth-child(8) {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .villa-showcase-hero {
    padding-top: 5.5rem;
  }

  .villa-showcase-grid {
    gap: 2.2rem;
  }

  .villa-showcase-copy h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .villa-showcase-media {
    border-radius: 44px 16px 44px 16px;
  }

  .villa-showcase-media img {
    aspect-ratio: 4 / 5;
  }

  .villa-showcase-media figcaption {
    right: 16px;
    bottom: 14px;
    left: 16px;
  }

  .villa-photo-grid,
  .amenities-photo-grid-expanded {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: auto;
  }

  .villa-photo-grid figure,
  .villa-photo-grid figure:first-child,
  .villa-photo-grid figure:nth-child(6),
  .villa-photo-grid figure:nth-child(9),
  .villa-photo-grid figure:nth-child(10),
  .amenities-photo-grid-expanded figure,
  .amenities-photo-grid-expanded figure:first-child,
  .amenities-photo-grid-expanded figure:nth-child(8) {
    grid-column: auto;
    grid-row: auto;
    aspect-ratio: 4 / 5;
  }

  .contact-hero-photo img {
    aspect-ratio: 4 / 3;
  }
}
