:root {
  --navy: #0B1F3A;
  --navy-deep: #061428;
  --blue: #1A4B8C;
  --red: #DC1C2E;
  --gold: #C4A35A;
  --sand: #E8DFD0;
  --cream: #F3EDE3;
  --mist: #EEF2F7;
  --white: #FFFFFF;
  --ink: #1C2430;
  --muted: #5B6573;
  --line: rgba(11, 31, 58, 0.12);
  --shadow: 0 18px 50px rgba(6, 20, 40, 0.14);
  --radius: 18px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
  --header-h: 76px;
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(700px 380px at 0% 0%, rgba(196, 163, 90, 0.28), transparent 60%),
    radial-gradient(640px 400px at 100% 8%, rgba(26, 75, 140, 0.18), transparent 55%),
    linear-gradient(165deg, #F0EBE0 0%, #E8EEF6 50%, #E4EAF3 100%);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}

.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient__orb {
  position: absolute;
  border-radius: 50%;
  opacity: 0.7;
  animation: ambient-drift 20s ease-in-out infinite alternate;
}
.ambient__orb--a {
  width: min(48vw, 420px);
  height: min(48vw, 420px);
  left: -10%;
  top: 6%;
  background: radial-gradient(circle, rgba(196,163,90,.45), transparent 70%);
}
.ambient__orb--b {
  width: min(50vw, 440px);
  height: min(50vw, 440px);
  right: -12%;
  top: 30%;
  background: radial-gradient(circle, rgba(26,75,140,.32), transparent 70%);
  animation-delay: -8s;
  animation-duration: 24s;
}
@keyframes ambient-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(24px, -18px, 0); }
}

main,
.site-footer { position: relative; z-index: 1; }
.site-header { z-index: 100; }
.fab-wa,
.fab-agent { z-index: 90; }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247, 244, 238, 0.94);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(6, 20, 40, 0.06);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; }
.brand__logo {
  width: 46px;
  height: 46px;
  max-width: none;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(6, 20, 40, 0.18));
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-family: var(--display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.brand__tag { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--red); font-weight: 600; }

