/* ==========================================================================
   Desert Valley Real Estate | V1 site stylesheet (shared by every page)
   Design system: the client-approved demo homepage (blue palette, white hero,
   centered logo above a centered nav, Fira Sans). Extended here to About,
   Area Guides, FAQ, Contact, Privacy Policy, thank-you and 404.
   ========================================================================== */

/* Fira Sans is loaded from Google Fonts by a <link> in each page head. */

:root {
  --blue: #00AEFF;         /* accent: icon discs, focus ring, hover tint */
  --blue-btn: #2979A8;     /* buttons, active nav, links. Demo used #2E85B7; nudged
                              darker so white button text meets WCAG AA (4.8:1). */
  --blue-btn-hover: #22668F;
  --blue-dark: #004274;    /* footer, owner band */
  --ink: #222222;
  --body: #5A6268;
  --muted: #5F6B72;        /* small labels: 5.5:1 on white */
  --line: #DCE0E0;
  --grey-bg: #F8F8F8;
  --white: #fff;
  --gold: #EABD23;
  --max: 1170px;
}

/* --- reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: var(--body); background: var(--white); line-height: 1.7;
  -webkit-font-smoothing: antialiased; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; font-weight: 600; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.25rem); }
h3 { font-size: 1.12rem; }
p a, li a.inline, .text-link { color: var(--blue-btn); text-decoration: underline; text-underline-offset: 2px; }
p a:hover, .text-link:hover { color: var(--blue-btn-hover); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 860px; }
section, .section { padding: clamp(48px, 6vw, 72px) 0; }
.grey { background: var(--grey-bg); }
.sec-head { text-align: center; margin-bottom: 38px; }
.sec-head h2 { margin-bottom: 8px; }
.sec-head p { max-width: 680px; margin: 0 auto; }
.center { text-align: center; }

/* --- accessibility helpers --- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--blue-dark); color: #fff; padding: 12px 20px; border-radius: 0 0 6px 0;
}
.skip:focus { left: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 2px; }
footer :focus-visible, .owner-band :focus-visible { outline-color: #fff; }

/* --- buttons --- */
.btn {
  display: inline-block; background: var(--blue-btn); color: #fff; font-weight: 500;
  padding: 13px 30px; border-radius: 4px; font-size: .95rem; border: none; cursor: pointer;
  transition: background .2s; text-align: center; line-height: 1.4;
}
.btn:hover { background: var(--blue-btn-hover); }
.btn-outline { background: transparent; color: var(--blue-btn); border: 1px solid var(--blue-btn); }
.btn-outline:hover { background: var(--blue-btn); color: #fff; }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { background: #E6F5FF; }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }

/* --- header: centered logo above a centered nav, like the original --- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand { text-align: center; padding: 26px 20px 14px; }
.brand a { display: inline-block; }
.brand img { height: 92px; width: auto; margin: 0 auto; }
.mainnav { border-top: 1px solid var(--line); }
.mainnav ul { display: flex; justify-content: center; gap: 38px; padding: 0 20px; flex-wrap: wrap; }
.mainnav a {
  display: block; padding: 15px 0; font-size: .9rem; font-weight: 500; color: var(--ink);
  letter-spacing: .02em; border-bottom: 3px solid transparent; transition: color .2s, border-color .2s;
}
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--blue-btn); border-color: var(--blue-btn); }
.nav-toggle {
  display: none; margin: 0 auto; align-items: center; gap: 10px;
  background: none; border: 1px solid var(--line); border-radius: 4px; padding: 9px 16px;
  font-size: .9rem; font-weight: 500; color: var(--ink); cursor: pointer;
}
.nav-toggle svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; }
.nav-toggle .ic-close { display: none; }
.nav-toggle[aria-expanded="true"] .ic-open { display: none; }
.nav-toggle[aria-expanded="true"] .ic-close { display: block; }

/* --- home hero: white background, dark text (matches original) --- */
.hero { text-align: center; padding: clamp(46px, 6vw, 74px) 0 clamp(30px, 4vw, 44px); }
.hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.6rem); margin-bottom: 14px; font-weight: 600; }
.hero p { font-size: clamp(1.05rem, 2.1vw, 1.4rem); color: var(--ink); font-weight: 300; max-width: 820px; margin: 0 auto; }

