/* ═══════════════════════════════════════════════════
   FYNBOS & FOAM — COMPLETE STYLESHEET
   Teal & shell coastal farmhouse palette
   Playfair Display + Cormorant Garamond + DM Sans
═══════════════════════════════════════════════════ */

:root {
  --teal:        #2A5C56;
  --teal-mid:    #3D7D75;
  --teal-deep:   #1a3d39;
  --teal-pale:   #EAF4F2;
  --shell:       #EDE8DE;
  --shell-warm:  #DDD0BB;
  --beech:       #C4A882;
  --beech-light: #E8DCC8;
  --cream:       #F8F5F0;
  --paper:       #FDFCFA;
  --gold:        #E8A070;
  --gold-deep:   #C4784A;
  --text:        #1E1E1C;
  --text-muted:  #6A6A68;
  --red:         #C62828;
  --green:       #2E7D32;
  --amber:       #B8860B;
  --r:           14px;
  --sh:          0 2px 14px rgba(0,0,0,.06);
  --sh-lg:       0 10px 40px rgba(26,61,57,.14);
  --ease:        .25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', system-ui, sans-serif; background: var(--cream); color: var(--text); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: 'DM Sans', sans-serif; }

/* ── PAGE SYSTEM ── */
.page { display: none; }
.page.active { display: block; }

/* ── NAV ── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(248,245,240,.94); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(196,168,130,.25);
}
.nav-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; color: var(--teal); }
.nav-logo span { font-style: italic; }
.nav-links { display: flex; align-items: center; gap: .4rem; }
.nav-links a { font-size: .85rem; color: var(--text-muted); padding: .45rem .85rem; border-radius: 50px; transition: all var(--ease); white-space: nowrap; }
.nav-links a:hover { background: var(--teal-pale); color: var(--teal); }
.nav-book { background: var(--teal); color: white !important; font-weight: 500; }
.nav-book:hover { background: var(--teal-deep) !important; }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-hamburger span { width: 22px; height: 2px; background: var(--teal); border-radius: 2px; transition: var(--ease); }
.mobile-menu { display: none; position: fixed; top: 60px; left: 0; right: 0; z-index: 190; background: var(--paper); box-shadow: var(--sh-lg); padding: 1rem; flex-direction: column; }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: .85rem 1.1rem; font-size: .95rem; color: var(--text); border-radius: 10px; }
.mobile-menu a:hover { background: var(--teal-pale); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block; background: var(--teal); color: white; border: none;
  padding: .95rem 2.3rem; border-radius: 50px; font-size: .88rem; font-weight: 500;
  letter-spacing: .04em; cursor: pointer; transition: all var(--ease);
  box-shadow: 0 4px 16px rgba(42,92,86,.28);
}
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-primary.teal { background: var(--teal-mid); }
.btn-outline {
  display: inline-block; background: transparent; color: var(--teal);
  border: 1.5px solid var(--teal); padding: .9rem 2.2rem; border-radius: 50px;
  font-size: .88rem; cursor: pointer; transition: all var(--ease);
}
.btn-outline:hover { background: var(--teal); color: white; }
.hero .btn-outline { color: white; border-color: rgba(255,255,255,.6); }
.hero .btn-outline:hover { background: rgba(255,255,255,.15); }
.btn-teal {
  background: var(--teal-mid); color: white; border: none;
  padding: .9rem 2rem; border-radius: 50px; font-size: .85rem; font-weight: 500;
  cursor: pointer; transition: all var(--ease); white-space: nowrap;
}
.btn-teal:hover { background: var(--teal); }
.btn-book {
  width: 100%; background: var(--teal); color: white; border: none;
  padding: 1.05rem; border-radius: 50px; font-size: .95rem; font-weight: 500;
  cursor: pointer; transition: all var(--ease); margin-top: 1.2rem;
}
.btn-book:hover { background: var(--teal-deep); }

/* ── HERO ── */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(155deg, rgba(26,61,57,.72) 0%, rgba(61,125,117,.55) 45%, rgba(26,61,57,.68) 100%),
    url('https://images.unsplash.com/photo-1439405326854-014607f694d7?w=1800&q=80') center/cover no-repeat;
  overflow: hidden; text-align: center; padding: 7rem 1.5rem 6rem;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(232,160,112,.14), transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(221,208,187,.1), transparent 50%);
}
.hero-content { position: relative; z-index: 2; max-width: 800px; animation: heroUp .9s ease both; }
@keyframes heroUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
.hero-eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 1.5rem; }
.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(3rem, 8vw, 5.8rem); font-weight: 400; color: white;
  line-height: 1.05; margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: var(--shell-warm); }
