/* Investment properties: the public list (/investors/properties/), the landing-page template (…/property?id=),
   the portal carousel, the picture lightbox and the tour-booking panel. Uses the tokens from site.css and its
   palette A (owner, 2026-10-24): dark blue -> yellow bar + yellow main button; white/soft -> blue bar + dark-blue buttons; red only for errors and warnings. */

.sr-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Sample ribbon ---------- */
.sample-tag { display: inline-block; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 12px; background: var(--yellow); color: var(--ink); border-radius: 6px; padding: 2px 10px; }

/* ---------- Tile (4:5, like Instagram) used by the carousel ---------- */
.prop-carousel { position: relative; margin-top: 18px; }
.prop-track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; overscroll-behavior-x: contain; }
.prop-track::-webkit-scrollbar { display: none; }
.prop-tile { position: relative; flex: 0 0 clamp(210px, 26vw, 268px); aspect-ratio: 4 / 5; scroll-snap-align: start; border-radius: 16px; overflow: hidden; display: block; text-decoration: none; color: #fff; background: var(--blue-dark); box-shadow: 0 6px 20px rgba(8,107,181,0.12); }
.prop-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.prop-tile:hover img, .prop-tile:focus-visible img { transform: scale(1.05); }
.prop-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,40,70,.88) 0%, rgba(8,40,70,.55) 34%, rgba(8,40,70,0) 62%); }
.prop-tile .tile-info { position: absolute; inset-inline: 0; bottom: 0; z-index: 1; padding: 14px 16px 16px; display: grid; gap: 2px; }
.prop-tile .tile-city { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 13px; color: var(--yellow); }
.prop-tile .tile-title { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 17px; line-height: 1.2; color: #fff; }
.prop-tile .tile-meta { font-size: 13px; color: rgba(255,255,255,.9); }
.prop-tile .tile-price { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 19px; margin-top: 4px; }
.prop-tile .sample-tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; }
.prop-tile .tile-tour { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; background: rgba(255,255,255,.95); color: var(--ink); font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 12px; border-radius: 8px; padding: 4px 9px; }
.carousel-nav { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.carousel-nav button:not(.carousel-toggle) { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; }
.carousel-nav button:not(.carousel-toggle):hover { border-color: var(--blue-dark); color: var(--blue-dark); }
.carousel-toggle { margin-inline-start: auto; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14px; padding: 8px 14px; min-height: 44px; border-radius: 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.carousel-toggle[aria-pressed="true"] { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.prop-more { margin-top: 6px; }

/* ---------- List page ---------- */
.pl-disclosure { background: var(--bg-soft); border-inline-start: 5px solid var(--blue); border-radius: 12px; padding: 14px 18px; font-size: 15px; margin-bottom: 26px; }
.pl-disclosure b { color: var(--ink); }
.pl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.pl-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.pl-card .pl-photo { position: relative; aspect-ratio: 4 / 5; border: 0; padding: 0; width: 100%; cursor: zoom-in; background: var(--line); display: block; }
.pl-card .pl-photo img { width: 100%; height: 100%; object-fit: cover; }
.pl-photo .zoom-hint { position: absolute; bottom: 12px; inset-inline-end: 12px; display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 8px; padding: 6px 10px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 13px; }
.pl-photo .zoom-hint svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.pl-photo .sample-tag { position: absolute; top: 12px; inset-inline-start: 12px; }
.pl-card .pl-body { padding: 18px 20px 20px; display: grid; gap: 6px; flex: 1; align-content: start; }
.pl-city { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14px; color: var(--blue-dark); }
.pl-card h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.pl-specs { margin: 0; font-size: 15px; color: var(--grey); }
.pl-price { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 24px; color: var(--blue-dark); margin-top: 4px; }
.pl-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 13px; border-radius: 999px; padding: 3px 12px; background: var(--bg-soft); color: var(--ink); border: 1px solid var(--line); }
.pill.blue { background: var(--blue-dark); color: #fff; border-color: var(--blue-dark); }
.pl-tour { font-size: 14px; color: var(--ink); background: var(--bg-soft); border-radius: 10px; padding: 8px 12px; margin-top: 4px; }
.pl-tour b { font-family: 'Rubik', sans-serif; }
.pl-card .btn { margin-top: 10px; text-align: center; }
.pl-card .btn-primary { background: var(--blue-dark); color: #fff; }

/* ---------- Landing page ---------- */
.pl-layout { max-width: 820px; margin: 0 auto; display: grid; gap: 22px; padding: 28px 0 90px; }
.pl-layout > * { min-width: 0; }
.pl-block { border-radius: 20px; padding: 36px 34px; }
.pl-block.white { background: #fff; border: 1px solid var(--line); }
.pl-block.soft { background: var(--bg-soft); }
.pl-block h2 { margin-bottom: 10px; }
.pl-block.soft .btn-primary { background: var(--blue); color: var(--ink); }
.pl-block.white .btn-primary { background: var(--blue-dark); color: #fff; }
.pl-block .btn { border: 0; cursor: pointer; }

/* Hero block (dark blue -> yellow bar and yellow button, palette A) */
.pl-hero { background: var(--blue-dark); color: #fff; padding: 40px 36px 34px; position: relative; overflow: hidden; }
.pl-hero .accent { background: var(--yellow); }
.pl-hero .eyebrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 15px; color: var(--yellow); margin-bottom: 12px; }
.pl-hero h1 { color: #fff; font-size: clamp(28px, 4.2vw, 42px); line-height: 1.15; margin-bottom: 14px; }
.pl-hero p { color: rgba(255,255,255,.9); font-size: 19px; }
.pl-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; padding: 0; }
.pl-chips li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 12px; padding: 8px 14px; display: grid; line-height: 1.25; }
.pl-chips strong { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 19px; color: #fff; }
.pl-chips span { font-size: 13px; color: rgba(255,255,255,.8); }
.pl-hero .btn-primary { background: var(--yellow); color: var(--ink); margin-top: 14px; font-size: 18px; padding: 14px 28px; }
.pl-hero .hero-next {
  display: inline-block; margin-top: 14px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 16px; color: #fff; }
.pl-hero .hero-next i { font-style: normal; color: var(--yellow); }

/* Gallery mosaic */
.pl-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; }
.pl-gallery button { position: relative; border: 0; padding: 0; background: var(--line); cursor: zoom-in; overflow: hidden; }
.pl-gallery button:first-child { grid-row: 1 / span 2; }
.pl-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.pl-gallery button:hover img { transform: scale(1.04); }
.pl-gallery .more { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(8,40,70,.55); color: #fff; font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 20px; text-align: center; }

/* Identification */
.pl-pains { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 14px; }
.pl-pains li { position: relative; padding-inline-start: 38px; font-size: 18px; color: var(--ink); }
.pl-pains li::before { content: "?"; position: absolute; inset-inline-start: 0; top: 1px; width: 26px; height: 26px; border-radius: 8px; background: var(--blue-100); color: var(--blue-dark); font-family: 'Rubik', sans-serif; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.pl-turn { margin-top: 22px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 20px; color: var(--blue-dark); }

/* Story */
.pl-story { display: grid; grid-template-columns: 150px 1fr; gap: 26px; align-items: start; }
.pl-story img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; }
.pl-story blockquote { margin: 0 0 14px; font-family: 'Rubik', sans-serif; font-weight: 900; font-size: clamp(21px, 2.6vw, 26px); line-height: 1.3; color: var(--blue-dark); }
.pl-story p { font-size: 17px; }
.pl-sign { font-family: 'Rubik', sans-serif; font-weight: 700; color: var(--ink) !important; }

/* Offer */
.pl-why { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 16px; }
.pl-why > div { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; background: #fff; }
.pl-why h3 { font-size: 17px; margin-bottom: 4px; }
.pl-why p { font-size: 15px; margin: 0; }
.pl-numbers { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 16px; }
.pl-numbers th, .pl-numbers td { text-align: start; padding: 11px 6px; border-bottom: 1px solid var(--line); }
.pl-numbers th { font-weight: 400; color: var(--grey); }
.pl-numbers td { font-family: 'Rubik', sans-serif; font-weight: 700; color: var(--ink); }
.pl-numbers tr.est td { color: var(--blue-dark); }
.pl-numbers-note { font-size: 13px; color: var(--grey); margin: 10px 0 0; }
.pl-bonus-title { margin: 28px 0 0; font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 20px; color: var(--ink); }
.pl-bonuses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 12px; }
.pl-bonuses > div { background: #fff; border: 2px dashed #C9D8E8; border-radius: 14px; padding: 16px 18px; }
.pl-bonuses h3 { font-size: 17px; }
.pl-bonuses p { font-size: 15px; margin: 0; }

/* Proof */
.pl-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
.pl-proof div { background: var(--bg-soft); border-radius: 14px; padding: 16px; text-align: center; }
.pl-proof strong { display: block; font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 28px; color: var(--blue-dark); line-height: 1.1; }
.pl-proof span { font-size: 14px; color: var(--grey); }
.pl-testimonials { margin-top: 18px; border: 2px dashed #C9D8E8; border-radius: 14px; padding: 18px 20px; font-size: 15px; color: var(--grey); text-align: center; }

/* Scarcity + steps */
.pl-scarcity { background: #fff; border-inline-start: 5px solid var(--yellow); border-radius: 12px; padding: 14px 18px; margin: 14px 0 6px; font-size: 16px; color: var(--ink); }
.pl-block .steps { margin-top: 18px; }

/* Broker line + sample banner */
.pl-broker { font-size: 14px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.pl-broker b { font-family: 'Rubik', sans-serif; }
.pl-sample-banner { background: var(--yellow); color: var(--ink); font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14px; text-align: center; padding: 8px 16px; }
.pl-others { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; }
.pl-more { margin-top: 10px; }
.pl-fine { margin-top: 6px; }

/* ---------- Red call-to-action (after every section) ---------- */
.btn-cta { border: 0; cursor: pointer; background: var(--blue-dark); color: #fff; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 18px; padding: 14px 30px; border-radius: 12px; transition: filter .2s ease; }
.btn-cta:hover { filter: brightness(1.08); }
.pl-cta { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; justify-content: center; padding: 2px 0; }
.pl-cta span { font-size: 14.5px; color: var(--grey); }
.pl-hero .pl-cta { justify-content: flex-start; margin-top: 18px; }
.pl-hero .pl-cta span { color: rgba(255,255,255,.9); font-weight: 500; }
.pl-hero .btn-cta { box-shadow: 0 0 0 3px rgba(255,255,255,.35); }

/* ---------- Booking section (bottom of the page) ---------- */
.pl-book { background: #fff; border: 2px solid var(--blue-dark); }
.pl-book .accent { background: var(--blue-mid); }
.tp { display: grid; gap: 22px; margin-top: 18px; }
.tp-step { display: grid; gap: 10px; }
.tp-step.tp-off .tp-label { opacity: .5; }
.tp-label { display: flex; align-items: center; gap: 10px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 18px; color: var(--ink); }
.tp-num { width: 28px; height: 28px; border-radius: 8px; background: var(--blue-dark); color: #fff; font-weight: 900; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.tp-daylist { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.tp-dayrow { display: grid; grid-template-columns: 170px 1fr; gap: 10px 16px; align-items: center; padding: 12px 16px; }
.tp-dayrow + .tp-dayrow { border-top: 1px solid var(--line); }
.tp-dayname { display: grid; line-height: 1.25; }
.tp-dayname b { font-family: 'Rubik', sans-serif; font-size: 16px; color: var(--ink); }
.tp-dayname span { font-size: 14px; color: var(--grey); }
.tp-times { display: flex; flex-wrap: wrap; gap: 8px; }
.tp-slot { border: 1px solid #CBD5E1; background: #fff; border-radius: 10px; padding: 7px 14px; display: grid; justify-items: center; cursor: pointer; font-family: 'Rubik', sans-serif; color: var(--ink); line-height: 1.2; min-width: 92px; }
.tp-slot .st { font-weight: 900; font-size: 17px; }
.tp-slot .sl { font-size: 12px; font-weight: 700; color: var(--blue-dark); }
.tp-slot.low .sl { color: var(--red-strong); }
.tp-slot:hover:not(:disabled) { border-color: var(--blue-dark); }
.tp-slot:disabled { background: #F5F7FA; color: #A5ADB7; cursor: default; }
.tp-slot:disabled .sl { color: #A5ADB7; }
.tp-slot[aria-pressed="true"] { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.tp-slot[aria-pressed="true"] .sl { color: var(--yellow); }
.tp-more { justify-self: start; border: 0; background: none; padding: 6px 2px; cursor: pointer; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 15px; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; }
.tp-empty, .tp-hint { background: var(--bg-soft); border-radius: 12px; padding: 14px; font-size: 15px; color: var(--grey); text-align: center; margin: 0; }
.tp-chosen { background: var(--bg-soft); border-radius: 12px; padding: 10px 14px; font-size: 16px; color: var(--ink); }
.tp-chosen b { font-family: 'Rubik', sans-serif; }
.tp-form { display: grid; gap: 14px; }
.tp-row { display: grid; grid-template-columns: 1.4fr 1fr 90px; gap: 12px; }
.tp-row.two { grid-template-columns: 1fr 1fr; }
.tp-form label { display: grid; gap: 5px; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.tp-form input:not([type="checkbox"]), .tp-form select { font: inherit; font-family: 'Heebo', sans-serif; font-size: 16px; padding: 11px 13px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.tp-form input[dir="ltr"] { text-align: right; }
.tp-form input[aria-invalid="true"] { border-color: var(--red); }
.tp-form .consent { display: flex; align-items: flex-start; gap: 10px; font-family: 'Heebo', sans-serif; font-weight: 400; font-size: 13.5px; color: var(--grey); line-height: 1.5; }
.tp-form .consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue-dark); flex-shrink: 0; }
.tp-submit { border: 0; cursor: pointer; background: var(--blue-dark); color: #fff; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 19px; padding: 15px 20px; border-radius: 12px; width: 100%; }
.tp-submit:hover { filter: brightness(1.08); }
.tp-status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--red); }
.tp-trust { margin: 0; font-size: 13px; color: var(--grey); text-align: center; }
.tp-alt summary { cursor: pointer; font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 15px; color: var(--blue-dark); }
.tp-alt .tp-form { margin-top: 12px; }
.tp-alt .tp-submit { background: var(--blue-dark); font-size: 16px; }
.tp-done { text-align: center; display: grid; gap: 10px; padding: 8px 0; justify-items: center; }
.tp-done:focus { outline: none; }
.tp-done .check { width: 56px; height: 56px; border-radius: 50%; background: #177245; display: flex; align-items: center; justify-content: center; }
.tp-done .check svg { width: 30px; height: 30px; stroke: #fff; fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tp-done h3 { font-size: 22px; margin: 0; }
.tp-done .when { font-family: 'Rubik', sans-serif; font-weight: 900; font-size: 19px; color: var(--blue-dark); }
.tp-sample-note { background: #FFF7D1; border-radius: 10px; padding: 10px 12px; font-size: 13.5px; color: var(--ink); }
.tp-back { border: 0; background: none; cursor: pointer; font-family: 'Rubik', sans-serif; font-weight: 700; color: var(--blue-dark); text-decoration: underline; }

/* Slim bar: shown once the top block is out of view, hidden while the booking section is on screen */
.pl-bar { position: fixed; inset-inline: 0; bottom: 0; z-index: 80; display: flex; gap: 14px; align-items: center; justify-content: center; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(43,20,16,.12); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); transition: transform .25s ease; }
.pl-bar.away { transform: translateY(110%); }
.pl-bar .bar-text { font-size: 13.5px; line-height: 1.3; color: var(--ink); }
.pl-bar .bar-text b { display: block; font-family: 'Rubik', sans-serif; font-size: 15px; }
.pl-bar .btn-cta { white-space: nowrap; padding: 11px 20px; font-size: 16px; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(10,18,28,.985); display: flex; flex-direction: column; opacity: 0; transition: opacity .2s ease; }
.lb.open { opacity: 1; }
.lb-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; color: #fff; font-family: 'Rubik', sans-serif; font-weight: 700; }
.lb-count { font-size: 15px; }
.lb-tools { display: flex; gap: 8px; }
.lb button { border: 0; cursor: pointer; }
.lb-btn { width: 46px; height: 46px; border-radius: 12px; background: rgba(255,255,255,.14); color: #fff; font-size: 22px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.lb-btn:hover { background: rgba(255,255,255,.28); }
.lb-btn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-stage { position: relative; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; touch-action: pan-y; }
.lb-stage.zoomed { overflow: auto; display: block; cursor: grab; touch-action: auto; }
.lb-stage.zoomed.drag { cursor: grabbing; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; cursor: zoom-in; }
.lb-stage.zoomed .lb-img { max-width: none; max-height: none; width: 220%; cursor: zoom-out; margin: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 72px; border-radius: 14px; background: rgba(255,255,255,.16); color: #fff; font-size: 30px; z-index: 2; }
.lb-nav:hover { background: rgba(255,255,255,.3); }
.lb-nav.prev { inset-inline-end: 14px; }
.lb-nav.next { inset-inline-start: 14px; }
.lb-stage.zoomed ~ .lb-nav { display: none; }
.lb-cap { color: rgba(255,255,255,.88); text-align: center; padding: 10px 16px 14px; font-size: 15px; min-height: 2.4em; }
.lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 0 12px 14px; overflow-x: auto; }
.lb-thumbs button { flex: 0 0 56px; height: 70px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; opacity: .6; background: #222; }
.lb-thumbs button[aria-current="true"] { border-color: var(--yellow); opacity: 1; }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }
body.lb-lock { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .pl-block { padding: 26px 20px; }
  .pl-hero { padding: 28px 20px 26px; }
  .pl-gallery { aspect-ratio: 4 / 3; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); }
  .pl-gallery button:nth-child(n+4) { display: none; }
  .pl-story { grid-template-columns: 1fr; }
  .pl-story img { max-width: 160px; }
  .pl-why, .pl-bonuses { grid-template-columns: 1fr; }
  .tp-dayrow { grid-template-columns: 1fr; }
  .tp-row, .tp-row.two { grid-template-columns: 1fr; }
  .pl-cta { flex-direction: column; }
  .pl-hero .pl-cta { align-items: stretch; }
  .pl-hero .pl-cta span { text-align: center; }
  .btn-cta { width: 100%; }
  .pl-bar .btn-cta { width: auto; }
  .pl-proof { grid-template-columns: 1fr; }
  .lb-nav { width: 44px; height: 60px; }
  .lb-thumbs { display: none; }
}

.property-grid[hidden] { display: none; }

/* Hero with a photo: the whole property in a 16:9 picture on top, its lower part fading into the dark blue that carries the details */
.pl-hero.has-photo { padding-top: 0; }
/* The picture is cropped by the box, not stretched: wide on a computer, tall on a phone, always around --hero-pos (the focus point of the property). */
.pl-hero-photo { margin-inline: -36px; aspect-ratio: 16 / 9; background: linear-gradient(180deg, rgba(8,107,181,0) 58%, rgba(8,107,181,.75) 84%, var(--blue-dark) 100%), var(--hero-img) var(--hero-pos, center) / cover no-repeat, var(--blue-dark); margin-bottom: -6px; }
.pl-video { text-align: center; margin: 0; }
.pl-video a { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 16px; color: var(--blue-dark); text-underline-offset: 3px; }
@media (max-width: 760px) { .pl-hero-photo { margin-inline: -20px; aspect-ratio: 4 / 5; } }

.pl-empty { grid-column: 1 / -1; background: #fff; border: 2px dashed #C9D8E8; border-radius: 16px; padding: 32px; text-align: center; }
.pl-empty p { max-width: 620px; margin: 0 auto 20px; }

/* The client's personal form (submit.js) */
.sub-form { margin-top: 18px; }
.sub-group { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 12px; margin: 0; background: #fff; min-width: 0; }
.sub-group legend { font-family: 'Rubik', sans-serif; font-weight: 700; font-size: 16px; padding: 0 8px; color: var(--ink); }
.sub-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.sub-field { display: grid; gap: 5px; align-content: start; }
.sub-field select, .sub-field textarea { font: inherit; font-family: 'Heebo', sans-serif; font-size: 16px; padding: 12px 14px; border: 1px solid #CBD5E1; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.sub-field textarea { min-height: 84px; resize: vertical; }
.sub-hint { display: block; font-size: 13px; color: var(--grey); line-height: 1.5; font-weight: 400; font-family: 'Heebo', sans-serif; margin: 2px 0 8px; }
.sub-req { color: var(--red-strong); }
.sub-files { font-size: 14px; color: var(--grey); margin-top: 6px; }
@media (max-width: 760px) { .sub-grid { grid-template-columns: 1fr; } }

/* honeypot field of the booking and "no time suits me" forms: invisible to people, filled by bots */
.tp-form .hp { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* "join the investors' community" box in the booking form: smaller than the fields, still easy to read, with a pulsing frame around the tick box */
.tp-form .tp-join { font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: 4px; }
.tp-form .tp-join input[type="checkbox"] { border-radius: 5px; box-shadow: 0 0 0 3px var(--blue); animation: tp-pulse 1.5s ease-in-out infinite; }
.tp-form .tp-join input[type="checkbox"]:checked { animation: none; box-shadow: none; }
.tp-form .tp-join-note { margin: -6px 0 0; font-size: 12px; line-height: 1.5; color: var(--grey); }
@keyframes tp-pulse { 0%, 100% { box-shadow: 0 0 0 2px var(--blue), 0 0 0 5px rgba(20,160,255,0); } 50% { box-shadow: 0 0 0 3px var(--blue), 0 0 0 9px rgba(20,160,255,.35); } }
@media (prefers-reduced-motion: reduce) { .tp-form .tp-join input[type="checkbox"] { animation: none; box-shadow: 0 0 0 3px var(--blue); } }