/* --- inner page head --- */
.page-head { text-align: center; padding: clamp(40px, 6vw, 64px) 0 clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 4.8vw, 3rem); margin-bottom: 12px; }
.page-head p { font-size: clamp(1.02rem, 1.8vw, 1.25rem); color: var(--ink); font-weight: 300; max-width: 760px; margin: 0 auto; }

/* --- search bar --- */
.search {
  max-width: 1080px; margin: 34px auto 0; background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 14px; display: grid; grid-template-columns: 1.1fr 1fr 1fr .85fr auto; gap: 12px; align-items: end;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .05);
}
.search .f { text-align: left; }
.search label, .field label, .fieldset-legend {
  display: block; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted); font-weight: 600; margin-bottom: 5px;
}
.search select, .search input, .input, .select, .textarea {
  width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 4px;
  font-family: inherit; font-size: .95rem; color: var(--ink); background: #fff; min-height: 44px;
}
.search select:focus, .search input:focus, .input:focus, .select:focus, .textarea:focus {
  border-color: var(--blue-btn); outline: 3px solid rgba(0, 174, 255, .35); outline-offset: 0;
}
.search .btn { height: 44px; padding: 0 30px; white-space: nowrap; }

/* --- featured carousel --- */
.car { position: relative; }
.track {
  display: flex; gap: 24px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  padding: 6px 2px 20px; -ms-overflow-style: none; scrollbar-width: none;
}
.track::-webkit-scrollbar { display: none; }
.pcard {
  flex: 0 0 calc((100% - 48px) / 3); min-width: 270px; scroll-snap-align: start; background: #fff;
  border: 1px solid var(--line); border-radius: 6px; overflow: hidden; transition: box-shadow .25s;
}
.pcard:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .1); }
.pcard .ph { aspect-ratio: 4 / 3; overflow: hidden; background: #eee; }
.pcard .ph img { width: 100%; height: 100%; object-fit: cover; }
.pcard .bd { padding: 18px; }
.pcard .city { font-size: .78rem; text-transform: uppercase; letter-spacing: .09em; color: var(--blue-btn); font-weight: 600; margin-bottom: 6px; }
.pcard h3 { font-size: 1.02rem; margin-bottom: 12px; font-weight: 500; line-height: 1.4; }
.specs { display: flex; gap: 16px; border-top: 1px solid var(--line); padding-top: 12px; font-size: .85rem; color: var(--body); flex-wrap: wrap; }
.nav-btn {
  position: absolute; top: 38%; width: 44px; height: 44px; border-radius: 50%; background: #fff;
  border: 1px solid var(--line); box-shadow: 0 3px 12px rgba(0, 0, 0, .14); cursor: pointer; font-size: 1.4rem;
  color: var(--ink); display: flex; align-items: center; justify-content: center; z-index: 3; line-height: 1;
}
.nav-btn:hover { background: var(--blue-btn); color: #fff; border-color: var(--blue-btn); }
.prev { left: -14px; } .next { right: -14px; }
.car-note { text-align: center; font-size: .9rem; margin-top: 4px; }

/* --- split sections --- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 58px); align-items: center; }
.split img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split h2 { margin-bottom: 16px; }
.split p { margin-bottom: 18px; }
.split .btn { margin-top: 4px; }

/* --- details trio --- */
.det-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 34px; text-align: center; }
.det .ic { width: 74px; height: 74px; margin: 0 auto 18px; border-radius: 50%; background: var(--blue); display: flex; align-items: center; justify-content: center; }
.det .ic svg { width: 34px; height: 34px; stroke: #fff; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.det h3 { font-size: 1.12rem; margin-bottom: 10px; }
.det p { font-size: .95rem; }

/* --- testimonials --- */
.t-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 24px; }
.t { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 24px; }
.t h3 { font-size: 1rem; margin-bottom: 4px; }
.t .when { font-size: .78rem; color: var(--muted); margin-bottom: 12px; }
.t p { font-size: .9rem; margin-bottom: 14px; }
.t .who { font-weight: 600; font-size: .85rem; color: var(--ink); }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 2px; margin-bottom: 8px; }