.nav { display: flex; align-items: center; gap: .15rem; flex-wrap: wrap; }
.nav__link {
  padding: .45rem .7rem; border-radius: 999px; font-size: .9rem; color: var(--muted); font-weight: 500;
  transition: background .2s, color .2s;
}
.nav__link:hover, .nav__link.is-active { color: var(--navy); background: rgba(11, 31, 58, 0.06); }
.site-header__actions { display: flex; align-items: center; gap: .5rem; }
.nav-toggle {
  display: none; width: 42px; height: 42px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.nav-toggle span { width: 18px; height: 2px; background: var(--navy); display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  border-radius: 999px; padding: .85rem 1.35rem; font-weight: 600; border: 1px solid transparent;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { padding: .55rem 1rem; font-size: .88rem; }
.btn--primary { background: var(--navy); color: #fff; }
.btn--primary:hover { background: var(--blue); }
.btn--accent { background: var(--red); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--wa { background: #1FA855; color: #fff; }
.btn--outline-light { border-color: rgba(255,255,255,.45); color: #fff; }

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: #061428;
}
.hero__media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #061428;
  
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 42%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 22%, #000 42%, #000 100%);
}
.hero__photo,
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}
.hero__video {
  display: block;
  opacity: 1;
  transform: scale(1.18);
  transform-origin: 80% center;
}
.hero__veil {
  position: absolute; inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg,
      rgba(6, 20, 40, 0.97) 0%,
      rgba(6, 20, 40, 0.9) 26%,
      rgba(6, 20, 40, 0.55) 48%,
      rgba(6, 20, 40, 0.22) 68%,
      rgba(6, 20, 40, 0.12) 100%),
    linear-gradient(180deg, rgba(6, 20, 40, 0.18) 0%, rgba(6, 20, 40, 0.08) 45%, rgba(6, 20, 40, 0.45) 100%);
  pointer-events: none;
}
.hero__glow {
  position: absolute;
  left: -8%;
  top: 10%;
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196,163,90,.22), transparent 70%);
  animation: hero-glow 6s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 1;
}
.hero__shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: linear-gradient(115deg, transparent 38%, rgba(255,255,255,.08) 50%, transparent 62%);
  transform: translateX(-60%);
  animation: hero-shine 4.5s ease-in-out 0.4s 1 both;
  pointer-events: none;
}
.hero__shell {
  position: relative;
  z-index: 4;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  display: flex;
  justify-content: flex-start;
  padding: 4.5rem 0 3.5rem;
}
.hero__content {
  width: min(100%, 560px);
  margin: 0;
  margin-right: auto;
  text-align: left;
}
.hero-anim {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  animation: hero-in .75s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, 0s);
}
.hero__line {
  display: block;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 0 0 1.1rem;
  transform: none;
  animation: hero-line .9s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: var(--d, .32s);
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .4rem .8rem; border-radius: 999px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; letter-spacing: .04em; margin-bottom: 1.25rem;
}
.hero__eyebrow-dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 0 rgba(196,163,90,.7); animation: pulse 2s infinite;
}
.hero__title {
  font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.4rem);
  line-height: 1.05; font-weight: 700; margin-bottom: 1rem;
}
.hero__title em { font-style: normal; color: var(--gold); }
.hero__lead { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 32rem; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-start; }
.hero__stats {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem; margin-top: 2.5rem; max-width: 480px;
}
.hero__stat {
  padding: 1rem; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
}
.hero__stat strong { display: block; font-size: 1.35rem; font-family: var(--display); }
.hero__stat span { font-size: .78rem; color: rgba(255,255,255,.7); }
@keyframes hero-pan {
  from { transform: scale(1.06) translate3d(0, 0, 0); }
  to { transform: scale(1.1) translate3d(-1.5%, 1%, 0); }
}
@keyframes hero-in {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes hero-line {
  from { width: 0; opacity: 0; }
  to { width: 140px; opacity: 1; }
}
@keyframes hero-glow {
  from { opacity: .55; transform: translate3d(0, 0, 0) scale(1); }
  to { opacity: 1; transform: translate3d(18px, -12px, 0) scale(1.06); }
}
@keyframes hero-shine {
  from { transform: translateX(-70%); }
  to { transform: translateX(70%); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(196,163,90,.55); }
  70% { box-shadow: 0 0 0 10px rgba(196,163,90,0); }
  100% { box-shadow: 0 0 0 0 rgba(196,163,90,0); }
}

.section { padding: 4.5rem 0; }
.section--tight { padding: 3rem 0; }
.section__head { margin-bottom: 2rem; max-width: 640px; }
.section__label {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--red); margin-bottom: .65rem;
}
.section__title {
  font-family: var(--display); font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy); line-height: 1.15; margin-bottom: .75rem;
}
.section__desc { color: var(--muted); }