.hero-subtitle { font-size: clamp(1rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.75); margin-bottom: 2.6rem; font-weight: 300; letter-spacing: .02em; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-waves { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; z-index: 3; }

/* ── AVAILABILITY STRIP ── */
.availability-strip {
  display: flex; align-items: center; gap: 1.2rem;
  background: var(--paper); border-radius: 20px; box-shadow: var(--sh-lg);
  padding: 1.1rem 1.6rem; max-width: 860px;
  margin: -3.2rem auto 0; position: relative; z-index: 10;
}
.avail-field { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.avail-label { font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.avail-input { border: none; outline: none; background: none; font-family: 'DM Sans', sans-serif; font-size: .92rem; color: var(--text); cursor: pointer; }
.avail-divider { width: 1px; height: 38px; background: var(--shell); }

/* ── SECTIONS ── */
.section { padding: 6rem 2.5rem; max-width: 1200px; margin: 0 auto; }
.section-alt { background: var(--paper); max-width: none; }
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-teal { background: linear-gradient(150deg, var(--teal-deep), var(--teal)); max-width: none; }
.section-teal > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-label { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-deep); font-weight: 600; margin-bottom: .9rem; }
.section-label-light { color: var(--shell-warm); }
.section-label.centered, .section-title.centered { text-align: center; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 400; color: var(--text);
  line-height: 1.18; margin-bottom: 1.4rem;
}
.section-title em { font-style: italic; color: var(--teal-mid); }
.section-title.centered { margin-bottom: 3rem; }
.section-body { font-size: .97rem; color: var(--text-muted); line-height: 1.8; max-width: 60ch; }

/* ── INTRO / RETREAT ── */
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4.5rem; align-items: center; }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.photo-tile { border-radius: var(--r); overflow: hidden; }
.photo-tile.tall { grid-row: span 2; }
.photo-tile-bg {
  position: relative; width: 100%; height: 100%; min-height: 220px;
  display: flex; align-items: flex-end; padding: 1.1rem;
  background-size: cover; background-position: center;
  border-radius: var(--r); transition: transform .5s ease;
}
.photo-tile:hover .photo-tile-bg { transform: scale(1.03); }
.photo-label {
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  color: white; background: rgba(26,61,57,.55); backdrop-filter: blur(6px);
  padding: .35rem .8rem; border-radius: 50px;
}
/* Placeholder photography — swap via Admin > Content tab once real photos land */
.bg-ocean   { background-image: linear-gradient(160deg, rgba(26,61,57,.15), rgba(26,61,57,.35)), url('https://images.unsplash.com/photo-1439405326854-014607f694d7?w=1600&q=80'); background-size: cover; background-position: center; }
.bg-lounge  { background-image: linear-gradient(160deg, rgba(26,61,57,.08), rgba(26,61,57,.28)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1000&q=80'); background-size: cover; background-position: center; }
.bg-bedroom { background-image: linear-gradient(160deg, rgba(26,61,57,.06), rgba(26,61,57,.24)), url('https://images.unsplash.com/photo-1616594039964-ae9021a400a0?w=1000&q=80'); background-size: cover; background-position: center; }
.bg-beach   { background-image: linear-gradient(160deg, rgba(26,61,57,.1), rgba(26,61,57,.3)), url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1200&q=80'); background-size: cover; background-position: center; }
.bg-braai   { background-image: linear-gradient(160deg, rgba(60,30,10,.1), rgba(60,30,10,.32)), url('https://images.unsplash.com/photo-1555396273-367ea4eb4db5?w=1000&q=80'); background-size: cover; background-position: center; }
.bg-fynbos  { background-image: linear-gradient(160deg, rgba(20,40,15,.1), rgba(20,40,15,.3)), url('https://images.unsplash.com/photo-1591768793355-74d04bb6608f?w=1000&q=80'); background-size: cover; background-position: center; }
.bg-kitchen { background-image: linear-gradient(160deg, rgba(26,61,57,.05), rgba(26,61,57,.2)), url('https://images.unsplash.com/photo-1556909114-f6e7ad7d3136?w=1000&q=80'); background-size: cover; background-position: center; }
.bg-patio   { background-image: linear-gradient(160deg, rgba(26,61,57,.12), rgba(26,61,57,.32)), url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1000&q=80'); background-size: cover; background-position: center; }

/* ── FLOOR PLAN ── */
.floors { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; max-width: 900px; margin: 0 auto; }
.floor-card { background: var(--cream); border: 1px solid var(--shell); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.section:not(.section-alt) .floor-card { background: var(--paper); }
.floor-header {
  background: var(--teal); color: white; padding: 1rem 1.5rem;
  font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; letter-spacing: .02em;
}
.floor-list { padding: 1.3rem 1.5rem; display: flex; flex-direction: column; gap: .65rem; }
.floor-item { display: flex; align-items: center; gap: .7rem; font-size: .9rem; color: var(--text-muted); }
.floor-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--beech); flex-shrink: 0; }

/* ── CAPACITY STRIP ── */
.capacity-strip {
  display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap;
  padding: 2.6rem 1.5rem; background: var(--teal); margin-top: 4rem;
}
.capacity-item { text-align: center; }
.capacity-number { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 2.5rem; color: white; line-height: 1; }
.capacity-label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: .35rem; display: block; }

/* ── ROOMS ── */
.rooms-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.room-card { background: var(--paper); border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); border: 1px solid var(--shell); display: flex; flex-direction: column; }
.room-image { position: relative; height: 210px; background-size: cover; background-position: center; }
.room-badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(26,61,57,.75); backdrop-filter: blur(6px); color: white;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .8rem; border-radius: 50px;
}
.room-body { padding: 1.6rem 1.7rem 1.8rem; }
.room-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.35rem; color: var(--text); margin-bottom: .25rem; }
.room-tagline { font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9rem; }
.room-desc { font-size: .88rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.1rem; }
.room-features { display: flex; flex-direction: column; gap: .55rem; }
.room-feature { display: flex; align-items: center; gap: .65rem; font-size: .84rem; color: var(--text-muted); }
.room-feature svg { width: 16px; height: 16px; stroke: var(--teal-mid); stroke-width: 2; fill: none; flex-shrink: 0; }
.room-card.study { grid-column: 1 / -1; }
.room-card.study .room-image { height: 150px; }

