/* Gibhavens public website
   Brand: Deep Blue #0B3A5A · Ocean #5FB6CD · Sand Gold #C9A76B · Stone #F8F6F2
   Type: refined serif for headings (Cormorant Garamond), clean sans for text (Jost). */

:root {
  --deep: #0B3A5A;
  --deep-2: #0f4a70;
  --deep-ink: #082c45;
  --ocean: #5FB6CD;
  --ocean-soft: #dff0f5;
  --gold: #C9A76B;
  --gold-deep: #a9864a;
  --gold-soft: #f3ead9;
  --stone: #F8F6F2;
  --stone-2: #efebe3;
  --white: #ffffff;
  --text: #1d3446;
  --muted: #5d6f7c;
  --line: #e4ddd1;
  --danger: #b4452f;
  --success: #2f7d5b;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 58, 90, 0.06), 0 8px 24px rgba(11, 58, 90, 0.08);
  --shadow-lg: 0 20px 50px rgba(8, 44, 69, 0.18);
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--stone);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; color: var(--deep); line-height: 1.1; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 14px;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--deep); color: var(--stone); padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---- Buttons ------------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 0.95rem/1 var(--sans); letter-spacing: 0.04em;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--deep-ink); }
.btn-gold:hover { background: #d6b77f; color: var(--deep-ink); }
.btn-deep { background: var(--deep); color: var(--stone); }
.btn-deep:hover { background: var(--deep-2); color: var(--white); }
.btn-outline { border-color: var(--deep); color: var(--deep); background: transparent; }
.btn-outline:hover { background: var(--deep); color: var(--stone); }
.btn-light { border-color: rgba(248, 246, 242, 0.5); color: var(--stone); background: transparent; }
.btn-light:hover { background: var(--stone); color: var(--deep); }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; }

/* ---- Header ------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(248, 246, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(228, 221, 209, 0.7);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: 0.92rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; color: var(--deep);
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { border-bottom-color: var(--gold); color: var(--deep); }
.nav .btn { padding: 12px 22px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--deep); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--stone); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    box-shadow: 0 16px 30px rgba(11, 58, 90, 0.08);
  }
  .nav:not(.open) { display: none; }
  .nav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; }
  .brand img { height: 40px; }
}

/* ---- Hero --------------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(1200px 500px at 70% -10%, rgba(95, 182, 205, 0.22), transparent 60%), linear-gradient(180deg, var(--deep) 0%, var(--deep-ink) 100%);
  color: var(--stone);
  padding: clamp(56px, 9vw, 110px) 0 clamp(120px, 14vw, 170px);
}
.hero::after {
  /* ocean lines, echoing the logo's water */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent 12%, rgba(95, 182, 205, 0.35) 30%, rgba(95, 182, 205, 0.35) 70%, transparent 88%) center 26px / 100% 3px no-repeat,
    linear-gradient(90deg, transparent 22%, rgba(95, 182, 205, 0.25) 38%, rgba(95, 182, 205, 0.25) 62%, transparent 78%) center 48px / 100% 3px no-repeat,
    linear-gradient(90deg, transparent 32%, rgba(201, 167, 107, 0.35) 44%, rgba(201, 167, 107, 0.35) 56%, transparent 68%) center 70px / 100% 3px no-repeat;
}
/* Photo hero: the picture fills the screen, dimmed under a deep-blue wash so
   the headline and the search bar stay readable over it. */