.listing-grid, .card-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem;
}
.listing-card, .info-card, .project-card, .post-card, .tour-card {
  background: rgba(255,255,255,.82); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 10px 30px rgba(6, 20, 40, 0.05);
  transition: transform .25s, box-shadow .25s;
}
.listing-card:hover, .project-card:hover, .post-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow);
}
.listing-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; display: block; }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.listing-card:hover .listing-card__media img { transform: scale(1.04); }
.listing-card__badge {
  position: absolute; left: .85rem; top: .85rem;
  background: var(--navy); color: #fff; font-size: .75rem; font-weight: 700;
  padding: .35rem .65rem; border-radius: 999px;
}
.listing-card__badge--feat {
  left: auto; right: .85rem;
  background: var(--gold); color: var(--navy);
}
.weekly-offer {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.25rem;
  border-radius: 28px;
  background: rgba(255,255,255,.88);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.weekly-offer__media {
  aspect-ratio: 16/10;
  border-radius: 18px;
  overflow: hidden;
  background: var(--mist);
}
.weekly-offer__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.weekly-offer__body { padding: .5rem .75rem .5rem 0; }
@media (max-width: 820px) {
  .weekly-offer { grid-template-columns: 1fr; }
  .weekly-offer__body { padding: 0; }
}
.listing-card__body, .project-card__body, .post-card__body { padding: 1.15rem 1.2rem 1.35rem; }
.listing-card__price { color: var(--red); font-weight: 800; font-size: 1.15rem; }
.listing-card__title { font-size: 1rem; line-height: 1.35; margin: .35rem 0 .5rem; color: var(--navy); }
.listing-card__title a:hover { color: var(--blue); }
.listing-card__meta, .listing-card__specs { color: var(--muted); font-size: .88rem; }
.listing-card__link { display: inline-block; color: var(--blue); font-weight: 600; font-size: .92rem; }
.listing-card__actions { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .85rem; }
.listing-card__link--ext { color: var(--muted); font-weight: 500; }
.listing-card__source {
  position: absolute; right: .85rem; bottom: .85rem;
  width: 36px; height: 36px; border-radius: 10px;
  background: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(6, 20, 40, .18); overflow: hidden;
}
.listing-card__source img { width: 22px; height: 22px; object-fit: contain; }
.listing-card__source--sb { background: #FFE800; }

.cta-band {
  margin: 1rem 0 0; padding: 2.5rem; border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(11,31,58,.96), rgba(26,75,140,.92)),
    var(--navy);
  color: #fff; display: grid; gap: 1.25rem;
  grid-template-columns: 1.4fr 1fr; align-items: center;
}
.cta-band h2 { font-family: var(--display); font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.cta-band p { color: rgba(255,255,255,.8); margin: .6rem 0 0; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }

.filters {
  display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem;
  padding: 1rem; border-radius: 18px; background: rgba(255,255,255,.7); border: 1px solid var(--line);
}
.filters select, .filters input, .form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 12px;
  padding: .8rem 1rem; background: #fff; color: var(--ink);
}
.filters > * { flex: 1 1 160px; }

.map-layout {
  display: grid; grid-template-columns: 360px 1fr; gap: 1rem;
  min-height: calc(100svh - var(--header-h) - 3rem);
}
.map-sidebar {
  background: rgba(255,255,255,.85); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: auto; max-height: calc(100svh - var(--header-h) - 3rem);
}
.map-sidebar__item {
  display: grid; grid-template-columns: 88px 1fr; gap: .75rem;
  padding: .9rem; border-bottom: 1px solid var(--line); cursor: pointer;
}
.map-sidebar__item.is-active, .map-sidebar__item:hover { background: rgba(26,75,140,.06); }
.map-sidebar__item img { width: 88px; height: 72px; object-fit: cover; border-radius: 10px; }
.map-sidebar__item strong { display: block; font-size: .92rem; color: var(--navy); }
.map-sidebar__item span { color: var(--muted); font-size: .8rem; }
.map-frame {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 520px; background: #dfe7f1;
}
.map-frame #map { width: 100%; height: 100%; min-height: 520px; }
.leaflet-popup-content { margin: .75rem .9rem; font-family: var(--font); }
.map-popup__price { color: var(--red); font-weight: 800; }
.map-popup a { color: var(--blue); font-weight: 600; }

.agent-hero {
  display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: 2rem; align-items: center;
  padding: 2rem; border-radius: 28px; background: rgba(255,255,255,.8); border: 1px solid var(--line);
}
.agent-hero__photo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(160deg, #dce6f2, #eef2f7);
  box-shadow: inset 0 0 0 1px rgba(11, 31, 58, 0.06);
}
.agent-hero__photo img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center 12%;
  display: block;
}
.agent-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  background: #061428;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.agent-video__glow {
  position: absolute;
  inset: -18%;
  z-index: 0;
  background-position: center 28%;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(48px) saturate(1.5) brightness(.82);
  transform: scale(1.18);
  pointer-events: none;
}
.agent-video::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 20, 40, .12) 0%, transparent 16%, transparent 84%, rgba(6, 20, 40, .12) 100%);
}
.agent-video__player {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: transparent;
}
.review-list { display: grid; gap: 1rem; }
.review-card {
  padding: 1.25rem 1.4rem; border-radius: 18px; background: #fff; border: 1px solid var(--line);
}
.review-card__top { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .5rem; }
.stars { color: var(--gold); letter-spacing: .08em; }

.project-card__media, .post-card__media, .tour-card__media { aspect-ratio: 16/10; overflow: hidden; }
.project-card__media img, .post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.tour-embed {
  aspect-ratio: 16/9; width: 100%; border: 0; border-radius: 18px;
  background: #111; box-shadow: var(--shadow);
}
.tour-list { display: grid; gap: 2rem; }
.tour-card { padding: 1rem; }