/* ── HOUSE RULES ── */
.rules-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.rule-card { background: var(--paper); border: 1px solid var(--shell); border-radius: var(--r); padding: 1.5rem; box-shadow: var(--sh); }
.rule-icon { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin-bottom: .8rem; }
.rule-icon svg { width: 20px; height: 20px; stroke-width: 2; fill: none; }
.rule-icon.green { background: #E8F5E9; } .rule-icon.green svg { stroke: #2E7D32; }
.rule-icon.amber { background: #FFF8E1; } .rule-icon.amber svg { stroke: #B8860B; }
.rule-icon.red   { background: #FFEBEE; } .rule-icon.red svg   { stroke: #C62828; }
.rule-icon.teal  { background: var(--teal-pale); } .rule-icon.teal svg { stroke: var(--teal-deep); }
.rule-title { font-weight: 600; font-size: .92rem; margin-bottom: .45rem; }
.rule-detail { font-size: .8rem; color: var(--text-muted); line-height: 1.65; }
.rule-body { font-size: .8rem; color: var(--text-muted); }

/* ── AMENITIES / FEATURES ── */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.feature-card {
  background: var(--paper); border: 1px solid var(--shell); border-radius: var(--r);
  padding: 1.5rem 1.4rem; box-shadow: var(--sh); transition: transform var(--ease), box-shadow var(--ease);
}
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.feature-icon { width: 44px; height: 44px; margin-bottom: .8rem; color: var(--teal); font-size: 1.4rem; display: flex; align-items: center; justify-content: center; }
.feature-icon svg { width: 26px; height: 26px; stroke: var(--teal); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.feature-name { font-weight: 600; font-size: .9rem; margin-bottom: .4rem; }
.feature-desc { font-size: .78rem; color: var(--text-muted); line-height: 1.6; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 1rem;
}
.gallery-tile { border-radius: var(--r); overflow: hidden; }
.gallery-tile .photo-tile-bg { min-height: 100%; padding: 0; }
.g1 { grid-column: span 2; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 1; }
.g4 { grid-column: span 1; }
.g5 { grid-column: span 2; }
.g6 { grid-column: span 2; }
.gallery-caption {
  position: absolute; inset: 0; display: flex; align-items: flex-end;
  background: linear-gradient(to top, rgba(20,40,37,.55), transparent 55%);
  opacity: 0; transition: opacity var(--ease); padding: 1.1rem;
}
.gallery-tile:hover .gallery-caption { opacity: 1; }
.gallery-caption-text { color: white; font-size: .85rem; letter-spacing: .04em; }

/* ── LOCATION ── */
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.location-map {
  position: relative; min-height: 380px; border-radius: var(--r); overflow: hidden;
  background: linear-gradient(140deg, var(--teal-pale), var(--shell)); box-shadow: var(--sh);
}
.map-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: .6rem; }
.map-pin { font-size: 2.2rem; }
.map-label { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; color: var(--teal); background: var(--paper); padding: .5rem 1.2rem; border-radius: 50px; box-shadow: var(--sh); }
.explore-list { display: flex; flex-direction: column; margin-top: 1.6rem; }
.explore-item { display: flex; justify-content: space-between; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--shell); }
.explore-item:last-child { border-bottom: none; }
.explore-name { font-size: .92rem; }
.explore-dist { font-size: .8rem; color: var(--text-muted); }

/* ── TESTIMONIALS ── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(6px); border-radius: var(--r); padding: 2rem 1.8rem;
}
.stars { color: var(--gold); font-size: .95rem; letter-spacing: .2em; margin-bottom: 1rem; }
.testimonial-text { font-size: .92rem; color: rgba(255,255,255,.85); line-height: 1.8; font-style: italic; margin-bottom: 1.2rem; }
.testimonial-author { font-size: .8rem; color: var(--shell-warm); letter-spacing: .04em; }

/* ── FOOTER ── */
footer {
  background: var(--teal-deep); color: white;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  padding: 4rem 2.5rem 3rem;
}
.footer-brand { font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; margin-bottom: .8rem; }
.footer-brand span { font-style: italic; }
.footer-tagline { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.8; max-width: 40ch; }
.footer-col h4 { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1rem; font-weight: 500; }
.footer-col a { display: block; font-size: .87rem; color: rgba(255,255,255,.68); padding: .3rem 0; transition: color var(--ease); }
.footer-col a:hover { color: white; }
.footer-bottom {
  background: var(--teal-deep); border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem;
  padding: 1.4rem 2.5rem; font-size: .76rem; color: rgba(255,255,255,.4);
}

/* ── BOOKING PAGE ── */
.booking-container { max-width: 1150px; margin: 0 auto; padding: 8rem 2.5rem 5rem; }
.booking-header { margin-bottom: 3rem; }
.booking-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 2.5rem; align-items: start; }
.booking-form { background: var(--paper); border-radius: var(--r); box-shadow: var(--sh); border: 1px solid var(--shell); padding: 2.2rem; }
.form-section { margin-bottom: 2rem; }
.form-section-title {
  font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-mid); font-weight: 600; margin-bottom: 1.1rem;
  padding-bottom: .6rem; border-bottom: 1px solid var(--shell);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1.1rem; }
