/* ==========================================================
   BeachfrontStudioRentals.com — styles.css
   Shared stylesheet for: index.html, 319.html, 322.html,
   calendar-events.html, cleaner-calendar.html
   ========================================================== */


/* ── RESET & ROOT ── */

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

:root {
  --sand:         #f5ede0;
  --sand-dk:      #ede0cc;
  --ocean:        #2a6b8a;
  --ocean-dk:     #1e5470;
  --foam:         #e8f4f8;
  --deep:         #1a3a4a;
  --gold:         #c9a96e;
  --gold-lt:      #e8d5b0;
  --text:         #2c2c2c;
  --muted:        #5a6a70;

  /* cleaner-calendar only — safe to keep globally */
  --checkin-bg:   #2e7d4f;
  --checkin-text: #ffffff;
  --checkout-bg:  #b02a2a;
  --checkout-text:#ffffff;
  --occupied-bg:  #cde0ea;
  --occupied-text:#1a3a4a;
  --empty-bg:     #f0e8dc;
  --empty-text:   #8a9aa0;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  background: var(--sand);
  color: var(--text);
  overflow-x: hidden;
}


/* ── NAV ── */

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
  padding: 0 3rem;
  overflow: visible;
  background: #1a3a4a;
  border-bottom: 1px solid rgba(201,169,110,0.25);
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(232,244,248,0.95);
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.nav-logo span {
  display: block;
  font-size: 0.65rem;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a,
.nav-links button {
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(232,244,248,0.8);
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  padding: 0;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links button:hover { color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(232,244,248,0.8);
}


/* ── CONTACT MODAL (index, calendar-events, cleaner-calendar) ── */

.contact-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 400;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.contact-modal.open { display: flex; }

.contact-box {
  background: var(--sand);
  max-width: 540px;
  width: 100%;
  padding: 2.5rem;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.contact-box-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.contact-box-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.contact-box-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 1.75rem;
  line-height: 1.2;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(42,107,138,0.22);
  background: white;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
  -webkit-appearance: none;
  appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus { border-color: var(--ocean); }
.contact-form textarea { height: 100px; }

.date-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.contact-nudge {
  font-size: 0.78rem;
  color: var(--ocean);
  font-style: italic;
  display: none;
  padding: 0.4rem 0.75rem;
  background: rgba(42,107,138,0.07);
  border-left: 2px solid var(--ocean);
}

.contact-submit {
  background: var(--ocean);
  color: white;
  padding: 0.9rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
  margin-top: 0.25rem;
}
.contact-submit:hover { background: var(--deep); }

.contact-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.contact-success .check {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.contact-success p {
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.85;
}


/* ── FOOTER ── */

footer {
  background: #1a3a4a;
  color: rgba(232,244,248,0.6);
  padding: 3rem 3rem 2rem;
  margin-top: 5rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  letter-spacing: 0.04em;
  margin-bottom: 0.8rem;
}
.footer-brand p {
  font-size: 0.82rem;
  line-height: 1.8;
  font-weight: 300;
  max-width: 300px;
}
.footer-legal {
  font-size: 0.75rem;
  color: rgba(232,244,248,0.4);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 1rem;
  max-width: 300px;
}
.footer-col h4 {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-col ul a,
.footer-col ul button {
  font-size: 0.82rem;
  color: rgba(232,244,248,0.6);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Jost', sans-serif;
  padding: 0;
  text-align: left;
}
.footer-col ul a:hover,
.footer-col ul button:hover { color: var(--gold); }

.footer-bottom {
  max-width: 1200px;
  margin: 1.8rem auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-bottom p {
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}
.footer-credit {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(232,244,248,0.4);
}
.footer-credit a {
  color: var(--gold);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--gold-lt); }


/* ── SECTION HELPERS (used across index, 319, 322, calendar-events) ── */

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
  font-weight: 500;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 1rem;
  line-height: 1.2;
}


/* ── BUTTONS (shared across pages) ── */

.btn-primary {
  background: var(--ocean);
  color: white;
  padding: 0.9rem 2.4rem;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-primary:hover { background: var(--deep); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--deep);
  padding: 0.9rem 2.4rem;
  border: 1.5px solid var(--gold);
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--gold); color: white; transform: translateY(-2px); }

.btn-gold {
  background: var(--gold);
  color: var(--deep);
  padding: 0.9rem 2.4rem;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-gold:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: white;
  padding: 0.9rem 2.4rem;
  border: 1.5px solid rgba(255,255,255,0.5);
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: white; background: rgba(255,255,255,0.08); transform: translateY(-2px); }


/* ── INDEX — HERO ── */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26,58,74,0.35) 0%, rgba(245,237,224,0.72) 75%, rgba(245,237,224,1) 100%);
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 0;
}
.hero-slide.active { opacity: 1; }
.hero > *:not(.hero-slide) { position: relative; z-index: 2; }

