:root {
  color-scheme: light;
  --paper: #faf9f2;
  --ink: #20372a;
  --green: #153a29;
  --deep: #112c21;
  --accent: #dce8af;
  --muted: #4d6154;
  --line: #d6ddca;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: 'Segoe UI', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.55 var(--sans); }
html { scroll-behavior: smooth; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 3px solid #bc812d; outline-offset: 5px; }
img { width: 100%; height: auto; display: block; }
.shell { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 2; padding: .6em 1em; background: var(--paper); transform: translateY(-160%); }
.skip:focus { transform: none; }
.header-inner, .brand, nav, .actions, .contact-inner { display: flex; align-items: center; }
.header-inner { min-height: 84px; gap: 24px; justify-content: space-between; }
.brand { gap: 11px; text-decoration: none; font: 700 1.31rem/1 var(--serif); }
.brand img { width: 52px; }
.brand span span { display: block; margin-top: 4px; font: 650 .72rem var(--sans); letter-spacing: .12em; text-transform: uppercase; }
nav { gap: clamp(16px, 3vw, 44px); }
nav a { text-decoration: none; font-weight: 600; }
nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.button { display: inline-flex; justify-content: center; align-items: center; width: fit-content; padding: .78rem 1.13rem; background: var(--green); color: #fff; border: 1px solid transparent; border-radius: 5px; text-decoration: none; text-align: center; font-weight: 650; line-height: 1.35; }
.button:hover { background: #28533b; }
.small { font-size: .9rem; }
.hero, .contact { background: var(--deep); color: var(--paper); }
.hero { background: radial-gradient(ellipse at 83% 35%, #35543a 0, var(--deep) 56%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 34px; min-height: 566px; padding-block: 60px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 14px; font-size: .84rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span { flex: none; display: inline-block; width: 9px; height: 9px; background: #779268; transform: rotate(45deg); }
.hero .eyebrow span, .contact .eyebrow span { background: var(--accent); }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; line-height: 1.02; }
h1 { font-size: clamp(4rem, 7.7vw, 7.15rem); }
.hero-copy { container-type: inline-size; }
.hero-copy h1 { font-size: min(clamp(4rem, 7.7vw, 7.15rem), 18cqi); }
.hero-copy h1 > * { display: block; white-space: nowrap; }
.hero-copy h1 em { color: var(--accent); }
.hero-copy h1 .hero-property { font-size: min(1em, 15cqi); }
h2 { font-size: clamp(2.5rem, 4.7vw, 4.35rem); }
.intro { margin: 23px 0 27px; max-width: 470px; font-size: 1.15rem; color: #e4eadb; }
.actions { flex-wrap: wrap; gap: 10px; }
.primary { background: var(--accent); color: var(--deep); }
.primary:hover { background: #edf1ca; }
.outline { background: transparent; border-color: #89a18f; }
.hero-art { overflow: hidden; border: 1px solid #73836a; border-radius: 8px; }
.hero-art img { aspect-ratio: 4 / 3; object-fit: cover; }
.section { padding-block: 76px; scroll-margin-top: 12px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 28px; }
.section-heading > p, .location-copy > p:not(.eyebrow) { max-width: 365px; margin: 0; color: var(--muted); }
.financing { margin-bottom: 18px; padding: 19px 23px; background: #e9eee0; border-left: 3px solid #67865e; scroll-margin-top: 12px; }
.financing h3 { margin: 0 0 4px; font-size: 1.13rem; }
.financing p { margin: 0; }
.offer-copy { margin: 0 0 14px; color: var(--muted); }
.lot-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.lot { padding: 23px; border: 1px solid var(--line); border-top: 3px solid #67865e; background: #fffef8; }
.lot h3 { margin: 0; font-size: 1rem; }
.lot .area { margin: 12px 0 17px; font: 400 clamp(2.25rem, 3.65vw, 3.5rem)/1 var(--serif); }
.lot-photo { display: block; margin: -23px -23px 17px; }
.lot-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.plan-link { display: block; width: fit-content; margin-top: 9px; font-size: .9rem; }
.photo-section { background: #f0f2e8; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery-item { display: block; color: inherit; text-decoration: none; }
.gallery-item:hover figcaption { text-decoration: underline; text-underline-offset: 4px; }
.gallery-item img { aspect-ratio: 4 / 3; object-fit: cover; }
.cash-price { margin: -4px 0 13px; color: var(--ink); }
.lot-cash { border-top-color: #9b7338; }
.area span { font-size: .55em; }
.lot a { font-weight: 700; text-underline-offset: 4px; }
.lot a:hover, .contact-actions > a:not(.button):hover { text-decoration-thickness: 2px; }
.location { background: #e9eee0; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(25px, 7vw, 90px); align-items: center; }
.location-copy > p:not(.eyebrow) { margin: 18px 0; }
.location-croquis, .location-routes { margin-top: clamp(32px, 6vw, 64px); }
.location-croquis h3 { margin: 0 0 12px; }
.location .location-croquis img { max-height: none; }
.location-croquis figcaption { justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.croquis-legend { display: flex; align-items: center; gap: 9px; }
.croquis-swatch { flex: none; width: 14px; height: 14px; border: 1px solid #635581; border-radius: 2px; background: #bfb0de; }
.location-croquis p { margin: 8px 0 14px; color: var(--muted); }
.location-routes h3 { margin: 0 0 8px; }
.location-routes table { max-width: 720px; width: 100%; border-collapse: collapse; }
.location-routes caption { text-align: left; color: var(--muted); padding-bottom: 12px; }
.location-routes th, .location-routes td { padding: .55rem .5rem; border-bottom: 1px solid #bbc9b3; text-align: left; }
.location-routes th:first-child { padding-left: 0; }
.location-routes th[scope="row"] { font-weight: 500; }
.location-routes td { white-space: nowrap; }
.location-copy > p:not(.eyebrow) { max-width: 65ch; }
.location-copy .actions { gap: 12px 20px; }
.location-link { font-weight: 650; text-underline-offset: 4px; }
.location-guide { margin-top: clamp(32px, 6vw, 64px); scroll-margin-top: 20px; }
.location-guide h3 { margin: 0 0 18px; font: 400 clamp(1.8rem, 3vw, 2.6rem)/1.15 var(--serif); }
.attraction-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.attraction { padding: 18px 20px; border: 1px solid var(--line); background: var(--paper); }
.attraction-featured { grid-column: 1 / -1; border-left: 3px solid #67865e; }
.attraction h4, .location-history h4 { margin: 0 0 6px; font-size: 1.13rem; }
.attraction p, .location-history p { max-width: 72ch; margin: 0; color: var(--muted); }
.attraction-links { display: grid; justify-items: start; gap: 6px; margin-top: 12px; }
.location-history a { display: inline-block; margin-top: 9px; }
.location-history { max-width: 64ch; margin: clamp(28px, 5vw, 48px) auto 0; text-align: center; }
.location-history h4 { margin-bottom: 12px; }
.location-history p + p { margin-top: 10px; }
figure { margin: 0; border: 1px solid #bbc9b3; background: var(--paper); }
figure img { max-height: 420px; object-fit: contain; background: #eef0e5; }
figcaption { display: flex; gap: .6em; align-items: center; padding: .7rem .95rem; font-size: .89rem; }
.faq { align-items: start; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { padding: .88rem .15rem; cursor: pointer; font-weight: 650; }
details p { margin: 0 0 .9rem; color: var(--muted); }
.contact-inner { min-height: 220px; gap: 24px; justify-content: space-between; padding-block: 36px; }
.contact-actions { display: grid; gap: 10px; }
.contact-actions > a:not(.button) { text-underline-offset: 4px; }
.social-links { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 0; padding: 0; list-style: none; }
.social-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; text-decoration: none; }
.social-links a span { text-decoration: underline; text-underline-offset: 4px; }
.social-links a:hover span { text-decoration-thickness: 2px; }
.social-links svg { flex: none; color: var(--accent); }
.footer { display: flex; justify-content: space-between; gap: 12px; padding-block: 25px; color: var(--muted); }
@media (max-width: 950px) {
  .lot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 780px) {
  .shell { width: calc(100% - 40px); }
  .header-inner { flex-wrap: wrap; gap: 12px 20px; padding-block: 12px; }
  nav { order: 3; width: 100%; padding-top: 8px; border-top: 1px solid var(--line); }
  .hero-inner { grid-template-columns: 1fr; min-height: unset; padding-block: 44px; }
  .hero-copy h1 { font-size: min(clamp(3.05rem, 10.5vw, 5.2rem), 18cqi); }
  .hero-art img { aspect-ratio: 16 / 10; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-block: 49px; }
  .faq { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .lot-grid { grid-template-columns: 1fr; }
  .section-heading, .contact-inner, .footer { align-items: start; flex-direction: column; }
  .section-heading { gap: 12px; }
  .lot { padding: 18px 20px; }
  .lot-photo { margin: -18px -20px 17px; }
  .gallery-grid { grid-template-columns: 1fr; }
  nav { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.croquis-toolbar { position: sticky; top: 0; z-index: 1; padding-block: 12px; background: var(--paper); border-bottom: 1px solid var(--line); }
.croquis-toolbar nav { flex-wrap: wrap; gap: 8px 20px; }
.croquis-page { width: min(1320px, calc(100% - 24px)); padding-block: 24px 40px; }
.croquis-page h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); }
.croquis-page label { display: inline-block; padding: .4rem .2rem; cursor: pointer; font-weight: 650; }
.croquis-scroll { overflow: auto; margin-top: 8px; border: 1px solid #bbc9b3; }
.croquis-scroll img { max-width: none; }
#croquis-zoom { display: block; font-weight: 700; }
#croquis-tamano:checked ~ .croquis-scroll img { min-width: 1320px; }
#croquis-detalle:checked ~ .croquis-scroll img { min-width: 2640px; }
.croquis-scroll:focus-visible { outline: 3px solid #bc812d; outline-offset: 2px; }

.language-link { flex: none; font-weight: 650; text-underline-offset: 4px; }
@media (min-width: 781px) and (max-width: 1050px) {
  .header-inner { gap: 12px; }
  .header-inner nav { gap: 14px; }
}

.quinta-listing { margin-top: 18px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 24px; scroll-margin-top: 20px; }
.quinta-listing h3 { font-size: 1.3rem; }
.quinta-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.quinta-photos .gallery-item img { aspect-ratio: 4 / 3; object-fit: contain; background: #e9eee0; }
@media (max-width: 780px) { .quinta-listing { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .quinta-photos { grid-template-columns: 1fr; } }

.lot-location { margin-top: 12px; border-top: 1px solid var(--line); }
.lot-location summary { font-size: .9rem; }
.lot-location figcaption { padding: .45rem .6rem; font-size: .78rem; }
.lot-location p { margin: 10px 0; font-size: .875rem; }
.lot-location p span { display: block; }
