/* ───────────────────────────────────────────────────────────────
   Valley Point Villa — v1.0
   Boutique South Coast guesthouse — Calabash Bay, Treasure Beach
   Palette: deep ocean + warm sand + palm green + coral accent
─────────────────────────────────────────────────────────────── */

:root {
  /* Palette */
  --ocean-deep: #0E3B4E;
  --ocean: #185B6E;
  --ocean-mist: #D5E4E8;
  --palm: #2F6F5C;
  --palm-soft: #D9E6DF;
  --coral: #D9674B;
  --coral-soft: #F2C9B9;
  --sand: #F3E9D4;
  --sand-soft: #FAF4E8;
  --cream: #FDFAF2;
  --ink: #10212A;
  --ink-muted: #4E6471;
  --line: #E4D6B9;
  --line-soft: #EFE3C9;
  --white: #FFFFFF;

  /* Tokens */
  --bg: var(--cream);
  --fg: var(--ink);
  --fg-muted: var(--ink-muted);
  --surface: var(--white);
  --surface-tint: var(--sand-soft);
  --surface-sand: var(--sand);
  --accent: var(--coral);
  --brand: var(--ocean-deep);
  --brand-2: var(--ocean);
  --divider: var(--line);
  --divider-soft: var(--line-soft);

  /* Type */
  --f-display: "Cormorant Garamond", "Playfair Display", "Georgia", serif;
  --f-body: "Jost", -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Scale */
  --radius: 10px;
  --radius-lg: 20px;
  --nav-h: 72px;
  --maxw: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--fg);
  letter-spacing: 0;
  text-wrap: balance;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(40px, 6.5vw, 72px); line-height: 1.05; font-weight: 400; }
h2 { font-size: clamp(30px, 4.2vw, 46px); line-height: 1.1; font-weight: 500; }
h3 { font-size: clamp(24px, 2.8vw, 32px); line-height: 1.2; font-weight: 500; }
h4 { font-size: 20px; font-weight: 500; }

p { margin: 0 0 1em; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
}

.eyebrow {
  font-family: var(--f-body);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 14px;
}

.lead {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  color: var(--fg);
}

/* ───── Buttons ───── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 100px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: all .2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--cream);
}
.btn-primary:hover {
  background: var(--ocean-deep);
  color: var(--cream);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(253, 250, 242, 0.6);
}
.btn-ghost:hover {
  background: var(--cream);
  color: var(--ocean-deep);
}
.btn-dark {
  background: var(--ocean-deep);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--accent);
  color: var(--cream);
}
.btn-outline {
  background: transparent;
  color: var(--ocean-deep);
  border-color: var(--ocean-deep);
}
.btn-outline:hover {
  background: var(--ocean-deep);
  color: var(--cream);
}
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ───── Top Nav ───── */
.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(253, 250, 242, 0.92);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.topnav.scrolled {
  background: rgba(253, 250, 242, 0.98);
  border-bottom-color: var(--divider-soft);
}
.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 20px;
}
.brand-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ocean-deep);
}
.brand-mark .mark-text {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-mark .mark-sub {
  display: block;
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-top: 3px;
  font-weight: 500;
}
.brand-mark .mark-icon {
  width: 36px; height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ocean-deep);
  color: var(--cream);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ocean-deep);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 24px; }

.nav-cta {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--divider);
  border-radius: 10px;
  cursor: pointer;
  color: var(--ocean-deep);
}
.menu-toggle svg { width: 20px; height: 20px; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(360px, 85%);
  background: var(--cream);
  z-index: 60;
  padding: 24px 24px calc(24px + env(safe-area-inset-bottom, 0px));
  padding-top: calc(24px + env(safe-area-inset-top, 0px));
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -10px 0 40px rgba(14, 59, 78, 0.1);
  overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(14, 59, 78, 0.5);
  backdrop-filter: blur(4px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
.drawer-backdrop.open { opacity: 1; pointer-events: auto; }
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--divider-soft);
  margin-bottom: 20px;
}
.drawer-close {
  width: 36px; height: 36px;
  background: transparent;
  border: 1px solid var(--divider);
  border-radius: 50%;
  cursor: pointer;
  color: var(--ocean-deep);
  display: grid; place-items: center;
}
.drawer ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
}
.drawer ul a {
  display: block;
  padding: 14px 0;
  color: var(--ocean-deep);
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  border-bottom: 1px solid var(--divider-soft);
}
.drawer-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta .btn:not(.btn-primary) { display: none; }
  .menu-toggle { display: grid; place-items: center; }
}
@media (max-width: 540px) {
  .nav-cta .btn-primary { padding: 10px 16px; font-size: 13px; }
  .brand-mark .mark-sub { display: none; }
}