.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ocean);
  margin-bottom: 1.4rem;
  font-weight: 500;
  animation: fadeUp 0.9s ease both;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--deep);
  max-width: 820px;
  margin-bottom: 1.6rem;
  animation: fadeUp 0.9s 0.15s ease both;
}
.hero h1 em { font-style: italic; color: var(--ocean); }
.hero-sub {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.8rem;
  font-weight: 300;
  animation: fadeUp 0.9s 0.3s ease both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: fadeUp 0.9s 0.45s ease both;
}

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


/* ── INDEX — UNITS SECTION ── */

.units {
  padding: 5.25rem 3rem 7rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-intro {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 4rem;
}
.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5rem;
}
.unit-card {
  background: white;
  overflow: hidden;
  box-shadow: 0 4px 30px rgba(42,107,138,0.07);
  transition: transform 0.35s, box-shadow 0.35s;
}
.unit-card:hover { transform: translateY(-7px); box-shadow: 0 16px 50px rgba(42,107,138,0.14); }

.unit-img-wrap { position: relative; overflow: hidden; }
.unit-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.unit-card:hover .unit-img { transform: scale(1.04); }

.unit-badge {
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  background: var(--deep);
  color: var(--gold-lt);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  font-weight: 500;
}
.unit-body { padding: 2rem 2rem 2.2rem; }
.unit-number {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.unit-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--deep);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}
.unit-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1.6rem;
}
.unit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.6rem;
}
.unit-feature {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  border: 1px solid rgba(42,107,138,0.25);
  padding: 0.3rem 0.8rem;
  font-weight: 500;
}
.unit-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(201,169,110,0.2);
  flex-wrap: wrap;
  gap: 0.8rem;
}
.unit-link-primary {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  background: var(--ocean);
  text-decoration: none;
  font-weight: 500;
  padding: 0.55rem 1.2rem;
  transition: background 0.2s;
}
.unit-link-primary:hover { background: var(--deep); }
.unit-link-secondary {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.2s;
}
.unit-link-secondary:hover { color: var(--gold); }


/* ── INDEX — BOOK DIRECT ── */

.book-direct {
  background: linear-gradient(135deg, var(--ocean) 0%, var(--deep) 100%);
  padding: 5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.book-direct::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(201,169,110,0.08);
}
.book-direct::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(201,169,110,0.06);
}
.book-direct h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300;
  color: white;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}
.book-direct p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: rgba(232,244,248,0.8);
  max-width: 600px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}
.book-direct p strong { color: var(--gold-lt); font-weight: 500; }
.book-direct-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}


/* ── INDEX — LOCATION ── */

.location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  padding: 6rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}
.location-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.location h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
.location p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1rem;
}
.location-visual {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
}
.location-visual::before {
  content: '';
  position: absolute;
  top: -20px; left: -20px;
  right: 20px; bottom: 20px;
  border: 1px solid var(--gold);
  border-radius: 2px;
  z-index: 0;
  pointer-events: none;
}
.location-map {
  width: 100%;
  height: 400px;
  border: none;
  display: block;
  position: relative;
  z-index: 1;
}


/* ── 319 & 322 — UNIT PAGE LAYOUT ── */

.page-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 95px 2rem 4rem;
}
.unit-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.unit-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.unit-meta {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}


/* ── 319 & 322 — PHOTO GRID ── */

.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 220px 220px;
  gap: 4px;
  position: relative;
  cursor: pointer;
}
.photo-grid .main-photo { grid-row: 1 / 3; }
.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s;
}
.photo-grid img:hover { opacity: 0.92; }

.show-all-btn {
  position: absolute;
  bottom: 1rem; right: 1rem;
  background: white;
  border: 1px solid rgba(0,0,0,0.15);
  padding: 0.5rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: background 0.2s;
  z-index: 2;
}
.show-all-btn:hover { background: var(--sand); }

