/* ============================================================
   Ocean Stay by Syn — design system
   Navy + gold, taken from the Delegate Information deck.
   Tokens first, then primitives, then page blocks.
   ============================================================ */

:root {
  /* brand */
  --navy-900: #061B3D;
  --navy-800: #0B2A5B;
  --navy-700: #123A73;
  --navy-600: #1B4A8F;
  --navy-500: #2E6394;
  --gold-600: #C4860F;
  --gold-500: #F0A830;
  --gold-400: #FFBC50;
  --gold-tint: #FFF4E2;
  --gold-line: #F3D6A0;

  /* neutrals */
  --ink: #0B2A5B;
  --text: #223247;
  --muted: #5A6B85;
  --faint: #8B99AD;
  --paper: #F5F8FC;
  --ice: #E9F0F9;
  --surface: #ffffff;
  --line: #DCE5F0;
  --line-strong: #C3D1E3;

  /* status */
  --ok: #2F7D4F;
  --ok-bg: #E7F3EC;
  --warn: #A76A12;
  --warn-bg: #FDF3E2;
  --bad: #B3261E;
  --bad-bg: #FBEBE9;

  /* type */
  --display: 'Iowan Old Style', 'Palatino Linotype', Palatino, 'Book Antiqua', Georgia, serif;
  --sans: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* shape */
  --gutter: 24px;
  --max: 1200px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-sm: 0 1px 2px rgb(11 42 91 / 8%), 0 4px 12px rgb(11 42 91 / 6%);
  --shadow-md: 0 2px 6px rgb(11 42 91 / 8%), 0 14px 34px rgb(11 42 91 / 10%);
  --shadow-lg: 0 6px 14px rgb(11 42 91 / 10%), 0 28px 64px rgb(11 42 91 / 18%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p { margin: 0; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.15; font-weight: 800; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }

/* The deck sets apartment names in a heavy serif. */
.serif { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; }

::selection { background: var(--gold-500); color: var(--navy-900); }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 4px; }

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

/* ---------- layout ---------- */

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.stack > * + * { margin-top: var(--gap, 16px); }
.section { padding-block: clamp(52px, 7vw, 92px); }
.section--tight { padding-block: clamp(36px, 5vw, 60px); }
.section--navy { background: var(--navy-800); color: #D3DEEE; }
.section--navy h2, .section--navy h3 { color: #fff; }
.section--ice { background: var(--ice); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

.eyebrow {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600); font-weight: 700;
}
.section--navy .eyebrow { color: var(--gold-400); }
.lede { font-size: 1.05rem; color: var(--muted); max-width: 60ch; }
.section--navy .lede { color: #B9C8DC; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.num { font-variant-numeric: tabular-nums; }

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 34px;
}

/* The deck's signature banner: uppercase title, gold subtitle, gold rule. */
.banner { text-align: center; margin-bottom: 40px; }
.banner h2 { text-transform: uppercase; }
.banner p { color: var(--gold-600); font-weight: 600; margin-top: 6px; }
.banner::after {
  content: ''; display: block; width: 64px; height: 3px; border-radius: 2px;
  background: var(--gold-500); margin: 16px auto 0;
}
.section--navy .banner p { color: var(--gold-400); }

/* ---------- buttons ---------- */

.btn {
  --btn-bg: var(--navy-800); --btn-fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: .94rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn--gold { --btn-bg: var(--gold-500); --btn-fg: var(--navy-900); }
.btn--gold:hover { --btn-bg: var(--gold-400); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface); }
.btn--onnavy { --btn-bg: transparent; --btn-fg: #fff; border-color: rgb(255 255 255 / 35%); }
.btn--onnavy:hover { background: rgb(255 255 255 / 10%); }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 30px; font-size: 1rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn--danger { color: var(--bad); border-color: #E7C3BF; background: transparent; }
.btn--danger:hover { background: var(--bad-bg); }

/* ---------- header ---------- */

.header {
  position: sticky; top: 0; z-index: 60;
  background: var(--navy-800); color: #fff;
  border-bottom: 3px solid var(--gold-500);
}
.header__inner { display: flex; align-items: center; gap: 26px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: #fff; margin-right: auto; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(150deg, var(--gold-400), var(--gold-600));
  display: grid; place-items: center;
}
.logo__mark svg { width: 22px; height: 22px; stroke: var(--navy-900); fill: none; stroke-width: 1.6; stroke-linejoin: round; }
.logo__text { display: grid; line-height: 1.15; }
.logo__name { font-weight: 800; font-size: 1rem; letter-spacing: .02em; text-transform: uppercase; }
.logo__sub { font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-400); }

.nav { display: flex; gap: 24px; }
.nav a {
  text-decoration: none; font-size: .9rem; color: #C7D4E6; padding-block: 4px;
  border-bottom: 2px solid transparent; transition: color .15s, border-color .15s;
}
.nav a:hover, .nav a[aria-current='page'] { color: #fff; border-color: var(--gold-500); }

.badge-priority {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px;
  border-radius: 999px; background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 18%);
  font-size: .66rem; line-height: 1.25; text-transform: uppercase; letter-spacing: .08em;
  font-weight: 700; color: #fff;
}
.badge-priority svg { width: 20px; height: 20px; fill: var(--gold-500); flex: none; }

@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 620px) { .badge-priority { display: none; } }

/* ---------- hero ---------- */

.hero { position: relative; background: var(--navy-800); color: #fff; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; }
.hero__copy { padding-block: clamp(40px, 5vw, 76px); padding-right: clamp(16px, 3vw, 48px); }
.hero h1 { color: #fff; text-transform: uppercase; }
.hero h1 .gold { color: var(--gold-500); display: block; }
.hero__lede { color: #BCCADD; margin-top: 18px; font-size: 1.04rem; max-width: 46ch; }
.hero__tags { margin-top: 10px; color: var(--gold-400); font-weight: 600; }
.hero__art { position: relative; min-height: 400px; align-self: stretch; }
.hero__art::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, var(--navy-800) 0%, transparent 45%);
}
@media (max-width: 940px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { padding-block: 36px 44px; padding-right: 0; }
  .hero__art { min-height: 250px; order: -1; margin-inline: calc(var(--gutter) * -1); }
  .hero__art::after { background: linear-gradient(180deg, transparent 45%, var(--navy-800) 100%); }
}

.statrow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.stat {
  display: grid; gap: 2px; padding: 12px 18px; border-radius: var(--r-md);
  background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 14%); min-width: 122px;
}
.stat strong { font-size: 1.26rem; color: var(--gold-500); font-weight: 800; }
.stat span { font-size: .74rem; color: #B9C8DC; }

/* ---------- search bar ---------- */

.searchbar {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 10px;
  display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 6px;
}
.searchbar--float { margin-top: -40px; position: relative; z-index: 5; }
.searchbar__field { padding: 10px 16px; border-radius: var(--r-md); transition: background .15s; }
.searchbar__field:hover { background: var(--ice); }
.searchbar__field + .searchbar__field { box-shadow: -1px 0 0 var(--line); }
.searchbar label {
  display: block; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); font-weight: 700; margin-bottom: 2px;
}
.searchbar input, .searchbar select {
  width: 100%; border: 0; background: transparent; font: inherit; font-size: .93rem;
  color: var(--ink); padding: 0;
}
.searchbar input:focus, .searchbar select:focus { outline: none; }
.searchbar .btn { align-self: center; }
@media (max-width: 900px) {
  .searchbar { grid-template-columns: 1fr 1fr; }
  .searchbar--float { margin-top: 24px; }
  .searchbar .btn { grid-column: 1 / -1; }
  .searchbar__field + .searchbar__field { box-shadow: none; }
}

/* ---------- apartment cards ---------- */

.grid-rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(272px, 1fr)); gap: 26px; }

.card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .2s ease, box-shadow .25s ease, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card__media { position: relative; aspect-ratio: 4 / 2.6; overflow: hidden; }
.card__type {
  position: absolute; left: 0; top: 14px; padding: 6px 14px 6px 12px;
  background: var(--navy-800); color: #fff; font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; border-radius: 0 999px 999px 0;
}
.card__save {
  position: absolute; right: 12px; top: 12px; padding: 5px 12px; border-radius: 999px;
  background: var(--gold-500); color: var(--navy-900); font-size: .72rem; font-weight: 800;
}
.card__body { padding: 18px; display: grid; gap: 8px; flex: 1; align-content: start; }
.card__name { font-size: 1.12rem; }
.card__facts { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: .84rem; color: var(--muted); }
.card__facts span::after { content: '·'; margin-left: 10px; color: var(--faint); }
.card__facts span:last-child::after { content: ''; }
.card__highlight { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--gold-600); font-weight: 600; }
/* The tick macro ships an unsized <svg>; without this it falls back to the
   SVG default of 300x150 and blows the card apart. */
