/* ============================================================
   Yungata Resorts — Redesign
   Design system
   ============================================================ */
:root{
  /* Brand palette (from logo + Booking-like clarity) */
  --navy:        #0a3a66;   /* header / footer / headings */
  --navy-700:    #0d4a82;
  --navy-900:    #07294a;
  --blue:        #1577c2;   /* primary action (Booking-like) */
  --blue-600:    #1369ab;   /* hover */
  --blue-50:     #eaf4fc;   /* tint */
  --sea:         #2a93c9;   /* fresh sea accent */
  --gold:        #e3a52b;   /* logo gold — accents, price, badges */
  --gold-soft:   #f6e7c2;
  --green:       #1f8b4c;   /* available / good */
  --green-50:    #e7f4ec;
  --red:         #c2391d;   /* booked / urgency */
  --red-50:      #fbeae6;

  --ink:         #182634;   /* primary text */
  --muted:       #5b6976;   /* secondary text */
  --faint:       #8a96a2;
  --line:        #e0e6ec;   /* borders */
  --line-soft:   #eef2f5;
  --bg:          #f3f6f9;   /* app background */
  --surface:     #ffffff;
  --cream:       #faf5ea;   /* warm section */
  --cream-line:  #ece1c9;

  --shadow-sm: 0 1px 2px rgba(16,40,66,.06), 0 1px 3px rgba(16,40,66,.05);
  --shadow-md: 0 4px 14px rgba(16,40,66,.10);
  --shadow-lg: 0 18px 50px rgba(10,40,80,.18);
  --shadow-card: 0 1px 0 var(--line), 0 6px 22px rgba(16,40,66,.07);

  --r-sm: 6px;
  --r:    10px;
  --r-lg: 16px;
  --r-xl: 22px;

  --maxw: 1180px;
  --header-h: 76px;

  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:var(--sans);
  color:var(--ink);
  background:var(--bg);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{ display:block; max-width:100%; }
.ic{ width:18px; height:18px; flex:none; display:inline-block; vertical-align:middle; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ margin:0; line-height:1.15; font-weight:600; }
p{ margin:0 0 1em; }
:focus-visible{ outline:3px solid color-mix(in srgb, var(--blue) 55%, white); outline-offset:2px; border-radius:4px; }

.wrap{ width:100%; max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.serif{ font-family:var(--serif); }
.muted{ color:var(--muted); }
.center{ text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  border:1px solid transparent; border-radius:var(--r-sm);
  font-weight:600; font-size:15px; line-height:1; padding:13px 20px;
  transition:background .15s, border-color .15s, color .15s, transform .05s;
  white-space:nowrap;
}
.btn:active{ transform:translateY(1px); }
.btn--primary{ background:var(--blue); color:#fff; }
.btn--primary:hover{ background:var(--blue-600); }
.btn--gold{ background:var(--gold); color:var(--navy-900); }
.btn--gold:hover{ background:#d2961f; }
.btn--ghost{ background:#fff; color:var(--blue); border-color:var(--blue); }
.btn--ghost:hover{ background:var(--blue-50); }
.btn--navy{ background:var(--navy); color:#fff; }
.btn--navy:hover{ background:var(--navy-700); }
.btn--lg{ padding:16px 28px; font-size:16px; }
.btn--block{ width:100%; }
.btn--sm{ padding:9px 14px; font-size:13.5px; }
.btn .ic{ width:18px; height:18px; }

/* ---------- Badges / chips ---------- */
.badge{
  display:inline-flex; align-items:center; gap:6px;
  font-size:12.5px; font-weight:600; letter-spacing:.01em;
  padding:5px 10px; border-radius:999px;
}
.badge--green{ background:var(--green-50); color:var(--green); }
.badge--red{ background:var(--red-50); color:var(--red); }
.badge--gold{ background:var(--gold-soft); color:#8a6212; }
.badge--blue{ background:var(--blue-50); color:var(--blue-600); }
.badge .ic{ width:14px; height:14px; }

.chip{
  display:inline-flex; align-items:center; gap:7px;
  background:#fff; border:1px solid var(--line); color:var(--ink);
  padding:8px 12px; border-radius:999px; font-size:13.5px; font-weight:500;
}
.chip .ic{ width:16px; height:16px; color:var(--blue); }

/* ---------- Header ---------- */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--navy);
  color:#fff;
  box-shadow:0 1px 0 rgba(255,255,255,.06), 0 6px 20px rgba(7,30,55,.18);
}
.site-header .wrap{ display:flex; align-items:center; gap:20px; height:var(--header-h); }
.brand{ display:flex; align-items:center; gap:12px; margin-right:auto; }
.brand img{ height:48px; width:auto; }
.brand .bk{ display:flex; flex-direction:column; line-height:1; }
.brand .bk b{ font-family:var(--serif); font-size:19px; letter-spacing:.04em; }
.brand .bk span{ font-size:10.5px; letter-spacing:.32em; color:var(--gold); text-transform:uppercase; margin-top:3px; }

.nav{ display:flex; align-items:center; gap:4px; }
.nav a{
  position:relative; padding:9px 13px; border-radius:var(--r-sm);
  font-size:14.5px; font-weight:500; color:#dce7f1; transition:background .15s, color .15s;
}
.nav a:hover{ background:rgba(255,255,255,.08); color:#fff; }
.nav a.active{ color:#fff; }
.nav a.active::after{
  content:""; position:absolute; left:13px; right:13px; bottom:2px; height:2px;
  background:var(--gold); border-radius:2px;
}
.header-tools{ display:flex; align-items:center; gap:10px; }
.toggle{
  display:inline-flex; background:rgba(255,255,255,.10); border-radius:999px; padding:3px;
  border:1px solid rgba(255,255,255,.14);
}
.toggle button{
  border:none; background:transparent; color:#cdddec; font-weight:600;
  font-size:12.5px; padding:6px 11px; border-radius:999px; transition:.15s;
}
.toggle button.on{ background:#fff; color:var(--navy); }
.hamburger{ display:none; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.16); color:#fff;
  width:42px; height:42px; border-radius:var(--r-sm); align-items:center; justify-content:center; }
.hamburger .ic{ width:22px; height:22px; }

/* ---------- Hero ---------- */
.hero{ position:relative; color:#fff; }
.hero__media{ position:absolute; inset:0; overflow:hidden; }
.hero__media img{ width:100%; height:100%; object-fit:cover; }
.hero__media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(7,30,55,.55) 0%, rgba(7,30,55,.32) 38%, rgba(7,30,55,.62) 100%);
}
.hero__inner{ position:relative; padding:62px 0 84px; }
.hero__eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-size:13px; font-weight:600;
  letter-spacing:.16em; text-transform:uppercase; color:#fff;
  background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.24);
  padding:8px 15px; border-radius:999px; backdrop-filter:blur(4px);
}
.hero h1{
  font-family:var(--serif); font-weight:600; font-size:clamp(32px, 5vw, 56px);
  letter-spacing:-.01em; margin:18px 0 14px; text-shadow:0 2px 24px rgba(0,20,45,.4); max-width:18ch; line-height:1.08;
}
.hero .lede{ font-size:clamp(16px,1.6vw,20px); max-width:46ch; color:#eaf2f8; text-shadow:0 1px 10px rgba(0,20,45,.35); }
.hero__actions{ display:flex; gap:12px; margin-top:30px; flex-wrap:wrap; }
.hero__ghost{ background:rgba(255,255,255,.12); color:#fff; border:1px solid rgba(255,255,255,.45); backdrop-filter:blur(4px); }
.hero__ghost:hover{ background:rgba(255,255,255,.22); }

/* ---------- Search / availability bar ---------- */
.searchbar{
  position:relative; z-index:5; margin-top:-66px;
  background:#fff; border-radius:var(--r-lg); box-shadow:var(--shadow-lg);
  border:1px solid var(--line);
  padding:8px;
}
.searchbar__gold{ height:4px; border-radius:6px 6px 0 0; background:linear-gradient(90deg,var(--gold),#f0c45e); margin:-8px -8px 8px; }
.searchbar form{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr auto; gap:8px; align-items:stretch; }
.field{
  display:flex; flex-direction:column; gap:3px; justify-content:center;
  background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:10px 14px; min-height:62px;
  transition:border-color .15s, box-shadow .15s;
}
.field:focus-within{ border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-50); }
.field label{ font-size:11px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); display:flex; align-items:center; gap:6px; }
.field label .ic{ width:14px; height:14px; color:var(--blue); }
.field select, .field input, .field .fakeinput{
  border:none; background:transparent; font-family:inherit; font-size:15px; font-weight:600; color:var(--ink);
  padding:2px 0; width:100%; appearance:none; cursor:pointer;
}
.field select:focus,.field input:focus{ outline:none; }
.field .sub{ font-size:12px; color:var(--muted); font-weight:500; }
.searchbar .btn{ align-self:stretch; height:auto; }

/* ---------- Sections ---------- */
.section{ padding:72px 0; }
.section--cream{ background:var(--cream); border-top:1px solid var(--cream-line); border-bottom:1px solid var(--cream-line); }
.section--navy{ background:var(--navy); color:#fff; }
.sec-head{ max-width:640px; margin-bottom:34px; }
.sec-head.center{ margin-left:auto; margin-right:auto; }
.kicker{ font-size:13px; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--blue); margin-bottom:10px; }
.section--navy .kicker{ color:var(--gold); }
.sec-head h2{ font-family:var(--serif); font-size:clamp(26px,3.2vw,40px); letter-spacing:-.01em; }
.sec-head p{ color:var(--muted); font-size:17px; margin-top:12px; }
.section--navy .sec-head p{ color:#c8d8e6; }

/* ---------- Property cards (listing) ---------- */
.cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.pcard{
  background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden;
  box-shadow:var(--shadow-card); display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s;
}
.pcard:hover{ transform:translateY(-4px); box-shadow:var(--shadow-lg); }
.pcard__media{ position:relative; aspect-ratio:4/3; overflow:hidden; background:var(--line-soft); }
.pcard__media img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.pcard:hover .pcard__media img{ transform:scale(1.05); }
.pcard__tag{ position:absolute; top:12px; left:12px; }
.pcard__loc{ position:absolute; bottom:12px; left:12px; display:flex; align-items:center; gap:6px;
  color:#fff; font-size:13px; font-weight:600; text-shadow:0 1px 6px rgba(0,0,0,.5); }
.pcard__loc .ic{ width:15px; height:15px; }
.pcard__body{ padding:18px 18px 20px; display:flex; flex-direction:column; flex:1; }
.pcard__rate{ display:flex; align-items:center; gap:8px; margin-bottom:8px; }
.stars{ display:inline-flex; gap:1px; color:var(--gold); }
.stars .ic{ width:15px; height:15px; fill:currentColor; }
.pcard h3{ font-family:var(--serif); font-size:21px; margin-bottom:6px; }
.pcard__desc{ color:var(--muted); font-size:14.5px; flex:1; }
.pcard__amen{ display:flex; flex-wrap:wrap; gap:7px; margin:14px 0 16px; }
.pcard__amen .mini{ display:inline-flex; align-items:center; gap:5px; font-size:12.5px; color:var(--muted); }
.pcard__amen .mini .ic{ width:15px; height:15px; color:var(--blue); }
.pcard__foot{ display:flex; align-items:flex-end; justify-content:space-between; gap:12px; border-top:1px solid var(--line-soft); padding-top:14px; }
.price{ line-height:1.1; }
.price small{ display:block; font-size:11.5px; color:var(--faint); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
.price b{ font-size:23px; color:var(--navy); }
.price b .cur{ font-size:14px; font-weight:600; color:var(--muted); }
.price .per{ font-size:12px; color:var(--muted); font-weight:500; }

/* ---------- Feature row ---------- */
.features{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.feature{ background:#fff; border:1px solid var(--line); border-radius:var(--r); padding:22px; box-shadow:var(--shadow-sm); }
.feature .ficon{ width:46px; height:46px; border-radius:12px; background:var(--blue-50); color:var(--blue);
  display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.feature .ficon .ic{ width:24px; height:24px; }
.feature h4{ font-size:16px; margin-bottom:5px; }
.feature p{ font-size:14px; color:var(--muted); margin:0; }

/* ---------- Location cards ---------- */
.locgrid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.loccard{ position:relative; border-radius:var(--r-lg); overflow:hidden; aspect-ratio:16/9; box-shadow:var(--shadow-card); }
.loccard img{ width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.loccard:hover img{ transform:scale(1.04); }
.loccard__cap{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding:24px; color:#fff; background:linear-gradient(180deg, transparent 40%, rgba(7,28,52,.78)); }
.loccard__cap h3{ font-family:var(--serif); font-size:26px; }
.loccard__cap p{ margin:6px 0 0; font-size:14px; color:#dbe7f1; }

/* ============================================================
   PROPERTY DETAIL
   ============================================================ */
.breadcrumb{ font-size:13.5px; color:var(--muted); padding:16px 0; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.breadcrumb a:hover{ color:var(--blue); text-decoration:underline; }
.breadcrumb .sep{ color:var(--faint); }

.prop-head{ display:flex; justify-content:space-between; align-items:flex-start; gap:20px; flex-wrap:wrap; margin-bottom:18px; }
.prop-head .stars .ic{ width:17px; height:17px; }
.prop-head h1{ font-family:var(--serif); font-size:clamp(26px,3.4vw,38px); margin:8px 0 8px; }
.prop-head .loc{ display:flex; align-items:center; gap:7px; color:var(--muted); font-size:14.5px; }
.prop-head .loc .ic{ width:16px; height:16px; color:var(--blue); }
.prop-reserve-cta{ text-align:right; }

/* Gallery */
.gallery{ display:grid; grid-template-columns:2fr 1fr 1fr; grid-template-rows:1fr 1fr; gap:8px;
  border-radius:var(--r-lg); overflow:hidden; height:440px; }
.gallery .g{ overflow:hidden; background:var(--line-soft); cursor:pointer; position:relative; }
.gallery .g img{ width:100%; height:100%; object-fit:cover; transition:transform .4s, filter .2s; }
.gallery .g:hover img{ transform:scale(1.05); }
.gallery .g--main{ grid-row:1 / span 2; }
.gallery .g--more{ }
.gallery .g--more::after{
  content:attr(data-more); position:absolute; inset:0; background:rgba(8,28,52,.55); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:18px; gap:8px;
}
.gallery-min{ display:none; }

/* Detail layout */
.detail-grid{ display:grid; grid-template-columns:1fr 360px; gap:32px; align-items:start; margin-top:34px; }
.detail-main > section{ padding-bottom:30px; margin-bottom:30px; border-bottom:1px solid var(--line); }
.detail-main > section:last-child{ border-bottom:none; }
.detail-main h2{ font-family:var(--serif); font-size:26px; margin-bottom:14px; }
.detail-main h3.sub{ font-size:17px; margin:0 0 12px; }
.lede-text{ font-size:16.5px; color:#33424f; }
.lede-text strong{ color:var(--ink); }

.amen-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px 18px; }
.amen-grid .amen{ display:flex; align-items:center; gap:11px; font-size:14.5px; }
.amen-grid .amen .ic{ width:21px; height:21px; color:var(--blue); flex:none; }

.highlights{ display:flex; flex-wrap:wrap; gap:10px; }

/* Reserve panel (sticky) */
.reserve{ position:sticky; top:calc(var(--header-h) + 16px); background:#fff; border:1px solid var(--line);
  border-radius:var(--r-lg); box-shadow:var(--shadow-card); overflow:hidden; }
.reserve__top{ background:linear-gradient(135deg,var(--navy),var(--navy-700)); color:#fff; padding:18px 20px; }
.reserve__top .from{ font-size:12.5px; color:#bcd0e2; text-transform:uppercase; letter-spacing:.06em; font-weight:600; }
.reserve__top .amt{ font-family:var(--serif); font-size:30px; font-weight:600; margin-top:2px; }
.reserve__top .amt .cur{ font-size:16px; color:#cfe0ee; }
.reserve__top .per{ font-size:13px; color:#bcd0e2; }
.reserve__body{ padding:18px 20px 22px; }
.reserve__row{ display:flex; gap:10px; margin-bottom:12px; }
.dt{ flex:1; border:1px solid var(--line); border-radius:var(--r); padding:9px 12px; }
.dt label{ font-size:10.5px; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color:var(--faint); }
.dt .v{ font-size:14px; font-weight:600; margin-top:2px; }
.dt .v.empty{ color:var(--faint); font-weight:500; }
.reserve__note{ font-size:12.5px; color:var(--muted); display:flex; gap:8px; margin-top:14px; }
.reserve__note .ic{ width:16px; height:16px; color:var(--green); flex:none; margin-top:1px; }
.reserve__contacts{ border-top:1px solid var(--line-soft); margin-top:16px; padding-top:14px; display:flex; flex-direction:column; gap:9px; }
.reserve__contacts a{ display:flex; align-items:center; gap:10px; font-weight:600; font-size:15px; color:var(--navy); }
.reserve__contacts a .ic{ width:18px; height:18px; color:var(--blue); }

.sold-banner{ display:flex; align-items:center; gap:12px; background:var(--red-50); border:1px solid #f1c4ba;
  color:var(--red); border-radius:var(--r); padding:14px 16px; font-weight:600; font-size:14.5px; margin-bottom:18px; }
.sold-banner .ic{ width:22px; height:22px; flex:none; }

/* Room / price table */
.room-table{ width:100%; border-collapse:separate; border-spacing:0; border:1px solid var(--line); border-radius:var(--r-lg); overflow:hidden; }
.room-table th, .room-table td{ padding:14px 14px; text-align:center; font-size:14px; border-bottom:1px solid var(--line-soft); }
.room-table thead th{ background:var(--navy); color:#fff; font-weight:600; font-size:12.5px; letter-spacing:.01em; }
.room-table thead th small{ display:block; font-weight:500; color:#bcd0e2; font-size:11px; margin-top:2px; }
.room-table tbody th{ text-align:left; background:var(--blue-50); color:var(--navy); font-weight:700; font-size:14.5px; }
.room-table tbody th small{ display:block; font-weight:500; color:var(--muted); font-size:12px; margin-top:2px; }
.room-table td b{ color:var(--navy); font-size:15px; }
.room-table td .eur{ display:block; color:var(--muted); font-size:12px; margin-top:1px; }
.room-table tbody tr:last-child th, .room-table tbody tr:last-child td{ border-bottom:none; }
.room-table td.peak{ background:#fffbf0; }
.room-table .col-peak{ background:var(--gold)!important; color:var(--navy-900)!important; }
.room-table .col-peak small{ color:#6f5311!important; }

.price-note{ margin-top:16px; display:grid; gap:12px; }
.price-note .pn{ display:flex; gap:10px; font-size:13.5px; color:var(--muted); line-height:1.45; align-items:flex-start; }
.price-note .pn .ic{ width:16px; height:16px; color:var(--blue); flex:none; margin-top:2px; }

/* Availability calendar */
.cal-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.cal{ border:1px solid var(--line); border-radius:var(--r-lg); padding:16px; background:#fff; }
.cal__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.cal__head .m{ font-weight:700; font-size:15.5px; color:var(--navy); font-family:var(--serif); }
.cal__nav{ display:flex; gap:6px; }
.cal__nav button{ width:32px; height:32px; border:1px solid var(--line); background:#fff; border-radius:8px; color:var(--navy);
  display:inline-flex; align-items:center; justify-content:center; }
.cal__nav button:hover{ background:var(--blue-50); border-color:var(--blue); }
.cal__nav button:disabled{ opacity:.35; cursor:default; }
.cal__grid{ display:grid; grid-template-columns:repeat(7,1fr); gap:3px; }
.cal__dow{ text-align:center; font-size:11px; font-weight:700; color:var(--faint); text-transform:uppercase; padding:4px 0; }
.cal__day{ aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; font-size:13.5px; font-weight:600;
  border-radius:8px; position:relative; }
.cal__day.empty{ }
.cal__day.free{ background:var(--green-50); color:var(--green); cursor:pointer; border:1px solid transparent; }
.cal__day.free:hover{ border-color:var(--green); }
.cal__day.booked{ background:#f4f6f8; color:var(--faint); text-decoration:line-through; }
.cal__day.past{ color:#c4ccd3; }
.cal__day.sel{ background:var(--blue); color:#fff; }
.cal__day.inrange{ background:var(--blue-50); color:var(--blue-600); border-radius:0; }
.cal__day.start{ border-radius:8px 0 0 8px; }
.cal__day.end{ border-radius:0 8px 8px 0; }
.cal-legend{ display:flex; gap:18px; margin-top:16px; flex-wrap:wrap; }
.cal-legend .lg{ display:flex; align-items:center; gap:7px; font-size:13px; color:var(--muted); }
.cal-legend .sw{ width:15px; height:15px; border-radius:5px; }
.sw.free{ background:var(--green-50); border:1px solid var(--green); }
.sw.booked{ background:#f4f6f8; border:1px solid var(--line); }
.sw.sel{ background:var(--blue); }

/* Inquiry form */
.form-card{ background:#fff; border:1px solid var(--line); border-radius:var(--r-lg); padding:26px; box-shadow:var(--shadow-card); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.form-grid .full{ grid-column:1 / -1; }
.inp{ display:flex; flex-direction:column; gap:6px; }
.inp label{ font-size:13px; font-weight:600; color:var(--ink); }
.inp input, .inp select, .inp textarea{
  border:1px solid var(--line); border-radius:var(--r); padding:11px 13px; font-family:inherit; font-size:14.5px; color:var(--ink); background:#fff;
}
.inp input:focus, .inp select:focus, .inp textarea:focus{ outline:none; border-color:var(--blue); box-shadow:0 0 0 3px var(--blue-50); }
.inp textarea{ resize:vertical; min-height:96px; }
.form-ok{ background:var(--green-50); border:1px solid #bfe2cb; color:var(--green); padding:14px 16px; border-radius:var(--r);
  font-weight:600; display:flex; align-items:center; gap:10px; }

/* ---------- Lightbox ---------- */
.lightbox{ position:fixed; inset:0; z-index:200; background:rgba(7,18,32,.92); display:flex; align-items:center; justify-content:center; }
.lightbox img{ max-width:90vw; max-height:84vh; border-radius:8px; box-shadow:0 20px 70px rgba(0,0,0,.6); }
.lightbox__close{ position:absolute; top:20px; right:22px; width:46px; height:46px; border-radius:50%;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; display:flex; align-items:center; justify-content:center; }
.lightbox__nav{ position:absolute; top:50%; transform:translateY(-50%); width:52px; height:52px; border-radius:50%;
  background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.25); color:#fff; display:flex; align-items:center; justify-content:center; }
.lightbox__nav.prev{ left:22px; } .lightbox__nav.next{ right:22px; }
.lightbox__nav:hover, .lightbox__close:hover{ background:rgba(255,255,255,.22); }
.lightbox__count{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); color:#fff; font-size:14px;
  background:rgba(0,0,0,.4); padding:6px 14px; border-radius:999px; }

/* ---------- Footer ---------- */
.site-footer{ background:var(--navy-900); color:#c9d6e2; padding:54px 0 26px; }
.foot-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; }
.site-footer h5{ color:#fff; font-size:14px; letter-spacing:.04em; text-transform:uppercase; margin:0 0 16px; }
.site-footer a{ color:#c9d6e2; }
.site-footer a:hover{ color:#fff; }
.foot-col ul{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:10px; font-size:14.5px; }
.foot-col .row{ display:flex; align-items:center; gap:10px; }
.foot-col .row a{ white-space:nowrap; }
.foot-col .row .ic{ width:17px; height:17px; color:var(--gold); flex:none; }
.foot-brand img{ height:54px; margin-bottom:16px; }
.foot-brand p{ font-size:14px; color:#9fb2c4; max-width:30ch; }
.foot-social{ display:flex; gap:10px; margin-top:18px; }
.foot-social a{ width:40px; height:40px; border-radius:10px; background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; }
.foot-social a:hover{ background:var(--blue); }
.foot-social .ic{ width:19px; height:19px; }
.foot-bottom{ border-top:1px solid rgba(255,255,255,.1); margin-top:40px; padding-top:22px; display:flex;
  justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:13px; color:#8 da; color:#8fa3b6; }

/* ---------- Mobile drawer ---------- */
.drawer{ position:fixed; inset:0; z-index:60; display:none; }
.drawer.open{ display:block; }
.drawer__scrim{ position:absolute; inset:0; background:rgba(7,20,38,.5); }
.drawer__panel{ position:absolute; top:0; right:0; bottom:0; width:min(86vw,340px); background:#fff; padding:22px;
  display:flex; flex-direction:column; gap:6px; box-shadow:var(--shadow-lg); }
.drawer__panel a{ padding:14px 12px; border-radius:var(--r); font-weight:600; color:var(--navy); border-bottom:1px solid var(--line-soft); }
.drawer__panel a:hover{ background:var(--blue-50); }
.drawer__head{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.drawer__head button{ background:none; border:none; color:var(--navy); }

/* ---------- Responsive ---------- */
@media (max-width:1000px){
  .cards{ grid-template-columns:1fr 1fr; }
  .features{ grid-template-columns:1fr 1fr; }
  .detail-grid{ grid-template-columns:1fr; }
  .reserve{ position:static; }
  .foot-grid{ grid-template-columns:1fr 1fr; }
  .searchbar form{ grid-template-columns:1fr 1fr; }
  .searchbar .btn{ grid-column:1 / -1; }
}
@media (max-width:820px){
  .nav{ display:none; }
  .hamburger{ display:inline-flex; }
  .brand .bk span{ display:none; }
}
@media (max-width:680px){
  .cards{ grid-template-columns:1fr; }
  .features{ grid-template-columns:1fr; }
  .locgrid{ grid-template-columns:1fr; }
  .amen-grid{ grid-template-columns:1fr 1fr; }
  .cal-wrap{ grid-template-columns:1fr; }
  .form-grid{ grid-template-columns:1fr; }
  .gallery{ display:block; position:relative; height:260px; border-radius:var(--r); }
  .gallery .g{ display:none; }
  .gallery .g--main{ display:block; height:260px; }
  .gallery .gallery-allbtn{ display:inline-flex; }
  .room-table{ min-width:540px; font-size:12.5px; }
  .room-table th, .room-table td{ padding:10px 7px; }
  .foot-grid{ grid-template-columns:1fr; }
  .prop-reserve-cta{ display:none; }
  .section{ padding:48px 0; }
  .hero__inner{ padding:46px 0 60px; }
}
@media (max-width:520px){
  :root{ --header-h:62px; }
  .wrap{ padding:0 16px; }
  .brand{ gap:9px; }
  .brand img{ height:38px; }
  .brand .bk b{ font-size:16px; }
  .header-tools{ gap:6px; }
  .toggle{ padding:2px; }
  .toggle button{ padding:6px 8px; font-size:11.5px; }
  .hamburger{ width:38px; height:38px; }
  .hero__actions{ flex-direction:column; align-items:stretch; }
  .hero__actions .btn{ width:100%; }
  .amen-grid{ grid-template-columns:1fr; }
  .reserve__row{ flex-direction:column; }
  .breadcrumb{ font-size:12.5px; }
  .detail-main h2{ font-size:23px; }
  .prop-head h1{ font-size:27px; }
}

/* Gallery "all photos" button (mobile) */
.gallery-allbtn{ display:none; position:absolute; right:12px; bottom:12px; z-index:2;
  align-items:center; gap:7px; background:rgba(255,255,255,.94); color:var(--navy);
  border:1px solid rgba(255,255,255,.7); border-radius:999px; padding:9px 15px; font-weight:700; font-size:13.5px;
  box-shadow:var(--shadow-md); }
.gallery-allbtn .ic{ width:16px; height:16px; color:var(--blue); }

/* Sticky mobile booking bar (property pages) */
.mobile-bar{ display:none; }
@media (max-width:1000px){
  .mobile-bar{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:55;
    background:#fff; border-top:1px solid var(--line); box-shadow:0 -4px 22px rgba(16,40,66,.13);
    padding:10px 16px calc(10px + env(safe-area-inset-bottom)); align-items:center; justify-content:space-between; gap:14px; }
  .mobile-bar .mb-price small{ display:block; font-size:11px; color:var(--faint); font-weight:600; text-transform:uppercase; letter-spacing:.04em; }
  .mobile-bar .mb-price b{ font-size:19px; color:var(--navy); }
  .mobile-bar .mb-price .cur{ font-size:13px; color:var(--muted); font-weight:600; }
  .mobile-bar .btn{ flex:1; max-width:210px; }
  .site-footer{ padding-bottom:96px; }
}