.hero-photo {
  display: flex; align-items: center;
  min-height: min(calc(100svh - 76px), 680px);
  padding: clamp(36px, 5vw, 64px) 0 clamp(72px, 8vw, 104px);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media picture { display: block; height: 100%; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; display: block; }
.hero-photo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 32, 51, 0.5) 0%, rgba(8, 44, 69, 0.3) 36%, rgba(6, 32, 51, 0.72) 100%),
    radial-gradient(900px 440px at 50% 44%, rgba(6, 32, 51, 0.22), transparent 72%);
}
/* The drawn "ocean lines" read as scratches over a photograph. */
.hero-photo::after { display: none; }
.hero-inner { position: relative; z-index: 3; text-align: center; }
.hero-photo h1, .hero-photo .lede { text-shadow: 0 2px 18px rgba(4, 24, 39, 0.45); }
@media (max-width: 700px) {
  .hero-photo { min-height: min(calc(100svh - 76px), 640px); padding-bottom: clamp(48px, 10vw, 84px); }
}
.hero-mark { width: 150px; margin: 0 auto 26px; opacity: 0.95; }
.hero .eyebrow { color: var(--gold); }
.hero h1 { color: var(--stone); margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lede { color: rgba(248, 246, 242, 0.82); margin: 0 auto 36px; }

.search {
  display: grid; grid-template-columns: 1.1fr 1.1fr 0.8fr auto; gap: 10px; align-items: end;
  background: var(--white); color: var(--text); text-align: left;
  border-radius: 20px; padding: 14px; box-shadow: var(--shadow-lg);
  max-width: 860px; margin: 0 auto;
}
.search .field { margin: 0; }
.search .btn { height: 52px; }
@media (max-width: 760px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .field-guests { grid-column: 1 / -1; }
  .search .btn { grid-column: 1 / -1; }
}

/* ---- Forms -------------------------------------------------------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.input, .select, .textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 14px; min-height: 52px; transition: border-color 0.15s, box-shadow 0.15s;
}
.search .input, .search .select { background: var(--stone); border-color: transparent; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ocean); box-shadow: 0 0 0 3px rgba(95, 182, 205, 0.25); }
.textarea { min-height: 140px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--deep); flex-shrink: 0; }
.hint { font-size: 0.85rem; color: var(--muted); }
.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.95rem; margin: 12px 0; }
.alert-error { background: #fbeee9; color: var(--danger); border: 1px solid #f1d0c6; }
.alert-success { background: #e8f4ee; color: var(--success); border: 1px solid #cfe6da; }
.alert-info { background: var(--ocean-soft); color: var(--deep); border: 1px solid #c3e2eb; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Sections ----------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-tight { padding: clamp(40px, 6vw, 64px) 0; }
.section-white { background: var(--white); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }

/* ---- Stay cards --------------------------------------------------------------- */
.stays-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px; }
.stay-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.stay-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.stay-media { position: relative; aspect-ratio: 3 / 2; background: var(--stone-2); }
.stay-media img { width: 100%; height: 100%; object-fit: cover; }
.badge {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: rgba(248, 246, 242, 0.95); color: var(--deep); border-radius: 999px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; padding: 6px 12px; font-weight: 500;
}
.badge-gold { background: var(--gold); color: var(--deep-ink); }
.stay-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.stay-area { font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.stay-card h3 { margin: 0; font-size: 1.65rem; }
.stay-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.92rem; color: var(--muted); margin: 0; padding: 0; list-style: none; }
.stay-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.price { font-family: var(--serif); font-size: 1.5rem; color: var(--deep); font-weight: 600; }
.price small { font-family: var(--sans); font-size: 0.85rem; color: var(--muted); font-weight: 400; }
.stay-link { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--deep); }
.availability-tag { font-size: 0.85rem; font-weight: 500; }
.availability-tag.ok { color: var(--success); }
.availability-tag.no { color: var(--danger); }
.stay-card.unavailable { opacity: 0.72; }