/* ───── Hero ───── */
.hero {
  position: relative;
  min-height: 92vh;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  padding-bottom: 60px;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, #0E3B4E 0%, #185B6E 60%, #2F6F5C 100%);
  background-size: cover;
  background-position: center;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg,
      rgba(14,33,42,0.3) 0%,
      rgba(14,33,42,0.15) 40%,
      rgba(14,33,42,0.75) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero .eyebrow {
  color: var(--coral-soft);
}
.hero h1 {
  color: var(--cream);
  font-weight: 400;
  margin-bottom: 20px;
}
.hero h1 em {
  font-style: italic;
  color: var(--coral-soft);
  font-weight: 400;
}
.hero-tag {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  color: rgba(253,250,242, 0.9);
  margin-bottom: 36px;
  max-width: 580px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-meta {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  color: var(--cream);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  z-index: 2;
  opacity: 0.75;
  padding-inline: 20px;
}
.hero-meta span { white-space: nowrap; }
.hero-meta span + span::before {
  content: "·";
  margin-right: 30px;
  opacity: 0.6;
}
@media (max-width: 640px) {
  .hero-meta { font-size: 10px; gap: 16px; }
  .hero-meta span + span::before { margin-right: 16px; }
}

/* ───── Section ───── */
section { padding: 90px 0; min-width: 0; }
.sec-sand { background: var(--sand-soft); }
.sec-ocean {
  background: var(--ocean-deep);
  color: var(--cream);
}
.sec-ocean h2, .sec-ocean h3 { color: var(--cream); }
.sec-ocean .eyebrow { color: var(--coral-soft); }

.sec-head {
  text-align: center;
  margin-bottom: 50px;
}
.sec-head p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--fg-muted);
}
.sec-ocean .sec-head p { color: rgba(253,250,242, 0.75); }

/* ───── Amenities grid ───── */
.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px 40px;
}
.amenity {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.amenity-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--sand);
  color: var(--ocean-deep);
}
.sec-ocean .amenity-icon { background: rgba(253,250,242, 0.12); color: var(--coral-soft); }
.amenity-icon svg { width: 22px; height: 22px; }
.amenity h4 {
  margin: 0 0 4px;
  font-size: 16px;
  font-family: var(--f-body);
  font-weight: 600;
  color: inherit;
}
.amenity p {
  margin: 0;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.5;
}
.sec-ocean .amenity p { color: rgba(253,250,242, 0.7); }

/* ───── Featured room cards (home) ───── */
.room-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.room-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(14,59,78,0.06);
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.room-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(14,59,78,0.12);
}
.room-card-img {
  aspect-ratio: 4/3;
  background: var(--sand);
  overflow: hidden;
  position: relative;
}
.room-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.room-card-img .ribbon {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--cream);
  color: var(--ocean-deep);
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.room-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.room-card .r-name {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--ocean-deep);
}
.room-card .r-meta {
  font-size: 12.5px;
  color: var(--fg-muted);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.room-card .r-desc {
  font-size: 14px;
  color: var(--fg-muted);
  margin-bottom: 16px;
  line-height: 1.55;
  flex: 1;
}
.room-card .r-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.room-card .r-rate {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--ocean-deep);
  font-weight: 500;
}
.room-card .r-rate span {
  font-family: var(--f-body);
  font-size: 11.5px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-left: 4px;
  font-weight: 500;
}

/* ───── Split section (image + text) ───── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-img {
  aspect-ratio: 5/6;
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}
.split-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-img .quote-tag {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--cream);
  color: var(--ocean-deep);
  padding: 14px 20px;
  border-radius: 100px;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 15px;
  box-shadow: 0 10px 30px rgba(14,59,78,0.15);
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split-img { aspect-ratio: 4/3; order: -1; }
  .split.reverse { direction: ltr; }
}

/* ───── Facilities grid (About) ───── */
.fac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.fac-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(14,59,78,0.06);
}
.fac-card-img {
  aspect-ratio: 5/3;
  background: var(--sand);
  overflow: hidden;
}
.fac-card-img img { width: 100%; height: 100%; object-fit: cover; }
.fac-card-body { padding: 22px 24px 26px; }
.fac-card h4 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--ocean-deep);
}
.fac-card p {
  margin: 0;
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
}