.card__highlight svg {
  width: 15px; height: 15px; flex: none;
  stroke: currentColor; fill: none; stroke-width: 2.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.card__price { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); }
.card__price strong { font-size: 1.14rem; color: var(--ink); }
.card__price .was { text-decoration: line-through; color: var(--faint); font-size: .84rem; margin-left: 6px; }
.card__price .per { font-size: .84rem; color: var(--muted); }
.card.is-full { opacity: .72; }
.card.is-full .card__media { filter: grayscale(.7); }
.card__sold {
  position: absolute; inset: auto 0 0 0; padding: 8px 14px; background: var(--navy-900);
  color: #fff; font-size: .78rem; font-weight: 600; text-align: center;
}
.units-left { color: var(--warn); font-weight: 600; font-size: .8rem; }

/* ---------- feature / icon grids ---------- */

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 26px; }
.feature__icon {
  width: 46px; height: 46px; border-radius: 13px; background: var(--gold-tint);
  display: grid; place-items: center; margin-bottom: 14px; border: 1px solid var(--gold-line);
}
.feature__icon svg { width: 22px; height: 22px; stroke: var(--gold-600); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.section--navy .feature__icon { background: rgb(240 168 48 / 14%); border-color: rgb(240 168 48 / 30%); }
.section--navy .feature__icon svg { stroke: var(--gold-400); }
.feature h3 { font-size: 1.02rem; margin-bottom: 6px; }
.feature p { font-size: .92rem; color: var(--muted); }
.section--navy .feature p { color: #AFC0D6; }

.amenities { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px 22px; }
.amenity { display: flex; align-items: center; gap: 11px; font-size: .92rem; }
.amenity svg { width: 20px; height: 20px; flex: none; stroke: var(--navy-600); fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }

.checklist { display: grid; gap: 11px; }
.checkitem { display: flex; gap: 11px; align-items: flex-start; font-size: .93rem; }
.checkitem svg { width: 19px; height: 19px; flex: none; margin-top: 3px; stroke: var(--gold-600); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.section--navy .checkitem svg { stroke: var(--gold-400); }

/* ---------- location ---------- */

.nearby { display: grid; grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); gap: 14px; }
.place {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md);
}
.place__dot {
  width: 46px; height: 46px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--navy-800); color: var(--gold-400); font-size: .7rem; font-weight: 800; text-align: center; line-height: 1.1;
}
.place strong { display: block; font-size: .94rem; color: var(--ink); }
.place span { font-size: .82rem; color: var(--muted); }

