:root {
  color-scheme: light;
  --ink: #22231f;
  --muted: #5d6058;
  --paper: #f8f6f0;
  --white: #fff;
  --gold: #efc000;
  --line: #dedbd2;
  --edge: clamp(20px, 5vw, 72px);
  font-family: "DM Sans", "Avenir Next", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); }
a { color: inherit; }
button, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #926500; outline-offset: 4px; }
.wrap { width: min(1280px, calc(100% - 2 * var(--edge))); margin-inline: auto; }
.skip { position: absolute; inset: 8px auto auto 8px; z-index: 10; transform: translateY(-150%); background: white; padding: 10px; }
.skip:focus { transform: none; }
.header { position: relative; z-index: 2; color: white; background: #22231f; }
.home .header { position: absolute; inset: 0 0 auto; background: transparent; }
.nav-row { min-height: 106px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.logo { display: inline-block; width: fit-content; }
.logo img { width: 82px; height: 82px; object-fit: contain; }
.nav-row nav, .foot nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(16px, 3vw, 42px); }
.nav-row nav a, .foot nav a { text-decoration: none; font-weight: 600; }
.nav-row nav a:hover, .foot nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; min-height: 48px; width: fit-content; gap: 9px; justify-content: center; align-items: center; padding: 12px 21px; border: 0; border-radius: 7px; background: var(--gold); color: #242009; font-weight: 750; text-decoration: none; }
.button:hover { background: #ffd537; }
.wa { justify-self: end; }
.hero { display: grid; position: relative; isolation: isolate; place-items: center; min-height: clamp(500px, 50vw, 690px); padding-block: 120px 106px; text-align: center; color: white; background: #34372e; }
.hero h1 { margin: 0 auto 12px; max-width: 1120px; font-size: clamp(42px, 6.05vw, 88px); line-height: 1.02; letter-spacing: -.065em; text-wrap: balance; }
.hero p { margin: 0; font-size: clamp(18px, 2.25vw, 30px); letter-spacing: -.025em; }
.search-wrap { position: relative; margin-top: -52px; z-index: 1; }
.search { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) auto; gap: 17px; align-items: end; border: 1px solid #ffffff; border-radius: 14px; background: rgb(255 255 255 / 78%); backdrop-filter: blur(8px); padding: 20px 24px; box-shadow: 0 12px 28px #30291e22; }
.search label { display: grid; gap: 7px; min-width: 0; font-size: .85rem; font-weight: 750; }
.search select { border: 1px solid #c9c8bf; border-radius: 6px; width: 100%; height: 46px; padding: 0 8px; color: #383b33; background: #fff; }
.search .button { min-height: 46px; }
.listings { padding-block: 65px 78px; scroll-margin-top: 20px; }
.section-heading { text-align: center; }
h1,h2,h3,p { margin-top: 0; }
h2 { font-size: clamp(27px, 3.1vw, 46px); line-height: 1.1; letter-spacing: -.045em; margin-bottom: 12px; }
p { line-height: 1.55; }
.section-heading p { margin: 0; color: var(--muted); }
.resultbar { min-height: 39px; margin-top: 19px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.resultbar:has(p:empty):has(button[hidden]) { min-height: 0; margin-bottom: 19px; }
.resultbar p { margin: 0; font-size: .9rem; color: var(--muted); }
.text-button { padding: 6px 0; border: 0; background: transparent; color: #695000; font-weight: 700; text-decoration: underline; }
.grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(16px, 2.15vw, 30px); }
.card { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
.card-image { display: block; overflow: hidden; }
.card-image img { width: 100%; height: auto; aspect-ratio: 1.56; object-fit: cover; transition: transform .25s ease; }
.card:hover .card-image img { transform: scale(1.025); }
.card-body { padding: clamp(14px, 2vw, 24px); }
.place { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .88rem; line-height: 1.35; }
.place svg { flex: none; color: #756200; }
.card h3 { margin: 7px 0 6px; font-size: clamp(19px, 2vw, 28px); letter-spacing: -.04em; line-height: 1.14; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.summary { min-height: 3em; margin: 0; font-size: .91rem; color: var(--muted); }
.card-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid var(--line); margin-top: 12px; padding-top: 12px; font-size: .89rem; font-weight: 650; }
.card-bottom a, .inline-link { color: #6f5200; text-underline-offset: 3px; font-weight: 750; }
.empty { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 34px; text-align: center; }
.visit { display: grid; grid-template-columns: 2fr 3fr; background: #252622; color: white; }
.visit-copy { align-self: center; padding: clamp(36px, 6vw, 90px) var(--edge); }
.visit-copy p { max-width: 30ch; color: #e8e7e1; }
.visit img { width: 100%; height: 100%; min-height: 330px; object-fit: cover; }
.more { display: grid; grid-template-columns: 1fr minmax(260px, .58fr); gap: 55px; align-items: start; padding-block: 64px; }
.more > div > p { max-width: 48ch; color: var(--muted); }
.more .card { margin-top: 20px; }
footer { background: #22231f; color: white; }
.foot { display: grid; grid-template-columns: auto 1fr auto; gap: 25px; align-items: center; min-height: 115px; }
.foot nav { gap: 16px; font-size: .9rem; }
.foot nav:last-child { color: #e0dfd8; }
.detail,.services { padding-block: 36px 75px; }
.back { display: inline-block; margin-bottom: 26px; text-decoration: none; color: #6f5200; font-weight: 700; }
.back:hover { text-decoration: underline; }
.detail-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.detail h1,.services h1 { font-size: clamp(40px, 6.25vw, 78px); line-height: 1.03; letter-spacing: -.06em; margin: 0 0 12px; }
.detail-title .place { margin-bottom: 8px; }
.case-tag { padding: 8px 12px; background: #f5e5a2; border-radius: 5px; font-weight: 700; }
.detail-cover { display: block; margin-block: 12px 30px; overflow: hidden; border-radius: 12px; }
.detail-cover img { width: 100%; max-height: 550px; object-fit: cover; }
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(238px,.48fr); gap: clamp(24px, 6vw, 84px); align-items: start; }
.detail-layout article p { max-width: 72ch; margin-bottom: 13px; }
.contact-box, .service-grid article { padding: clamp(20px, 3vw, 32px); background: white; border: 1px solid var(--line); border-radius: 10px; }
.eyebrow { margin: 0 0 7px; font-weight: 650; color: var(--muted); }
.contact-box strong { font-size: 1.5rem; }
.facts { padding-left: 19px; line-height: 1.55; }
.gallery { margin-top: 50px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin-top: 18px; }
.photo-grid a { overflow: hidden; border-radius: 6px; }
.photo-grid img { width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.lightbox { position: fixed; max-width: 96vw; width: min(1080px,96vw); padding: 48px 55px 14px; border: none; border-radius: 9px; background: #20211d; color: white; }
.lightbox::backdrop { background: #000c; }
.lightbox img { width: 100%; height: min(72vh,650px); object-fit: contain; }
.lightbox p { text-align: center; margin: 8px 0 0; }
.lightbox button { position: absolute; min-width: 40px; min-height: 40px; border: none; border-radius: 6px; background: #ffffff24; color: white; font-size: 1.65rem; }
[data-close] { top: 7px; right: 9px; }
[data-prev] { top: 50%; left: 7px; }
[data-next] { top: 50%; right: 7px; }
.intro { max-width: 56ch; }
.service-grid { margin: 32px 0 44px; }
.service-grid h2 { font-size: 1.65rem; }
.service-contact { padding: 28px; border-radius: 10px; background: #262721; color: white; }
@media (max-width: 900px) {
  .search { grid-template-columns: repeat(2,minmax(0,1fr)) auto; }
  .search label:nth-child(3), .search label:nth-child(4) { grid-row: 2; }
  .search .button { grid-column: 3; grid-row: 1 / span 2; align-self: end; }
  .foot { grid-template-columns: auto 1fr; padding-block: 12px; }
  .foot nav:last-child { grid-column: 2; }
}
@media (max-width: 650px) {
  .nav-row { min-height: unset; grid-template-columns: 1fr 1fr; gap: 2px 12px; padding-bottom: 14px; }
  .logo img { width: 68px; height: 68px; }
  .nav-row nav { grid-row: 2; grid-column: 1 / -1; justify-content: center; gap: 23px; font-size: .92rem; }
  .hero { min-height: 495px; padding-block: 123px 125px; }
  .search-wrap { margin-top: -80px; }
  .search { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; padding: 14px; }
  .search select { font-size: .85rem; }
  .search .button { grid-column: 1 / -1; grid-row: auto; width: 100%; }
  .listings { padding-block: 49px; }
  .grid,.visit,.more,.detail-layout { grid-template-columns: 1fr; }
  .summary { min-height: 0; }
  .visit img { min-height: 0; aspect-ratio: 1.6; }
  .more { gap: 36px; padding-block: 42px; }
  .foot { align-items: start; gap: 13px; padding-bottom: 24px; }
  .foot nav { align-self: center; gap: 10px 15px; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .detail-title { align-items: start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

.hero-slide { position: absolute; inset: 0; pointer-events: none; }
.hero-slide img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #121612ba 0%, #11160e70 52%, #151915a0 100%); }
.hero-copy { position: relative; }
.hero-property, .hero-controls { position: absolute; z-index: 1; bottom: 67px; }
.hero-property { pointer-events: auto; left: var(--edge); display: flex; align-items: center; gap: 10px; min-height: 44px; max-width: calc(100% - 2 * var(--edge) - 206px); color: white; text-decoration: none; }
.hero-property-name { font-size: clamp(17px, 2vw, 27px); font-weight: 680; line-height: 1.14; letter-spacing: -.035em; text-shadow: 0 1px 8px #000a; }
.hero-property-arrow { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border: 1px solid #ffffff80; border-radius: 50%; font-size: 15px; }
.hero-property:hover .hero-property-name { text-decoration: underline; text-underline-offset: 4px; }
.hero-property:hover .hero-property-arrow { background: white; color: var(--ink); }
.hero-controls { right: var(--edge); display: flex; align-items: center; gap: 1px; padding: 2px 4px; border: 1px solid #ffffff66; border-radius: 999px; color: white; background: #1a1d18ad; backdrop-filter: blur(12px); }
.hero-count { margin: 0 6px 0 9px; white-space: nowrap; font-size: .76rem; font-variant-numeric: tabular-nums; }
.hero-controls button { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: inherit; }
.hero-controls button:hover { background: #ffffff29; }
.hero-controls button:focus-visible, .hero-property:focus-visible { outline-color: var(--gold); }
.slide-icon { display: block; }
.slide-prev, .slide-next { width: 9px; height: 9px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; }
.slide-prev { transform: translateX(2px) rotate(-135deg); }
.slide-next { transform: translateX(-2px) rotate(45deg); }
.slide-toggle { width: 8px; height: 11px; border-inline: 2px solid currentColor; }
.is-paused .slide-toggle { width: 0; height: 0; margin-left: 2px; border: 6px solid transparent; border-right: 0; border-left: 9px solid currentColor; }
@media (max-width: 650px) {
  .hero-slide img { object-position: 56% center; }
  .hero-property, .hero-controls { bottom: 91px; }
  .hero-property { max-width: calc(100% - 2 * var(--edge) - 151px); gap: 6px; }
  .hero-property-arrow { flex-basis: 23px; height: 23px; font-size: 12px; }
  .hero-count { display: none; }
}

.detail-name { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 12px; }
.detail-name h1 { margin: 0; }
.folio { display: inline-flex; gap: 7px; align-items: center; border: 1px solid #ddd1a5; border-radius: 6px; padding: 6px 10px; background: #f8edc1; color: #4e3b09; white-space: nowrap; font-size: .84rem; }
.folio b { letter-spacing: .045em; font-variant-numeric: tabular-nums; }
.property-intro { color: var(--muted); }
.property-group { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 14px; padding-block: 17px; border-top: 1px solid var(--line); }
.property-group h3 { margin: 0 0 5px; font-size: 1.11rem; }
.detail-layout article .property-group p { margin: 0; }
.feature-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; background: #f7edcb; color: #5e4608; }
.features-title { font-size: 1.06rem; letter-spacing: -.015em; margin: 17px 0 10px; }
.feature-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0 0 20px; gap: 8px; }
.feature-list > div { padding: 11px; border-radius: 8px; background: var(--paper); }
.feature-list dt { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 7px; color: var(--muted); font-size: .81rem; }
.feature-list dt svg { width: 16px; height: 16px; color: #695000; flex-shrink: 0; }
.feature-list dd { margin: 5px 0 0; font-weight: 740; font-size: .94rem; overflow-wrap: anywhere; }

.contact-page { padding-block: clamp(35px, 7vw, 90px); }
.contact-layout { display: grid; grid-template-columns: minmax(0,.68fr) minmax(0,1fr); gap: clamp(24px, 6vw, 88px); align-items: start; }
.contact-intro h1 { font-size: clamp(44px, 6.8vw, 90px); line-height: 1.03; letter-spacing: -.06em; margin: 0 0 16px; }
.contact-intro > p { color: var(--muted); max-width: 43ch; }
.contact-direct { border-top: 1px solid var(--line); padding-top: 21px; margin-top: 26px; }
.contact-direct h2 { font-size: 1.15rem; letter-spacing: -.02em; }
.contact-form { background: white; padding: clamp(19px, 3vw, 38px); border-radius: 13px; border: 1px solid var(--line); }
.contact-form h2 { font-size: clamp(24px, 2.7vw, 36px); }
.contact-form fieldset { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.contact-form legend { font-weight: 750; margin-bottom: 9px; }
.purpose-options { display: flex; flex-wrap: wrap; gap: 8px; }
.purpose-options label { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: .88rem; font-weight: 650; }
.purpose-options label:has(input:checked) { background: #fbefc0; border-color: #a87e00; }
.purpose-options input { margin: 0; accent-color: #826400; }
.contact-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.field-wide { grid-column: 1 / -1; }
.contact-fields label, .contact-message { display: block; font-weight: 650; font-size: .9rem; }
.contact-fields label span, .contact-note { font-weight: 400; color: var(--muted); }
.contact-fields input, .contact-fields select, .contact-message textarea { display: block; width: 100%; margin-top: 6px; border: 1px solid #c9c8bf; border-radius: 6px; background: white; color: var(--ink); padding: 10px 11px; font: inherit; font-weight: 400; }
.contact-fields input, .contact-fields select { min-height: 45px; }
.contact-message { margin-top: 19px; }
.contact-message textarea { resize: vertical; }
.contact-form fieldset.contact-property { margin-top: 23px; margin-bottom: 0; }
.contact-note { font-size: .85rem; margin: 13px 0; }
@media (max-width: 800px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 420px) {
  .nav-row nav { gap: 13px; font-size: .84rem; }
  .contact-fields { grid-template-columns: 1fr; }
}

.listing-form { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 18px; }
.listing-form h2 { font-size: 1.22rem; letter-spacing: -.025em; margin: 0; }
.listing-form label { display: block; font-size: .86rem; font-weight: 650; }
.listing-form label span { color: var(--muted); font-weight: 400; }
.listing-form input, .listing-form select, .listing-form textarea { display: block; width: 100%; margin-top: 5px; padding: 10px; border: 1px solid #c9c8bf; border-radius: 6px; background: white; color: var(--ink); font: inherit; font-weight: 400; }
.listing-form textarea { resize: vertical; }
.listing-form .contact-note { margin: 0; }
.listing-form .button { width: 100%; }

.sold-tag { background: #e4eddd; color: #2d4829; padding: 6px 10px; border-radius: 6px; font-weight: 750; }
.sold-note { border-top: 1px solid var(--line); padding-top: 17px; }
.sold-note h2 { font-size: 1.18rem; margin-bottom: 7px; }
.sold-note p { font-size: .92rem; margin-bottom: 12px; }

.listing-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 17px; }
.listing-actions .button { flex: 1; padding-inline: 12px; }
.listing-call { background: white; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.listing-call:hover { background: var(--paper); }

.foot-credits { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding-block: 16px 20px; border-top: 1px solid #ffffff25; color: #dfdfd6; }
.foot-credits a { color: inherit; text-underline-offset: 3px; }
.home-contact { justify-self: end; display: flex; gap: 8px; }
.home-call { background: #1a1d18ad; color: white; box-shadow: inset 0 0 0 1px #ffffff80; }
.home-call:hover { background: #22231f; }
@media (max-width: 650px) { .home-contact .button { padding-inline: 12px; font-size: .86rem; } }

.about { padding-block: clamp(40px, 7vw, 90px); }
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 6vw, 80px); align-items: center; }
.about-intro h1 { font-size: clamp(42px, 6vw, 82px); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 18px; }
.about-intro p { max-width: 47ch; color: var(--muted); }
.about-intro img { border-radius: 12px; width: 100%; height: auto; aspect-ratio: 1.5; object-fit: cover; }
.about-section { margin-top: clamp(32px, 6vw, 65px); }
.about-values { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; }
.about-values li { border: 1px solid var(--line); border-radius: 8px; padding: 18px; background: white; font-weight: 700; }
.about-why li { margin-bottom: 8px; }
.about-why .button { margin-top: 7px; }
.property-video { margin-top: 50px; }
.property-video iframe { display: block; width: min(100%,360px); aspect-ratio: 9 / 16; border: 0; border-radius: 10px; background: #22231f; margin-bottom: 10px; }
@media (max-width: 850px) { .about-values { grid-template-columns: repeat(2,minmax(0,1fr)); } .nav-row { gap: 12px; } .nav-row nav { column-gap: 14px; } }
@media (max-width: 650px) { .about-intro { grid-template-columns: 1fr; } .nav-row nav { gap: 4px 12px; } }

.nav-row { position: relative; grid-template-columns: 1fr auto auto; gap: 10px; }
.header-call { border-radius: 999px; }
.menu-toggle { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid #ffffff70; border-radius: 50%; color: white; background: #24251fac; }
.menu-toggle:hover, .menu-toggle[aria-expanded="true"] { border-color: var(--gold); }
.menu-icon { width: 18px; height: 14px; border-block: 2px solid currentColor; background: linear-gradient(currentColor,currentColor) center / 100% 2px no-repeat; }
.nav-row nav { grid-column: 1 / -1; }
.menu-toggle:not([hidden]) + nav { display: none; }
.menu-toggle[aria-expanded="true"] + nav { position: absolute; top: 100%; right: 0; width: min(290px,100%); display: grid; gap: 0; padding: 8px; border: 1px solid #ffffff33; border-radius: 12px; background: #22231f; box-shadow: 0 12px 25px #0005; }
.menu-toggle + nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 5px; }
.menu-toggle + nav a:hover, .menu-toggle + nav a:focus-visible { background: #ffffff17; }
.nav-row nav a[aria-current="page"] { color: var(--gold); }
.floating-wa { position: fixed; z-index: 3; right: max(16px,env(safe-area-inset-right)); bottom: max(16px,env(safe-area-inset-bottom)); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #157c48; color: white; box-shadow: 0 4px 16px #0004; }
.floating-wa:hover { background: #10643b; }
footer { padding-bottom: 50px; }
@media (max-width: 650px) { .nav-row { min-height: 76px; padding-bottom: 0; } }

@media (min-width: 851px) {
  .nav-row { grid-template-columns: 1fr auto 1fr; gap: 22px; }
  .nav-row .header-call { grid-column: 3; grid-row: 1; justify-self: end; }
  .nav-row nav { grid-column: 2; grid-row: 1; gap: clamp(14px, 2.4vw, 36px); }
  .menu-toggle + nav a { min-height: 44px; padding: 0; }
  .menu-toggle + nav a:hover, .menu-toggle + nav a:focus-visible { background: transparent; }
}

.brisas-amenities { border-top: 1px solid var(--line); padding-top: 20px; margin-top: 20px; }
.brisas-amenities h3 { margin-bottom: 15px; }
.brisas-amenities ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px 20px; list-style: none; padding: 0; }
.brisas-amenities li { display: flex; align-items: center; gap: 10px; font-size: .94rem; }
.brisas-amenities svg { flex-shrink: 0; color: #756000; }
@media (max-width: 450px) { .brisas-amenities ul { grid-template-columns: 1fr; } }

/* Search categories and Morelos area guide */
.seo-page { padding-top: 42px; padding-bottom: 72px; }
.seo-page h1 { max-width: 900px; margin: 26px 0 18px; }
.seo-intro { max-width: 820px; line-height: 1.8; }
.seo-links { display:flex; flex-wrap:wrap; gap:12px; margin:24px 0 36px; }
.seo-links a { padding:12px 18px; border:1px solid currentColor; border-radius:6px; text-decoration:none; }
.seo-links a:hover { background:#b79768; color:#111; }
.seo-explore { padding-top:32px; }
.seo-zone-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; }
.seo-zone { border:1px solid #d7d0c3; padding:26px; border-radius:8px; }
.seo-zone p,.seo-empty p { line-height:1.8; }
.seo-empty { padding:30px 0; max-width:800px; }
footer > .seo-links { max-width:1200px; margin:0 auto; padding:0 24px 32px; }
@media(max-width:650px) { .seo-zone-grid { grid-template-columns:1fr; } .seo-links a { width:100%; } }

/* Slow camera movement and crossfade on the homepage carousel. */
.hero { overflow: hidden; }
.hero.has-transitions .hero-slide { opacity: 0; z-index: -1; isolation: isolate; transition: opacity 1100ms ease-in-out; }
.hero.has-transitions .hero-slide.is-active { opacity: 1; }
.hero.has-transitions .hero-slide:not(.is-active) .hero-property { pointer-events: none; }
.hero.has-transitions .hero-slide.is-active img { animation: hero-zoom-in 8s linear both; }
.hero.has-transitions .hero-slide:nth-child(even).is-active img { animation-name: hero-zoom-out; }
.hero.motion-paused .hero-slide img, .hero:hover .hero-slide img, .hero:focus-within .hero-slide img { animation-play-state: paused; }
@keyframes hero-zoom-in { from { transform: scale(1); } to { transform: scale(1.055); } }
@keyframes hero-zoom-out { from { transform: scale(1.055); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
  .hero.has-transitions .hero-slide { transition: none; }
  .hero.has-transitions .hero-slide img { animation: none !important; transform: none; }
}

/* Related homes at the end of each house detail. */
.related-properties { margin-top: clamp(48px,7vw,88px); padding-top: clamp(30px,4vw,52px); border-top: 1px solid var(--line); }
.related-properties > .eyebrow { color: #756000; text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 750; margin-bottom: 12px; }
.related-properties h2 { font-size: clamp(30px,4vw,52px); }
.related-intro { color: var(--muted); margin-bottom: 28px; }
.related-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.related-card { display: flex; flex-direction: column; overflow: hidden; min-width: 0; background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 8px 24px #30291e08; }
.related-image { position: relative; display: block; overflow: hidden; }
.related-image img { width: 100%; height: auto; aspect-ratio: 1.55; object-fit: cover; transition: transform .25s ease; }
.related-card:hover .related-image img { transform: scale(1.025); }
.related-badge { position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; background: var(--gold); color: #242009; font-size: .76rem; font-weight: 750; }
.related-body { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.related-folio { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 9px; }
.related-body .place { margin-bottom: 14px; }
.related-price { font-size: clamp(20px,2vw,27px); font-weight: 800; letter-spacing: -.035em; margin-bottom: 10px; color: #6f5200; }
.related-card h3 { font-size: 23px; letter-spacing: -.035em; line-height: 1.15; margin-bottom: 18px; }
.related-card h3 a { text-decoration: none; }
.related-card h3 a:hover { text-decoration: underline; }
.related-facts { display: flex; flex-wrap: wrap; gap: 7px 14px; padding: 0; list-style: none; font-size: .82rem; color: var(--muted); margin: auto 0 20px; }
.related-facts strong { color: var(--ink); }
.related-link { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 10px 14px; border: 1px solid #a78c33; border-radius: 8px; text-decoration: none; font-weight: 750; color: #6f5200; }
.related-link:hover { background: #fff7d4; }
@media(max-width:900px) { .related-grid { gap: 14px; } .related-body { padding: 16px; } }
@media(max-width:700px) { .related-grid { grid-template-columns: 1fr; } .related-image img { aspect-ratio: 1.65; } }
@media(prefers-reduced-motion:reduce) { .related-image img { transition: none; } .related-card:hover .related-image img { transform: none; } }

/* Invite owners to promote their property with Afer Home. */
.seller-banner { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: clamp(24px,4vw,54px); overflow: hidden; padding: clamp(30px,4.5vw,60px); margin-block: 16px clamp(42px,6vw,76px); border: 1px solid #ffffff30; border-radius: 22px; color: white; background: #252622; box-shadow: 0 14px 32px #30291e14; }
.seller-banner::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#22231ff5 0%,#22231fe8 48%,#22231fb0 100%),url('./assets/casa-carlota-portada.jpg') center 56% / cover; }
.seller-copy .eyebrow { color: #efcf58; font-size: .75rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.seller-banner h2 { font-size: clamp(28px,3.3vw,44px); line-height: 1.08; margin-bottom: 16px; }
.seller-copy > p:last-child { max-width: 67ch; color: #eeeee8; margin-bottom: 0; }
.seller-button { min-height: 56px; gap: 10px; padding: 16px 20px; border-radius: 10px; white-space: nowrap; }
.seller-button svg { flex: none; }
@media(max-width:1000px) { .seller-banner { grid-template-columns: 1fr; } }
@media(max-width:450px) { .seller-banner { padding: 26px 22px; } .seller-button { white-space: normal; width: 100%; font-size: .88rem; padding-inline: 12px; } }

/* Property advisor identity next to the contact form. */
.listing-advisor { display: grid; grid-template-columns: 80px minmax(0,1fr); align-items: center; gap: 14px; padding-block: 22px; border-top: 1px solid var(--line); margin-top: 20px; }
.advisor-photo { display: block; width: 80px; height: 80px; object-fit: cover; object-position: center 35%; border: 2px solid #f1df99; border-radius: 50%; }
.advisor-caption { font-size: .69rem; font-weight: 700; line-height: 1.35; letter-spacing: .045em; color: var(--muted); margin-bottom: 5px; }
.listing-advisor h2 { font-size: 1.5rem; letter-spacing: -.035em; margin-bottom: 4px; }
.advisor-role { font-size: .73rem; line-height: 1.35; color: var(--muted); margin-bottom: 6px; }
.advisor-phone { display: inline-block; font-size: .88rem; font-weight: 750; color: #6f5200; text-underline-offset: 3px; }
@media(min-width:851px) and (max-width:1100px) { .listing-advisor { grid-template-columns: 62px minmax(0,1fr); gap: 10px; } .advisor-photo { width: 62px; height: 62px; } }