.post-card--cover {
  display: flex;
  flex-direction: column;
  background: rgba(255,255,255,.96);
}
.post-card__hit {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.post-card--cover .post-card__media {
  position: relative;
  aspect-ratio: 16/11;
  display: block;
  background: var(--navy-deep);
}
.post-card--cover .post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.post-card--cover:hover .post-card__media img {
  transform: scale(1.05);
}
.post-card__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 20, 40, 0.15) 0%, rgba(6, 20, 40, 0.25) 35%, rgba(6, 20, 40, 0.88) 100%);
  pointer-events: none;
}
.post-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.15rem 1.2rem 1.2rem;
  display: grid;
  gap: .45rem;
}
.post-card__date {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(232, 223, 208, 0.9);
}
.post-card__title {
  font-family: var(--display);
  font-size: 1.22rem;
  line-height: 1.3;
  color: #fff;
  margin: 0;
  text-shadow: 0 1px 10px rgba(0,0,0,.35);
}
.post-card__cta {
  font-size: .9rem;
  font-weight: 700;
  color: var(--gold);
  margin-top: .15rem;
  transition: transform .25s ease, color .25s ease;
}
.post-card--cover:hover .post-card__cta {
  color: #f0d78a;
  transform: translateX(3px);
}
.post-card__excerpt {
  margin: 0;
  padding: 1rem 1.15rem 1.2rem;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.55;
  flex: 1;
}
@media (max-width: 640px) {
  .post-card__title { font-size: 1.1rem; }
}

.tour-stage {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1f3a;
  box-shadow: var(--shadow);
}
.tour-stage__bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
  padding: .9rem 1.1rem;
  background: rgba(6, 20, 40, .92);
  color: #fff;
}
.tour-stage__bar strong { display: block; font-family: var(--display); font-size: 1.1rem; }
.tour-stage__meta { color: rgba(255,255,255,.72); font-size: .88rem; }
.tour-stage__actions { display: flex; flex-wrap: wrap; gap: .45rem; }
.tour-stage__body {
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 520px;
}
.tour-rooms {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: .85rem;
  background: #0f2748;
  border-right: 1px solid rgba(255,255,255,.08);
}
.tour-rooms__item {
  text-align: left;
  border: 1px solid transparent;
  background: transparent;
  color: rgba(255,255,255,.78);
  border-radius: 12px;
  padding: .7rem .8rem;
  font-weight: 600;
  cursor: pointer;
}
.tour-rooms__item:hover,
.tour-rooms__item.is-active {
  background: rgba(196,163,90,.16);
  border-color: rgba(196,163,90,.35);
  color: #fff;
}
.tour-viewer { width: 100%; min-height: 520px; background: #061428; }
.tour-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background: #061428;
  box-shadow: var(--shadow);
}
.tour-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.tour-grid .tour-card .listing-card__link { color: var(--blue); }
.tour-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: .92rem;
}
.tour-note code {
  background: rgba(11,31,58,.06);
  padding: .1rem .35rem;
  border-radius: 6px;
}
@media (max-width: 820px) {
  .tour-stage__body { grid-template-columns: 1fr; }
  .tour-rooms {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .tour-rooms__item { white-space: nowrap; }
  .tour-viewer { min-height: 420px; }
}

.calc {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 1.25rem;
}
.calc__panel, .form-card {
  padding: 1.5rem; border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
}
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-weight: 600; color: var(--navy); font-size: .92rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.35rem;
  align-items: start;
}
.contact-tips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.25rem 0 0;
}
.contact-tip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  color: var(--muted);
  font-weight: 600;
  font-size: .9rem;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.contact-tip:hover { transform: translateY(-1px); color: var(--navy); }