/* ───── Rooms index (grouped by floor) ───── */
.rooms-floor-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider);
}
.rooms-floor-head h3 {
  margin: 0;
  font-size: 28px;
}
.rooms-floor-head span {
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  font-weight: 500;
}
.rooms-floor + .rooms-floor { margin-top: 72px; }

/* ───── Single room page ───── */
.room-hero {
  position: relative;
  padding-top: calc(var(--nav-h) + 20px);
  padding-bottom: 0;
  background: var(--sand-soft);
}
.room-hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-block: 60px;
}
.room-hero-img {
  aspect-ratio: 4/3;
  background: var(--sand);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.room-hero-img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.room-hero .r-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  margin-bottom: 14px;
}
.room-hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  color: var(--ocean-deep);
  margin-bottom: 20px;
}
.room-hero .r-story {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg);
  margin-bottom: 26px;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
}
.room-rate-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  box-shadow: 0 4px 20px rgba(14,59,78,0.06);
}
.room-rate-box .amt {
  font-family: var(--f-display);
  font-size: 36px;
  font-weight: 500;
  color: var(--ocean-deep);
  line-height: 1;
}
.room-rate-box .per {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.04em;
}
.room-amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px 20px;
  margin-bottom: 32px;
  list-style: none;
  padding: 0;
}
.room-amenities li {
  font-size: 14px;
  color: var(--fg);
  position: relative;
  padding-left: 18px;
}
.room-amenities li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.room-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 900px) {
  .room-hero-wrap { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
}

.room-nav {
  background: var(--surface);
  padding: 24px 0;
  border-top: 1px solid var(--divider-soft);
  border-bottom: 1px solid var(--divider-soft);
}
.room-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.room-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ocean-deep);
}
.room-nav .r-prev::before { content: "←"; margin-right: 2px; }
.room-nav .r-next::after { content: "→"; margin-left: 2px; }
.room-nav .r-all {
  font-family: var(--f-display);
  font-style: italic;
}

/* ───── Excursions grid ───── */
.excursion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.exc-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(14,59,78,0.06);
  display: flex;
  flex-direction: column;
}
.exc-card-img {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--ocean), var(--palm));
  overflow: hidden;
}
.exc-card-img img { width: 100%; height: 100%; object-fit: cover; }
.exc-card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.exc-card .exc-tag {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
}
.exc-card h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: var(--ocean-deep);
}
.exc-card p {
  font-size: 14px;
  color: var(--fg-muted);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}
.exc-card .exc-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--ocean-deep);
  text-decoration: none;
  letter-spacing: 0.02em;
}
.exc-card .exc-link:hover { color: var(--accent); }
.exc-card .exc-link::after {
  content: " →";
  transition: margin-left .2s;
  display: inline-block;
}
.exc-card .exc-link:hover::after { margin-left: 4px; }

/* ───── Forms ───── */
.form-wrap {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 30px rgba(14,59,78,0.08);
}
@media (max-width: 540px) {
  .form-wrap { padding: 26px 22px; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 18px;
}
.form-row.single { grid-template-columns: 1fr; }
.form-row.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 600px) {
  .form-row, .form-row.three { grid-template-columns: 1fr; }
}
.form-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ocean-deep);
  margin-bottom: 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.form-field label .req { color: var(--accent); margin-left: 2px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--divider);
  border-radius: 8px;
  font-family: var(--f-body);
  font-size: 15px;
  background: var(--cream);
  color: var(--fg);
  transition: border-color .2s, box-shadow .2s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--ocean-deep);
  box-shadow: 0 0 0 3px rgba(14, 59, 78, 0.1);
}
.form-field textarea { min-height: 110px; resize: vertical; }

.radio-row {
  display: flex;
  gap: 14px;
  margin-top: 4px;
  flex-wrap: wrap;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--divider);
  border-radius: 100px;
  font-size: 14px;
  cursor: pointer;
  background: var(--cream);
  text-transform: none;
  letter-spacing: 0;
  color: var(--fg);
  font-weight: 500;
  margin: 0;
}
.radio-row input[type="radio"] { margin: 0; accent-color: var(--accent); }