.accessrow { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.access {
  display: flex; gap: 14px; align-items: flex-start; padding: 18px;
  border-radius: var(--r-md); background: rgb(255 255 255 / 6%); border: 1px solid rgb(255 255 255 / 12%);
}
.access__icon { width: 40px; height: 40px; border-radius: 50%; flex: none; background: var(--gold-500); display: grid; place-items: center; }
.access__icon svg { width: 20px; height: 20px; stroke: var(--navy-900); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.access strong { display: block; color: #fff; }
.access span { font-size: .86rem; color: #AFC0D6; }

/* ---------- numbered steps ---------- */

.steps-list { display: grid; gap: 18px; }
.step { display: flex; gap: 18px; align-items: flex-start; }
.step__n {
  width: 40px; height: 40px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: var(--gold-500); color: var(--navy-900); font-weight: 800; font-size: 1rem;
}
.step strong { display: block; color: var(--ink); margin-bottom: 3px; }
.step p { font-size: .92rem; color: var(--muted); }
.section--navy .step strong { color: #fff; }
.section--navy .step p { color: #AFC0D6; }

/* ---------- rate table ---------- */

.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(172px, 1fr)); gap: 12px; margin-top: 18px; }
.rate { border: 1px solid var(--line); border-radius: var(--r-md); padding: 16px; text-align: center; background: var(--surface); }
.rate--special { border-color: var(--gold-500); background: var(--gold-tint); position: relative; }
.rate--special::before {
  content: attr(data-flag); position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  background: var(--gold-500); color: var(--navy-900); font-size: .64rem; font-weight: 800;
  padding: 3px 12px; border-radius: 999px; white-space: nowrap;
}
.rate__label { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.rate__value { font-size: 1.12rem; font-weight: 800; color: var(--ink); margin-top: 8px; }
.rate--special .rate__value { color: var(--gold-600); }
.rate__usd { font-size: .8rem; color: var(--muted); }
.rate__note { font-size: .73rem; color: var(--muted); margin-top: 6px; }

/* ---------- detail page ---------- */

.detail__gallery {
  display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, 1fr);
  gap: 10px; aspect-ratio: 2.4 / 1; border-radius: var(--r-lg); overflow: hidden; margin-bottom: 38px;
}
.detail__gallery > :first-child { grid-row: span 2; }
.detail__gallery > * { overflow: hidden; }
@media (max-width: 760px) {
  .detail__gallery { grid-template-columns: 1fr; grid-template-rows: 1fr; aspect-ratio: 16/10; }
  .detail__gallery > :not(:first-child) { display: none; }
  .detail__gallery > :first-child { grid-row: auto; }
}

.detail__layout { display: grid; grid-template-columns: 1fr 388px; gap: 52px; align-items: start; }
@media (max-width: 980px) { .detail__layout { grid-template-columns: 1fr; gap: 34px; } }

.factlist { display: flex; gap: 8px; flex-wrap: wrap; color: var(--muted); font-size: .95rem; }
.factlist span::after { content: '·'; margin-left: 8px; color: var(--faint); }
.factlist span:last-child::after { content: ''; }

.pill-row { display: flex; gap: 8px; flex-wrap: wrap; }
.pill-tag {
  padding: 6px 14px; border-radius: 999px; background: var(--ice);
  border: 1px solid var(--line); font-size: .84rem; color: var(--navy-700); font-weight: 600;
}

/* ---------- booking card ---------- */

.bookcard {
  position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md); overflow: hidden;
}
.bookcard__head { background: var(--navy-800); color: #fff; padding: 18px 22px; }
.bookcard__head .rate-now { font-size: 1.44rem; font-weight: 800; color: var(--gold-500); }
.bookcard__head .rate-was { text-decoration: line-through; color: #9FB2CC; font-size: .88rem; margin-left: 8px; }
.bookcard__head p { font-size: .8rem; color: #B9C8DC; margin-top: 2px; }
.bookcard__body { padding: 22px; }

.datebox { border: 1px solid var(--line-strong); border-radius: var(--r-md); overflow: hidden; }
.datebox__row { display: grid; grid-template-columns: 1fr 1fr; }
.datebox__cell { padding: 10px 14px; }
.datebox__cell + .datebox__cell { border-left: 1px solid var(--line-strong); }
.datebox__row + .datebox__row { border-top: 1px solid var(--line-strong); }
.datebox label { display: block; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.datebox input, .datebox select { width: 100%; border: 0; background: transparent; font: inherit; font-size: .91rem; color: var(--ink); padding: 2px 0 0; }
.datebox input:focus, .datebox select:focus { outline: none; }

.pricelines { display: grid; gap: 10px; font-size: .92rem; }
.priceline { display: flex; justify-content: space-between; gap: 14px; color: var(--muted); }
.priceline u { text-decoration: underline; text-underline-offset: 3px; }
.priceline b { color: var(--ink); font-weight: 600; }
.priceline--save { color: var(--ok); }
.priceline--total {
  border-top: 1px solid var(--line); padding-top: 12px; margin-top: 2px;
  color: var(--ink); font-weight: 800; font-size: 1rem;
}
.priceline--due { color: var(--gold-600); font-weight: 700; }
.priceline small { display: block; font-weight: 400; font-size: .76rem; color: var(--muted); }

/* ---------- forms ---------- */

.field { display: grid; gap: 6px; }
.field label { font-size: .84rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); background: var(--surface); font: inherit; font-size: .95rem;
  color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px var(--gold-tint);
}
.field textarea { resize: vertical; min-height: 96px; }
.field__error { font-size: .82rem; color: var(--bad); display: none; }
.field.is-invalid input, .field.is-invalid select { border-color: var(--bad); }
.field.is-invalid .field__error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; }
.panel h3 { margin-bottom: 16px; }
.panel--cta { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.panel--gold { background: var(--gold-tint); border-color: var(--gold-line); }

.radiocard {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line-strong);
  border-radius: var(--r-md); padding: 14px 16px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.radiocard:hover { border-color: var(--navy-600); }
.radiocard:has(input:checked) { border-color: var(--gold-500); background: var(--gold-tint); }
.radiocard input { margin-top: 4px; accent-color: var(--gold-600); }
.radiocard > span { display: block; flex: 1; }
.radiocard strong { display: block; font-weight: 700; color: var(--ink); }
.radiocard > span > span { display: block; font-size: .86rem; color: var(--muted); }
.radiocard .price-tag { color: var(--gold-600); font-weight: 700; }

/* payment option cards */
.payopts { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.payopt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.payopt__head { padding: 14px 18px; background: var(--navy-800); color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.payopt__head strong { font-size: .94rem; }
.payopt__n { font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-400); font-weight: 700; white-space: nowrap; }
.payopt__body { padding: 18px; }
.payopt--best .payopt__head { background: var(--gold-500); color: var(--navy-900); }
.payopt--best .payopt__n { color: var(--navy-700); }
.payopt__detail { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: .84rem; color: var(--muted); }

/* ---------- policy blocks ---------- */

.policy { display: grid; gap: 14px; }
.policy__item { border-left: 4px solid var(--line-strong); padding: 10px 0 10px 16px; }
.policy__item strong { display: block; color: var(--ink); }
.policy__item ul { margin: 6px 0 0; padding-left: 18px; font-size: .9rem; color: var(--muted); }
.policy__item--ok { border-color: var(--ok); }
.policy__item--warn { border-color: var(--gold-500); }
.policy__item--alert { border-color: #E08A3C; }
.policy__item--no { border-color: var(--bad); }

.pricelist { display: grid; }
.pricelist__row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.pricelist__row:last-child { border-bottom: 0; }
.pricelist__row b { color: var(--ink); white-space: nowrap; }
.pricelist__row span.sub { display: block; font-size: .8rem; color: var(--muted); }

/* ---------- confirmation ticket ---------- */

.ticket {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-md); max-width: 680px; margin-inline: auto;
}
.ticket__head { background: var(--navy-800); color: #fff; padding: 34px; text-align: center; }
.ticket__head h1 { color: #fff; font-size: 1.86rem; margin-bottom: 8px; }
.ticket__head p { color: #B9C8DC; }
.ticket__head--cancelled { background: #4A5568; }
.ticket__check { width: 56px; height: 56px; border-radius: 50%; background: var(--gold-500); display: grid; place-items: center; margin: 0 auto 18px; }
.ticket__check svg { width: 28px; height: 28px; stroke: var(--navy-900); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.ticket__body { padding: 30px; }
.ticket__ref {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--ice); border-radius: var(--r-md); padding: 14px 18px; margin-bottom: 24px;
}
.ticket__ref code { font-family: var(--mono); font-size: 1.04rem; letter-spacing: .06em; color: var(--ink); font-weight: 700; }

.summary { display: flex; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.summary__media { width: 108px; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; flex: none; }

.dl { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.dl div { display: grid; gap: 2px; }
.dl dt { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; }
.dl dd { margin: 0; color: var(--ink); }

/* ---------- misc ---------- */

.notice {
  background: var(--gold-tint); border: 1px solid var(--gold-line); border-radius: var(--r-md);
  padding: 14px 18px; font-size: .9rem; color: #7A5410;
}
.notice--warn { background: var(--warn-bg); border-color: #E8C58C; color: var(--warn); }
.notice--bad { background: var(--bad-bg); border-color: #E7C3BF; color: var(--bad); }
.notice--ok { background: var(--ok-bg); border-color: #B9DCC7; color: var(--ok); }

.empty { text-align: center; padding: 70px 0; color: var(--muted); }
.breadcrumb { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.stepbar { display: flex; gap: 10px; align-items: center; font-size: .84rem; color: var(--faint); margin-bottom: 24px; flex-wrap: wrap; }
.stepbar b { color: var(--ink); font-weight: 700; }

.filters {
  display: flex; gap: 10px; flex-wrap: wrap; align-items: center;
  padding-block: 16px; border-block: 1px solid var(--line); margin-bottom: 30px;
}
.chip {
  display: inline-flex; align-items: center; text-decoration: none; color: inherit; white-space: nowrap;
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px;
  padding: 8px 16px; font-size: .87rem; cursor: pointer; transition: all .15s;
}
.chip:hover { border-color: var(--navy-700); }
.chip[aria-pressed='true'] { background: var(--navy-800); color: #fff; border-color: var(--navy-800); }
.filters__count { margin-left: auto; font-size: .87rem; color: var(--muted); }

.contact-list { display: grid; gap: 14px; }
.contact { display: flex; align-items: center; gap: 14px; }
.contact__icon { width: 42px; height: 42px; border-radius: 50%; flex: none; background: var(--gold-500); display: grid; place-items: center; }
.contact__icon svg { width: 20px; height: 20px; stroke: var(--navy-900); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.contact strong { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.section--navy .contact strong { color: #9FB2CC; }
.contact a, .contact .val { color: var(--ink); text-decoration: none; font-weight: 600; }
.section--navy .contact a, .section--navy .contact .val { color: #fff; }

/* tables */
.tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 900px; }
.table th, .table td { padding: 13px 16px; text-align: left; white-space: nowrap; }
.table th { font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); font-weight: 700; border-bottom: 1px solid var(--line); background: var(--paper); }
.table td { border-bottom: 1px solid var(--line); }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; }
.table a { color: var(--navy-600); font-weight: 600; }
.table code { font-family: var(--mono); font-size: .88rem; }
.table tr.is-cancelled { color: var(--faint); }
.table tr.is-cancelled code { text-decoration: line-through; }

.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: .72rem; font-weight: 700; text-transform: capitalize; background: var(--ice); color: var(--muted); }
.pill--confirmed { background: var(--ok-bg); color: var(--ok); }
.pill--cancelled { background: var(--bad-bg); color: var(--bad); }
.pill--gold { background: var(--gold-tint); color: var(--gold-600); }

code { font-family: var(--mono); }

/* ---------- footer ---------- */

.footer { background: var(--navy-900); color: #A9BAD1; padding-block: 54px 30px; }
.footer h4 { color: #fff; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: #A9BAD1; text-decoration: none; font-size: .9rem; }
.footer a:hover { color: var(--gold-400); }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 38px; }
.footer__links { display: grid; gap: 9px; }
.footer__base {
  margin-top: 42px; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / 12%);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .82rem; color: #7C8CA5;
}
@media (max-width: 780px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.bookcard.is-loading .pricelines { opacity: .45; transition: opacity .15s; }

/* ---------- photography ---------- */

.card__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.summary__media img { width: 100%; height: 100%; object-fit: cover; }

.detail__gallery figure { margin: 0; position: relative; overflow: hidden; }
.detail__gallery img { width: 100%; height: 100%; object-fit: cover; }
.detail__gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgb(6 27 61 / 88%), rgb(6 27 61 / 0%));
  color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; padding: 22px 14px 10px;
}
.detail__gallery figure:not(:first-child) figcaption { font-size: .68rem; padding: 18px 10px 8px; }

.photogrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); gap: 14px; }
.shot {
  margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--surface);
  border: 1px solid var(--line);
}
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.shot figcaption {
  padding: 9px 12px; font-size: .78rem; font-weight: 600; color: var(--ink);
  background: var(--surface); line-height: 1.3;
}

/* ---------- services menu / basket ---------- */

.menu { display: grid; gap: 10px; }

.menuitem {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: border-color .15s, background .15s;
}
.menuitem:hover { border-color: var(--line-strong); }
.menuitem.is-picked { border-color: var(--gold-500); background: var(--gold-tint); }
.menuitem__text strong { display: block; color: var(--ink); font-weight: 600; font-size: .96rem; }
.menuitem__text span { display: block; line-height: 1.35; }
.menuitem__price { text-align: right; white-space: nowrap; }
.menuitem__price b { display: block; color: var(--ink); font-variant-numeric: tabular-nums; }

.stepper {
  display: inline-flex; align-items: center; gap: 2px;
  border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--surface);
}
.stepper__btn {
  width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer;
  font-size: 1.15rem; line-height: 1; color: var(--navy-700); transition: background .15s;
}
.stepper__btn:hover { background: var(--ice); }
.stepper input {
  width: 40px; border: 0; background: transparent; text-align: center;
  font: inherit; font-size: .95rem; font-variant-numeric: tabular-nums; color: var(--ink);
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button,
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper input:focus { outline: none; }

@media (max-width: 560px) {
  .menuitem { grid-template-columns: 1fr auto; }
  .menuitem__text { grid-column: 1 / -1; }
}

/* ---------- service photography ---------- */

/* the deck sets each menu item behind a pale circle — mirrored here */
.menuitem { grid-template-columns: auto 1fr auto auto; }
.menuitem__pic {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--gold-tint); border: 1px solid var(--gold-line);
}
@media (max-width: 560px) {
  .menuitem { grid-template-columns: auto 1fr auto; }
  .menuitem__text { grid-column: 2 / -1; }
  .menuitem__pic { grid-row: span 2; }
}

.pl-item { display: flex; align-items: center; gap: 12px; }
.pl-item img {
  width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: none;
  background: var(--gold-tint); border: 1px solid var(--gold-line);
}

/* real cover photograph behind the hero copy */
.hero__art img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }

/* ---------- rate cards as a payment selector ---------- */

.rate--pick { cursor: pointer; display: block; transition: border-color .15s, box-shadow .15s, transform .12s; }
.rate--pick:hover { border-color: var(--navy-600); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.rate--pick input { position: absolute; opacity: 0; pointer-events: none; }
.rate--pick:has(input:checked) {
  border-color: var(--gold-500); background: var(--gold-tint);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold-500) 25%, transparent);
}
.rate--pick:has(input:checked) .rate__value { color: var(--gold-600); }
.rate--pick:has(input:focus-visible) { outline: 2px solid var(--gold-500); outline-offset: 3px; }
/* selected wins over the always-gold ACONF styling */
.rate--pick.rate--special:not(:has(input:checked)) { background: var(--surface); border-color: var(--line); }
.rate--pick.rate--special:not(:has(input:checked)) .rate__value { color: var(--ink); }
.rate--pick:has(input:checked)::after {
  content: '✓ Selected'; display: block; margin-top: 8px;
  font-size: .68rem; font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; color: var(--gold-600);
}

.rate--ref { background: var(--paper); border-style: dashed; }
.rate--ref .rate__value { color: var(--muted); }

/* ---------- /order — additional services ---------- */

.svc-band {
  background:
    radial-gradient(120% 140% at 85% 0%, rgb(240 168 48 / 18%) 0%, transparent 55%),
    var(--navy-800);
  color: #D3DEEE;
  border-bottom: 3px solid var(--gold-500);
}

.svc-hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 64px);
}
.svc-hero__copy h1 {
  color: #fff; margin-top: 12px;
  font-size: clamp(1.9rem, 4vw, 2.9rem); text-transform: uppercase;
}
.svc-hero__lede { color: #BCCADD; margin-top: 16px; font-size: 1.04rem; max-width: 48ch; }

.svc-hero__facts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.svc-chip {
  padding: 8px 16px; border-radius: 999px; text-decoration: none;
  background: rgb(255 255 255 / 8%); border: 1px solid rgb(255 255 255 / 18%);
  color: #fff; font-size: .87rem; font-weight: 600;
  transition: background .15s, border-color .15s, transform .12s;
}
.svc-chip:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); transform: translateY(-1px); }

.svc-hero__tag {
  display: flex; align-items: center; gap: 10px; margin-top: 24px;
  color: var(--gold-400); font-weight: 700; letter-spacing: .01em;
}

/* An explicit height is what keeps the img's height="1120" attribute — which
   the browser treats as a CSS height — from stretching the whole band. */
.svc-hero__figure { margin: 0; position: relative; }
.svc-hero__figure img {
  width: 100%;
  height: clamp(240px, 32vw, 380px);
  object-fit: cover;
  object-position: center 62%;
  border-radius: var(--r-lg);
  border: 3px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
}
@media (max-width: 860px) {
  .svc-hero { grid-template-columns: 1fr; }
  .svc-hero__figure { order: -1; }
  .svc-hero__figure img { height: clamp(200px, 44vw, 280px); }
}

/* section header, mirroring the deck's gold-underlined panel titles */
.cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 2px solid var(--gold-line);
}
.cat-head h3 { margin: 0; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .04em; }

.extras-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; }
.extra {
  display: flex; align-items: center; gap: 11px;
  padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font-size: .92rem; cursor: pointer; transition: border-color .15s, background .15s;
}
.extra:hover { border-color: var(--navy-600); }
.extra:has(input:checked) { border-color: var(--gold-500); background: var(--gold-tint); font-weight: 600; }
.extra input { accent-color: var(--gold-600); flex: none; }
