/* ==========================================================================
   Real Estate Media & Marketing — division styles
   Slate blue + ice white, the brand orange used sparingly as the one accent.
   Loaded only on real-estate-media.html and real-estate-booking.html.
   ========================================================================== */
:root {
  --re-slate: #2E4766;
  --re-slate-2: #3D5A80;
  --re-slate-ink: #13233A;
  --re-ice: #F3F6FA;
  --re-ice-2: #E6ECF4;
  --re-ice-line: rgba(19, 35, 58, 0.12);
  --re-muted: #51627A;
}

/* ---------- Hero ---------- */
.re-hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(3rem, 7vw, 6rem)) 0 clamp(3.5rem, 8vw, 7rem);
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(61, 90, 128, 0.35), transparent 60%),
    linear-gradient(180deg, #0B1424 0%, var(--ink-900) 100%);
  overflow: hidden;
}
.re-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.re-hero__title {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.035em;
  font-size: var(--fs-d1); line-height: 1.02; margin: 0.6rem 0 1.25rem; color: #fff;
}
.re-hero__title em {
  font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em;
  /* brand gold, matching the accent words elsewhere on the site; padding keeps the italic tail inside the clip */
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.08em;
}
.re-hero .lead { color: var(--text-soft); max-width: 36rem; }
.re-hero__services {
  margin: 1.5rem 0 2rem; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase;
  color: #A9B8CF; line-height: 2;
}
.re-hero__services span { color: var(--brand-gold); margin: 0 0.35rem; }
.re-hero__meta { margin-top: 1.5rem; display: flex; gap: 0.5rem; align-items: center; font-size: var(--fs-sm); color: var(--text-mute); }
.re-hero__meta svg { width: 18px; height: 18px; color: var(--brand-gold); flex: none; }
.re-hero__visual {
  position: relative; border-radius: var(--r-xl); padding: clamp(1rem, 3vw, 2rem);
  background: linear-gradient(160deg, rgba(61, 90, 128, 0.22), rgba(10, 17, 34, 0.2));
  border: 1px solid rgba(159, 180, 214, 0.18);
  box-shadow: var(--sh-lg);
}
.re-hero__art { width: 100%; height: auto; display: block; }

/* ---------- Ice sections ---------- */
.re-ice { background: var(--re-ice); color: var(--re-muted); }
.re-ice h2, .re-ice h3 { color: var(--re-slate-ink); }
.re-ice .kicker { color: var(--re-slate-2); }
.re-ice .lead { color: var(--re-muted); }
.re-ice .fineprint { color: var(--re-muted); }
.re-center { text-align: center; margin-top: 2rem; }