.form-submit {
  margin-top: 10px;
  text-align: right;
}
@media (max-width: 540px) {
  .form-submit { text-align: center; }
  .form-submit .btn { width: 100%; }
}

.form-success {
  background: var(--palm-soft);
  border-left: 4px solid var(--palm);
  padding: 18px 22px;
  border-radius: 8px;
  color: var(--fg);
  font-size: 15px;
  display: none;
}
.form-success.show { display: block; }
.form-success .ref {
  font-family: ui-monospace, Menlo, monospace;
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 13px;
}

/* ───── Contact details grid ───── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}
.contact-card {
  background: var(--surface);
  padding: 26px 24px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 20px rgba(14,59,78,0.06);
}
.contact-card .ci-icon {
  width: 48px; height: 48px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ocean-deep);
}
.contact-card .ci-icon svg { width: 22px; height: 22px; }
.contact-card h4 {
  margin: 0 0 6px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.contact-card .ci-val {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--ocean-deep);
  margin: 0;
}
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 14px; }
}

/* ───── Final CTA ───── */
.final-cta {
  text-align: center;
  padding: 100px 0;
  background:
    linear-gradient(180deg, rgba(14,59,78,0.9), rgba(47,111,92,0.9)),
    linear-gradient(135deg, var(--ocean-deep), var(--palm));
  color: var(--cream);
}
.final-cta h2 { color: var(--cream); max-width: 720px; margin: 0 auto 20px; }
.final-cta p {
  color: rgba(253,250,242, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 17px;
}

/* ───── Footer ───── */
.foot {
  background: var(--ocean-deep);
  color: rgba(253,250,242, 0.75);
  padding: 60px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.foot h5 {
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--coral-soft);
  margin: 0 0 16px;
}
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot ul li { margin-bottom: 10px; font-size: 14px; }
.foot ul a { color: rgba(253,250,242, 0.8); }
.foot ul a:hover { color: var(--coral-soft); }
.foot-brand .mark-text {
  font-family: var(--f-display);
  font-size: 24px;
  color: var(--cream);
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}
.foot-brand .mark-tag {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--coral-soft);
  font-size: 14px;
  margin-bottom: 16px;
  display: block;
}
.foot-brand p {
  font-size: 13.5px;
  line-height: 1.6;
  margin: 0 0 14px;
  color: rgba(253,250,242, 0.7);
}
.foot-brand .rr-note {
  font-size: 12px;
  font-style: italic;
  color: rgba(253,250,242, 0.55);
}
.foot-bottom {
  border-top: 1px solid rgba(253,250,242, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: rgba(253,250,242, 0.55);
  flex-wrap: wrap;
}
.foot-bottom a { color: inherit; text-decoration: underline; }
.foot-bottom .credit {
  font-style: italic;
}
@media (max-width: 820px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .foot-grid { grid-template-columns: 1fr; }
}

/* ───── Floating WhatsApp ───── */
.wa-float {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom, 0px));
  right: max(20px, env(safe-area-inset-right, 0px));
  width: 56px; height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  z-index: 40;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); color: #FFFFFF; }
.wa-float svg { width: 28px; height: 28px; }

/* ───── Utility ───── */
.text-center { text-align: center; }
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 60px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

/* ───── Breadcrumb ───── */
.crumbs {
  padding: calc(var(--nav-h) + 30px) 0 20px;
  font-size: 13px;
  color: var(--fg-muted);
  background: var(--sand-soft);
}
.crumbs a { color: var(--fg-muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs .sep { margin: 0 8px; opacity: 0.5; }

/* ───── Page intro (About, Rooms index, etc.) ───── */
.page-intro {
  padding: 40px 0 60px;
  background: var(--sand-soft);
  text-align: center;
}
.page-intro h1 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--ocean-deep);
  margin-bottom: 16px;
}
.page-intro .lead {
  max-width: 640px;
  margin: 0 auto;
  color: var(--fg-muted);
}

/* ───── Rooms index map ───── */
.rooms-floor-note {
  color: var(--fg-muted);
  margin-top: 4px;
  font-size: 14px;
}

/* ───── Nav booking bar (room page) ───── */
.sticky-book {
  position: sticky;
  top: var(--nav-h);
  z-index: 20;
  background: var(--cream);
  border-bottom: 1px solid var(--divider-soft);
  padding: 14px 0;
  display: none;
}