/* ---- Features ----------------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .features { grid-template-columns: 1fr; } }
.feature { padding: 28px 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.feature-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-deep); display: grid; place-items: center; margin-bottom: 16px; }
.feature-icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.4rem; margin-bottom: 6px; }
.feature p { font-size: 0.97rem; color: var(--muted); margin: 0; }

/* ---- Split / about ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.logo-panel { background: var(--white); border-radius: 24px; padding: clamp(28px, 5vw, 56px); box-shadow: var(--shadow); }
.values { display: grid; gap: 18px; margin: 28px 0 0; padding: 0; list-style: none; }
.values li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; }
.values li::before { content: ""; width: 28px; height: 2px; background: var(--gold); margin-top: 14px; }
.values strong { display: block; font-family: var(--serif); font-size: 1.35rem; color: var(--deep); font-weight: 600; }

/* ---- CTA band ----------------------------------------------------------------- */
.cta-band { background: var(--deep); color: var(--stone); border-radius: 24px; padding: clamp(36px, 6vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cta-band h2 { color: var(--stone); margin-bottom: 8px; }
.cta-band p { color: rgba(248, 246, 242, 0.8); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---- Footer ------------------------------------------------------------------- */
.site-footer { background: var(--deep-ink); color: rgba(248, 246, 242, 0.78); padding: 64px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-logo { width: 230px; margin-bottom: 14px; }
.site-footer h4 { font-family: var(--sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: rgba(248, 246, 242, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(248, 246, 242, 0.12); margin-top: 44px; padding-top: 22px; font-size: 0.85rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---- Page header -------------------------------------------------------------- */
.page-head { background: var(--deep); color: var(--stone); padding: clamp(48px, 7vw, 80px) 0; position: relative; overflow: hidden; }
.page-head h1 { color: var(--stone); font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 10px; }
.page-head .lede { color: rgba(248, 246, 242, 0.8); margin: 0; }
.page-head .eyebrow { color: var(--gold); }
.breadcrumb { font-size: 0.85rem; letter-spacing: 0.06em; margin-bottom: 16px; }
.breadcrumb a { color: rgba(248, 246, 242, 0.75); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold); }

/* ---- Property page ------------------------------------------------------------ */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 10px; height: clamp(280px, 48vw, 520px); margin: 28px 0 0; border-radius: 20px; overflow: hidden; }
.gallery figure { margin: 0; position: relative; background: var(--stone-2); overflow: hidden; }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; height: 280px; border-radius: 16px; }
  .gallery figure { flex: 0 0 88%; scroll-snap-align: start; border-radius: 12px; }
}
.stay-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(28px, 5vw, 64px); align-items: start; padding: 44px 0 90px; }
@media (max-width: 1000px) { .stay-layout { grid-template-columns: 1fr; } }
.stay-title h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); margin-bottom: 6px; }
.fact-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 28px; padding: 0; list-style: none; }
.fact-row li { background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 0.93rem; }
.prose { max-width: 68ch; }
.prose p { font-size: 1.05rem; }
.subsection { border-top: 1px solid var(--line); padding-top: 30px; margin-top: 34px; }
.subsection h2 { font-size: 1.9rem; }
.tick-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px 24px; list-style: none; padding: 0; margin: 0; }
.tick-list li { display: flex; gap: 10px; align-items: baseline; }
.tick-list li::before { content: ""; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: var(--ocean); transform: translateY(-2px); }
.notice { background: var(--gold-soft); border: 1px solid #e7d6b6; color: #6d5424; border-radius: var(--radius-sm); padding: 14px 16px; font-size: 0.95rem; margin: 0 0 24px; }

/* ---- Booking card ------------------------------------------------------------- */
.booking-card { position: sticky; top: 100px; background: var(--white); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 26px; scroll-margin-top: 100px; }
@media (max-width: 1000px) { .booking-card { position: static; } }
.booking-card h2 { font-size: 1.8rem; margin: 0 0 4px; }
.booking-card .price-line { color: var(--muted); font-size: 0.95rem; margin-bottom: 18px; }
.date-summary { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; }
.date-summary button { background: var(--white); border: 0; text-align: left; padding: 10px 14px; cursor: pointer; font: inherit; }
.date-summary button + button { border-left: 1px solid var(--line); }
.date-summary button.active { box-shadow: inset 0 -3px 0 var(--gold); }
.date-summary .label { display: block; }
.date-summary .value { display: block; font-weight: 500; color: var(--deep); min-height: 1.6em; }
.date-summary .value.empty { color: #9aa7b0; font-weight: 400; }

.calendar { user-select: none; margin-bottom: 8px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head strong { font-family: var(--serif); font-size: 1.3rem; color: var(--deep); font-weight: 600; }
.cal-nav { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; color: var(--deep); display: grid; place-items: center; }
.cal-nav:disabled { opacity: 0.35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { text-align: center; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--muted); padding: 6px 0; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; border: 0; background: transparent; border-radius: 50%; font: 400 0.95rem var(--sans); color: var(--text);
  cursor: pointer; position: relative;
}
.cal-day:hover:not(:disabled) { background: var(--ocean-soft); }
.cal-day:disabled { color: #b9c2c8; cursor: default; }
.cal-day.booked { text-decoration: line-through; text-decoration-color: #c9d0d4; }
.cal-day.in-range { background: var(--ocean-soft); border-radius: 0; }
.cal-day.start, .cal-day.end { background: var(--deep); color: var(--stone); border-radius: 50%; }
.cal-day.today::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--gold); }
.cal-legend { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--muted); margin: 6px 0 16px; }
.link-button { background: none; border: 0; padding: 0; color: var(--deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font: inherit; font-size: 0.85rem; }

.guests { display: grid; gap: 10px; margin-bottom: 16px; }
.stepper { display: flex; align-items: center; justify-content: space-between; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 8px 10px 8px 14px; }
.stepper span small { display: block; color: var(--muted); font-size: 0.82rem; }
.stepper-controls { display: flex; align-items: center; gap: 12px; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-size: 1.2rem; color: var(--deep); line-height: 1; }
.stepper button:disabled { opacity: 0.35; cursor: default; }
.stepper output { min-width: 18px; text-align: center; font-weight: 500; }

.quote { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.quote-row { display: flex; justify-content: space-between; gap: 12px; font-size: 0.97rem; padding: 4px 0; }
.quote-total { font-family: var(--serif); font-size: 1.5rem; color: var(--deep); font-weight: 600; border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; }
.secure-note { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.secure-note svg { width: 14px; height: 14px; }
.back-link { margin-bottom: 14px; }
.spinner { width: 18px; height: 18px; border: 2px solid rgba(8, 44, 69, 0.25); border-top-color: currentColor; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.mobile-book-bar { display: none; }
@media (max-width: 1000px) {
  .mobile-book-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    background: var(--white); border-top: 1px solid var(--line); padding: 12px var(--gutter);
    align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(11, 58, 90, 0.08);
  }
  .mobile-book-bar .price { font-size: 1.25rem; }
  body.has-book-bar { padding-bottom: 78px; }
}

/* ---- Status / confirmation ----------------------------------------------------- */
.status-card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px); max-width: 680px; margin: 0 auto; text-align: center; }
.status-icon { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.status-icon svg { width: 30px; height: 30px; }
.status-icon.ok { background: #e8f4ee; color: var(--success); }
.status-icon.wait { background: var(--ocean-soft); color: var(--deep); }
.status-icon.bad { background: #fbeee9; color: var(--danger); }
.summary-table { width: 100%; border-collapse: collapse; margin: 22px 0; text-align: left; }
.summary-table th, .summary-table td { padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.98rem; }
.summary-table th { font-weight: 400; color: var(--muted); }
.summary-table td { text-align: right; font-weight: 500; }
.reference { font-family: var(--serif); font-size: 2rem; color: var(--gold-deep); font-weight: 600; }

/* ---- Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.card { background: var(--white); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(24px, 4vw, 40px); }
.contact-aside dl { margin: 0; display: grid; gap: 18px; }
.contact-aside dt { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-deep); }
.contact-aside dd { margin: 4px 0 0; font-size: 1.05rem; }

/* ---- Legal -------------------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.8rem; margin-top: 1.6em; }
.draft-banner { background: var(--gold-soft); border: 1px solid #e7d6b6; border-radius: var(--radius-sm); padding: 16px 18px; color: #6d5424; margin-bottom: 28px; }

/* ---- Empty / 404 -------------------------------------------------------------- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }
.not-found { text-align: center; padding: clamp(60px, 12vw, 140px) 0; }
.not-found img { width: 140px; margin: 0 auto 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---- Utilities (no inline styles: the CSP blocks them) ----------------------- */
.m0 { margin: 0 !important; }
.mb-sm { margin-bottom: 8px !important; }
.mb-lg { margin-bottom: 44px; }
.mt-md { margin-top: 16px !important; }
.pt-0 { padding-top: 0 !important; }
.pt-md { padding-top: 48px !important; }
.bg-stone { background: var(--stone-2); }
.spacer { height: clamp(40px, 7vw, 90px); }
.muted { color: var(--muted); }
.optional { text-transform: none; letter-spacing: 0; }
.justify-center { justify-content: center; }
.lede-dark { color: var(--text); }
.lede-center { margin: 0 auto 28px; }
.breadcrumb-light { padding-top: 28px; }
.breadcrumb-light a { color: var(--muted); }
.breadcrumb-light a:hover { color: var(--gold-deep); }
.textarea[data-short] { min-height: 90px; }
.status-title { font-size: 2.4rem; }
.status-card .lede { margin-inline: auto; }
.not-found .status-title { font-size: 3rem; }

/* ---- Review fixes ------------------------------------------------------------ */
/* Cormorant defaults to old-style figures ("4o8"); use lining figures for numbers. */
h1, h2, h3, h4, .price, .quote-total, .reference, .cal-head strong, .values strong, .stat-number { font-variant-numeric: lining-nums; }
/* Icons inside buttons */
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
/* Grid children (date inputs) must be allowed to shrink below their intrinsic width */
.search > *, .field-row > *, .date-summary > * { min-width: 0; }
.input, .select { min-width: 0; }
/* Card footers line up across a row */
.stay-foot { min-height: 58px; align-items: center; }
/* Logos inside panels stay a sensible size */
.logo-panel { display: flex; justify-content: center; }
.logo-panel img { width: 100%; max-width: 380px; height: auto; }
.contact-aside img { width: 100%; max-width: 200px; height: auto; margin-top: 32px; }

/* ---- Corporate stays ------------------------------------------------------------ */
.hero-compact { min-height: min(calc(100svh - 76px), 520px); padding: clamp(40px, 6vw, 72px) 0 clamp(48px, 7vw, 80px); }
.hero-compact .lede { color: rgba(248, 246, 242, 0.88); margin: 0 auto 28px; }
.hero-compact .btn-gold { text-shadow: none; }

.stat-panel {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px;
  background: var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow);
}
.stat { background: var(--white); padding: clamp(22px, 3vw, 34px); display: grid; gap: 6px; align-content: start; }
.stat-number { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; color: var(--deep); font-weight: 600; }
.stat-label { font-size: 0.92rem; color: var(--muted); }
@media (max-width: 460px) { .stat-panel { grid-template-columns: 1fr; } }

.benefit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit { background: var(--white); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.benefit h3 { font-size: 1.35rem; margin-bottom: 8px; }
.benefit p { font-size: 0.97rem; color: var(--muted); margin: 0; }

.showcase-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
/* One or two apartments would sit stranded at one side of a wide grid. */
.showcase-few { grid-template-columns: repeat(auto-fit, minmax(300px, 460px)); justify-content: center; }
.prose-centre { margin-inline: auto; }
.showcase-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.showcase-media { aspect-ratio: 4 / 3; background: var(--stone-2); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; }
.showcase-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
.showcase-body h3 { margin: 0; font-size: 1.55rem; }
.showcase-body .stay-link { margin-top: auto; padding-top: 12px; }

.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.35rem; line-height: 1.4; color: var(--deep); }
.review blockquote::before { content: "\201C"; color: var(--gold); }
.review blockquote::after { content: "\201D"; color: var(--gold); }
.review figcaption { margin-top: auto; font-size: 0.9rem; color: var(--muted); display: grid; gap: 2px; }
.review figcaption span { font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-deep); }

/* ---- About Gibraltar ------------------------------------------------------------- */
.facts-panel { background: var(--white); border-radius: 20px; padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow); }
.facts-title { font-size: 1.5rem; margin-bottom: 20px; }
.facts-panel dl { margin: 0; display: grid; gap: 18px; }
.facts-panel dt { font-family: var(--serif); font-size: 1.2rem; color: var(--deep); }
.facts-panel dd { margin: 4px 0 0; color: var(--muted); font-size: 0.97rem; }

.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 960px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .highlight-grid { grid-template-columns: 1fr; } }
.highlight {
  position: relative; background: var(--stone); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px 26px;
}
.highlight-number {
  font-family: var(--serif); font-variant-numeric: lining-nums; font-size: 2.6rem; line-height: 1;
  color: var(--ocean); opacity: 0.5; display: block; margin-bottom: 10px;
}
.highlight-tag {
  display: inline-block; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--gold-deep); background: var(--gold-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.highlight h3 { font-size: 1.45rem; margin-bottom: 8px; }
.highlight p { font-size: 0.97rem; color: var(--muted); margin: 0; }

.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; margin-top: 8px; }
.place { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; }
.place-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.place-head h3 { margin: 0; font-size: 1.4rem; }
.place-tag { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep); background: var(--ocean-soft); border-radius: 999px; padding: 4px 12px; }
.place-area { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: -4px 0 0; }
.place-offer { display: flex; gap: 10px; align-items: flex-start; background: var(--gold-soft); border-radius: var(--radius-sm); padding: 12px 14px; margin: 0; font-size: 0.95rem; color: var(--deep); }
.place-offer svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--gold-deep); }
.place-link { margin-top: auto; padding-top: 8px; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }

