/* ReaLaw — site styles.
   Page sections keep the design's inline styles; this file holds the shared
   base, the header/footer, hover states and responsive rules. */

:root {
  --paper: #f3f2f2;
  --ink: #201e1d;
  --ink-2: #4a4745;
  --muted: #5f5c5a;
  --red: #ec3013;
  --red-hover: #c8280f;
  --red-ink: #b3210b;      /* active nav / link hover */
  --eyebrow: #8a1a08;
  --hover-grey: #e7e5e5;
  --rule-soft: #d9d7d7;
  --gutter: clamp(20px, 5vw, 72px);
  --navy: #142c50;       /* logo blue */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 28px;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--red-ink); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
::selection { background: #f7c4bb; }
img { max-width: 100%; }

/* Hover states (design: style-hover) */
.hov-red:hover   { background: var(--red-hover) !important; }
.hov-grey:hover  { background: var(--hover-grey) !important; }
.hov-white:hover { background: #ffffff !important; }
/* Filled buttons keep their own text colour on hover */
a.hov-red:hover { color: var(--paper); }
a.hov-white:hover { color: var(--ink); }

.btn { display: inline-block; font-size: 15px; font-weight: 600; padding: 15px 26px; white-space: nowrap; }
.btn--primary { background: var(--red); color: var(--paper); }
.btn--sm { font-size: 14px; letter-spacing: 0.02em; padding: 12px 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.site-header__bar {
  max-width: 1200px; margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex; align-items: center; gap: 32px;
}
.site-header__logo { display: flex; align-items: center; flex: 0 0 auto; }
.site-header__logo img { height: 44px; width: auto; display: block; mix-blend-mode: multiply; }
.site-header__links {
  display: flex; align-items: center; gap: 26px; margin-left: auto;
  font-size: 14px; font-weight: 500; letter-spacing: 0.02em;
}
.site-header--es .site-header__links { gap: 24px; }
.site-header__links a { white-space: nowrap; }
.site-header__links a[aria-current="page"] { color: var(--red-ink); }
.site-header__lang { border: 2px solid var(--ink); padding: 5px 9px; font-weight: 600; font-size: 13px; line-height: 1.4; }
.site-header__bar > .btn { flex: 0 0 auto; margin-left: auto; }
.site-header__menubtn {
  display: none; flex: 0 0 auto;
  background: transparent; border: 2px solid var(--ink); color: var(--ink);
  font: inherit; font-size: 14px; font-weight: 600; padding: 10px 14px; cursor: pointer;
}
.site-header__panel {
  border-top: 2px solid var(--ink);
  padding: 8px var(--gutter) 20px;
  display: flex; flex-direction: column; gap: 4px;
  font-size: 16px; font-weight: 600;
}
.site-header__panel[hidden] { display: none; }
.site-header__panel a { padding: 10px 0; border-bottom: 1px solid var(--rule-soft); }
.site-header__panel a:last-child { border-bottom: 0; }

@media (max-width: 1000px) {
  .site-header__links { display: none; }
  .site-header__menubtn { display: block; }
}
@media (min-width: 1001px) { .site-header__panel { display: none !important; } }
/* Spanish labels are longer, so the ES header collapses a little earlier */
@media (max-width: 1040px) {
  .site-header--es .site-header__links { display: none; }
  .site-header--es .site-header__menubtn { display: block; }
}
@media (min-width: 1001px) and (max-width: 1040px) {
  .site-header--es .site-header__panel:not([hidden]) { display: flex !important; }
}
@media (max-width: 480px) {
  .site-header__bar { gap: 10px; }
  .site-header__logo img { height: 34px; }
  .site-header__bar > .btn { padding: 10px 12px; font-size: 13px; letter-spacing: 0; }
  .site-header__menubtn { padding: 8px 10px; font-size: 13px; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--ink); background: var(--paper); }
.site-footer__grid {
  max-width: 1200px; margin: 0 auto;
  padding: 44px var(--gutter);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px 40px;
}
.site-footer__logo { height: 38px; width: auto; display: block; mix-blend-mode: multiply; margin-bottom: 14px; }
.site-footer__blurb { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.site-footer__heading { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin: 0 0 6px; }
.site-footer__legal { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter) 40px; }
.site-footer__legal p { font-size: 13px; line-height: 20px; color: var(--muted); margin: 0; }

/* ---------- Content helpers ---------- */
/* Fixed multi-column grids stack on narrow screens (inline styles need !important) */
@media (max-width: 900px) {
  [data-stack] { grid-template-columns: 1fr !important; }
  [data-stack="tight"] { gap: 10px 0 !important; }
}

/* Properties filter */
.filter-btn {
  background: transparent; color: var(--ink);
  border: 2px solid var(--ink);
  font: inherit; font-size: 14px; font-weight: 600;
  padding: 9px 16px; cursor: pointer; text-align: left;
}
.filter-btn:hover { background: var(--hover-grey); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
article[data-cat][hidden] { display: none; }

/* Forms on the red contact band use light inputs; placeholder/focus polish */
input, select, textarea { outline-offset: 2px; }

/* ---------- Questionnaires (case review / investor profile) ---------- */
.q-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.q-crumb { padding: 20px 0 0; font-size: 13px; letter-spacing: 0.04em; color: var(--muted); }
.q-intro { padding: 48px 0 44px; }
.q-eyebrow { font-size: 13px; line-height: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--eyebrow); margin: 0 0 24px; font-weight: 600; }
.q-title { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.07; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 24px; margin-left: -0.058em; max-width: 22ch; }
.q-lede { font-size: 19px; line-height: 31px; max-width: 58ch; margin: 0; }
.q-rule { height: 2px; background: var(--ink); }
.q-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 48px clamp(24px, 5vw, 80px); padding: 56px 0 80px; }
@media (max-width: 900px) { .q-layout { grid-template-columns: 1fr; } }

.q-form { display: flex; flex-direction: column; gap: 0; }
.q-step { border: 0; margin: 0; padding: 0 0 40px; min-width: 0; }
.q-step + .q-step { border-top: 2px solid var(--ink); padding-top: 34px; }
.q-step legend { padding: 0; margin: 0 0 24px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); }
.q-step legend span { color: var(--ink); margin-right: 10px; }
.q-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 20px; }
.q-field { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.q-field--full { grid-column: 1 / -1; }
.q-label { font-size: 16px; line-height: 25px; font-weight: 600; }
.q-req { color: var(--red); margin-left: 3px; }
.q-hint { font-size: 14px; line-height: 21px; color: var(--muted); margin: -4px 0 0; }
.q-input {
  background: transparent; border: 2px solid var(--ink); color: var(--ink); border-radius: 0;
  font: inherit; font-size: 16px; line-height: 24px; padding: 12px 14px; width: 100%;
}
select.q-input {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat;
}
textarea.q-input { resize: vertical; min-height: 140px; }
.q-input:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.q-input[type="file"] { padding: 10px 12px; font-size: 15px; cursor: pointer; }
.q-input[type="file"]::file-selector-button {
  font: inherit; font-size: 14px; font-weight: 600; background: var(--ink); color: var(--paper);
  border: 0; padding: 8px 14px; margin-right: 14px; cursor: pointer;
}

/* Yes / no and single-choice options, drawn as buttons */
.q-choices { display: flex; flex-wrap: wrap; gap: 10px; border: 0; padding: 0; margin: 0; }
.q-choices--stack { flex-direction: column; align-items: stretch; }
.q-choice { position: relative; display: inline-flex; }
.q-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.q-choice span {
  display: block; border: 2px solid var(--ink); padding: 10px 18px; min-width: 88px;
  font-size: 15px; font-weight: 600; cursor: pointer; background: transparent;
}
.q-choices--stack .q-choice span { width: 100%; }
.q-choice span:hover { background: var(--hover-grey); }
.q-choice input:checked + span { background: var(--ink); color: var(--paper); }
.q-choice input:focus-visible + span { outline: 2px solid var(--red); outline-offset: 2px; }
.q-question { display: flex; flex-direction: column; gap: 14px; padding: 18px 0; border-top: 1px solid var(--rule-soft); }
.q-question:first-of-type { border-top: 0; padding-top: 0; }

.q-consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; line-height: 22px; color: var(--ink-2); }
.q-consent input { width: 20px; height: 20px; accent-color: var(--red); margin: 1px 0 0; flex: 0 0 auto; }
.q-submit { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 26px; }
.q-submit button {
  background: var(--red); color: var(--paper); border: 0; font: inherit; font-size: 16px; font-weight: 600;
  padding: 16px 28px; cursor: pointer;
}
.q-submit button:hover { background: var(--red-hover); }
.q-submit button[disabled] { opacity: 0.7; cursor: progress; }
.q-submit p { font-size: 14px; line-height: 22px; color: var(--muted); margin: 0; }
.q-error { display: none; border: 2px solid var(--red); color: var(--red-ink); padding: 12px 14px; font-size: 15px; line-height: 23px; font-weight: 600; margin: 0 0 20px; }
.q-error.is-shown { display: block; }
.q-listing { border: 2px solid var(--ink); padding: 12px 14px; font-size: 15px; line-height: 23px; margin: 0 0 26px; }
.q-listing[hidden] { display: none; }
.q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.q-aside-box { border: 2px solid var(--ink); padding: 26px 24px 28px; position: sticky; top: 100px; }
.q-aside-box h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin: 0 0 16px; color: var(--eyebrow); }
.q-aside-box ol { margin: 0; padding: 0; list-style: none; counter-reset: s; display: flex; flex-direction: column; gap: 14px; }
.q-aside-box li { counter-increment: s; display: grid; grid-template-columns: 30px 1fr; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.q-aside-box li::before { content: counter(s, decimal-leading-zero); font-weight: 800; color: var(--ink); }
.q-aside-box hr { border: 0; height: 2px; background: var(--ink); margin: 24px 0 18px; }
.q-aside-box p { font-size: 15px; line-height: 24px; color: var(--ink-2); margin: 0 0 10px; }
.q-aside-box a.q-wa { font-weight: 800; border-bottom: 2px solid var(--red); }
@media (max-width: 900px) { .q-aside-box { position: static; } }

/* Two-path chooser (home + contact) */
.paths { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.path { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px 24px; border: 2px solid currentColor; }
.path__kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin: 0; }
.path__title { font-size: 22px; line-height: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 0; }
.path__text { font-size: 15px; line-height: 24px; margin: 0 0 8px; }
.path__btn { align-self: flex-start; margin-top: auto; }
.paths--on-red .path { color: var(--paper); }
.paths--on-red .path__btn { background: var(--paper); color: var(--ink); }
.paths--on-paper .path__kicker { color: var(--eyebrow); }
.paths--on-paper .path__text { color: var(--ink-2); }

/* ---------- Legal documents (privacy notice, legal notice) ---------- */
.doc { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.doc-head { padding: 48px 0 40px; }
.doc-head h1 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.07; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 20px; margin-left: -0.05em; max-width: 20ch; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; line-height: 22px; color: var(--muted); margin: 0; }
.doc-meta strong { color: var(--ink); font-weight: 600; }
.doc-summary { border: 2px solid var(--ink); padding: 26px 28px 24px; margin: 0 0 8px; background: #fff; }
.doc-summary h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); margin: 0 0 16px; }
.doc-summary ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px 32px; }
.doc-summary li { font-size: 15px; line-height: 24px; color: var(--ink-2); padding-left: 18px; position: relative; }
.doc-summary li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--red); }
.doc-summary li strong { color: var(--ink); }
.doc-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: 48px clamp(24px, 5vw, 72px); padding: 48px 0 90px; }
.doc-toc { position: sticky; top: 96px; align-self: start; max-height: calc(100vh - 120px); overflow: auto; }
.doc-toc p { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; margin: 0 0 12px; }
.doc-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--ink); }
.doc-toc a { display: block; padding: 6px 0 6px 14px; font-size: 14px; line-height: 20px; color: var(--ink-2); }
.doc-toc a:hover { color: var(--red-ink); }
.doc-body { max-width: 72ch; }
.doc-body section { scroll-margin-top: 96px; padding-bottom: 8px; }
.doc-body section + section { border-top: 1px solid var(--rule-soft); padding-top: 28px; margin-top: 28px; }
.doc-body h2 { font-size: clamp(21px, 2.2vw, 25px); line-height: 1.25; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.doc-body h2 span { color: var(--red-ink); margin-right: 10px; font-feature-settings: 'tnum' 1; }
.doc-body h3 { font-size: 17px; line-height: 26px; font-weight: 700; margin: 22px 0 8px; }
.doc-body p, .doc-body li { font-size: 16px; line-height: 27px; color: var(--ink-2); }
.doc-body p { margin: 0 0 14px; }
.doc-body ul, .doc-body ol { margin: 0 0 14px; padding-left: 22px; }
.doc-body li { margin-bottom: 6px; }
.doc-body li::marker { color: var(--red-ink); }
.doc-body strong { color: var(--ink); }
.doc-body a { border-bottom: 2px solid var(--red); }
.doc-body .doc-law { font-size: 13px; line-height: 20px; color: var(--muted); margin-top: -6px; }
.doc-body table { width: 100%; border-collapse: collapse; margin: 6px 0 18px; font-size: 15px; line-height: 23px; }
.doc-body th, .doc-body td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--rule-soft); color: var(--ink-2); }
.doc-body th { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); border-bottom: 2px solid var(--ink); }
.doc-note { border-left: 4px solid var(--red); background: #fff; padding: 14px 18px; margin: 4px 0 18px; }
.doc-note p:last-child { margin-bottom: 0; }
.doc-lang { font-size: 14px; line-height: 22px; color: var(--muted); margin: 16px 0 0; max-width: 70ch; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; }
  .doc-toc { position: static; max-height: none; border: 2px solid var(--ink); padding: 16px 18px; }
  .doc-toc ol { border-left: 0; columns: 1; }
  .doc-toc a { padding-left: 0; }
  .doc-body table, .doc-body thead, .doc-body tbody, .doc-body tr, .doc-body th, .doc-body td { display: block; }
  .doc-body thead { display: none; }
  .doc-body tr { border-bottom: 1px solid var(--rule-soft); padding: 8px 0; }
  .doc-body td { border: 0; padding: 2px 0; }
  .doc-body td:first-child { font-weight: 700; color: var(--ink); }
}
@media print {
  .site-header, .site-footer, .doc-toc, .doc-print { display: none !important; }
  .doc-layout { grid-template-columns: 1fr; padding: 0; }
  body { background: #fff; font-size: 12pt; }
}
.doc-print { background: transparent; border: 2px solid var(--ink); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; cursor: pointer; }
.doc-print:hover { background: var(--hover-grey); }

/* Simplified privacy notice shown at each form (LFPDPPP art. 16-II) */
.q-privacy { border: 2px solid var(--ink); background: #fff; padding: 18px 20px; margin: 0 0 20px; }
.q-privacy p { font-size: 14px; line-height: 22px; color: var(--ink-2); margin: 0 0 8px; }
.q-privacy p:last-child { margin: 0; }
.q-privacy strong { color: var(--ink); }
.q-privacy a, .q-consent a { border-bottom: 2px solid var(--red); font-weight: 600; }
.q-consents { display: flex; flex-direction: column; gap: 12px; }

/* Footer legal row */
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; }
.site-footer__legal nav { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 13px; line-height: 20px; }
.site-footer__legal nav a { color: var(--ink-2); border-bottom: 1px solid transparent; }
.site-footer__legal nav a:hover { color: var(--red-ink); border-bottom-color: currentColor; }

/* Home video band (markup comes from build.mjs, heroMedia) */
.hero-media { position: relative; margin: 0 0 68px; aspect-ratio: 21 / 9; background: var(--ink, #201e1d); overflow: hidden; }
.hero-media__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero-media__toggle {
  position: absolute; right: 16px; bottom: 16px; width: 44px; height: 44px;
  display: grid; place-items: center; border: 0; cursor: pointer;
  background: var(--paper, #f3f2f2); color: var(--ink, #201e1d);
}
.hero-media__toggle:hover { background: #fff; }
.hero-media__toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hero-media__toggle .i-play { display: none; }
.hero-media__toggle.is-paused .i-play { display: block; }
.hero-media__toggle.is-paused .i-pause { display: none; }
.hero-media--placeholder {
  display: flex; align-items: flex-end; padding: 18px;
  background: repeating-linear-gradient(135deg, #e2e0e0 0 10px, #eceaea 10px 20px);
}
.hero-media--placeholder span {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: #6b6866;
}
@media (max-width: 700px) {
  .hero-media { aspect-ratio: 4 / 3; margin-bottom: 48px; }
}

/* Properties: one listing, video first */
.listing-wrap { padding: 48px 0 76px; }
.listing-count { font-size: 14px; color: #5f5c5a; margin: 0 0 24px; }
.listing { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px clamp(28px, 4vw, 56px); align-items: start; }
.listing-video__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: repeating-linear-gradient(135deg, #e2e0e0 0 10px, #eceaea 10px 20px);
  background-size: cover; background-position: center;
}
.listing-video.is-ready .listing-video__frame { background-color: var(--ink); }
.listing-video__ph {
  position: absolute; left: 16px; bottom: 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase; color: #6b6866;
}
.listing-video.is-ready .listing-video__ph { display: none; }
.listing-video__play {
  position: absolute; inset: 0; margin: auto; width: max-content; height: max-content;
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 24px; border: 0; cursor: pointer;
  background: var(--red); color: var(--paper); font: inherit; font-size: 15px; font-weight: 600;
}
.listing-video__play:hover { background: var(--red-hover); }
.listing-video__play svg { width: 16px; height: 16px; fill: currentColor; }
.listing-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.listing-video__note { font-size: 13px; line-height: 21px; color: #5f5c5a; margin: 10px 0 0; }
.listing-video__note a { border-bottom: 1px solid currentColor; }
.listing__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px; }
.listing__photo {
  aspect-ratio: 4 / 3; display: flex; align-items: flex-end; padding: 10px;
  background: repeating-linear-gradient(135deg, #e2e0e0 0 10px, #eceaea 10px 20px) center / cover;
}
.listing__photo span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: #6b6866; }
.listing__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.listing__kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #8a1a08; margin: 0 0 10px; font-weight: 600; }
.listing__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; margin: 0 0 14px; }
.listing__desc { font-size: 16px; line-height: 27px; color: #4a4745; margin: 0 0 24px; }
.listing__label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: #5f5c5a; margin: 0 0 10px; }
.listing__tags { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 6px; }
.listing__tags li { border: 2px solid var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; }
.listing__price { border-top: 2px solid var(--ink); padding-top: 16px; margin-bottom: 22px; }
.listing__amount { font-size: 22px; font-weight: 800; margin: 0; font-feature-settings: 'tnum' 1; }
.listing__cta { display: block; text-align: center; white-space: normal; }
@media (max-width: 900px) {
  .listing { grid-template-columns: 1fr; }
}
.listing-video__play[hidden], .hero-media__toggle[hidden] { display: none; }

/* Home: FAQ questions ticker, moving right to left */
.faq-ticker { background: var(--navy); color: #fff; padding: 26px 0 30px; overflow: hidden; }
.faq-ticker__label {
  max-width: 1200px; margin: 0 auto 16px; padding: 0 clamp(20px, 5vw, 72px);
  font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: #ffffff; opacity: 0.85;
}
.faq-ticker__viewport {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.faq-ticker__track { display: flex; width: max-content; animation: faq-ticker 100s linear infinite; }
.faq-ticker:hover .faq-ticker__track,
.faq-ticker:focus-within .faq-ticker__track { animation-play-state: paused; }
.faq-ticker ul { display: flex; list-style: none; margin: 0; padding: 0; }
.faq-ticker li { display: flex; align-items: center; white-space: nowrap; }
.faq-ticker li::after { content: ""; width: 8px; height: 8px; background: var(--red); margin: 0 28px; flex: none; }
.faq-ticker a {
  color: #fff; font-size: clamp(18px, 2vw, 24px); font-weight: 800; letter-spacing: -0.01em;
  border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.faq-ticker a:hover, .faq-ticker a:focus-visible { border-bottom-color: var(--red); color: #fff; }
@keyframes faq-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .faq-ticker__track { animation: none; }
  .faq-ticker__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding: 0 clamp(20px, 5vw, 72px); }
  .faq-ticker ul[aria-hidden] { display: none; }
}
[id^="q-"] { scroll-margin-top: 110px; }
.listing-video__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.listing-video__play { z-index: 1; }

/* ---------- Blog ---------- */
.link-red { font-size: 15px; font-weight: 600; border-bottom: 2px solid var(--red); padding-bottom: 2px; }
.blog-head { padding: 48px 0 44px; }
.blog-head h1 { font-size: clamp(34px, 4.6vw, 58px); line-height: 1.07; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 24px; margin-left: -0.058em; max-width: 22ch; }
.blog-head h1 span { display: block; }
.blog-filter { display: flex; flex-wrap: wrap; gap: 10px; padding: 32px 0 0; }
.blog-filter button { background: transparent; border: 2px solid var(--ink); color: var(--ink); font: inherit; font-size: 14px; font-weight: 600; padding: 8px 14px; cursor: pointer; }
.blog-filter button:hover { background: var(--hover-grey); }
.blog-filter button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 40px; }
.post-grid--index { padding: 24px 0 90px; }
.post-card { border-top: 2px solid var(--ink); padding: 22px 0 30px; }
.post-card[hidden] { display: none; }
.post-card__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; line-height: 20px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.post-card__meta span { color: var(--eyebrow); font-weight: 600; }
.post-card__title { font-size: 21px; line-height: 28px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 10px; }
.post-card__title a:hover { color: var(--red-ink); }
.post-card__text { font-size: 15.5px; line-height: 25px; color: var(--ink-2); margin: 0; }
.blog-latest-wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.blog-latest { padding: 76px 0; }
.blog-latest__head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.blog-latest__title { font-size: clamp(28px, 3.2vw, 38px); line-height: 1.12; font-weight: 800; letter-spacing: -0.015em; margin: 0; max-width: 26ch; }
.post-head { padding: 40px 0 36px; border-bottom: 2px solid var(--ink); }
.post-head h1 { font-size: clamp(32px, 4.2vw, 52px); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 22px; margin-left: -0.05em; max-width: 24ch; }
.post-layout { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 48px clamp(24px, 5vw, 80px); padding: 44px 0 72px; }
.post-body > p:first-child { font-size: 19px; line-height: 31px; color: var(--ink); }
.post-body h2 { margin-top: 34px; }
.post-body blockquote { margin: 0 0 16px; padding: 4px 0 4px 18px; border-left: 4px solid var(--red); color: var(--ink); font-weight: 600; }
.post-aside .q-aside-box .btn { white-space: normal; }
.post-disclaimer { border-top: 1px solid var(--rule-soft); padding-top: 18px; margin-top: 30px !important; font-size: 14px !important; line-height: 22px !important; color: var(--muted) !important; }
.post-sources h2 { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); margin: 26px 0 10px; }
.post-sources li { font-size: 14px; line-height: 22px; }
.post-draft { background: var(--red); color: var(--paper); font-weight: 800; padding: 10px 14px; margin: 16px 0 0; }
.blog-related { border-top: 2px solid var(--ink); padding: 44px 0 80px; }
@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .post-aside .q-aside-box { position: static; }
}

/* ---------- Booking page ---------- */
.book-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; padding: 48px 0 20px; }
.book-card { border: 2px solid var(--ink); background: #fff; padding: 28px 26px 30px; display: flex; flex-direction: column; }
.book-card .book-card__kicker { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--eyebrow); margin: 0 0 12px; }
.book-card h2 { font-size: 24px; line-height: 30px; font-weight: 800; letter-spacing: -0.01em; margin: 0 0 14px; }
.book-card .book-card__price { font-size: 30px; line-height: 1; font-weight: 800; margin: 0 0 6px; font-feature-settings: 'tnum' 1; }
.book-card__price small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.book-card__facts { list-style: none; margin: 14px 0 18px; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 23px; color: var(--ink-2); }
.book-card__facts li { padding-left: 18px; position: relative; }
.book-card__facts li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 2px; background: var(--red); }
.book-card p:not([class]) { font-size: 15px; line-height: 24px; color: var(--ink-2); margin: 0 0 18px; }
.book-card .btn { align-self: flex-start; margin-top: auto; }
.book-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 36px; padding: 40px 0; margin: 0; list-style: none; counter-reset: b; }
.book-steps li { counter-increment: b; font-size: 15px; line-height: 24px; color: var(--ink-2); }
.book-steps li::before { content: "Step " counter(b, decimal-leading-zero); display: block; font-weight: 800; color: var(--red); margin-bottom: 8px; }
.book-steps:lang(es) li::before { content: "Paso " counter(b, decimal-leading-zero); }
.book-steps strong { color: var(--ink); }
.booking-frame { display: block; width: 100%; min-height: 900px; border: 2px solid var(--ink); background: #fff; }
.booking-fallback { border: 2px solid var(--ink); background: #fff; padding: 28px 26px; }
.booking-fallback p { margin: 0 0 18px; max-width: 60ch; }
.book-notes { padding: 32px 0 90px; max-width: 72ch; }
.book-notes p { font-size: 15px; line-height: 25px; color: var(--ink-2); margin: 0 0 12px; }
[id="calendar"] { scroll-margin-top: 100px; }