/* ── PHOTO MODAL LIGHTBOX ── */

.photo-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.photo-modal.open { display: flex; }

.photo-modal-inner {
  max-width: 900px;
  width: 100%;
  padding: 0 80px;
  box-sizing: border-box;
}

.photo-modal-close {
  position: fixed;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  z-index: 201;
  line-height: 1;
}

.photo-modal-prev,
.photo-modal-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 3rem;
  cursor: pointer;
  z-index: 201;
  line-height: 1;
  padding: 0.5rem 1rem;
  transition: background 0.2s;
  user-select: none;
}
.photo-modal-prev:hover,
.photo-modal-next:hover { background: rgba(255,255,255,0.25); }
.photo-modal-prev { left: 1rem; }
.photo-modal-next { right: 1rem; }

.photo-modal-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-family: 'Jost', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  z-index: 201;
}


/* ── 319 & 322 — MATTERPORT ── */

.matterport-section { margin: 2rem 0; }
.matterport-label {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.matterport-sublabel {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 0.75rem;
}
.matterport-embed {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}


/* ── 319 & 322 — TWO-COLUMN LAYOUT ── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}
.right-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: sticky;
  top: 95px;
}


/* ── 319 & 322 — UNIT DETAIL CONTENT ── */

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.feature-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ocean);
  border: 1px solid rgba(42,107,138,0.25);
  padding: 0.3rem 0.85rem;
  font-weight: 500;
}

.pricing-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table tr { border-bottom: 1px solid rgba(201,169,110,0.15); }
.pricing-table td {
  padding: 0.75rem 0;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
}
.pricing-table td:first-child {
  font-weight: 500;
  color: var(--deep);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}
.pricing-table td:last-child {
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--deep);
}
.best-rate-note {
  font-size: 0.75rem;
  color: var(--gold);
  font-weight: 500;
  text-align: right;
  margin-top: 0.5rem;
  letter-spacing: 0.05em;
}


/* ── 319 & 322 — INSTRUCTIONS GRID ── */

.instructions-section {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(201,169,110,0.2);
}
.instr-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
}
.instr-card {
  background: white;
  border: 1px solid rgba(42,107,138,0.12);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
  overflow: hidden;
  border-radius: 8px;
}
.instr-card:hover { box-shadow: 0 6px 20px rgba(42,107,138,0.12); transform: translateY(-2px); }

.instr-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--foam);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.instr-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.instr-missing-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--foam);
}
.instr-thumb.image-missing .instr-missing-fallback { display: flex; }
.instr-thumb.image-missing img { display: none; }

.instr-label {
  padding: 10px 10px 12px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--deep);
  line-height: 1.3;
}
.instr-tap-hint {
  margin-top: 4px;
  font-size: 0.63rem;
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}


/* ── 319 & 322 — GUEST INSTRUCTIONS MODAL ── */

.guest-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.72);
  z-index: 300;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.guest-modal.open { display: flex; }

.guest-modal-panel {
  background: var(--sand);
  max-width: 640px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 2rem 1.75rem;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.guest-modal-close {
  position: sticky;
  top: 0;
  float: right;
  background: rgba(42,107,138,0.08);
  border: 1px solid rgba(42,107,138,0.2);
  color: var(--deep);
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  cursor: pointer;
  font-size: 0.78rem;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  letter-spacing: 0.08em;
  z-index: 2;
  margin-left: 1rem;
}
.guest-modal-close:hover { background: rgba(42,107,138,0.15); }

.guest-modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep);
  margin: 0 0 1.25rem;
  text-align: center;
  clear: both;
}
.guest-modal-body { max-width: 580px; margin: 0 auto; }

.guest-photo {
  position: relative;
  max-width: 560px;
  margin: 0 auto 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(42,107,138,0.12);
  background: var(--foam);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guest-photo img { width: 100%; display: block; }
.guest-photo .missing-fallback {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--foam);
}
.guest-photo.image-missing .missing-fallback { display: flex; }
.guest-photo.image-missing img { display: none; }

.guest-modal-text {
  white-space: pre-wrap;
  line-height: 1.75;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 300;
  text-align: left;
  max-width: 580px;
  margin: 1rem auto 0;
}
.guest-modal-text a {
  color: var(--ocean);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-word;
}