/* --- stats strip (About) --- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; text-align: center; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 26px 18px; }
.stat b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.4rem); color: var(--blue-dark); font-weight: 600; line-height: 1.1; margin-bottom: 6px; }
.stat span { font-size: .9rem; }

/* --- owner band (About) --- */
.owner-band { background: var(--blue-dark); color: rgba(255, 255, 255, .88); }
.owner-band h2, .owner-band h3 { color: #fff; }
.owner-band .split { align-items: start; }
.owner-band .lead { font-size: 1.08rem; color: #fff; }
.owner-band ul.proof { display: grid; gap: 14px; margin: 8px 0 26px; }
.owner-band ul.proof li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: start; }
.owner-band ul.proof svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.owner-band ul.proof b { color: #fff; display: block; }
.owner-band .alt { font-size: .95rem; margin-top: 12px; }
.owner-band .alt a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

/* --- CTA band --- */
.cta-band { background: var(--grey-bg); text-align: center; border-top: 1px solid var(--line); }
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { max-width: 640px; margin: 0 auto 22px; }

/* --- area guides --- */
.chips-bar { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 2px 8px rgba(0, 0, 0, .04); }
.chips { display: flex; gap: 10px; padding: 12px 0; flex-wrap: wrap; justify-content: center; }
.chip {
  display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 7px 16px;
  font-size: .86rem; font-weight: 500; color: var(--ink); white-space: nowrap; background: #fff;
  transition: color .2s, border-color .2s, background .2s;
}
.chip:hover, .chip.is-active { color: var(--blue-btn); border-color: var(--blue-btn); background: #F2FAFF; }
.city { scroll-margin-top: 80px; }
.city-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.city-head h2 { margin: 0; }
.city-head .top { font-size: .85rem; color: var(--blue-btn); text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.ag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ag-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
a.ag-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, .1); transform: translateY(-2px); }
.ag-card .ph { aspect-ratio: 408 / 300; background: #eef2f4; overflow: hidden; }
.ag-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.ag-card .bd { padding: 16px 18px 18px; }
.ag-card h3 { font-size: 1rem; font-weight: 500; line-height: 1.4; margin-bottom: 6px; }
.ag-card .site { font-size: .84rem; color: var(--blue-btn); text-decoration: underline; text-underline-offset: 2px; word-break: break-all; }
.ag-card .site svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; display: inline-block; vertical-align: -1px; margin-left: 3px; }

/* --- FAQ --- */
.faq-nav { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 34px; }
.faq-group { margin-bottom: 48px; scroll-margin-top: 24px; }
.faq-group h2 { margin-bottom: 8px; }
.faq-group > p { margin-bottom: 20px; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 10px; }
.faq summary {
  list-style: none; cursor: pointer; position: relative; padding: 16px 52px 16px 20px;
  font-weight: 500; color: var(--ink); line-height: 1.45;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%; width: 12px; height: 12px;
  border-right: 2px solid var(--blue-btn); border-bottom: 2px solid var(--blue-btn);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { color: var(--blue-btn); }
.faq summary:focus-visible { outline-offset: -3px; }
.faq details .a { padding: 0 20px 18px; }
.faq details .a p + p { margin-top: 10px; }

/* --- contact --- */
.contact-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
.form-card h2 { font-size: 1.5rem; margin-bottom: 6px; }
.form-card > p { margin-bottom: 22px; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field .req { color: var(--blue-btn); }
.field .hint { display: block; font-size: .84rem; margin-top: 4px; }
.textarea { min-height: 140px; resize: vertical; line-height: 1.6; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23222' stroke-width='1.6'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
}
fieldset { border: 1px solid var(--line); border-radius: 6px; padding: 18px 18px 4px; margin-bottom: 18px; min-width: 0; }
fieldset legend { padding: 0 6px; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: 14px; font-size: .84rem; max-width: 56ch; }
.error-banner {
  background: #FFF3F0; border: 1px solid #E5A99B; color: #7A2E1E; border-radius: 6px;
  padding: 14px 16px; margin-bottom: 20px; font-size: .95rem;
}
.aside { background: var(--grey-bg); border: 1px solid var(--line); border-radius: 6px; padding: 28px; }
.aside h2 { font-size: 1.25rem; margin-bottom: 14px; }
.aside dl > div { padding: 12px 0; border-top: 1px solid var(--line); }
.aside dl > div:first-child { border-top: 0; padding-top: 0; }
.aside dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.aside dd { color: var(--ink); }
.aside dd a { color: var(--blue-btn); text-decoration: underline; text-underline-offset: 2px; }
.aside .owner-note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .92rem; }

/* --- simple pages (thank-you, 404) --- */
.simple { text-align: center; padding: clamp(64px, 10vw, 120px) 0; }
.simple h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); margin-bottom: 14px; }
.simple p { max-width: 560px; margin: 0 auto 12px; font-size: 1.05rem; }
.simple .btn-row { margin-top: 26px; }

/* --- privacy policy --- */
.policy .updated { font-size: .84rem; color: var(--muted); margin-bottom: 28px; }
.policy h2 { font-size: 1.4rem; margin: 36px 0 10px; }
.policy h2:first-of-type { margin-top: 0; }
.policy p, .policy ul { margin-bottom: 14px; max-width: 72ch; }
.policy ul { list-style: disc; padding-left: 22px; }
.policy li { margin-bottom: 8px; }
.policy li a { color: var(--blue-btn); text-decoration: underline; text-underline-offset: 2px; }
.policy li a:hover { color: var(--blue-btn-hover); }
.policy a { overflow-wrap: anywhere; }
.policy b { color: var(--ink); font-weight: 600; }

/* --- footer --- */
.site-footer { background: var(--blue-dark); color: rgba(255, 255, 255, .8); padding: 56px 0 26px; font-size: .92rem; }
.fg { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 38px; }
.site-footer h3 { color: #fff; font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; margin-bottom: 15px; font-weight: 600; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:hover { color: var(--blue); }
.flogo { height: 84px; width: auto; margin-bottom: 14px; background: #fff; padding: 10px 14px; border-radius: 6px; }
.fbadges { display: flex; gap: 15px; align-items: center; margin-top: 20px; }
.fbadges img { height: 36px; width: auto; } .fbadges img.mls { height: 30px; }
.broker { font-size: .88rem; line-height: 1.75; color: rgba(255, 255, 255, .78); }
.legal {
  border-top: 1px solid rgba(255, 255, 255, .15); margin-top: 24px; padding-top: 20px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem;
}
.legal a { text-decoration: underline; text-underline-offset: 2px; }

/* --- responsive --- */
@media (max-width: 1000px) {
  .fg { grid-template-columns: 1.6fr 1fr 1fr; }
  .fg > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .search { grid-template-columns: 1fr 1fr; }
  .search .btn { grid-column: 1 / -1; width: 100%; }
  .split { grid-template-columns: 1fr; }
  .pcard { flex: 0 0 calc((100% - 24px) / 2); }
  .ag-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav-toggle { display: flex; margin: 8px auto; }
  .mainnav ul { display: none; flex-direction: column; gap: 0; padding: 0 0 10px; }
  .mainnav.is-open ul { display: flex; }
  .mainnav a { padding: 12px 20px; text-align: center; border-bottom: none; }
  .mainnav a:hover, .mainnav a[aria-current="page"] { background: #F2FAFF; }
  .chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; padding-left: 2px; padding-right: 56px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  /* Right-edge fade hints that the chip row scrolls sideways. */
  .chips-bar::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 56px; pointer-events: none; background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff 70%); }
  .city { scroll-margin-top: 66px; }
}
@media (max-width: 620px) {
  .brand img { height: 74px; }
  .search { grid-template-columns: 1fr; }
  .pcard { flex: 0 0 88%; }
  .fg { grid-template-columns: 1fr; }
  .fg > div:last-child { grid-column: auto; }
  .prev { left: -6px; } .next { right: -6px; }
  .field-row { grid-template-columns: 1fr; }
  .city-head { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 520px) {
  .ag-grid { grid-template-columns: 1fr; }
}

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


/* ---------- rentals grid + detail pages ---------- */
.grid-3{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:26px}
.pcard-link{display:block;color:inherit;text-decoration:none;height:100%}
.pcard-link:focus-visible{outline:3px solid var(--blue-btn,#2979A8);outline-offset:3px}
.ph-empty{aspect-ratio:4/3;background:var(--grey-bg,#F8F8F8)}
.rentals{padding:clamp(34px,5vw,56px) 0}
.rentals .chips{margin-bottom:26px}
.no-match{text-align:center;color:var(--body,#5A6268);margin-top:26px}

.detail{padding:clamp(26px,4vw,44px) 0}
.crumb{font-size:.85rem;color:var(--body,#5A6268);margin-bottom:10px}
.crumb a{color:var(--blue-btn,#2979A8)}
.crumb span{margin:0 6px;opacity:.5}
.detail h1{margin-bottom:8px}
.detail-sub{color:var(--body,#5A6268);max-width:70ch;margin-bottom:22px}

.gallery{margin-bottom:30px}
.ghero{border-radius:6px;overflow:hidden;background:var(--grey-bg,#F8F8F8);aspect-ratio:3/2}
.ghero img{width:100%;height:100%;object-fit:cover;display:block}
.gthumbs{display:flex;gap:10px;overflow-x:auto;padding:10px 2px 2px;scrollbar-width:thin}
.gthumb{flex:0 0 112px;padding:0;border:1px solid var(--line,#DCE0E0);border-radius:4px;
  background:none;cursor:pointer;overflow:hidden;line-height:0}
.gthumb img{width:112px;height:84px;object-fit:cover}
.gthumb[aria-current="true"]{border-color:var(--blue-btn,#2979A8);box-shadow:0 0 0 2px var(--blue-btn,#2979A8)}
.gthumb:focus-visible{outline:3px solid var(--blue-btn,#2979A8);outline-offset:2px}

.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:clamp(24px,4vw,48px);align-items:start}
.detail-main p{margin-bottom:14px}
.detail-main h2{font-size:1.25rem;margin:26px 0 12px}
.specs-list{display:flex;flex-wrap:wrap;gap:10px;list-style:none;padding:0;margin:0 0 22px}
.specs-list li{background:var(--grey-bg,#F8F8F8);border:1px solid var(--line,#DCE0E0);
  border-radius:4px;padding:7px 13px;font-size:.9rem}
.amenities,.rooms{list-style:none;padding:0;display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 20px}
.amenities li,.rooms li{font-size:.94rem;padding-left:18px;position:relative}
.amenities li::before,.rooms li::before{content:"";position:absolute;left:3px;top:.62em;
  width:5px;height:5px;border-radius:50%;background:var(--blue-btn,#2979A8)}
.book-box{border:1px solid var(--line,#DCE0E0);border-radius:6px;padding:22px;
  background:var(--grey-bg,#F8F8F8);position:sticky;top:20px}
.book-box h2{font-size:1.1rem;margin-bottom:8px}
.book-box p{font-size:.93rem;margin-bottom:14px}
.book-box .btn{width:100%;text-align:center}
.book-or{margin:12px 0 0;font-size:.9rem;text-align:center}

@media(max-width:900px){
  .detail-grid{grid-template-columns:1fr}
  .book-box{position:static}
}

/* ---- Brokerage disclosure (ADRE): licensed name in text on every page ---- */
.broker p { margin: 0 0 6px; }
.broker-firm { font-weight: 700; font-size: 1rem; color: #fff; }
.broker .broker-eho { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.broker-eho .eho-logo { display: inline-flex; flex: none; background: #fff; border-radius: 4px; padding: 4px; }
.broker-eho .eho-logo img { display: block; height: 40px; width: auto; }
.broker-eho span { font-weight: 600; color: rgba(255, 255, 255, .92); }
/* Brokerage identification at the listing level, per ADRE */
.listing-broker { margin: 26px 0 0; padding-top: 14px; border-top: 1px solid rgba(0, 0, 0, .09); font-size: .85rem; line-height: 1.7; color: #5b6168; }
.listing-broker strong { color: var(--ink); font-weight: 600; }

/* Contact form: the home a guest is asking about */
.form-home { margin: 0 0 18px; padding: 10px 14px; border-left: 3px solid var(--blue-btn); background: #F3F8FC; color: var(--ink); font-weight: 600; }