.form-label { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); font-weight: 500; }
.form-input {
  border: 1px solid rgba(196,168,130,.4); border-radius: 10px;
  padding: .75rem 1rem; font-family: 'DM Sans', sans-serif; font-size: .92rem;
  color: var(--text); background: var(--paper); outline: none; width: 100%;
  transition: border-color var(--ease);
}
.form-input:focus { border-color: var(--teal-mid); }
.amenity-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.1rem; }
.chip { font-size: .72rem; padding: .35rem .85rem; border-radius: 50px; background: var(--teal-pale); color: var(--teal); font-weight: 500; }
.booking-summary { position: sticky; top: 90px; background: var(--paper); border-radius: var(--r); box-shadow: var(--sh-lg); border: 1px solid var(--shell); padding: 1.9rem; }
.summary-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; margin-bottom: 1.2rem; }
.summary-property { display: flex; flex-direction: column; gap: .15rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--shell); margin-bottom: 1.1rem; }
.summary-property-name { font-weight: 600; font-size: .95rem; }
.summary-property-loc { font-size: .8rem; color: var(--text-muted); }
.summary-property-detail { font-size: .8rem; color: var(--text-muted); }
.summary-line { display: flex; justify-content: space-between; font-size: .88rem; color: var(--text-muted); padding: .4rem 0; }
.summary-total {
  display: flex; justify-content: space-between; font-weight: 700; font-size: 1.02rem;
  color: var(--text); padding-top: .9rem; margin-top: .5rem; border-top: 1.5px solid var(--shell);
}
.summary-note { font-size: .74rem; color: var(--text-muted); line-height: 1.6; margin-top: 1rem; }
.policies { display: flex; flex-direction: column; gap: .45rem; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--shell); }
.policy-item { display: flex; align-items: center; gap: .6rem; font-size: .8rem; color: var(--text-muted); }
.policy-icon { color: var(--green); font-weight: 700; }