/* ───── Section headings variants ───── */
h2.center { text-align: center; }

/* 404 */
.err-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding-top: var(--nav-h);
  text-align: center;
}
.err-page .code {
  font-family: var(--f-display);
  font-size: 120px;
  line-height: 1;
  color: var(--accent);
  font-weight: 400;
}
.err-page h1 { margin-top: 10px; }
.err-page p { color: var(--fg-muted); max-width: 460px; margin: 0 auto 30px; }

/* ───────────────────────────────────────────────────────────────
   v2 — Parallax strips, scrolling galleries, home-page imagery
─────────────────────────────────────────────────────────────── */

/* Full-width parallax band — image scrolls at reduced speed via JS */
.parallax-strip {
  position: relative;
  height: 55vh;
  min-height: 420px;
  max-height: 640px;
  overflow: hidden;
  isolation: isolate;
}
.parallax-strip .px-bg {
  position: absolute;
  inset: -12% 0 -12% 0;
  z-index: -1;
  background-color: var(--ocean-deep);
  will-change: transform;
}
.parallax-strip .px-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.parallax-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,33,42,0.1), rgba(14,33,42,0.25));
  z-index: 0;
}
.parallax-strip .px-quote {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 1;
  text-align: center;
  padding: 40px 24px;
  color: var(--cream);
}
.parallax-strip .px-quote p {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.25;
  max-width: 720px;
  margin: 0 0 10px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.parallax-strip .px-quote span {
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--coral-soft);
}

/* Life at the villa — asymmetric 3-image collage with gentle scroll offsets */
.collage {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.2fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  min-height: 620px;
  margin-bottom: 40px;
}
.collage .ci {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--sand);
  position: relative;
}
.collage .ci img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.collage .ci:hover img { transform: scale(1.03); }
.collage .ci-tall { grid-row: 1 / span 2; grid-column: 1; }
.collage .ci-wide { grid-row: 1; grid-column: 2 / span 2; }
.collage .ci-wide-2 { grid-row: 2; grid-column: 2; }
.collage .ci-sq { grid-row: 2; grid-column: 3; }
.collage .px-y { will-change: transform; }
@media (max-width: 820px) {
  .collage {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 180px);
    min-height: 0;
    gap: 12px;
  }
  .collage .ci-tall  { grid-row: 1 / span 2; grid-column: 1; }
  .collage .ci-wide  { grid-row: 1; grid-column: 2; }
  .collage .ci-wide-2{ grid-row: 2; grid-column: 2; }
  .collage .ci-sq    { grid-row: 3 / span 2; grid-column: 1 / span 2; }
}

/* The Grounds — full-width marquee photo rail */
.rail {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  padding: 6px 20px 24px;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(20px, env(safe-area-inset-left, 0px)) max(20px, env(safe-area-inset-right, 0px));
  scrollbar-width: thin;
}
.rail .rail-card {
  flex: 0 0 clamp(280px, 32vw, 420px);
  scroll-snap-align: start;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
  position: relative;
  box-shadow: 0 4px 24px rgba(14,59,78,0.08);
}
.rail .rail-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.rail .rail-card .rc-cap {
  position: absolute;
  bottom: 18px; left: 18px;
  color: var(--cream);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* Section-level parallax wrapper (used on hero bg + strips) */
.parallax {
  will-change: transform;
}

/* v2 — hero refresh: softer gradient so bg photo shows through more */
.hero-overlay {
  background:
    linear-gradient(180deg,
      rgba(14,33,42,0.42) 0%,
      rgba(14,33,42,0.25) 42%,
      rgba(14,33,42,0.78) 100%);
}

/* Cormorant tune-up — tracking + bigger italic emphasis */
.hero h1 em,
.hero-tag em {
  font-style: italic;
  letter-spacing: 0.005em;
}

/* Section eyebrow accent line */
.sec-head .eyebrow::before,
.sec-head .eyebrow::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: currentColor;
  vertical-align: middle;
  margin: 0 12px;
  opacity: 0.5;
}

/* Reduced-motion kills parallax */
@media (prefers-reduced-motion: reduce) {
  .parallax, .parallax-strip .px-bg, .collage .px-y {
    transform: none !important;
  }
}