.partner-note {
  margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  border: 1px dashed var(--gold); border-radius: var(--radius); padding: 22px 26px; background: rgba(201, 167, 107, 0.07);
}
.partner-note p { margin: 0; color: var(--deep); }

/* ---- Language menu --------------------------------------------------------------- */
.lang { position: relative; }
.lang > summary {
  display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none;
  font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--deep);
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; background: var(--white);
}
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
.lang[open] > summary::after { transform: rotate(225deg) translate(-1px, -1px); }
.lang > summary:hover { border-color: var(--gold); }
.lang .lang-name { display: none; }
.lang-list {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 50; min-width: 190px;
  list-style: none; margin: 0; padding: 6px;
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg);
}
.lang-list a {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--text); font-size: 0.95rem; letter-spacing: 0;
}
.lang-list a:hover { background: var(--stone); color: var(--deep); }
.lang-list a[aria-current="true"] { background: var(--ocean-soft); color: var(--deep); font-weight: 500; }
.lang-list .lang-code { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); min-width: 22px; }

@media (max-width: 860px) {
  /* In the mobile menu the languages sit inline, not in a floating panel. */
  .lang { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 4px; }
  .lang > summary { border: 0; padding: 6px 0; background: none; }
  .lang .lang-name { display: inline; }
  .lang-list { position: static; box-shadow: none; border: 0; padding: 4px 0 0; min-width: 0; }
  .lang-list a { padding: 12px 0; }
}

