/* Good Estate Agent NE — v2 (no WordPress). Matches the live Salient design:
   Plus Jakarta Sans, greens #3A6A3C / #73A534, pill buttons, white header. */
:root {
  --green: #3A6A3C;
  --green-dark: #2E5530;
  --lime: #73A534;
  --ink: #000;
  --ink-soft: #3b3b3b;
  --muted: #6b6b6b;
  --bg: #F8F8F8;
  --panel: #F0F2F6;
  --white: #fff;
  --footer: #252525;
  --line: #e4e4e4;
  --sold: #B23A2E;
  --radius: 14px;
  --pill: 200px;
  --wrap: 1240px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif; font-weight: 500;
  font-size: 17px; line-height: 1.6; letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green); }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.9rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: .85rem; font-weight: 600; letter-spacing: .02em; color: var(--green); margin-bottom: .4em; display: block; }
.section { padding: 88px 0; }
.section.tight { padding: 56px 0; }
.section.white { background: var(--white); }
.section.panel { background: var(--panel); }
.section.green { background: var(--green); color: var(--white); }
.section.green .eyebrow { color: #cfe6b4; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.green .lead { color: rgba(255,255,255,.88); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: 12px 26px; border-radius: var(--pill);
  background: var(--green); color: var(--white); text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 2px solid var(--green); transition: background .2s, color .2s, transform .2s; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); transform: translateY(-1px); }
.btn.light { background: var(--white); color: var(--green); border-color: var(--white); }
.btn.light:hover { background: transparent; color: var(--white); }
.btn.ghost { background: transparent; color: var(--green); }
.btn.ghost:hover { background: var(--green); color: var(--white); }
.btn.lime { background: var(--lime); border-color: var(--lime); }
.arrow::after { content: "→"; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 24px; }
.logo img { height: 52px; width: auto; }
.nav { display: flex; gap: 26px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:hover, .nav a.active { color: var(--green); }
.nav a.active { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.header-cta { display: flex; gap: 12px; align-items: center; }
.header-phone { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.menu-toggle { display: none; background: none; border: 0; font: inherit; font-size: 1.6rem; cursor: pointer; padding: 6px; color: var(--ink); }
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; top: 84px; left: 0; right: 0; background: var(--white); flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .menu-toggle { display: block; }
  .header-phone { display: none; }
}
@media (max-width: 520px) { .header-cta .btn { display: none; } .logo img { height: 44px; } }

/* Hero */
.hero { position: relative; color: var(--white); background-color: var(--green); background-size: cover; background-position: center; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(58,106,60,.86); }
.hero.photo::before { background: linear-gradient(90deg, rgba(30,55,32,.88) 0%, rgba(30,55,32,.55) 60%, rgba(30,55,32,.25) 100%); }
.hero > .wrap { position: relative; padding: 96px 24px; }
.hero.home > .wrap { padding: 64px 24px 88px; text-align: center; }
.hero .badge { width: 170px; margin: 0 auto 28px; border-radius: 50%; box-shadow: 0 12px 40px rgba(0,0,0,.25); }
.hero .kicker { font-size: 1rem; opacity: .92; margin-bottom: 28px; display: block; }
.hero .lead { color: rgba(255,255,255,.9); }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero.home .actions { justify-content: center; }

/* Area tiles */
.areas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 44px; }
.area { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none;
  display: flex; align-items: flex-end; padding: 22px; background-size: cover; background-position: center; box-shadow: var(--shadow); }
.area::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.7) 100%); transition: background .3s; }
.area:hover::before { background: linear-gradient(180deg, rgba(58,106,60,.2) 0%, rgba(58,106,60,.85) 100%); }
.area span { position: relative; font-size: clamp(1.4rem, 2.6vw, 2.2rem); text-transform: uppercase; line-height: 1; letter-spacing: -.01em; }
.area small { position: relative; display: block; font-size: .9rem; text-transform: none; margin-top: 8px; opacity: .9; }
@media (max-width: 760px) { .areas { grid-template-columns: 1fr; } .area { aspect-ratio: 16/9; } }