/* ── MODAL ── */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 400;
  background: rgba(20,40,37,.6); backdrop-filter: blur(5px);
  align-items: center; justify-content: center; padding: 1.5rem;
}
.modal-overlay.open { display: flex; }
.modal { background: var(--paper); border-radius: 20px; max-width: 460px; width: 100%; padding: 2.8rem 2.4rem; text-align: center; position: relative; animation: modalUp .3s ease both; }
@keyframes modalUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.modal-close { position: absolute; top: 1rem; right: 1.1rem; background: var(--shell); border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; }
.modal-icon { font-size: 2.6rem; margin-bottom: 1rem; }
.modal-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; margin-bottom: .8rem; }
.modal-body { font-size: .9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1.6rem; }

/* ── MOBILE APP SHOWCASE ── */
.app-preview { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.phone-grid { display: flex; justify-content: center; }
.phone-frame {
  width: 300px; background: var(--text); border-radius: 42px; padding: 12px;
  box-shadow: 0 24px 60px rgba(20,40,37,.35);
}
.phone-screen { background: var(--cream); border-radius: 32px; overflow: hidden; }
.phone-statusbar { display: flex; justify-content: space-between; padding: .7rem 1.2rem .3rem; font-size: .68rem; color: var(--text-muted); }
.phone-header { padding: .6rem 1.2rem .9rem; }
.phone-logo { font-family: 'Playfair Display', Georgia, serif; font-size: 1.05rem; color: var(--teal); }
.phone-content { padding: 0 1rem 1rem; display: flex; flex-direction: column; gap: .8rem; }
.phone-hero-img { background: linear-gradient(150deg, var(--teal-mid), var(--teal-deep)); border-radius: 14px; padding: 1.1rem; color: white; }
.phone-hero-text { font-size: .78rem; opacity: .85; }
.phone-section-label { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.phone-mini-card { background: white; border-radius: 12px; padding: .8rem .9rem; box-shadow: var(--sh); }
.phone-mini-title { font-size: .8rem; font-weight: 600; }
.phone-mini-sub { font-size: .68rem; color: var(--text-muted); }
.phone-book-btn { background: var(--teal); color: white; text-align: center; padding: .75rem; border-radius: 50px; font-size: .8rem; font-weight: 500; }
.phone-nav { display: flex; justify-content: space-around; padding: .7rem 0 .9rem; background: white; border-top: 1px solid var(--shell); }
.phone-nav-dot { display: flex; flex-direction: column; align-items: center; gap: .15rem; }
.phone-nav-icon { font-size: .95rem; }
.phone-nav-label { font-size: .58rem; color: var(--text-muted); }
.phone-nav-dot.active .phone-nav-label { color: var(--teal); font-weight: 600; }
.app-features { display: flex; flex-direction: column; gap: 1.6rem; }
.app-features-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; line-height: 1.25; }
.app-feature { display: flex; gap: 1.1rem; align-items: flex-start; }
.app-feature-icon { width: 44px; height: 44px; background: var(--teal-pale); border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.3rem; }
.app-feature-text h4 { font-size: .95rem; margin-bottom: .3rem; }
.app-feature-text p { font-size: .84rem; color: var(--text-muted); line-height: 1.65; }
.app-store-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }
.app-store-buttons a {
  background: var(--text); color: white; padding: .7rem 1.5rem; border-radius: 12px;
  font-size: .82rem; display: inline-flex; align-items: center; gap: .5rem;
}