.contact-tip.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.contact-form-card {
  padding: 1.75rem;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(11,31,58,.1);
  box-shadow: 0 18px 50px rgba(6, 20, 40, 0.08);
}
.contact-form-card h2 {
  font-family: var(--display);
  color: var(--navy);
  font-size: 1.55rem;
  margin-bottom: .35rem;
}
.contact-form-card > p { color: var(--muted); margin-bottom: 1.25rem; }
.contact-aside { display: grid; gap: 1rem; }
.contact-tile {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: 20px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.contact-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(26,75,140,.25);
}
.contact-tile__icon {
  width: 48px; height: 48px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(11,31,58,.06);
  color: var(--navy);
  font-weight: 800;
}
.contact-tile__icon img { width: 28px; height: 28px; object-fit: contain; display: block; }
.contact-tile__icon--wa { background: rgba(31,168,85,.12); color: #1FA855; }
.contact-tile__icon--phone { background: rgba(220,28,46,.1); color: var(--red); }
.contact-tile__icon--remax { background: #fff; }
.contact-tile__icon--sb { background: #FFE800; }
.contact-tile strong { display: block; color: var(--navy); }
.contact-tile span { color: var(--muted); font-size: .9rem; }
.contact-note {
  padding: 1.2rem 1.3rem;
  border-radius: 20px;
  background: linear-gradient(145deg, rgba(11,31,58,.95), rgba(26,75,140,.9));
  color: rgba(255,255,255,.88);
}
.contact-note h3 {
  font-family: var(--display);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: .4rem;
}
.contact-note a { color: var(--gold); font-weight: 600; }
.calc__hint {
  margin: 0;
  color: var(--muted);
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.45;
}
.calc__result {
  margin-top: 1rem; padding: 1.25rem; border-radius: 16px;
  background: linear-gradient(160deg, var(--navy), var(--blue)); color: #fff;
}
.calc__result strong { display: block; font-size: 1.8rem; font-family: var(--display); margin: .35rem 0; }
.alert {
  padding: .9rem 1rem; border-radius: 12px; margin-bottom: 1rem;
  background: rgba(31,168,85,.1); color: #0f6b38; border: 1px solid rgba(31,168,85,.25);
}
.alert--error { background: rgba(220,28,46,.08); color: #9b1220; border-color: rgba(220,28,46,.2); }

.page-hero {
  padding: 3rem 0 1rem;
}
.page-hero h1 {
  font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); color: var(--navy); line-height: 1.1;
}
.page-hero p { color: var(--muted); margin-top: .65rem; max-width: 620px; }

.site-footer {
  margin-top: 3rem; padding: 3rem 0 2rem;
  background: var(--navy-deep); color: rgba(255,255,255,.78);
}
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.site-footer__brand-block { max-width: 26rem; }
.site-footer__logo {
  width: min(200px, 70%);
  height: auto;
  margin-bottom: .9rem;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.35));
}
.site-footer__brand { font-family: var(--display); font-size: 1.5rem; color: #fff; }
.site-footer__tag { color: var(--gold); font-size: .85rem; margin: .35rem 0 1rem; }
.site-footer__heading { color: #fff; font-weight: 700; margin-bottom: .75rem; }
.site-footer__links { display: grid; gap: .45rem; }
.site-footer__links a:hover { color: #fff; }
.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem;
}

.fab-agent {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .65rem 1rem .65rem .65rem;
  border-radius: 999px;
  background: rgba(11, 31, 58, 0.94);
  color: #fff;
  box-shadow: 0 14px 34px rgba(6, 20, 40, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  max-width: min(calc(100vw - 6.5rem), 300px);
}
.fab-agent__photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  flex-shrink: 0;
  border: 2px solid rgba(196, 163, 90, 0.85);
  max-width: none;
}
.fab-agent__meta {
  display: flex;
  flex-direction: column;
  gap: .28rem;
  min-width: 0;
}
.fab-agent__name {
  font-size: 1.02rem;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fab-agent__call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  padding: .35rem .85rem;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .15s, background .15s;
}
.fab-agent__call:hover {
  background: #c41526;
  transform: translateY(-1px);
}

.fab-wa {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: #1FA855; color: #fff; display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(31,168,85,.35);
  transition: transform .2s;
}
.fab-wa:hover { transform: scale(1.06); }

.empty {
  padding: 2rem; text-align: center; border-radius: 18px;
  background: rgba(255,255,255,.7); border: 1px dashed var(--line); color: var(--muted);
}

@media (max-width: 980px) {
  .listing-grid, .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map-layout { grid-template-columns: 1fr; }
  .map-sidebar { max-height: 280px; }
  .agent-hero, .calc, .cta-band, .site-footer__grid, .contact-layout { grid-template-columns: 1fr; }
  .cta-band__actions { justify-content: flex-start; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0;
    background: rgba(247,244,238,.97); border-bottom: 1px solid var(--line);
    flex-direction: column; align-items: stretch; padding: 1rem;
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .25s, opacity .25s;
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__link { padding: .85rem 1rem; }
}

@media (max-width: 640px) {
  .listing-grid, .card-grid, .form__row { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero__shell { padding: 3.5rem 0 2.5rem; }
  .hero__video {
    object-position: 70% center;
    transform: scale(1.2);
    opacity: 1;
  }
  .hero__media {
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 22%, #000 48%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.5) 22%, #000 48%, #000 100%);
  }
  .brand__logo { width: 40px; height: 40px; }
  .brand__name { font-size: 1rem; }
  .fab-agent {
    left: .85rem;
    bottom: .85rem;
    padding: .5rem .75rem .5rem .5rem;
    max-width: min(calc(100vw - 5.5rem), 250px);
  }
  .fab-agent__photo { width: 54px; height: 54px; }
  .fab-agent__name { font-size: .92rem; }
  .fab-wa { right: .85rem; bottom: .85rem; width: 52px; height: 52px; }
  .page-home { padding-bottom: 5.5rem; }
  .agent-hero { padding: 1.25rem; }
  .agent-hero__photo { max-width: 260px; margin-inline: auto; }
  .agent-video {
    aspect-ratio: 9 / 16;
    max-height: min(78vh, 640px);
    width: min(100%, 360px);
    margin-inline: auto;
  }
}

.post-content h2 {
  font-family: var(--display);
  color: var(--navy);
  font-size: 1.35rem;
  margin: 1.6rem 0 .7rem;
}
.post-content ul {
  margin: .5rem 0 1rem 1.2rem;
}
.post-content a {
  color: var(--blue);
  font-weight: 600;
}

.listing-card, .project-card, .post-card, .info-card, .review-card {
  background: rgba(255,255,255,.94);
}

.services-acc {
  position: relative;
}
.services-acc .section__head { margin-bottom: 1.75rem; }
.acc {
  display: grid;
  gap: .7rem;
  max-width: 820px;
}
.acc__item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(243,237,227,.55));
  box-shadow: 0 10px 28px rgba(6, 20, 40, 0.06);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.acc__item[open] {
  border-color: rgba(196, 163, 90, 0.55);
  box-shadow: 0 14px 36px rgba(6, 20, 40, 0.1);
}
.acc__summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .85rem 1rem;
  padding: 1.05rem 1.15rem;
  font-weight: 600;
  color: var(--navy);
  user-select: none;
}
.acc__summary::-webkit-details-marker { display: none; }
.acc__num {
  font-family: var(--display);
  font-size: .95rem;
  color: var(--gold);
  letter-spacing: .04em;
}
.acc__title {
  font-size: 1.02rem;
  line-height: 1.35;
}
.acc__icon {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  border: 1.5px solid rgba(11, 31, 58, 0.25);
  position: relative;
  transition: transform .28s ease, border-color .28s ease, background .28s ease;
}
.acc__icon::before,
.acc__icon::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: .55rem;
  height: 1.5px;
  background: var(--navy);
  transform: translate(-50%, -50%);
}
.acc__icon::after {
  width: 1.5px;
  height: .55rem;
}
.acc__item[open] .acc__icon {
  transform: rotate(180deg);
  border-color: var(--gold);
  background: rgba(196, 163, 90, 0.15);
}
.acc__item[open] .acc__icon::after { opacity: 0; }
.acc__body {
  padding: 0 1.15rem 1.2rem 3.35rem;
  color: var(--muted);
  animation: acc-in .32s ease;
}
.acc__body p { margin-bottom: .85rem; max-width: 58ch; }
.acc__link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, color .2s ease;
}
.acc__link:hover {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.services-acc__foot {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}
@keyframes acc-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .acc__summary { padding: .95rem 1rem; gap: .65rem; }
  .acc__title { font-size: .98rem; }
  .acc__body { padding-left: 1rem; }
}

.listing-detail {
  display: grid;
  grid-template-columns: 1.4fr .8fr;
  gap: 1.5rem;
  align-items: start;
}
.listing-gallery__hero {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 22px;
  background: var(--mist);
}
.listing-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
  margin-top: .75rem;
}
.listing-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  background: var(--mist);
}
.listing-aside {
  padding: 1.35rem 1.4rem 1.5rem;
  border-radius: 22px;
  background: rgba(255,255,255,.92);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(6, 20, 40, 0.05);
}
.listing-aside__price {
  color: var(--red);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.15;
}
.listing-aside__specs {
  list-style: none;
  margin: 1.15rem 0 1.35rem;
  padding: 0;
  display: grid;
  gap: .7rem;
}
.listing-aside__specs li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .65rem;
}
.listing-aside__specs span { color: var(--muted); font-size: .88rem; }
.listing-aside__specs strong { color: var(--navy); text-align: right; }
.listing-aside__actions { display: grid; gap: .7rem; }
@media (max-width: 860px) {
  .listing-detail { grid-template-columns: 1fr; }
  .listing-gallery__thumbs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .acc__body { animation: none; }
  .acc__icon { transition: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important; transition: none !important; scroll-behavior: auto !important;
  }
  .ambient__orb,
  .hero__shine,
  .hero__glow { animation: none !important; }
  .hero__video { display: none; }
  .hero-anim { opacity: 1; transform: none; animation: none !important; }
  .hero__line { width: 140px; opacity: 1; animation: none !important; }
}