/* ---------- Services ---------- */
.re-svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--re-ice-line); border: 1px solid var(--re-ice-line); border-radius: var(--r-lg); overflow: hidden; }
.re-svc { background: #fff; padding: clamp(1.5rem, 3vw, 2.25rem); scroll-margin-top: calc(var(--header-h) + 24px); transition: background var(--t) var(--ease); }
.re-svc:hover { background: #FBFCFE; }
.re-svc__icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(61, 90, 128, 0.1); color: var(--re-slate-2); margin-bottom: 1.1rem; }
.re-svc__icon svg { width: 22px; height: 22px; }
.re-svc h3 { font-size: var(--fs-h4); margin: 0 0 0.5rem; }
.re-svc p { margin: 0; font-size: var(--fs-sm); line-height: 1.65; }

/* ---------- Package cards ---------- */
.re-pkg-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.re-pkg {
  position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.4rem 1.5rem;
  border-radius: var(--r-lg); border: 1px solid var(--line); background: linear-gradient(180deg, #0E1830, #0A1122);
  transition: transform var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.re-pkg:hover { transform: translateY(-4px); border-color: rgba(159, 180, 214, 0.35); box-shadow: var(--sh-md); }
.re-pkg--featured { border-color: var(--line-gold); background: linear-gradient(180deg, #13213D, #0B1426); }
.re-pkg__badge {
  position: absolute; top: -0.7rem; left: 1.4rem; padding: 0.25rem 0.7rem; border-radius: var(--r-full);
  background: var(--brand-gold); color: #120B00; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.re-pkg__size { margin: 0; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: #A9B8CF; }
.re-pkg__name { margin: 0.4rem 0 0.75rem; font-size: 1.2rem; color: #fff; }
.re-pkg__price { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.1rem; letter-spacing: -0.03em; color: #fff; line-height: 1.1; }
.re-pkg__from { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-gold-light); }
.re-pkg__photos { margin: 0.6rem 0 1rem; font-size: var(--fs-sm); color: var(--text-soft); min-height: 2.8em; }
.re-pkg__list { list-style: none; margin: 0 0 1.25rem; padding: 1rem 0 0; border-top: 1px solid var(--line); display: grid; gap: 0.55rem; flex: 1; }
.re-pkg__list li { display: flex; gap: 0.5rem; font-size: 0.86rem; line-height: 1.45; color: var(--text-soft); }
.re-pkg__list svg { width: 15px; height: 15px; flex: none; margin-top: 3px; color: #9FB4D6; }
.re-pkg--featured .re-pkg__list svg { color: var(--brand-gold); }
.re-pkg__delivery { display: flex; align-items: center; gap: 0.45rem; margin: 0 0 1.1rem; font-size: var(--fs-xs); color: var(--text-mute); }
.re-pkg__delivery svg { width: 15px; height: 15px; }
.re-pkg .btn { font-size: 0.85rem; padding-inline: 0.75rem; }

/* ---------- Tables ---------- */
.re-table-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--re-ice-line); background: #fff; }
.re-addons, .re-travel { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.re-addons th, .re-addons td, .re-travel th, .re-travel td { padding: 0.95rem 1.2rem; text-align: left; border-bottom: 1px solid var(--re-ice-line); vertical-align: top; }
.re-addons tr:last-child > *, .re-travel tr:last-child > * { border-bottom: 0; }
.re-addons thead th, .re-travel thead th { font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--re-slate-2); background: var(--re-ice); font-weight: 700; }
.re-addons tbody th { font-weight: 400; }
.re-addons__name { display: block; font-weight: 700; color: var(--re-slate-ink); }
.re-addons__desc { display: block; margin-top: 0.2rem; font-size: var(--fs-xs); color: var(--re-muted); }
.re-addons__unit { color: var(--re-muted); white-space: nowrap; }
.re-addons__price { font-weight: 700; color: var(--re-slate-ink); white-space: nowrap; text-align: right !important; }
.re-travel td { font-weight: 700; text-align: right; }
.re-travel tbody th { font-weight: 500; }
/* travel table on the dark section */
#travel .re-table-wrap { background: rgba(255, 255, 255, 0.03); border-color: var(--line); }
#travel .re-travel th, #travel .re-travel td { border-color: var(--line); color: var(--text-soft); }
#travel .re-travel thead th { background: rgba(255, 255, 255, 0.04); color: #A9B8CF; }
#travel .re-travel td { color: #fff; }

/* ---------- Commercial list & split ---------- */
.re-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.re-split .sec-head { margin-bottom: 0; }
.re-split .sec-head .btn { margin-top: 1.5rem; }
.re-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.re-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.re-list b { color: #fff; white-space: nowrap; }

/* ---------- How it works ---------- */
.re-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.re-how__step { background: #fff; border: 1px solid var(--re-ice-line); border-radius: var(--r-lg); padding: 1.75rem; }
.re-how__n { font-family: var(--font-display); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.12em; color: var(--brand-gold-deep); }
.re-how__step h3 { margin: 0.6rem 0 0.4rem; font-size: 1.1rem; }
.re-how__step p { margin: 0; font-size: var(--fs-sm); line-height: 1.6; }

/* ---------- Policies ---------- */
.re-policies { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-bottom: 2rem; }
.re-policy { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.5rem; background: rgba(255, 255, 255, 0.02); }
.re-policy h3 { font-size: 1.05rem; margin: 0 0 0.8rem; color: #fff; }
.re-policy ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.5rem; font-size: 0.88rem; line-height: 1.55; color: var(--text-soft); }

/* ==========================================================================
   Booking request
   ========================================================================== */
.re-bookhero { padding-bottom: 1.5rem; }
.re-book { padding-top: 1rem; }
.re-prog { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 0.4rem; counter-reset: none; }
.re-prog li { display: flex; flex-direction: column; gap: 0.45rem; font-size: var(--fs-xs); color: var(--text-mute); padding-top: 0.6rem; border-top: 3px solid var(--line-strong); }
.re-prog li.is-done { border-color: #9FB4D6; color: var(--text-soft); cursor: pointer; }
.re-prog li.is-on { border-color: var(--brand-gold); color: #fff; font-weight: 600; }
.re-prog__n { font-family: var(--font-display); font-weight: 800; font-size: 0.75rem; }
.re-book__grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.re-form { gap: 0; }
.re-step { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-3); }
.re-step[hidden] { display: none; }
.re-step__title { padding: 0; margin-bottom: 0.25rem; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-d3); color: #fff; letter-spacing: -0.02em; }
.re-step__title > span:first-child { display: block; font-family: var(--font-body); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand-gold-light); margin-bottom: 0.35rem; }
.re-step__title:focus { outline: none; }
.re-sub { margin: 0.75rem 0 -0.5rem; font-size: 1.05rem; color: #fff; }
.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.re-form .field textarea { min-height: 84px; }
.hint-inline { font-weight: 400; color: var(--text-faint); }
.field .hint svg { width: 13px; height: 13px; vertical-align: -2px; color: #9FB4D6; }
.has-error input, .has-error select, .has-error textarea { border-color: #FF6B4A !important; }
.re-msg { font-size: var(--fs-xs); color: #FF9C8A; }
.check { display: flex; gap: 0.75rem; align-items: flex-start; font-size: var(--fs-sm); color: var(--text-soft); line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--brand-gold); }
.check a { color: var(--brand-gold-light); }
.re-ack { padding: 1rem 1.1rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); flex-wrap: wrap; }
.re-ack .re-msg { flex-basis: 100%; padding-left: 2rem; }

/* choice cards */
.re-rec { margin: 0; color: var(--text-soft); }
.re-rec:empty { display: none; }
.re-choice { display: grid; gap: 0.65rem; }
.re-opt {
  position: relative; display: grid; gap: 0.35rem; padding: 1.1rem 1.2rem 1.1rem 3.1rem; border-radius: var(--r-md);
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); cursor: pointer;
  transition: border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.re-opt input { position: absolute; left: 1.15rem; top: 1.25rem; width: 18px; height: 18px; accent-color: var(--brand-gold); margin: 0; }
.re-opt:hover { border-color: rgba(159, 180, 214, 0.45); }
.re-opt.is-on { border-color: var(--brand-gold); background: rgba(229, 139, 1, 0.08); }
.re-opt.is-off { opacity: 0.5; cursor: not-allowed; }
.re-opt:focus-within { outline: 3px solid var(--brand-gold-light); outline-offset: 2px; }
.re-opt__head { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.re-opt__name { font-weight: 700; color: #fff; }
.re-opt__price { font-weight: 700; color: #fff; white-space: nowrap; }
.re-opt__badge { font-style: normal; font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.15rem 0.5rem; border-radius: var(--r-full); background: rgba(229, 139, 1, 0.18); color: var(--brand-gold-light); margin-left: 0.35rem; vertical-align: 2px; }
.re-opt__badge--rec { background: rgba(159, 180, 214, 0.18); color: #CFDBEC; }
.re-opt__meta { font-size: var(--fs-xs); color: var(--text-mute); }
.re-opt__inc { font-size: 0.82rem; color: var(--text-soft); line-height: 1.55; }
.re-opt__why { font-size: var(--fs-xs); color: #FF9C8A; }

/* add-ons */
.re-addon-list { display: grid; gap: 0.6rem; }
.re-addon { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 0.5rem 1.25rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.re-addon.is-on { border-color: var(--brand-gold); }
.re-addon.is-inc { background: rgba(159, 180, 214, 0.06); }
.re-addon__name { margin: 0; font-weight: 700; color: #fff; }
.re-addon__desc { margin: 0.15rem 0 0; font-size: var(--fs-xs); color: var(--text-mute); }
.re-addon__price { margin: 0; text-align: right; font-weight: 700; color: #fff; white-space: nowrap; }
.re-addon__price span { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--text-mute); }
.re-addon__ctl { display: flex; flex-direction: column; align-items: flex-end; gap: 0.4rem; min-width: 128px; }
.re-inc { font-size: var(--fs-xs); font-weight: 700; color: #CFDBEC; padding: 0.3rem 0.6rem; border-radius: var(--r-full); background: rgba(159, 180, 214, 0.15); text-align: center; }
.re-more { display: flex; gap: 0.4rem; align-items: center; font-size: var(--fs-xs); color: var(--text-soft); cursor: pointer; }
.re-more input { accent-color: var(--brand-gold); }
.re-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-full); overflow: hidden; }
.re-qty button { width: 38px; height: 38px; border: 0; background: transparent; color: #fff; font-size: 1.15rem; cursor: pointer; }
.re-qty button:hover { background: rgba(255, 255, 255, 0.08); }
.re-qty button:focus-visible, .re-qty input:focus-visible { outline: 2px solid var(--brand-gold-light); outline-offset: -2px; }
.re-qty input { width: 44px; height: 38px; border: 0; background: transparent; color: #fff; text-align: center; font: inherit; font-weight: 700; -moz-appearance: textfield; }
.re-qty input::-webkit-outer-spin-button, .re-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* travel / summary / deposit */
.re-travel-out { padding: 1.25rem; border-radius: var(--r-md); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.re-travel-out p { margin: 0.25rem 0; }
.re-miles b, .re-fee b { color: #fff; font-size: 1.15rem; }
.re-loading { color: var(--text-mute); }
.re-flag { padding: 0.85rem 1rem; border-radius: var(--r-md); background: rgba(229, 139, 1, 0.1); border: 1px solid var(--line-gold); color: #FFD9A0; font-size: var(--fs-sm); }
.re-note { padding: 0.85rem 1rem; border-radius: var(--r-md); background: rgba(159, 180, 214, 0.08); border: 1px solid rgba(159, 180, 214, 0.25); color: var(--text-soft); font-size: var(--fs-sm); }
.re-flag ul, .re-note ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.re-bands summary { cursor: pointer; color: var(--text-soft); font-size: var(--fs-sm); }
.re-travel--sm { margin-top: 0.75rem; }
.re-travel--sm th, .re-travel--sm td { padding: 0.5rem 0; border-color: var(--line); color: var(--text-soft); }
.re-dl { display: grid; gap: 0.6rem; margin: 0; }
.re-dl div { display: grid; grid-template-columns: 7rem 1fr; gap: 0.75rem; }
.re-dl dt { color: var(--text-mute); font-size: var(--fs-sm); }
.re-dl dd { margin: 0; color: #fff; }
.re-lines { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.re-lines th, .re-lines td { padding: 0.5rem 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; color: var(--text-soft); vertical-align: top; }
.re-lines td { text-align: right; color: #fff; white-space: nowrap; padding-left: 1rem; }
.re-lines .re-sub th, .re-lines .re-sub td { padding-top: 0.85rem; }
.re-lines .re-total th, .re-lines .re-total td { font-weight: 800; color: #fff; font-size: 1.05rem; }
.re-lines .re-dep th, .re-lines .re-dep td { color: var(--brand-gold-light); font-weight: 700; }
.re-lines .re-incrow th { font-size: var(--fs-xs); color: var(--text-mute); line-height: 1.6; }
.re-lines--full { margin: 1.25rem 0; }
.re-tag { display: inline-block; font-size: 0.66rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.05rem 0.4rem; border-radius: 4px; background: rgba(159, 180, 214, 0.15); color: #CFDBEC; margin-left: 0.25rem; }
.re-depbox { padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line-gold); background: linear-gradient(160deg, rgba(229, 139, 1, 0.1), rgba(10, 17, 34, 0)); }
.re-depbox__k { margin: 0; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand-gold-light); }
.re-depbox__v { margin: 0.3rem 0; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: #fff; letter-spacing: -0.03em; }
.re-depbox__s { margin: 0; color: var(--text-soft); font-size: var(--fs-sm); }
.re-next { margin: 1.25rem 0 0; padding-left: 1.2rem; display: grid; gap: 0.5rem; color: var(--text-soft); }
.re-error { margin: 1rem 0 0; padding: 0.85rem 1rem; border-radius: var(--r-md); background: rgba(255, 107, 74, 0.1); border: 1px solid rgba(255, 107, 74, 0.4); color: #FFC2B4; font-size: var(--fs-sm); }
.re-error a { color: #fff; }
.re-done { padding: 1.75rem; border-radius: var(--r-lg); border: 1px solid rgba(159, 180, 214, 0.35); background: rgba(159, 180, 214, 0.07); }
.re-done:focus { outline: none; }
.re-done__k { margin: 0; font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: #CFDBEC; }
.re-done h3 { margin: 0.4rem 0 0.75rem; color: #fff; font-size: 1.6rem; }
.re-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.re-nav [data-re-next], .re-nav [data-re-submit] { margin-left: auto; }
.re-nav [aria-busy="true"] { opacity: 0.7; cursor: progress; }

/* side panel */
.re-side { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.re-side__card { padding: 1.5rem; border-radius: var(--r-lg); border: 1px solid var(--line-strong); background: linear-gradient(180deg, #0E1830, #0A1122); }
.re-side__kicker { margin: 0 0 0.75rem; font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: #A9B8CF; }
.re-side__empty, .re-side__note { margin: 0.75rem 0 0; font-size: var(--fs-xs); color: var(--text-mute); line-height: 1.55; }
.re-side .re-flag { margin-top: 0.75rem; font-size: var(--fs-xs); }
.re-side__help { margin-top: 1rem; font-size: var(--fs-sm); color: var(--text-mute); text-align: center; }
.re-side__help a { color: #fff; }
.re-mbar { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .re-pkg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .re-hero__grid, .re-split { grid-template-columns: 1fr; }
  .re-hero__visual { max-width: 520px; }
  .re-svc-grid, .re-how, .re-policies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .re-book__grid { grid-template-columns: 1fr; }
  .re-side { position: static; order: -1; display: none; }
  .re-mbar:not([hidden]) {
    display: flex; position: sticky; bottom: 0; z-index: 20; justify-content: space-between; align-items: center;
    margin: 1.5rem calc(-1 * var(--gutter)) 0; padding: 0.9rem var(--gutter) calc(0.9rem + env(safe-area-inset-bottom));
    background: rgba(7, 12, 26, 0.96); border-top: 1px solid var(--line-strong); backdrop-filter: blur(8px);
    font-size: var(--fs-sm); color: var(--text-soft);
  }
  .re-mbar b { color: #fff; font-size: 1.1rem; }
  .re-prog__l { display: none; }
  .re-prog li.is-on .re-prog__l { display: block; }
}
@media (max-width: 640px) {
  .re-svc-grid, .re-how, .re-policies, .re-pkg-grid { grid-template-columns: 1fr; }
  .field-row--3 { grid-template-columns: 1fr 1fr; }
  .field-row--3 .field:last-child { grid-column: 1 / -1; }
  .re-addon { grid-template-columns: 1fr auto; }
  .re-addon__ctl { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; min-width: 0; flex-wrap: wrap; }
  .re-addons thead { display: none; }
  .re-addons tr { display: grid; grid-template-columns: 1fr auto; padding: 0.9rem 1rem; border-bottom: 1px solid var(--re-ice-line); }
  .re-addons th, .re-addons td { padding: 0; border: 0; }
  .re-addons__unit { grid-column: 1; font-size: var(--fs-xs); margin-top: 0.3rem; white-space: normal; }
  .re-addons__price { grid-column: 2; grid-row: 1; }
  .re-dl div { grid-template-columns: 1fr; gap: 0.1rem; }
  .re-nav .btn { padding-inline: 1rem; }
}
/* ---------- Packages: premium 3D glass ---------- */
#packages { position: relative; overflow: hidden; isolation: isolate; }
/* Drifting colour behind the cards, so the frosted glass has something to blur. */
#packages::before, #packages::after {
  content: ""; position: absolute; z-index: -1; width: 46vmax; height: 46vmax; border-radius: 50%;
  filter: blur(80px); opacity: 0.32; pointer-events: none; animation: re-glass-drift 18s ease-in-out infinite alternate;
}
#packages::before { top: 10%; left: -12%; background: radial-gradient(circle, #2F5BD3, transparent 65%); }
#packages::after { bottom: -15%; right: -10%; background: radial-gradient(circle, #C9962B, transparent 65%); animation-delay: -9s; }
@keyframes re-glass-drift { to { transform: translate3d(8vmax, -6vmax, 0) scale(1.15); } }

.re-pkg-grid { perspective: 1200px; }
.re-pkg {
  --g-rx: 0deg; --g-ry: 0deg; --g-x: 50%; --g-y: 0%;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 45%, rgba(10, 17, 34, 0.55));
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), inset 0 -1px 0 rgba(255, 255, 255, 0.04), 0 18px 40px -18px rgba(0, 0, 0, 0.7);
  transform: rotateX(var(--g-rx)) rotateY(var(--g-ry)); transform-style: preserve-3d;
  transition: transform 0.35s var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
/* Glare that follows the pointer, plus a slow sheen sweep. */
.re-pkg::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--g-x) var(--g-y), rgba(255, 255, 255, 0.16), transparent 45%);
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.re-pkg::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; overflow: hidden;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.10) 48%, transparent 60%) -150% 0 / 250% 100% no-repeat;
  animation: re-glass-sheen 7s ease-in-out infinite;
}
.re-pkg:nth-child(2)::after { animation-delay: 0.6s; } .re-pkg:nth-child(3)::after { animation-delay: 1.2s; }
.re-pkg:nth-child(4)::after { animation-delay: 1.8s; } .re-pkg:nth-child(5)::after { animation-delay: 2.4s; }
@keyframes re-glass-sheen { 0%, 70% { background-position: -150% 0; } 100% { background-position: 150% 0; } }
.re-pkg > * { transform: translateZ(24px); }
.re-pkg__badge { transform: translateZ(40px); }
.re-pkg:hover {
  transform: rotateX(var(--g-rx)) rotateY(var(--g-ry)) translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(159, 180, 214, 0.12);
}
.re-pkg:hover::before { opacity: 1; }
.re-pkg--featured {
  background: linear-gradient(160deg, rgba(232, 185, 84, 0.16), rgba(255, 255, 255, 0.03) 45%, rgba(11, 20, 38, 0.6));
  border-color: rgba(232, 185, 84, 0.45);
  box-shadow: inset 0 1px 0 rgba(255, 220, 150, 0.3), 0 20px 50px -18px rgba(201, 150, 43, 0.35);
}
/* No blur support: keep the cards solid so text stays readable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .re-pkg { background: linear-gradient(180deg, #0E1830, #0A1122); }
  .re-pkg--featured { background: linear-gradient(180deg, #13213D, #0B1426); }
}

@media (prefers-reduced-motion: reduce) {
  .re-pkg, .re-opt, .re-svc { transition: none; }
  .re-pkg:hover { transform: none; }
  .re-pkg { transform: none; }
  .re-pkg::after, #packages::before, #packages::after { animation: none; }
}

/* ---------- Fixes found in mobile testing ---------- */
/* .field sets display:grid, which beats the [hidden] attribute. */
.re [hidden] { display: none !important; }
/* Fieldsets default to min-width:min-content and push past narrow screens. */
.re-step, .re-form, .re-book__grid > * { min-width: 0; }
/* On the booking page the flow's own total bar replaces the generic
   Call / Quote / Book bar, which would otherwise cover it. */
@media (max-width: 767px) {
  body.page-real-estate-booking .mobile-bar { display: none !important; }
  body.page-real-estate-booking { padding-bottom: 0; }
  body.page-real-estate-booking .fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
/* The ambient glow motion.js adds overflows the section; with overflow:hidden
   the section is still scrollable by focus(), which shifted the steps sideways.
   clip cannot be scrolled at all. */
.re-book { overflow: clip; }
/* Badges sit on their own line under the package name on small screens. */
@media (max-width: 640px) {
  .re-opt__head { flex-direction: column; gap: 0.35rem; }
  .re-opt__badge { margin: 0.35rem 0.35rem 0 0; display: inline-block; }
}
/* A page ancestor clips overflow, which stops position:sticky reaching the
   viewport; pin the mobile total bar to the screen instead. */
@media (max-width: 960px) {
  .re-mbar:not([hidden]) { position: fixed; left: 0; right: 0; bottom: 0; margin: 0; z-index: 40; }
  body.page-real-estate-booking { padding-bottom: 64px; }
  body.page-real-estate-booking .fab { bottom: calc(76px + env(safe-area-inset-bottom)); }
}
.re-opt__badge { white-space: nowrap; }

/* Hero photo */
.re-hero__visual--photo { margin: 0; padding: 0; overflow: hidden; aspect-ratio: 4 / 3; }
.re-hero__visual--photo picture, .re-hero__visual--photo img, .re-hero__video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero: pitch under the video ---------- */
.re-hero__side { min-width: 0; }
.re-hero__pitch {
  margin: 4rem 0 0; text-align: center; font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.05rem, 1.6vw, 1.3rem); line-height: 1.35; color: #fff;
}
.re-hero__pitch em { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--brand-gold-light); }
@media (max-width: 960px) { .re-hero__side { max-width: 520px; } }
