
:root {
 --green:#243b31; --cream:#f7f4ec; --paper:#fffcf6; --line:#d6d2c5;
 --clay:#914a36; --muted:#506055; --sand:#ebe2d2;
 --ink:#28382f; --moss:#e8ebe0; --serif:Fraunces,Georgia,serif;
 --shell: min(92%, 1320px);
 font-family:Manrope,Arial,sans-serif; line-height:1.65;
}
body {color:var(--ink);background:var(--cream)}
h1,h2,.card-body h3,.feature-name,.person-card h2,.gallery-head h2,.photo-book-title-page h3 {
 font-family:var(--serif);font-weight:400;letter-spacing:-.045em;
}
h1 em,h2 em {font-weight:400;color:var(--clay)}
.header {width:var(--shell);max-width:none;padding:13px 0;gap:26px;min-height:82px}
.brand .brand-logo {width:184px;height:auto}
.header nav {margin-left:auto;gap:clamp(18px,3vw,46px);font-weight:700}
.header nav a {padding-block:13px}
.header nav a[aria-current] {text-decoration:underline;text-underline-offset:7px}
.header nav .nav-contact {border:0;background:var(--green);color:var(--paper);border-radius:99px;padding:10px 18px;gap:12px}
.header nav .nav-contact:hover {background:var(--clay)}
.header .language-picker {margin:0}
.language-picker summary {min-height:44px}
.eyebrow {font-size:.68rem;font-weight:800;letter-spacing:.16em;margin-bottom:19px}
.hero {width:var(--shell);max-width:none;padding:34px 0 0;display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:clamp(28px,4vw,65px);align-items:center}
.hero-copy {min-width:0;padding:20px 0 12px}
.hero h1 {font-size:clamp(52px,6.05vw,92px);letter-spacing:-.032em;line-height:1.01;margin:0 0 24px}
.hero h1 em {white-space:normal}
.hero .lead {font-size:clamp(15px,1.36vw,19px);max-width:34ch;line-height:1.65;margin-bottom:0}
.hero .actions {margin-top:29px;gap:20px}
.hero-note {margin:29px 0 0;font-size:.66rem;font-weight:800;letter-spacing:.16em}
.hero-feature {position:relative;margin:0;min-width:0;border-radius:8px 8px 64px 8px;overflow:hidden;background:var(--sand);isolation:isolate}
.hero-image-link {display:block}
.hero-feature img {aspect-ratio:1.26;width:100%;height:auto;object-fit:cover;object-position:50% 52%;transition:transform .55s}
.hero-image-link:hover img {transform:scale(1.025)}
.hero-image-link:focus-visible {outline-offset:-5px}
.hero-feature figcaption {position:absolute;inset:auto 0 0;display:flex;align-items:end;justify-content:space-between;padding:47px clamp(20px,3vw,43px) 24px 25px;gap:12px;color:#fff;background:linear-gradient(transparent,#14251bf2);pointer-events:none}
.feature-place,.feature-name {display:block}
.feature-place {font-size:.67rem;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.feature-name {font-size:clamp(26px,3vw,43px);line-height:1.04;margin-top:6px}
.feature-arrow {border:1px solid #fff9;border-radius:50%;width:48px;height:48px;display:grid;place-items:center;pointer-events:auto;flex:none;font-size:23px}
.feature-arrow:hover {background:var(--paper);color:var(--green)}
.button,button.primary {border-radius:99px;padding:11px 20px;min-height:48px;gap:12px}
.button:hover,button.primary:hover {background:#365548}
.text-link {font-weight:750;text-decoration:none;line-height:1.35}
.text-link:hover {color:var(--clay)}
.search-wrap {width:var(--shell);max-width:none;margin:27px auto 0;padding:0}
.search-form,.catalog-section .search-form {border-radius:12px;padding:17px 21px;box-shadow:none;gap:13px;grid-template-columns:1.25fr 1.15fr 1fr .8fr auto}
.search-form input,.search-form select,.results-toolbar select {background:#fffdfa;border-color:#ccc9bb;border-radius:5px}
.search-form label {font-weight:800}
.search-form :is(input,select) {min-height:45px}
.section,.page-intro {width:var(--shell);max-width:none;padding-inline:0}
.section {padding-block:clamp(52px,7vw,100px)}
.featured-section {padding-top:clamp(44px,5vw,72px)}
.section-heading {border-top:1px solid var(--line);padding-top:21px;gap:16px}
.section-heading h2 {font-size:clamp(38px,4.4vw,65px);max-width:17ch}
.section-heading .text-link {flex:none}
.catalog-status {margin-bottom:16px}
.cards {grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,3vw,43px)}
.property-card {border:0;border-radius:0;background:transparent;overflow:visible;min-width:0}
.card-image {height:auto;aspect-ratio:1.57;border-radius:8px 8px 32px 8px;isolation:isolate}
.card-body {padding:16px 0 0}
.card-place {font-size:.73rem;font-weight:800}
.card-body h3 {font-size:clamp(26px,3vw,43px);letter-spacing:-.037em;max-width:26ch}
.price {font-weight:800}
.facts {font-size:.8rem}
.card-foot {margin-top:13px;gap:10px;min-height:44px}
.card-foot a {text-decoration:underline;text-underline-offset:4px;font-weight:800;padding-block:10px}
.badge {padding:5px 12px;border-radius:99px;font-weight:800;max-width:calc(100% - 28px)}
.territory {background:var(--green);position:relative}
.territory .section {gap:10%;padding-block:clamp(54px,8vw,105px)}
.territory h2,.split h2 {font-size:clamp(38px,5vw,73px);line-height:.99}
.towns {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
.towns a {border:0;border-bottom:1px solid #8c9b83;border-radius:0;padding:14px 8px;min-height:49px}
.steps li {padding-block:20px}
.steps li:before {font-weight:800;letter-spacing:.12em}
.steps h3 {font-weight:750}
.contact-band {width:var(--shell);max-width:none;margin:0 auto clamp(43px,7vw,92px);border:1px solid var(--line);border-radius:8px 8px 44px 8px;background:#ede4d4}
.contact-band h2 {font-size:clamp(33px,4vw,56px)}
.contact-band .button {flex:none}
.footer {padding:48px max(4%,calc((100vw - 1320px)/2));background:#233a30}
.footer-logo {width:198px}
.footer h2 {font:800 .7rem Manrope,Arial,sans-serif}
.footer-bottom {font-size:.75rem}
.page-intro {padding:clamp(48px,7vw,93px) 0 30px}
.page-intro h1 {font-size:clamp(46px,7.5vw,108px);line-height:.97;max-width:15ch}
.page-intro .lead {font-size:clamp(16px,1.5vw,19px)}
.catalog-section {padding-top:12px}
.results-toolbar {margin-block:14px 20px;border-bottom:1px solid var(--line);padding-bottom:13px;scroll-margin-top:14px}
.results-toolbar .catalog-status {margin:0}
body[data-route^="/inmuebles/"] main>.section {padding-top:32px}
.detail-top {gap:16px}
.detail-top h1 {max-width:19ch;font-size:clamp(37px,5.7vw,78px);line-height:1.02;margin-bottom:14px}
.detail-top .price {font-size:clamp(25px,3.2vw,42px);font-family:var(--serif);font-weight:400}
.detail-body {grid-template-columns:minmax(0,1.6fr) minmax(0,.8fr)}
.description {font-size:1rem;line-height:1.82;max-width:68ch}
.contact-box,.soft-panel {background:var(--moss);border-radius:8px 8px 30px 8px}
.contact-grid {padding-top:28px}
.person-card {border-radius:8px 8px 32px 8px;padding:clamp(24px,4vw,48px)}
.person-card h2 {font-size:clamp(37px,5vw,62px);margin-bottom:10px}
.person-card .contact-person {margin-top:0}
.person-card .contact-person .button {width:auto}
.person-card .copy-email {margin-top:13px}
.copy-status {margin-bottom:0;min-height:0}
.office-section {padding-top:12px;padding-bottom:0}
.office-panel {border-left:3px solid var(--clay)}
.about-intro {grid-template-columns:1fr;max-width:none}
.about-intro >div {border-top:1px solid var(--line);padding-top:28px}
.photo-book-stage {border-radius:8px}
.photo-book-controls .outline {font-weight:800}
dialog {border-radius:13px}
dialog[open] {max-width:calc(100% - 18px)}
#gallery-image {max-height:68vh;max-height:68svh}
:focus-visible {outline-color:var(--clay)}
.footer :focus-visible,.territory :focus-visible,.hero-feature :focus-visible {outline-color:#f7d294}
@media (max-width:1000px) {
 .search-form,.catalog-section .search-form {grid-template-columns:repeat(2,minmax(0,1fr))}
 .search-form button {grid-column:1/-1;justify-self:start}
}
@media (max-width:820px) {
 .header {gap:8px;min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) auto auto}
 .brand .brand-logo {width:min(100%,158px)}
 .menu-toggle {display:inline-flex;align-items:center;gap:6px;border-radius:99px;padding-inline:11px}
 .menu-toggle .menu-label {font-size:12px}
 .header nav {display:none;grid-row:2;grid-column:1/-1;flex-direction:column;gap:1px;margin-left:0;padding:5px 0 11px}
 .header nav.open {display:flex}
 .header nav a {padding:11px 10px}
 .header .language-picker {grid-column:3;grid-row:1}
 .header .language-picker summary [data-current-language] {display:none}
 .header .language-picker summary {gap:5px;padding-inline:9px}
 .hero {display:flex;flex-direction:column;align-items:stretch;padding-top:24px;gap:21px}
 .hero-copy {padding:0}
 .hero h1 {font-size:clamp(42px,9.7vw,68px);margin-bottom:16px}
 .hero .eyebrow {margin-bottom:13px}
 .hero .lead {font-size:15px;max-width:43ch}
 .hero .actions {margin-top:17px;gap:12px 18px}
 .hero-note {display:none}
 .hero-feature {border-bottom-right-radius:38px}
 .hero-feature img {aspect-ratio:1.49}
 .hero-feature figcaption {padding:34px 22px 15px 15px}
 .feature-arrow {width:44px;height:44px}
 .search-wrap {margin-top:18px}
 .search-form,.catalog-section .search-form {padding:13px;gap:10px}
 .search-form button {width:100%}
 .search-form input,.search-form select {font-size:16px;padding-inline:7px}
 .section-heading {display:block}
 .section-heading .text-link {margin-top:14px}
 .cards {grid-template-columns:1fr;gap:34px}
 .territory .section,.split,.detail-body,.contact-grid {grid-template-columns:1fr}
 .territory .section {gap:14px}
 .contact-band {display:block;padding:25px 21px}
 .contact-band .button {margin-top:18px}
 .footer {grid-template-columns:1fr 1fr;gap:24px}
 .footer>div:first-child {grid-column:1/-1}
 .footer>div>a:not(.footer-brand) {line-height:1.55;padding-block:6px}
 .page-intro {padding-block:41px 20px}
 .page-intro h1 {font-size:clamp(45px,10vw,69px)}
 .detail-top {display:block}
 .detail-top .price {padding-bottom:0}
 .results-toolbar {gap:12px}
 .results-toolbar select {font-size:16px;width:min(60%,190px)}
 .gallery-controls {flex-wrap:wrap}
 .gallery-controls #gallery-count {flex-basis:100%;order:2;text-align:center}
 .gallery-head h2 {line-height:1.15}
}
@media (max-width:350px) {
 .menu-toggle {padding-inline:9px}
 .menu-toggle .menu-label {position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
 .footer {grid-template-columns:1fr}
 .search-form label {font-size:10px}
}
@media (prefers-reduced-motion:reduce) {
 *,*::before,*::after {animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}
}



/* Contour motif, used as decoration for the towns index. */
.territory {overflow:hidden}
.territory::before {
 content:"";position:absolute;inset:-22% 31% -44% -29%;pointer-events:none;opacity:.19;
 background:url("./contornos.svg") center / contain no-repeat;
}
.territory .section {position:relative}
.territory-index {grid-column:1/-1;font-size:.7rem;font-weight:800;letter-spacing:.17em;color:#e7cda3;padding:0 8px 9px}
.towns a {font-size:.94rem;font-weight:650}
.photo-book-heading {margin-bottom:12px}
@media (min-width:900px) {
 body[data-route^="/inmuebles/"] main>.section {padding-top:24px}
 .detail-top h1 {font-size:clamp(40px,4.9vw,70px)}
 .photo-book-page {height:auto}
 .photo-book-stage {--book-h:clamp(275px,31vw,415px);height:var(--book-h)}
 .photo-book-page {min-height:0;height:100%}
 .photo-book-photo {min-height:0}
}
@media (max-width:820px) {
 .territory::before {inset:-10% -10% 40% -60%}
 .territory-index {padding-top:11px}
 .header .language-picker summary {min-width:44px}
}
@media (max-width:820px) {
 .header .language-picker .language-panel {right:0;left:auto;max-width:calc(100vw - 28px)}
}

.menu-toggle {min-height:44px;min-width:44px;justify-content:center}
@media (min-width:900px) { .photo-book-pages {height:100%;grid-template-rows:minmax(0,1fr)} }
@media (min-width:821px) {
 .header {display:grid;grid-template-columns:auto minmax(0,1fr) auto}
 .header nav {grid-row:1;grid-column:2;width:auto;padding:0}
 .header .language-picker {grid-row:1;grid-column:3}
}
.page-intro h1 {letter-spacing:-.031em;text-wrap:balance}
.contact-grid {padding-bottom:28px}
.contact-guidance {padding-top:28px}
.person-card .contact-person a[href^="tel:"],.person-card .contact-person a:not(.button):hover {text-decoration:underline;text-underline-offset:4px}
.about-intro {grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:stretch}
.about-index {position:relative;isolation:isolate;overflow:hidden;display:grid;align-content:center;justify-items:start;padding:clamp(28px,5vw,68px);background:var(--green);color:var(--paper);border-radius:8px 8px 50px 8px}
.about-index::before {content:"";position:absolute;inset:-35% -36% -25% 15%;background:url("./contornos.svg") center / contain no-repeat;opacity:.35;z-index:-1}
.about-index .eyebrow {color:#e7cda3}
.about-signature {font-family:var(--serif);font-size:clamp(42px,6vw,88px);line-height:1.02;letter-spacing:-.035em;color:var(--paper)!important;margin:0 0 23px}
.about-signature span {display:block}
.about-index .text-link:hover {color:#f0c990}
@media (min-width:821px) and (max-width:1120px) {
 .header .brand .brand-logo {width:153px}
 .header {gap:16px}
 .header nav {gap:18px;justify-content:end;flex-wrap:nowrap}
}
@media (max-width:820px) { .about-intro {grid-template-columns:1fr} }
@media (min-width:821px) {
 .hero h1 {font-size:clamp(48px,5.42vw,82px);letter-spacing:-.034em}
}

.hero-without-feature {grid-template-columns:1fr}
.hero-without-feature .hero-copy {padding-block:clamp(24px,6vw,86px)}
.hero-without-feature .hero h1 {max-width:none}