/* ---- Corporate page ------------------------------------------------------------- */
.hero-corporate { min-height: min(calc(100svh - 76px), 620px); align-items: center; }
.hero-corporate::before {
  background:
    linear-gradient(100deg, rgba(6, 32, 51, 0.82) 0%, rgba(6, 32, 51, 0.6) 42%, rgba(8, 44, 69, 0.25) 78%),
    linear-gradient(180deg, rgba(6, 32, 51, 0.25), rgba(6, 32, 51, 0.45));
}
.hero-left { text-align: left; max-width: 1200px; }
.hero-left .lede { margin-inline: 0; max-width: 52ch; }
.hero-left h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); max-width: 18ch; line-height: 1.12; }
.btn-arrow { margin-left: 2px; }

.h2-tight { max-width: 16ch; }
.split-even { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 860px) { .split-even { grid-template-columns: 1fr; } }
.photo-panel { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.photo-panel img { width: 100%; height: 100%; object-fit: cover; display: block; }

.benefit-grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .benefit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefit-grid { grid-template-columns: 1fr; } }
.benefit { border: 1px solid var(--line); border-top: 1px solid var(--line); background: var(--white); box-shadow: none; }
.benefit-icon { color: var(--deep); margin-bottom: 14px; }
.benefit-icon svg { width: 30px; height: 30px; }
.benefit h3 { font-size: 1.3rem; }

