/* =========================================================
   Kamato Realty Group — Stylesheet
   Design tokens: deep navy + warm gold on a warm-white ground
   Type: Playfair Display (display) / Inter (text)
   ========================================================= */

:root{
  --navy: #0F2438;
  --navy-2: #17324E;
  --navy-deep: #0A1A2A;
  --gold: #A9812E;
  --gold-light: #C7A661;
  --gold-pale: #EFE3C4;
  --paper: #FBFAF7;
  --gray-bg: #F3F1EC;
  --line: #E1DED4;
  --line-dark: rgba(255,255,255,0.14);
  --ink: #1B2430;
  --ink-soft: #57626F;
  --ink-faint: #8992A0;
  --white: #FFFFFF;
  --success: #2E7D4F;
  --radius-sm: 3px;
  --radius-md: 4px;
  --shadow-card: 0 1px 2px rgba(15,36,56,0.06), 0 8px 24px rgba(15,36,56,0.07);
  --shadow-lift: 0 12px 32px rgba(15,36,56,0.14);
  --container: 1200px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --dur: 220ms;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4{ font-family: var(--serif); color: var(--navy); font-weight: 700; margin: 0 0 .5em; line-height: 1.15; }
p{ margin: 0 0 1em; color: var(--ink-soft); }
input, select, textarea{ font-family: inherit; font-size: 1rem; }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section{ padding: 88px 0; }
.section--tight{ padding: 56px 0; }
.section--gray{ background: var(--gray-bg); }
.section--navy{ background: var(--navy); color: #EDEFF2; }
.section--navy h2, .section--navy h3{ color: var(--white); }
.section--navy p{ color: #C4CBD4; }

.eyebrow{
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .02em;
  margin-bottom: 12px;
}

.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head p{ font-size: 1.06rem; }

.h1{ font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.h2{ font-size: clamp(1.7rem, 3vw, 2.35rem); }
.h3{ font-size: 1.3rem; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .98rem;
  border: 1px solid transparent;
  transition: background var(--dur) ease, color var(--dur) ease, border-color var(--dur) ease, transform var(--dur) ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-gold{ background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-gold:hover{ background: #8E6C24; border-color: #8E6C24; }
.btn-outline{ background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline:hover{ background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-outline-navy{ background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover{ background: var(--navy); color: var(--white); }
.btn-navy{ background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-navy:hover{ background: var(--navy-2); }
.btn-block{ width: 100%; }
.btn-sm{ padding: 10px 18px; font-size: .9rem; }
.btn[disabled]{ opacity: .6; cursor: not-allowed; }

.link-arrow{ color: var(--navy); font-weight: 600; border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: color var(--dur); }
.link-arrow:hover{ color: var(--gold); }

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(251,250,247,0.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand{ display: flex; flex-direction: column; line-height: 1.05; }
.brand-name{ font-family: var(--serif); font-weight: 700; font-size: 1.4rem; color: var(--navy); }
.brand-sub{ font-size: .68rem; letter-spacing: .08em; color: var(--gold); font-weight: 600; margin-top: 3px; }

.main-nav{ display: flex; align-items: center; gap: 30px; }
.main-nav a{
  font-size: .96rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 2px;
  border-bottom: 2px solid transparent;
  transition: color var(--dur), border-color var(--dur);
}
.main-nav a:hover{ color: var(--navy); border-color: var(--gold-light); }
.main-nav a.active{ color: var(--navy); font-weight: 600; border-color: var(--gold); }

.header-right{ display: flex; align-items: center; gap: 14px; }
.call-pill{
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--navy);
  color: var(--navy);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  transition: background var(--dur), color var(--dur);
}
.call-pill:hover{ background: var(--navy); color: var(--white); }
.call-pill svg{ width: 16px; height: 16px; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform var(--dur), opacity var(--dur);
}
.nav-toggle span::before{ position: absolute; top: -6px; }
.nav-toggle span::after{ position: absolute; top: 6px; }
.nav-toggle.is-open span{ background: transparent; }
.nav-toggle.is-open span::before{ top: 0; transform: rotate(45deg); background: var(--navy); }
.nav-toggle.is-open span::after{ top: 0; transform: rotate(-45deg); background: var(--navy); }

.mobile-panel{
  display: none;
  position: fixed;
  inset: 84px 0 0 0;
  background: var(--paper);
  z-index: 480;
  overflow-y: auto;
  padding: 8px 24px 40px;
}
.mobile-panel.is-open{ display: block; }
.mobile-panel a{
  display: block;
  padding: 16px 4px;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--line);
}
.mobile-panel .btn{ margin-top: 24px; }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  min-height: 88vh;
  background-size: cover;
  background-position: center;
}
.hero::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,42,0.72) 0%, rgba(10,26,42,0.55) 45%, rgba(10,26,42,0.86) 100%);
}
.hero-inner{ position: relative; z-index: 2; max-width: 720px; padding: 120px 0 60px; }
.hero h1{ color: var(--white); }
.hero p.lead{ color: #DFE4EA; font-size: 1.14rem; max-width: 560px; }
.hero-ctas{ display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-phone{ margin-top: 26px; font-size: .98rem; color: #C9D0D9; }
.hero-phone a{ color: var(--gold-light); font-weight: 700; }

.page-hero{
  background: var(--navy);
  color: var(--white);
  padding: 76px 0 60px;
  position: relative;
  background-size: cover;
  background-position: center;
}
.page-hero.has-image::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,42,0.82), rgba(10,26,42,0.88));
}
.page-hero-inner{ position: relative; z-index: 2; max-width: 700px; }
.page-hero h1{ color: var(--white); margin-bottom: 14px; }
.page-hero p{ color: #C9D0D9; font-size: 1.05rem; max-width: 620px; }
.breadcrumb{ font-size: .85rem; color: var(--gold-light); margin-bottom: 16px; }
.breadcrumb a{ color: #C9D0D9; }
.breadcrumb a:hover{ color: var(--white); }

/* ---------- Search widget ---------- */
.search-wrap{ margin-top: -64px; position: relative; z-index: 30; }
.search-card{
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 26px;
  border-top: 3px solid var(--gold);
}
.toggle-row{ display: flex; gap: 6px; margin-bottom: 18px; }
.toggle-btn{
  padding: 9px 20px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-soft);
  transition: background var(--dur), color var(--dur), border-color var(--dur);
}
.toggle-btn.active{ background: var(--navy); border-color: var(--navy); color: var(--white); }

.search-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  align-items: end;
}
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font-size: .74rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-soft); }
.field select, .field input{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 12px;
  background: var(--white);
  color: var(--ink);
  font-size: .92rem;
}
.field select:focus, .field input:focus{ border-color: var(--gold); }
.search-grid .btn{ grid-column: span 1; height: 46px; }

/* ---------- Cards ---------- */
.grid{ display: grid; gap: 28px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }

.card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--dur), transform var(--dur);
}
.card:hover{ box-shadow: var(--shadow-card); transform: translateY(-3px); }

.property-card .media{ position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--gray-bg); }
.property-card .media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.property-card:hover .media img{ transform: scale(1.06); }
.status-badge{
  position: absolute; top: 14px; left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
  padding: 6px 12px;
  border-radius: 999px;
}
.status-badge.sale{ background: var(--navy); }
.status-badge.rent{ background: var(--gold); }
.status-badge.sold{ background: #5B6472; }
.demo-badge{
  position: absolute; top: 14px; right: 14px;
  background: rgba(255,255,255,0.92);
  color: var(--ink-soft);
  font-size: .66rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
}
.property-card .body{ padding: 20px; }
.property-price{ font-family: var(--serif); font-size: 1.35rem; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.property-price span{ font-size: .85rem; color: var(--ink-faint); font-weight: 500; font-family: var(--sans); }
.property-address{ font-size: .92rem; color: var(--ink-soft); margin-bottom: 14px; }
.property-meta{
  display: flex; gap: 14px;
  font-size: .84rem;
  color: var(--ink-soft);
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-bottom: 16px;
}
.property-meta span{ display: flex; align-items: center; gap: 5px; }
.property-type-tag{
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--gold);
  background: var(--gold-pale);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.service-card{ padding: 32px 26px; }
.service-icon{
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--gold-pale);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg{ width: 24px; height: 24px; }

.feature-list{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 32px; }
.feature-item{ display: flex; gap: 16px; }
.feature-item .dot{
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 700;
}
.feature-item h4{ margin-bottom: 4px; font-size: 1.05rem; }
.feature-item p{ margin: 0; font-size: .93rem; }

/* ---------- Testimonials ---------- */
.testi-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
}
.testi-quote-mark{ font-family: var(--serif); font-size: 3rem; color: var(--gold-light); line-height: .5; display: block; margin-bottom: 10px; }
.testi-name{ font-weight: 700; color: var(--navy); margin-top: 16px; }
.testi-role{ font-size: .84rem; color: var(--ink-faint); }
.sample-note{
  font-size: .78rem;
  color: var(--ink-faint);
  text-align: center;
  margin-top: 20px;
}

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--navy);
  color: var(--white);
  padding: 72px 0;
  text-align: center;
}
.cta-band h2{ color: var(--white); }
.cta-band p{ color: #C9D0D9; max-width: 560px; margin: 0 auto 30px; }
.cta-actions{ display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 32px;
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group{ margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-group label{ font-size: .85rem; font-weight: 600; color: var(--navy); }
.form-group .req{ color: var(--gold); }
.form-group input, .form-group select, .form-group textarea{
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  color: var(--ink);
  background: var(--paper);
  transition: border-color var(--dur), box-shadow var(--dur);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus{
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(169,129,46,0.14);
  outline: none;
  background: var(--white);
}
.form-group textarea{ resize: vertical; min-height: 120px; }
.form-group.error input, .form-group.error select, .form-group.error textarea{ border-color: #B3423A; }
.error-msg{ font-size: .78rem; color: #B3423A; display: none; }
.form-group.error .error-msg{ display: block; }
.radio-group{ display: flex; flex-wrap: wrap; gap: 10px; }
.radio-chip{
  border: 1px solid var(--line);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: .86rem;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all var(--dur);
}
.radio-chip input{ display: none; }
.radio-chip:has(input:checked){ background: var(--navy); border-color: var(--navy); color: var(--white); }
.form-success{
  display: none;
  background: #EAF4EC;
  border: 1px solid var(--success);
  color: #1F5C36;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  margin-bottom: 18px;
}
.form-success.show{ display: block; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-deep); color: #B9C1CB; padding: 64px 0 0; }
.footer-grid{ display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name{ color: var(--white); }
.footer-tag{ font-size: .9rem; color: var(--gold-light); margin: 10px 0 18px; }
.footer-col h4{ color: var(--white); font-size: .95rem; font-family: var(--sans); font-weight: 700; margin-bottom: 16px; }
.footer-col a, .footer-col li{ display: block; font-size: .9rem; color: #B9C1CB; margin-bottom: 12px; transition: color var(--dur); }
.footer-col a:hover{ color: var(--gold-light); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding: 26px 0; font-size: .8rem; color: #8B95A2; flex-wrap: wrap; gap: 12px;
}
.footer-bottom a{ color: #8B95A2; }
.footer-bottom a:hover{ color: var(--gold-light); }
.footer-legal{ display: flex; gap: 18px; flex-wrap: wrap; }
.equal-housing{ display: flex; align-items: center; gap: 8px; font-size: .78rem; color: #8B95A2; margin-top: 4px; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar{
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 490;
  background: var(--navy);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.18);
}
.mobile-bar-inner{ display: grid; grid-template-columns: 1fr 1fr; }
.mobile-bar a{
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 0;
  color: var(--white);
  font-weight: 600;
  font-size: .92rem;
}
.mobile-bar a:first-child{ border-right: 1px solid rgba(255,255,255,0.15); background: var(--gold); }
.mobile-bar svg{ width: 17px; height: 17px; }

/* ---------- WhatsApp float button ---------- */
.wa-fab-wrap{ position: fixed; right: 24px; bottom: 24px; z-index: 600; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.wa-bubble{
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-size: .84rem;
  box-shadow: var(--shadow-card);
  max-width: 220px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}
.wa-bubble.show{ opacity: 1; transform: translateY(0); }
.wa-fab{
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
  border: none;
  transition: transform var(--dur);
  position: relative;
}
.wa-fab svg{ width: 30px; height: 30px; }
.wa-fab:hover{ transform: scale(1.08); }
.wa-fab:hover + .wa-hover-label,
.wa-fab:focus-visible + .wa-hover-label{ opacity: 1; visibility: visible; }
.wa-hover-label{
  position: absolute;
  right: 68px;
  bottom: 16px;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 6px;
  font-size: .82rem;
  white-space: nowrap;
  opacity: 0; visibility: hidden;
  transition: opacity var(--dur);
}
.wa-fab.pop{ animation: waPop 700ms ease; }
@keyframes waPop{
  0%{ transform: scale(1); }
  30%{ transform: scale(1.18); }
  55%{ transform: scale(0.95); }
  100%{ transform: scale(1); }
}

/* ---------- Reveal animation (single orchestrated, on-scroll) ---------- */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity 560ms ease, transform 560ms ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ---------- Utility ---------- */
.mt-0{ margin-top: 0; }
.text-center{ text-align: center; }
.split{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.tag-row{ display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.tag{ font-size: .74rem; font-weight: 600; color: var(--navy); background: var(--gray-bg); border: 1px solid var(--line); padding: 4px 12px; border-radius: 999px; }
.divider{ height: 1px; background: var(--line); border: none; margin: 48px 0; }
.numbered-step{ display: flex; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.numbered-step:last-child{ border-bottom: none; }
.step-num{ font-family: var(--serif); font-size: 1.6rem; color: var(--gold); flex: none; width: 56px; }
.image-frame{ border-radius: var(--radius-md); overflow: hidden; }
.image-frame img{ width: 100%; height: 100%; object-fit: cover; }

/* Neighborhood card */
.neigh-card .media{ aspect-ratio: 16/10; overflow: hidden; }
.neigh-card .media img{ width: 100%; height: 100%; object-fit: cover; transition: transform 420ms ease; }
.neigh-card:hover .media img{ transform: scale(1.06); }
.neigh-card .body{ padding: 22px; }

/* FAQ accordion */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 4px;
  background: none; border: none;
  text-align: left;
  font-family: var(--serif);
  font-size: 1.08rem;
  color: var(--navy);
  font-weight: 700;
}
.faq-q .icon{ flex: none; width: 22px; height: 22px; position: relative; }
.faq-q .icon::before, .faq-q .icon::after{
  content: ""; position: absolute; background: var(--gold); transition: transform var(--dur);
}
.faq-q .icon::before{ top: 10px; left: 0; width: 22px; height: 2px; }
.faq-q .icon::after{ top: 0; left: 10px; width: 2px; height: 22px; }
.faq-item.open .faq-q .icon::after{ transform: rotate(90deg); opacity: 0; }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height 320ms ease; }
.faq-a-inner{ padding: 0 4px 20px; color: var(--ink-soft); font-size: .95rem; }
.faq-item.open .faq-a{ max-height: 400px; }

/* Filters (properties page) */
.filters-bar{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 22px; margin-bottom: 32px; }
.results-bar{ display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.results-count{ font-size: .92rem; color: var(--ink-soft); }
.sort-select select{ border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 9px 12px; }
.no-results{ text-align: center; padding: 60px 20px; color: var(--ink-soft); display: none; }
.no-results.show{ display: block; }

/* Gallery (property detail) */
.gallery{ display: grid; grid-template-columns: 2fr 1fr; gap: 10px; height: 460px; border-radius: var(--radius-md); overflow: hidden; }
.gallery .main-img{ height: 100%; overflow: hidden; cursor: pointer; }
.gallery .main-img img{ width: 100%; height: 100%; object-fit: cover; }
.gallery .side-imgs{ display: grid; grid-template-rows: 1fr 1fr; gap: 10px; }
.gallery .side-imgs .thumb{ overflow: hidden; position: relative; cursor: pointer; }
.gallery .side-imgs .thumb img{ width: 100%; height: 100%; object-fit: cover; }
.gallery .side-imgs .thumb.more::after{
  content: attr(data-more);
  position: absolute; inset: 0;
  background: rgba(10,26,42,0.55);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1rem;
}
.lightbox{ position: fixed; inset: 0; background: rgba(10,18,28,0.94); z-index: 700; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open{ display: flex; }
.lightbox img{ max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next{
  position: absolute; background: rgba(255,255,255,0.12); color: #fff; border: none;
  width: 46px; height: 46px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
}
.lightbox-close{ top: 24px; right: 24px; }
.lightbox-prev{ left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 24px; top: 50%; transform: translateY(-50%); }

.spec-grid{ display: grid; grid-template-columns: repeat(5,1fr); gap: 20px; padding: 26px; background: var(--gray-bg); border-radius: var(--radius-md); margin: 30px 0; }
.spec-item{ text-align: center; }
.spec-item .val{ font-family: var(--serif); font-size: 1.4rem; color: var(--navy); font-weight: 700; }
.spec-item .lbl{ font-size: .78rem; color: var(--ink-soft); margin-top: 4px; }
.feature-tags{ display: flex; flex-wrap: wrap; gap: 10px; }
.feature-tags li{ display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-soft); background: var(--gray-bg); padding: 8px 14px; border-radius: 999px; }
.agent-card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 26px; position: sticky; top: 110px; }

/* Map embed */
.map-embed{ border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe{ width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* Skip link */
.skip-link{
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: 12px 18px; z-index: 999;
}
.skip-link:focus{ left: 12px; top: 12px; }

/* ================= Responsive ================= */
@media (max-width: 1080px){
  .main-nav{ display: none; }
  .nav-toggle{ display: flex; }
  .search-grid{ grid-template-columns: repeat(3, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .feature-list{ grid-template-columns: 1fr; }
  .spec-grid{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 760px){
  .header-inner{ height: 72px; }
  .hero{ min-height: 78vh; }
  .hero-inner{ padding: 90px 0 40px; }
  .call-pill span{ display: none; }
  .call-pill{ padding: 10px 12px; }
  .search-grid{ grid-template-columns: 1fr 1fr; }
  .grid-4, .grid-3, .grid-2{ grid-template-columns: 1fr; }
  .split{ grid-template-columns: 1fr; gap: 30px; }
  .form-row{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; }
  .section{ padding: 56px 0; }
  .mobile-bar{ display: block; }
  body{ padding-bottom: 64px; }
  .wa-fab-wrap{ right: 16px; bottom: 74px; }
  .gallery{ grid-template-columns: 1fr; height: auto; }
  .gallery .side-imgs{ grid-template-columns: 1fr 1fr; grid-template-rows: none; height: 140px; }
  .agent-card{ position: static; }
  .cta-actions{ flex-direction: column; align-items: stretch; }
  .hero-ctas{ flex-direction: column; align-items: stretch; }
}