/* ── 319 & 322 — BOOKING SIDEBAR ── */

.booking-card {
  background: white;
  border: 1px solid rgba(42,107,138,0.12);
  box-shadow: 0 4px 30px rgba(42,107,138,0.07);
  padding: 2rem;
}
.booking-card-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
  font-weight: 500;
}
.btn-direct {
  display: block;
  width: 100%;
  background: var(--ocean);
  color: white;
  text-align: center;
  padding: 0.9rem 1.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
  margin-bottom: 0.5rem;
  border: none;
  cursor: pointer;
}
.btn-direct:hover { background: var(--deep); }
.btn-note {
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  margin-bottom: 1.5rem;
  font-weight: 300;
}
.platform-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.platform-divider::before,
.platform-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(201,169,110,0.3);
}
.btn-platform {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.75rem 1.5rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  margin-bottom: 0.6rem;
  border: 1.5px solid;
}
.btn-airbnb { color: #ff5a5f; border-color: #ff5a5f; }
.btn-airbnb:hover { background: #ff5a5f; color: white; }
.btn-vrbo { color: #1a5fb4; border-color: #1a5fb4; }
.btn-vrbo:hover { background: #1a5fb4; color: white; }

.booking-divider {
  height: 1px;
  background: rgba(201,169,110,0.2);
  margin: 1.5rem 0;
}
.btn-guest {
  display: block;
  width: 100%;
  text-align: center;
  padding: 0.65rem 1rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--muted);
  border: 1px solid rgba(90,106,112,0.3);
  transition: all 0.2s;
  margin-bottom: 0.5rem;
}
.btn-guest:hover { color: var(--deep); border-color: var(--gold); }

.booking-note {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(201,169,110,0.2);
}


/* ── 319 & 322 — AVAILABILITY MINI-CALENDAR ── */

.calendar-card {
  background: white;
  border: 1px solid rgba(42,107,138,0.12);
  box-shadow: 0 4px 30px rgba(42,107,138,0.07);
  padding: 1.5rem;
}
.calendar-card-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  font-weight: 500;
}
.cal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.cal-nav-btn {
  background: none;
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--deep);
  width: 28px; height: 28px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.cal-nav-btn:hover { background: var(--sand); }
.cal-month-label {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: 500;
}
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}
.cal-day-header {
  font-size: 0.62rem;
  color: var(--muted);
  padding: 0.2rem;
  font-weight: 500;
}
.cal-day {
  font-size: 0.75rem;
  padding: 0.35rem 0.1rem;
}
.cal-day.available { background: rgba(201,169,110,0.12); color: var(--deep); }
.cal-day.booked   { background: rgba(42,107,138,0.15); color: var(--ocean); text-decoration: line-through; }
.cal-day.past     { color: #ccc; }

.cal-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.75rem;
  font-size: 0.68rem;
  color: var(--muted);
}
.cal-legend span { display: flex; align-items: center; gap: 0.35rem; }
.cal-legend-dot {
  display: inline-block;
  width: 10px; height: 10px;
  flex-shrink: 0;
}


/* ── 319 & 322 — MODAL OVERLAY (booking form) ── */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 400;
  overflow-y: auto;
  padding: 2rem 1rem;
}
.modal-overlay.open { display: block; }

.modal-box {
  background: var(--sand);
  max-width: 560px;
  width: 100%;
  margin: 2rem auto;
  padding: 2.5rem;
  position: relative;
}
.modal-close {
  position: absolute;
  top: 1rem; right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}
.modal-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.4rem;
}
.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 0.4rem;
}
.modal-subtitle {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}
.form-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(201,169,110,0.25);
}
.form-section:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.9rem;
}
.field:last-child { margin-bottom: 0; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: 500;
}
.field input,
.field select {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(42,107,138,0.25);
  background: white;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}
.field input:focus,
.field select:focus { border-color: var(--ocean); }

.field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}
.field-pair .field { margin-bottom: 0; }

.upload-note {
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 300;
  margin-top: 0.4rem;
  font-style: italic;
}


/* ── CALENDAR-EVENTS — PAGE LAYOUT ── */

.page-intro { text-align: center; margin-bottom: 4rem; }
.page-eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--deep);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-divider {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 1rem;
}
.page-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--muted);
  font-weight: 300;
  max-width: 580px;
  margin: 0 auto;
}