/* ── ADMIN ── */
.admin-layout { display: grid; grid-template-columns: 230px 1fr; min-height: 100vh; }
.admin-sidebar { background: var(--teal-deep); padding: 1.8rem 1rem; display: flex; flex-direction: column; gap: .3rem; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-sidebar-brand { padding: 0 .8rem 1.4rem; }
.admin-sidebar-name { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; color: white; }
.admin-sidebar-sub { font-size: .64rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.4); }
.admin-nav-section { font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.35); padding: 1.1rem .8rem .4rem; font-weight: 600; }
.admin-nav-item {
  text-align: left; background: none; border: none; color: rgba(255,255,255,.72);
  font-size: .85rem; padding: .65rem .85rem; border-radius: 10px; cursor: pointer;
  transition: all var(--ease); width: 100%;
}
.admin-nav-item:hover { background: rgba(255,255,255,.08); color: white; }
.admin-nav-item.active { background: var(--teal-mid); color: white; }
.admin-main { background: var(--cream); padding: 2.2rem 2.5rem; overflow-x: hidden; }
.admin-header { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.8rem; }
.admin-page-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; font-weight: 500; }
.admin-page-title em { font-style: italic; color: var(--teal-mid); }
.admin-subtitle { font-size: .84rem; color: var(--text-muted); margin-top: .2rem; }
.admin-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1.5rem; align-items: start; }
.admin-card { background: var(--paper); border-radius: var(--r); border: 1px solid var(--shell); box-shadow: var(--sh); padding: 1.6rem; margin-bottom: 1.5rem; }
.admin-card-title { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-mid); font-weight: 600; margin-bottom: 1.1rem; }
.admin-panel { animation: fadeIn .25s ease; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-bottom: 1.6rem; }
.stat-card { background: var(--paper); border: 1px solid var(--shell); border-radius: var(--r); padding: 1.3rem 1.4rem; box-shadow: var(--sh); }
.stat-label { font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; }
.stat-value { font-family: 'Playfair Display', Georgia, serif; font-size: 1.9rem; line-height: 1; color: var(--text); }
.stat-change { font-size: .72rem; margin-top: .45rem; color: var(--text-muted); }
.stat-change.green { color: var(--green); }
.stat-change.red { color: var(--red); }
.stat-change.amber { color: var(--amber); }

.booking-row { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--shell); }
.booking-row:last-child { border-bottom: none; }
.booking-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: var(--teal-pale); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: .78rem; font-weight: 600; flex-shrink: 0;
}
.booking-info { flex: 1; min-width: 0; }
.booking-name { font-size: .88rem; font-weight: 600; }
.booking-dates { font-size: .76rem; color: var(--text-muted); }
.booking-amount { font-size: .88rem; font-weight: 600; white-space: nowrap; }