/* Full-width photo band with text over it. */
.band { position: relative; overflow: hidden; color: var(--stone); padding: clamp(56px, 8vw, 96px) 0; }
.band-media { position: absolute; inset: 0; z-index: 0; }
.band-media picture, .band-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(95deg, rgba(6, 32, 51, 0.86) 0%, rgba(6, 32, 51, 0.62) 45%, rgba(6, 32, 51, 0.2) 85%);
}
.band-inner { position: relative; z-index: 2; }
.band-inner h2 { color: var(--stone); max-width: 14ch; margin-bottom: 14px; }
.band-inner p { color: rgba(248, 246, 242, 0.88); max-width: 58ch; margin-bottom: 26px; }
.band-inner .eyebrow { color: var(--gold); }

.enquiry-card {
  display: grid; grid-template-columns: 1.25fr 0.75fr; gap: clamp(28px, 5vw, 64px);
  background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: clamp(28px, 5vw, 56px);
}
@media (max-width: 860px) { .enquiry-card { grid-template-columns: 1fr; } }
.enquiry-card form { margin-top: 26px; }
.enquiry-details { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 36px); }
@media (max-width: 860px) { .enquiry-details { border-left: 0; border-top: 1px solid var(--line); padding: 26px 0 0; } }
.enquiry-details div { margin-bottom: 22px; }
.enquiry-details dt { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.enquiry-details dd { margin: 0; font-size: 1.02rem; color: var(--deep); }
.enquiry-note { color: var(--muted); font-size: 0.95rem; margin: 0; }

.strapline {
  text-align: center; padding: 34px 0 40px; background: var(--stone);
  font-size: 0.78rem; letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted);
}