/* ── CALENDAR-EVENTS — DATE SEARCH ── */

.date-search-wrap { margin-bottom: 3rem; }
.date-search-bar {
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 30px rgba(42,107,138,0.12);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
}
.ds-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 1.5rem;
  border-right: 1px solid rgba(201,169,110,0.2);
  min-width: 0;
}
.ds-field label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: 600;
  margin-bottom: 0.25rem;
  display: block;
}
.ds-field input {
  border: none;
  outline: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  color: var(--muted);
  background: transparent;
  width: 100%;
  padding: 0;
}
.ds-btn {
  background: var(--ocean);
  border: none;
  cursor: pointer;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  border-radius: 0 50px 50px 0;
}
.ds-btn:hover { background: var(--deep); }
.ds-result {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 300;
  min-height: 1.5rem;
  line-height: 1.6;
}
.ds-result a { color: var(--ocean); }
.ds-avail  { color: var(--ocean); font-weight: 500; }
.ds-booked { color: #c0392b; font-weight: 500; }


/* ── CALENDAR-EVENTS — DUAL CALENDARS ── */

.calendars-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}
.calendar-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.calendar-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--deep);
}
.calendar-card-sub {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}


/* ── CLEANER-CALENDAR — GATE ── */

#gate {
  position: fixed;
  inset: 0;
  background: var(--deep);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  padding: 2rem;
}
#gate-box {
  background: var(--sand);
  padding: 3rem 2.5rem;
  max-width: 380px;
  width: 100%;
  text-align: center;
}
#gate-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
#gate-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--deep);
  margin-bottom: 0.4rem;
}
#gate-sub {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2rem;
  line-height: 1.6;
}
#gate-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(42,107,138,0.25);
  background: white;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  text-align: center;
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}
#gate-input:focus { border-color: var(--ocean); }
#gate-error {
  font-size: 0.78rem;
  color: var(--checkout-bg);
  margin-bottom: 0.75rem;
  display: none;
  font-weight: 500;
}
#gate-btn {
  width: 100%;
  background: var(--ocean);
  color: white;
  padding: 0.85rem;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
#gate-btn:hover { background: var(--deep); }


/* ── CLEANER-CALENDAR — MAIN ── */

#main { display: none; padding-top: 75px; }
.cleaner-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}
.page-sub {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 2rem;
  text-align: center;
}


/* ── CLEANER-CALENDAR — LEGEND ── */

.legend {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  align-items: center;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  font-weight: 400;
}
.legend-dot {
  width: 14px; height: 14px;
  border-radius: 2px;
  flex-shrink: 0;
}
.legend-turnday {
  width: 14px; height: 14px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.legend-turnday::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--checkout-bg);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.legend-turnday::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--checkin-bg);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
}


/* ── CLEANER-CALENDAR — CALENDAR CARDS ── */

.cals-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.cal-card {
  background: white;
  border: 1px solid rgba(42,107,138,0.1);
  box-shadow: 0 2px 20px rgba(42,107,138,0.06);
  padding: 2rem;
}
.cal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.cal-unit-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--deep);
  line-height: 1.1;
}
.cal-unit-sub {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.2rem;
}
.cal-month-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep);
  font-weight: 500;
  text-align: center;
  margin-bottom: 1rem;
}
.cal-day-hdr {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
  padding: 0.3rem 0;
  font-weight: 500;
}


/* ── CLEANER-CALENDAR — DAY CELLS ── */

.cal-cell {
  min-height: 62px;
  padding: 0.35rem 0.4rem 0.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(0,0,0,0.04);
  position: relative;
  overflow: hidden;
}
.cal-cell.empty-cell { background: transparent; border-color: transparent; }
.cal-date {
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1;
  text-align: right;
  position: relative;
  z-index: 2;
}
.cal-status {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding: 0.2rem 0.3rem;
  border-radius: 1px;
  position: relative;
  z-index: 2;
}

.state-empty    { background: var(--empty-bg); }
.state-empty .cal-date   { color: var(--empty-text); }
.state-empty .cal-status { background: rgba(90,106,112,0.1); color: var(--empty-text); }

.state-occupied    { background: var(--occupied-bg); }
.state-occupied .cal-date   { color: var(--occupied-text); }
.state-occupied .cal-status { background: rgba(42,107,138,0.15); color: var(--occupied-text); }