.status-badge { font-size: .68rem; font-weight: 600; padding: .25rem .7rem; border-radius: 50px; white-space: nowrap; }
.status-confirmed { background: #E5F2E6; color: var(--green); }
.status-pending { background: #FBF0D9; color: var(--amber); }

.task-list { display: flex; flex-direction: column; gap: .7rem; }
.task-item { display: flex; align-items: center; gap: .7rem; font-size: .85rem; color: var(--text-muted); }
.task-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.dot-urgent { background: var(--red); }
.dot-normal { background: var(--amber); }
.dot-low { background: var(--teal-mid); }

/* Admin mini calendar */
.cal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; font-weight: 600; }
.calendar-grid-mini { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-grid-mini > span { text-align: center; font-size: .66rem; color: var(--text-muted); text-transform: uppercase; padding: .3rem 0; }
.cal-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: .8rem; border-radius: 9px; cursor: pointer; transition: all var(--ease);
  background: var(--paper); border: 1px solid var(--shell); user-select: none;
}
.cal-day:hover { border-color: var(--teal-mid); }
.cal-day.booked { background: #F7E5E2; color: #B4564A; border-color: #EED2CD; cursor: not-allowed; }
.cal-day.blocked { background: var(--shell); color: var(--text-muted); }
.cal-day.today { border: 2px solid var(--teal-mid); font-weight: 700; }
.cal-day.selected { background: var(--teal-mid); color: white; border-color: var(--teal-mid); }
.cal-day.available { background: var(--paper); }
.cal-legend { display: flex; gap: 1.3rem; flex-wrap: wrap; margin-top: 1.1rem; }
.cal-legend-item { display: flex; align-items: center; gap: .45rem; font-size: .76rem; color: var(--text-muted); }
.cal-legend-dot { width: 11px; height: 11px; border-radius: 4px; }

/* ── UTILITIES ── */
.centered { text-align: center; }
.teal { color: var(--teal); }
.dark { color: var(--text); }
.green { color: var(--green); }
.red { color: var(--red); }
.amber { color: var(--amber); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .intro-grid, .location-grid, .app-preview { grid-template-columns: 1fr; gap: 2.6rem; }
  .rules-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .rooms-grid { grid-template-columns: 1fr; }
  .booking-grid { grid-template-columns: 1fr; }
  .booking-summary { position: static; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .g1, .g2, .g3, .g4, .g5, .g6 { grid-column: span 2; grid-row: span 1; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; }
  .admin-nav-section { display: none; }
  .admin-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .ce-grid { grid-template-columns: 1fr !important; }
  footer { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 768px) {
  #main-nav { padding: .85rem 1.2rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .section { padding: 4rem 1.4rem; }
  .availability-strip { flex-direction: column; align-items: stretch; margin: -2rem 1.2rem 0; gap: .9rem; }
  .avail-divider { width: 100%; height: 1px; }
  .floors { grid-template-columns: 1fr; }
  .rules-grid, .feature-grid { grid-template-columns: 1fr; }
  .capacity-strip { gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .booking-container { padding: 6.5rem 1.4rem 3.5rem; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero { min-height: 84vh; }
  .footer-bottom { flex-direction: column; }
}

/* Phone mockup nav dots */
.phone-nav-dot { width: 16px; height: 16px; border-radius: 5px; background: var(--shell-warm); margin: 0 auto; }
.phone-nav-dot.home { background: var(--teal-mid); }
.phone-nav-dot.search, .phone-nav-dot.book, .phone-nav-dot.profile { background: var(--shell-warm); }

/* Guarantee the Netlify Identity login widget always renders above
   everything else on the page, in case of any stacking conflicts
   with our own full-screen admin overlay. */
iframe[src*="identity.netlify.com"] {
  position: fixed !important;
  z-index: 999999 !important;
}