/* ---- Header with the logo centred ------------------------------------------------ */
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav-left { justify-self: start; }
.nav-right { justify-self: end; }
.brand {
  justify-self: center; position: relative; z-index: 2;
  background: var(--white); border: 1px solid var(--line); border-top: 0;
  border-radius: 0 0 20px 20px; padding: 16px 30px 18px; margin-bottom: -22px;
  box-shadow: 0 14px 30px rgba(11, 58, 90, 0.10);
}
.brand img { height: 54px; }

@media (max-width: 860px) {
  /* The menu drops below the bar in normal flow, so both halves stack. */
  .header-inner { grid-template-columns: 44px 1fr 44px; row-gap: 0; }
  .nav-toggle { grid-column: 1; grid-row: 1; justify-self: start; margin: 0; }
  .brand { grid-column: 2; grid-row: 1; background: none; border: 0; box-shadow: none; padding: 0; margin: 0; border-radius: 0; }
  .brand img { height: 40px; }
  .nav-left, .nav-right {
    position: static; inset: auto; grid-column: 1 / -1; justify-self: stretch;
    margin-inline: calc(var(--gutter) * -1); box-shadow: none; padding-block: 0;
  }
  .nav-left { padding-top: 8px; }
  .nav-right { padding-bottom: 20px; box-shadow: 0 16px 30px rgba(11, 58, 90, 0.08); }
  .nav-right .lang { margin-top: 0; }
}

/* ---- Blog ------------------------------------------------------------------------ */
.container-narrow { max-width: 760px; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }
.post-card {
  display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: inherit; }
.post-media { aspect-ratio: 16 / 10; background: var(--stone-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { display: flex; flex-direction: column; gap: 10px; padding: 24px 24px 26px; }
.post-body h2 { font-size: 1.6rem; margin: 0; }
.post-date { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-deep); }
.post-body .stay-link { margin-top: auto; padding-top: 12px; }

.post { padding-top: clamp(28px, 5vw, 48px); }
.post-head { margin: 18px 0 clamp(24px, 4vw, 40px); }
.post-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 10px 0 14px; }
.post-cover { margin: 0 0 clamp(28px, 5vw, 48px); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.post-cover img { width: 100%; height: auto; display: block; }

/* Whatever the writer formatted in the dashboard, shown the same way here. */
.post-content { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.post-content h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin: 1.6em 0 0.5em; }
.post-content h3 { font-size: 1.45rem; margin: 1.5em 0 0.4em; }
.post-content h4 { font-size: 1.2rem; margin: 1.4em 0 0.4em; font-family: var(--sans); font-weight: 500; }
.post-content p { margin: 0 0 1.15em; }
.post-content ul, .post-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.post-content li { margin-bottom: 0.45em; }
.post-content a { color: var(--deep); text-decoration-color: var(--gold); }
.post-content blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-size: 1.35rem; line-height: 1.45; color: var(--deep);
}
.post-content hr { border: 0; border-top: 1px solid var(--line); margin: 2.2em 0; }
.post-content img { border-radius: 14px; }
.post-content figure { margin: 1.8em 0; }
.post-content figure img { width: 100%; height: auto; display: block; }
.post-content figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--muted); text-align: center; }
/* A picture placed full width, wider than the words around it. */
.post-content .post-figure-wide { margin-inline: clamp(-40px, -6vw, 0px); }
.post-foot { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(32px, 5vw, 56px); padding-top: 28px; border-top: 1px solid var(--line); }

/* ---- Photos, full screen ------------------------------------------------- */