.state-checkin    { background: var(--checkin-bg); }
.state-checkin .cal-date   { color: var(--checkin-text); }
.state-checkin .cal-status { background: rgba(255,255,255,0.2); color: var(--checkin-text); }

.state-checkout    { background: var(--checkout-bg); }
.state-checkout .cal-date   { color: var(--checkout-text); }
.state-checkout .cal-status { background: rgba(255,255,255,0.2); color: var(--checkout-text); }

.state-turnday { background: transparent; }
.state-turnday::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--checkout-bg);
  clip-path: polygon(100% 0, 100% 100%, 0 0);
  z-index: 0;
}
.state-turnday::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--checkin-bg);
  clip-path: polygon(0 0, 0 100%, 100% 100%);
  z-index: 0;
}
.state-turnday .cal-date  { color: white; text-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.state-turnday .cal-status { background: rgba(0,0,0,0.2); color: white; text-shadow: 0 1px 2px rgba(0,0,0,0.4); }

.cal-cell.past { opacity: 0.45; }

.cal-updated {
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 300;
  text-align: center;
  margin-top: 1rem;
  font-style: italic;
}
.cal-loading {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  padding: 2rem 0;
  font-style: italic;
}


/* ── CLEANER-CALENDAR — FUTURE NOTE ── */

.future-note {
  margin: 3rem 0 0;
  border: 1px dashed rgba(201,169,110,0.4);
  padding: 1.5rem 2rem;
  text-align: center;
}
.future-note p {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
}
.future-note strong {
  color: var(--gold);
  font-style: normal;
  font-weight: 500;
}


/* ── RESPONSIVE ── */

@media (max-width: 1024px) {
  .two-col       { grid-template-columns: 1fr 320px; gap: 2.5rem; }
  .instr-grid    { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
}

@media (max-width: 900px) {
  .location      { grid-template-columns: 1fr; gap: 3rem; padding: 5rem 2rem; }
  .two-col       { grid-template-columns: 1fr; gap: 2.5rem; }
  .right-col     { position: static; }
  .footer-inner  { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .instr-grid    { grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
}

@media (max-width: 800px) {
  .cals-wrap  { grid-template-columns: 1fr; }
  .cal-cell   { min-height: 52px; }
}

@media (max-width: 768px) {
  nav { padding: 0 1.5rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 75px; left: 0; right: 0;
    background: #1a3a4a;
    padding: 1.5rem 2rem;
    gap: 1.4rem;
    border-bottom: 1px solid rgba(201,169,110,0.25);
  }
  .nav-links.open { display: flex; }
  .nav-toggle     { display: flex; }

  /* index */
  .hero          { padding: 8rem 1.5rem 3.5rem; }
  .hero h1       { font-size: clamp(2.2rem, 10vw, 3.5rem); }
  .hero-cta      { flex-direction: column; align-items: center; }
  .btn-primary,
  .btn-outline   { width: 100%; max-width: 280px; text-align: center; }
  .units         { padding: 3.5rem 1.5rem 4rem; }
  .units-grid    { grid-template-columns: 1fr; }
  .book-direct   { padding: 3.5rem 1.5rem; }
  .book-direct-actions { flex-direction: column; align-items: center; }
  .btn-gold,
  .btn-ghost     { width: 100%; max-width: 280px; text-align: center; }
  .location      { grid-template-columns: 1fr; gap: 2.5rem; padding: 3.5rem 1.5rem; }
  .location-visual::before { display: none; }

  /* unit pages */
  .page-wrap        { padding: 85px 1.25rem 3rem; }
  .photo-grid       { grid-template-columns: 1fr 1fr; grid-template-rows: 180px 180px; }
  .photo-grid .main-photo { grid-column: 1 / 3; grid-row: 1 / 2; }
  .matterport-embed { height: 280px; }
  .instr-grid       { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .guest-modal      { padding: 0.75rem; }
  .guest-modal-panel { border-radius: 10px; padding: 1.5rem 1.25rem; }
  .guest-photo      { max-width: 100%; }

  /* calendars */
  .calendars-wrap   { grid-template-columns: 1fr; }

  /* footer */
  .footer-inner  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .cleaner-wrap  { padding: 2rem 1rem 4rem; }
  .cal-card      { padding: 1.25rem; }
}