/* Listings */
.list-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.list-head h2 { margin: 0; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.chip { border: 1.5px solid var(--green); color: var(--green); background: transparent; border-radius: var(--pill); padding: 7px 16px;
  font: inherit; font-size: .88rem; font-weight: 600; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); color: var(--white); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 26px; }
.card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  text-decoration: none; color: var(--ink); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,.12); }
.card .img { position: relative; aspect-ratio: 4/3; background: var(--panel); overflow: hidden; }
.card .img img { width: 100%; height: 100%; object-fit: cover; }
.card .tag { position: absolute; top: 14px; left: 14px; background: var(--green); color: var(--white); border-radius: var(--pill);
  padding: 5px 13px; font-size: .78rem; font-weight: 600; }
.card .tag.sold { background: var(--sold); }
.card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card .price { font-size: 1.35rem; font-weight: 700; color: var(--green); letter-spacing: -.02em; }
.card .addr { font-size: 1rem; font-weight: 600; line-height: 1.3; }
.card .meta { font-size: .88rem; color: var(--muted); }
.card .more { margin-top: auto; padding-top: 10px; font-size: .88rem; font-weight: 600; color: var(--green); }
.empty { padding: 40px; text-align: center; background: var(--white); border-radius: var(--radius); color: var(--muted); }
.updated { font-size: .82rem; color: var(--muted); }

/* Service cards (home) */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service { border-radius: var(--radius); padding: 34px 30px; color: var(--white); background: var(--lime); display: flex; flex-direction: column; gap: 10px; }
.service.dark { background: var(--green); }
.service h3 { margin: 0; }
.service p { opacity: .92; font-size: .95rem; }
.service .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } }

/* Two-column content */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.split.flip > :first-child { order: 2; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; height: 100%; max-height: 520px; object-fit: cover; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.flip > :first-child { order: 0; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 32px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .32em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.green .ticks li::before { background-color: rgba(255,255,255,.22); }
.cols-2 { columns: 2; column-gap: 40px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 640px) { .cols-2 { columns: 1; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 26px; }
.package { background: var(--white); border-radius: var(--radius); padding: 34px 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
/* Solid green block, as on the live site's Lettings card */
.package.dark { background: var(--green); color: var(--white); box-shadow: none; }
.package.dark .sub { color: rgba(255,255,255,.75); }
.package.dark .fees { background: rgba(255,255,255,.12); }
.package.dark .ticks li::before { background-color: rgba(255,255,255,.22); }
.package.dark .btn { background: var(--white); color: var(--green); border-color: var(--white); }
.package .sub { color: var(--muted); margin-bottom: 1em; }
.package .fees { background: var(--panel); border-radius: 10px; padding: 14px 18px; margin: 4px 0 18px; font-weight: 600; }
.package .fees div + div { margin-top: 4px; }
.package .btn { margin-top: auto; align-self: flex-start; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; background: var(--white); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--green); color: var(--white); font-weight: 700; margin-bottom: 14px; }
.steps strong { display: block; margin-bottom: 4px; }
.steps span { color: var(--ink-soft); font-size: .95rem; }

/* Fees table */
.table-wrap { overflow-x: auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
table.fees { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 520px; }
table.fees th, table.fees td { padding: 13px 20px; text-align: left; border-bottom: 1px solid var(--line); }
table.fees th { background: var(--green); color: var(--white); font-weight: 600; }
table.fees td:nth-child(n+2), table.fees th:nth-child(n+2) { text-align: right; white-space: nowrap; }
table.fees tr.group td { background: var(--panel); font-weight: 700; color: var(--green); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.review { background: var(--white); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.review .stars { color: #F4B400; letter-spacing: 2px; font-size: 1.05rem; }
.review p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
.review .who { margin-top: auto; font-weight: 700; font-size: .92rem; }
.review .src { font-size: .78rem; color: var(--muted); font-weight: 500; }
.rating-head { display: flex; gap: 14px; align-items: center; justify-content: center; margin-bottom: 34px; flex-wrap: wrap; }
.rating-head strong { font-size: 1.3rem; }

/* Links list (auction guides) */
.linkcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.linkcard { background: var(--white); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.linkcard a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; }
.linkcard a:last-child { border-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { background: var(--green); color: var(--white); border-radius: var(--radius); padding: 36px; }
.contact-card a { color: var(--white); }
.contact-card dl { margin: 0; display: grid; gap: 18px; }
.contact-card dt { font-size: .82rem; opacity: .75; }
.contact-card dd { margin: 0; font-size: 1.1rem; font-weight: 600; }
form.enquiry { background: var(--white); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); display: grid; gap: 16px; }
form.enquiry label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; }
form.enquiry input, form.enquiry select, form.enquiry textarea { font: inherit; font-weight: 500; padding: 13px 15px; border: 1.5px solid var(--line);
  border-radius: 10px; background: var(--bg); width: 100%; }
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: 2px solid var(--lime); border-color: var(--lime); }
form.enquiry textarea { min-height: 140px; resize: vertical; }
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form.enquiry .row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; }
.notice { padding: 14px 18px; border-radius: 10px; background: #EAF4DF; color: var(--green-dark); font-weight: 600; }
.notice.err { background: #FBE9E7; color: var(--sold); }

/* CTA band */
.cta-band { text-align: center; }
.cta-band .lead { margin-left: auto; margin-right: auto; }
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

/* Footer */
.accreditations { background: var(--white); padding: 34px 0; border-top: 1px solid var(--line); }
.accreditations .wrap { display: flex; gap: 38px; align-items: center; justify-content: center; flex-wrap: wrap; }
.accreditations img { height: 52px; width: auto; object-fit: contain; filter: grayscale(.2); }
.site-footer { background: var(--footer); color: #ccc; padding: 64px 0 28px; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.footer-cols h4 { color: #fff; font-size: 1rem; font-weight: 700; margin-bottom: 14px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-logo { background: #fff; border-radius: 12px; padding: 10px 14px; display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 46px; width: auto; }
.legal { border-top: 1px solid #3a3a3a; margin-top: 44px; padding-top: 22px; font-size: .82rem; color: #9a9a9a; }
.legal a { color: #cfcfcf; text-decoration: underline; }
@media (max-width: 860px) { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-cols { grid-template-columns: 1fr; } .section { padding: 64px 0; } .wrap { padding: 0 16px; } .hero > .wrap { padding: 64px 16px; } }

/* Preview banner (only in preview.html) */
.preview-bar { background: #111; color: #fff; font-size: .8rem; text-align: center; padding: 6px 12px; }
.preview-bar b { color: #b9e08a; }

/* Listing cards: Rightmove stays the main button, "More details" opens our property page */
.btn.small { padding: 9px 16px; font-size: .84rem; }
.card .img { display: block; }
.card .count { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.6); color: var(--white); border-radius: var(--pill);
  padding: 4px 11px; font-size: .75rem; font-weight: 600; }
.card a.addr { color: var(--ink); text-decoration: none; }
.card a.addr:hover { color: var(--green); }
.card-actions { margin-top: auto; padding-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; }

/* Property page — Rightmove layout, Good Estate styling */
.rm { background: var(--white); }
.rm-wrap { max-width: 1180px; padding-top: 18px; padding-bottom: 64px; }
.rm-crumbs { margin-bottom: 14px; font-size: .9rem; }
.rm-crumbs a { color: var(--green); font-weight: 600; text-decoration: none; }
.rm-crumbs a:hover { text-decoration: underline; }

.rm-gallery { position: relative; display: grid; gap: 4px; height: 470px; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; border-radius: 10px; overflow: hidden; }
.rm-gallery.g1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.rm-gallery.g2 { grid-template-rows: 1fr; }
.rm-gallery .tile { display: block; background: var(--panel); overflow: hidden; cursor: pointer; }
.rm-gallery .t0 { grid-row: 1 / -1; }
.rm-gallery .tile img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.rm-gallery .tile:hover img { opacity: .9; }
.gbtns { position: absolute; left: 14px; bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.gbtn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: 6px; background: rgba(255,255,255,.95);
  color: var(--ink); font: inherit; font-size: .85rem; font-weight: 600; text-decoration: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.gbtn:hover { color: var(--green); }
.gbtn .ic { width: 18px; height: 18px; color: var(--green); }

.rm-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; margin-top: 28px; }
.rm-main { min-width: 0; }
.rm-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.rm-head h1 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.rm-tag { flex: none; background: #EAF3E0; color: var(--green); border-radius: 4px; padding: 4px 10px; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.rm-tag.sold { background: #FBE9E7; color: var(--sold); }
.rm-price { margin-top: 14px; }
.rm-price .qual { display: block; font-size: .85rem; color: var(--muted); }
.rm-price strong { font-size: clamp(1.8rem, 3vw, 2.3rem); font-weight: 700; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.rm .added { margin: 6px 0 0; font-size: .88rem; color: var(--muted); }

.rm-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); row-gap: 18px; margin: 24px 0 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rm-facts > div { padding: 0 18px; border-left: 1px solid var(--line); min-width: 0; }
.rm-facts > div:first-child { padding-left: 0; border-left: 0; }
.rm-facts dt { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.rm-facts dd { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 1.02rem; }
.rm-facts .ic { color: var(--green); width: 24px; height: 24px; }

.rm-block { padding: 30px 0; border-bottom: 1px solid var(--line); }
.rm-block:last-child { border-bottom: 0; }
.rm-block h2 { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; margin: 0 0 16px; }
.rm-block h3 { font-size: 1rem; font-weight: 700; margin: 22px 0 10px; }
.rm-features { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 40px; }
.rm-features li { margin-bottom: 8px; break-inside: avoid; }
.rm-features li::marker { color: var(--lime); }
.rm-desc { color: var(--ink-soft); line-height: 1.7; }
.rm-desc details summary { cursor: pointer; color: var(--green); font-weight: 700; list-style: none; display: inline-block; }
.rm-desc details summary::-webkit-details-marker { display: none; }
.rm-desc details summary::after { content: " ⌄"; }
.rm-desc details[open] summary { margin-bottom: 1em; }
.rm-desc details[open] summary::after { content: " ⌃"; }
.rm-kv { margin: 0; display: grid; gap: 8px; }
.rm-kv div { display: flex; gap: 8px; } .rm-kv dt { color: var(--muted); min-width: 150px; } .rm-kv dd { margin: 0; font-weight: 600; }
.rm-info { margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.rm-info div { background: var(--bg); border-radius: 8px; padding: 14px 16px; }
.rm-info dt { font-size: .72rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.rm-info dd { margin: 4px 0 0; font-weight: 600; }
.rm-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; scroll-margin-top: 100px; }
.rm-doc { display: block; border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--white); }
.rm-doc:hover { border-color: var(--green); }
.rm-doc img { width: 100%; height: 260px; object-fit: contain; }
.rm-doc.epc { max-width: 420px; }
.rm-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-weight: 600; }
.rm-link .ic { width: 18px; height: 18px; }
.rm-map { border-radius: 8px; overflow: hidden; background: var(--panel); scroll-margin-top: 100px; }
.rm-map iframe { display: block; width: 100%; height: 380px; border: 0; }
.rm-stations { list-style: none; margin: 0; padding: 0; }
.rm-stations li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rm-stations .ic { width: 20px; height: 20px; color: var(--green); flex: none; }
.rm-stations span { flex: 1; font-weight: 600; } .rm-stations b { font-weight: 500; color: var(--muted); }

.rm-side { position: sticky; top: 104px; }
.rm-agent { border: 1px solid var(--line); border-radius: 10px; padding: 22px; display: grid; gap: 12px; background: var(--white); box-shadow: 0 6px 24px rgba(0,0,0,.06); }
.rm-agent .who { display: flex; gap: 14px; align-items: center; padding-bottom: 16px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.rm-agent .who img { width: 56px; height: 56px; object-fit: contain; flex: none; }
.rm-agent .who span { display: block; font-size: .75rem; color: var(--muted); }
.rm-agent .who strong { display: block; font-size: .98rem; line-height: 1.25; }
.rm-agent .who small { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.rm-agent .btn { justify-content: center; border-radius: 8px; padding: 14px 20px; }
.rm-agent .btn .ic { width: 18px; height: 18px; }
.rm-call { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 8px 0 0; text-decoration: none; color: var(--ink); }
.rm-call .ic { color: var(--green); }
.rm-call span { font-size: .8rem; color: var(--muted); } .rm-call b { display: block; font-size: 1.05rem; color: var(--ink); }
.rm-agent .ref { margin: 4px 0 0; font-size: .78rem; color: var(--muted); text-align: center; }
.buy-bar { display: none; }

/* Full-screen photo viewer */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: #0d110d; display: none; flex-direction: column; color: var(--white); }
.lightbox.open { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } }
.lb-lock, .lb-lock body { overflow: hidden; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.lb-count { font-weight: 600; font-size: .95rem; opacity: .85; }
.lb-close { background: rgba(255,255,255,.1); border: 0; color: var(--white); width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; cursor: pointer; }
.lb-close:hover { background: rgba(255,255,255,.2); }
.lb-stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; padding: 0 76px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.12); color: var(--white); font-size: 2rem; line-height: 1; transition: background .2s; }
.lb-nav:hover { background: var(--lime); }
.lb-prev { left: 14px; } .lb-next { right: 14px; }
.lb-strip { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px 20px; justify-content: safe center; scrollbar-width: none; }
.lb-strip button { flex: 0 0 84px; height: 60px; padding: 0; border: 0; border-radius: 6px; overflow: hidden; opacity: .45; cursor: pointer;
  outline: 2px solid transparent; outline-offset: 2px; background: none; transition: opacity .2s; }
.lb-strip button:hover { opacity: .8; }
.lb-strip button[aria-current] { opacity: 1; outline-color: var(--lime); }
.lb-strip img { width: 100%; height: 100%; object-fit: cover; }


@media (max-width: 960px) {
  .rm-grid { grid-template-columns: 1fr; gap: 0; }
  .rm-side { position: static; margin-top: 24px; }
  .rm-gallery { height: auto; aspect-ratio: 4/3; grid-template-columns: 1fr; grid-template-rows: 1fr; margin: 0 -24px; border-radius: 0; }
  .rm-gallery .tile:not(.t0) { display: none; }
  .rm-gallery .t0 { grid-row: auto; }
  .rm-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .rm-facts > div, .rm-facts > div:first-child { padding: 0; border: 0; }
  .rm-features { columns: 1; }
  .rm-map iframe { height: 280px; }
  .buy-bar { display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--white); box-shadow: 0 -6px 24px rgba(0,0,0,.12); }
  .buy-bar div { min-width: 0; }
  .buy-bar strong { display: block; font-size: 1.15rem; line-height: 1.2; }
  .buy-bar span { display: block; font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .buy-bar .btn { flex: none; padding: 12px 18px; font-size: .9rem; border-radius: 8px; }
  body:has(.buy-bar) .site-footer { padding-bottom: 90px; }
  .lb-stage { padding: 0; }
  .lb-nav { display: none; }
}
@media (max-width: 520px) { .rm-gallery { margin: 0 -16px; } .gbtns { left: 10px; bottom: 10px; } .gbtn { height: 34px; padding: 0 11px; } }

.card-actions .btn { flex: 1 1 auto; justify-content: center; }