.can-zoom { cursor: zoom-in; }
.can-zoom:focus-visible { outline: 3px solid var(--gold, #c9a96e); outline-offset: 3px; }

/* A quiet hint that a photo opens, without cluttering the page. */
.gallery figure.can-zoom::after {
  content: "";
  position: absolute; inset: 0;
  background: rgba(10, 12, 16, 0);
  transition: background 0.2s ease;
  pointer-events: none;
}
.gallery figure.can-zoom:hover::after { background: rgba(10, 12, 16, 0.14); }

.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  background: rgba(8, 10, 14, 0.94);
  opacity: 0;
  transition: opacity 0.18s ease;
  padding: env(safe-area-inset-top) 0 env(safe-area-inset-bottom);
  touch-action: none;
}
.lightbox.is-open { opacity: 1; }
body.lightbox-open { overflow: hidden; }

.lightbox-stage {
  margin: 0; max-width: 100%; max-height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: 56px 16px;
}
.lightbox-stage img {
  max-width: min(1400px, 94vw);
  max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain;
  border-radius: 10px;
  transition: transform 0.22s ease, opacity 0.22s ease;
  -webkit-user-select: none; user-select: none; -webkit-user-drag: none;
}
.lightbox-stage figcaption {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px; text-align: center; max-width: 72ch;
}

.lightbox-close, .lightbox-step {
  position: absolute; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff; font-size: 30px; line-height: 1; cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.lightbox-close:hover, .lightbox-step:hover { background: rgba(255, 255, 255, 0.22); }
.lightbox-close:active, .lightbox-step:active { transform: scale(0.94); }
.lightbox-close:focus-visible, .lightbox-step:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.lightbox-close { top: calc(16px + env(safe-area-inset-top)); right: 16px; font-size: 34px; }
.lightbox-step { top: 50%; margin-top: -26px; }
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }

.lightbox-count {
  position: absolute; bottom: calc(18px + env(safe-area-inset-bottom)); left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px; letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 14px; border-radius: 999px;
}

@media (max-width: 760px) {
  /* On a phone the photo fills the screen and swiping does the work. */
  .lightbox-step { display: none; }
  .lightbox-stage { padding: 56px 8px; }
  .lightbox-stage img { max-width: 100vw; max-height: 78vh; border-radius: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-stage img, .lightbox-close, .lightbox-step { transition: none; }
}

/* ---- Reviews ------------------------------------------------------------- */

.review-empty {
  text-align: center; max-width: 54ch; margin: 0 auto;
  padding: 36px 24px; border: 1px dashed var(--stone-3, #d8d3cb); border-radius: 18px;
}
.review-empty .lede { margin: 0 0 6px; }
.review-empty p { margin: 0 0 18px; color: var(--ink-soft, #5b6270); }

.review-stars { display: block; margin-bottom: 10px; letter-spacing: 2px; color: var(--gold, #c9a96e); }
.review-stars .dim { opacity: 0.26; }

.quote-note { display: block; font-size: 12px; color: var(--ink-soft, #6b7280); margin-top: 2px; }

/* ---- FAQ ----------------------------------------------------------------- */

.faq { display: grid; gap: 12px; }
.faq-split { grid-template-columns: 0.8fr 1.2fr; align-items: start; }
@media (max-width: 860px) { .faq-split { grid-template-columns: 1fr; } }
.faq-item { background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
.faq-item + .faq-item { margin: 0; }
.faq-item summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 20px 60px 20px 26px;
  font-family: var(--serif); font-size: 1.2rem; color: var(--deep);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; position: absolute; right: 26px; top: 50%; margin-top: -7px;
  width: 9px; height: 9px; border-right: 2px solid var(--gold-deep); border-bottom: 2px solid var(--gold-deep);
  transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq-item summary:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 2px; border-radius: 16px; }
.faq-answer { padding: 0 26px 24px; color: var(--muted); max-width: 70ch; }
.faq-answer p { margin: 0; }
.faq-more { margin-top: 22px; max-width: 34ch; }

@media (prefers-reduced-motion: reduce) {
  .faq-item summary::after { transition: none; }
}

/* ---- Discount code ------------------------------------------------------- */

.discount { margin-top: 12px; }
.discount-row { display: flex; gap: 8px; }
.discount-row .input { flex: 1; }
.discount-row .btn { flex: none; padding: 10px 16px; }
.quote-saving span:last-child { color: #2f7d5c; }
.discount-on { margin: 0; font-size: 0.88rem; color: #2f7d5c; }
.discount-off { margin: 0 0 8px; font-size: 0.88rem; color: #9b2c22; }
