/* Luxo Properties · v5 (1-dic-2026: tono de lujo, Lima Top y Lima Moderna) · paleta del manual de marca (BRAND.pdf):
   negro #000, champagne #FFE1AB, gris #BFC1C2, blanco #FFF.
   Tipografías: Lato (secundaria de la marca) y Cormorant Garamond
   (sustituto libre de «Glimmer of Light», la primaria de la marca). */

@font-face { font-family: "Cormorant Garamond"; src: url(fuentes/cormorant-garamond.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Lato"; src: url(fuentes/lato-400.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Lato"; src: url(fuentes/lato-700.woff2) format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ink: #161412;        /* fondo oscuro */
  --ink-2: #211e1a;      /* superficie oscura */
  --paper: #f7f4ef;      /* fondo claro */
  --text: #24211d;       /* texto sobre claro */
  --muted: #625c53;      /* texto secundario sobre claro */
  --gray: #bfc1c2;       /* gris de marca, texto secundario sobre oscuro */
  --gold: #ffe1ab;       /* champagne de marca: único acento */
  --gold-deep: #7d5f35;  /* acento legible sobre fondo claro */
  --line: #e2dbcf;
  --radius: 10px;
  --wrap: 1120px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--text); background: var(--paper); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, .price, .num { font-variant-numeric: lining-nums; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.3rem); font-weight: 400; line-height: 1.04; }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 1.1em; display: flex; align-items: center; gap: .9em; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; flex: none; }
.dark .eyebrow { color: var(--gold); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 99; }
.icon { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Marcadores de datos pendientes: visibles a propósito. Se borran al completar. */
.completar { display: inline; background: #fff1cf; color: #6b4300; border: 1px dashed #b7791f; border-radius: 4px; padding: 0 .35em; font-family: var(--sans); font-size: .82em; font-weight: 700; letter-spacing: 0; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .8em 1.6em; border-radius: 2px; font-weight: 700; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, a:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #ffd690; }
.btn-dark { background: var(--ink); color: var(--gold); }
.btn-dark:hover { background: #2c2823; }
.btn-ghost { border-color: rgba(255,225,171,.45); color: var(--gold); }
.btn-ghost:hover { border-color: var(--gold); }
.btn-block { width: 100%; }

/* Cabecera */
.top { position: sticky; top: 0; z-index: 20; background: rgba(22,20,18,.96); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,225,171,.12); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.top .logo img { height: 40px; width: auto; }
.nav { display: none; gap: 28px; }
.nav a { color: var(--gray); text-decoration: none; font-size: .95rem; }
.nav a:hover { color: var(--gold); }
.top .btn { min-height: 40px; padding: .45em 1.1em; font-size: .76rem; }

/* Portada */
.hero { background: radial-gradient(120% 90% at 85% 0%, rgba(255,225,171,.10), transparent 55%), var(--ink); color: #f3efe8; padding: 56px 0 64px; overflow: hidden; border-bottom: 1px solid rgba(255,225,171,.14); }
.hero .wrap { display: grid; gap: 40px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero .lead { font-size: 1.12rem; color: #d9d4cb; max-width: 34em; }
.hero .lead strong { color: var(--gold); font-weight: 700; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 22px; }
.zones { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 0; list-style: none; color: var(--gray); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; }
.zones li { display: inline-flex; align-items: center; gap: .5em; }
.zones .icon { color: var(--gold); }

/* Panel «Cómo trabajamos» (v5) */
.concierge { background: rgba(33,30,26,.85); border: 1px solid rgba(255,225,171,.22); padding: 30px 28px 28px; align-self: start; max-width: 440px; position: relative; }
.concierge::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(255,225,171,.08); pointer-events: none; }
.concierge .tag { font-size: .72rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .6em; }
.concierge h2 { font-size: 1.9rem; color: #fff; margin-bottom: .7em; }
.concierge ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 14px; }
.concierge li { color: #d9d4cb; font-size: .96rem; padding-left: 18px; position: relative; }
.concierge li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 1px; background: var(--gold); }
.concierge li strong { color: #fff; font-weight: 700; }
.concierge .btn { position: relative; }
.feature { background: var(--ink-2); border: 1px solid rgba(255,225,171,.16); border-radius: var(--radius); overflow: hidden; align-self: start; max-width: 460px; }
.feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.feature .body { padding: 18px 20px 20px; }
.feature .tag { font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.feature h2 { font-size: 1.6rem; color: #fff; margin: .3em 0 .2em; }
.feature .price { font-family: var(--serif); font-size: 2.1rem; color: var(--gold); line-height: 1; }
.feature .price small { font-family: var(--sans); font-size: .85rem; color: var(--gray); }
.feature .facts { color: var(--gray); font-size: .92rem; margin: .7em 0 1em; }

/* Secciones */
section { padding: 72px 0; }
.section-head { max-width: 40em; margin-bottom: 40px; }

/* Zonas (v5) */
.areas { background: var(--ink); color: #eee8de; }
.areas h2 { color: #fff; }
.areas .section-head p { color: #cfc9bf; }
.areas-grid { display: grid; gap: 24px; }
.area { border-top: 1px solid rgba(255,225,171,.35); padding-top: 22px; }
.area h3 { color: var(--gold); font-size: 1.8rem; font-weight: 400; margin-bottom: .6em; }
.area ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.area li { color: #e7e1d7; font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; }
.section-head p { color: var(--muted); }

/* Propiedades */
.grid { display: grid; gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(22,20,18,.04), 0 12px 32px -18px rgba(22,20,18,.22); }
.card .media { position: relative; background: #ece6dc; }
.card .media > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .media > picture, .thumbs picture { display: block; }
.card .media > picture > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card .status { position: absolute; top: 14px; left: 14px; background: rgba(22,20,18,.92); color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; padding: .5em .95em; border-radius: 2px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; background: #fff; }
.thumbs img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.thumbs.two { grid-template-columns: repeat(2, 1fr); }
.thumbs.two img { aspect-ratio: 2 / 1; }
.placeholder { aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; color: #6b6257; font-weight: 700; font-size: .95rem; background: repeating-linear-gradient(135deg, #ece6dc 0 14px, #e4ddd1 14px 28px); }
.placeholder span { background: rgba(255,255,255,.85); padding: .5em .9em; border-radius: 6px; }
.card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .15em; }
.place { display: flex; align-items: center; gap: .4em; color: var(--muted); font-size: .93rem; margin-bottom: 14px; }
.specs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 16px; list-style: none; }
.specs li { display: inline-flex; align-items: center; gap: .4em; font-size: .86rem; background: transparent; border: 1px solid var(--line); border-radius: 2px; padding: .3em .65em; }
.specs .icon { color: var(--gold-deep); }
.card .price { font-family: var(--serif); font-size: 1.9rem; font-weight: 600; line-height: 1.1; margin-bottom: .15em; }
.card .price-note { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
details { border-top: 1px solid var(--line); padding: 10px 0 4px; margin-bottom: 16px; font-size: .93rem; }
summary { cursor: pointer; font-weight: 700; color: var(--gold-deep); padding: 4px 0; }
details ul { padding-left: 1.1em; margin: .6em 0 0; }
details li { margin-bottom: .25em; }
.card .btn { margin-top: auto; }

/* Propiedad ya alquilada / vendida: sigue visible, pero se distingue de las activas */
.btn-outline { border-color: var(--line); color: var(--muted); background: transparent; }
.btn-outline:hover { border-color: var(--gold-deep); color: var(--gold-deep); }
.is-rented .media { position: relative; overflow: hidden; }
.is-rented .media > img, .is-rented .thumbs img { filter: grayscale(1); opacity: .55; }
.rented-flag { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-8deg); background: var(--ink); color: var(--gold); border: 1.5px solid var(--gold); font-family: var(--sans); font-size: 1rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; padding: .55em 1.4em .55em 1.68em; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.25); white-space: nowrap; }
.card.is-rented { background: #faf8f5; }
.card.is-rented .status { background: var(--muted); color: #fff; }
.card.is-rented h3, .card.is-rented .specs li { color: var(--muted); }
.is-rented .price s { text-decoration-thickness: 2px; }
.card.is-rented .price { color: var(--muted); }
.rented-note { font-size: .86rem; font-weight: 700; color: var(--gold-deep); margin-bottom: 10px; }
.feature.is-rented .price { color: var(--gray); }
.feature.is-rented .tag { color: var(--gray); }

/* Servicios */
.services { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.svc-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.svc { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.svc .num { font-family: var(--serif); font-size: 1.7rem; color: var(--gold-deep); line-height: 1; }
.svc h3 { font-size: 1.35rem; margin-bottom: .25em; }
.svc p { color: var(--muted); margin: 0; }

/* Propietarios */
.owners { background: var(--ink); color: #eee8de; }
.owners .wrap { display: grid; gap: 28px; align-items: center; }
.owners h2 { color: #fff; }
.owners p { color: #d1cbc1; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 16px; align-items: baseline; padding: 16px 18px; background: var(--ink-2); border: 1px solid rgba(255,225,171,.14); border-radius: 2px; }
.steps li::before { content: counter(s); font-family: var(--serif); font-size: 1.5rem; color: var(--gold); min-width: 1ch; }

/* Confianza */
.trust-grid { display: grid; gap: 20px; }
.trust { padding: 26px; background: #fff; border: 1px solid var(--line); border-top: 2px solid var(--gold-deep); border-radius: 2px; }
.trust .icon { width: 26px; height: 26px; color: var(--gold-deep); margin-bottom: 10px; }
.trust h3 { font-size: 1.3rem; }
.trust p { color: var(--muted); margin: 0; font-size: .96rem; }

/* Preguntas */
.faq { max-width: 760px; }
.faq details { padding: 14px 0; margin: 0; font-size: 1rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { color: var(--text); font-size: 1.05rem; }
.faq details p { margin: .6em 0 0; color: var(--muted); }

/* Contacto */
.contact { background: var(--ink-2); color: #eee8de; }
.contact .wrap { display: grid; gap: 32px; }
.contact h2 { color: #fff; }
.contact dl { margin: 0; display: grid; gap: 14px; }
.contact dt { font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.contact dd { margin: 2px 0 0; color: #e7e1d7; }
.contact dd a { color: #fff; }

/* Pie */
footer { background: #0e0d0c; color: var(--gray); padding: 40px 0 96px; font-size: .9rem; }
footer .wrap { display: grid; gap: 22px; }
footer img { height: 54px; width: auto; }
footer .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
footer a { color: var(--gray); }
footer a:hover { color: var(--gold); }
footer .legal { color: #8f8a82; font-size: .82rem; }
footer .tagline { font-family: var(--serif); font-size: 1.25rem; color: #e7e1d7; margin-bottom: .6em; }

/* Barra fija de WhatsApp en móvil */
.wa-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 30; box-shadow: 0 8px 24px rgba(0,0,0,.35); }

@media (min-width: 700px) {
  .grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-list { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 56px; }
}
@media (min-width: 960px) {
  body { font-size: 18px; }
  .nav { display: flex; }
  .hero { padding: 104px 0 112px; }
  .hero .wrap { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 72px; }
  .feature, .concierge { justify-self: end; }
  section { padding: 104px 0; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .owners .wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); }
  .contact .wrap { grid-template-columns: 1fr 1fr; gap: 64px; }
  footer { padding-bottom: 40px; }
  footer .wrap { grid-template-columns: auto 1fr; align-items: center; column-gap: 48px; }
  .wa-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* v7 (2-dic-2026): enlace a Facebook con ícono en contacto y pie */
a.red-social { display: inline-flex; align-items: center; gap: .45em; }

/* v8 (2-dic-2026): pantalla propia del terreno de Huacho (huacho/index.html) y enlaces desde su tarjeta */
.card-link { display: block; color: inherit; text-decoration: none; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--gold-deep); }
.card .video-flag { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: .5em; background: rgba(22,20,18,.88); color: var(--gold); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; padding: .55em .9em; border-radius: 2px; }
.card .btn-ver { margin-top: auto; margin-bottom: 10px; }
.card .btn-ver + .btn { margin-top: 0; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: var(--gold); }

.lote-hero { background: radial-gradient(120% 90% at 85% 0%, rgba(255,225,171,.10), transparent 55%), var(--ink); color: #eee8de; padding: 26px 0 60px; border-bottom: 1px solid rgba(255,225,171,.14); }
.lote-back { display: inline-flex; align-items: center; gap: .55em; color: var(--gray); text-decoration: none; font-size: .76rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 26px; }
.lote-back:hover { color: var(--gold); }
.lote-grid { display: grid; gap: 26px; grid-template-areas: "head" "video" "info"; }
.lote-head { grid-area: head; }
.lote-head h1 { color: #fff; font-size: clamp(2.4rem, 5.6vw, 3.9rem); margin-bottom: .25em; }
.lote-head .place { color: var(--gray); margin: 0; }
.lote-head .place .icon { color: var(--gold); }
.lote-video { grid-area: video; margin: 0 auto; width: min(100%, 420px, calc(76vh * 9 / 16)); }
.lote-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #000; border: 1px solid rgba(255,225,171,.28); border-radius: 4px; box-shadow: 0 24px 60px -24px rgba(0,0,0,.7); }
.lote-video figcaption { margin-top: 10px; font-size: .7rem; line-height: 1.4; color: #8f8a82; text-align: center; }
.lote-info { grid-area: info; }
.lote-info .specs li { border-color: rgba(255,225,171,.26); color: #e7e1d7; }
.lote-info .specs .icon { color: var(--gold); }
.lote-price { font-family: var(--serif); font-size: 2.3rem; font-weight: 500; color: var(--gold); line-height: 1.1; margin: 6px 0 .3em; }
.lote-note { color: #d1cbc1; max-width: 32em; }
.lote-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.lote-detalles { background: #fff; border-bottom: 1px solid var(--line); }
.lote-lista { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.lote-lista li { position: relative; padding: 16px 0 16px 28px; border-bottom: 1px solid var(--line); color: var(--text); }
.lote-lista li::before { content: ""; position: absolute; left: 2px; top: 1.55em; width: 12px; height: 1px; background: var(--gold-deep); }
.lote-galeria { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.lote-galeria a { display: block; overflow: hidden; border-radius: 4px; background: #ece6dc; }
.lote-galeria img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.lote-galeria a:hover img { transform: scale(1.03); }
.lote-galeria a:first-child { grid-column: 1 / -1; }
.lote-galeria a:first-child img { aspect-ratio: 16 / 10; }
.lote-cierre { background: var(--ink-2); color: #eee8de; text-align: center; }
.lote-cierre h2 { color: #fff; }
.lote-cierre p { color: #d1cbc1; max-width: 34em; margin-left: auto; margin-right: auto; }
.lote-cierre .eyebrow { justify-content: center; }
.lote-cierre .lote-ctas { justify-content: center; }
.wa-bar.oculta { display: none; }
.visor { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 92vh; overflow: visible; }
.visor::backdrop { background: rgba(14,13,12,.93); }
.visor img { max-width: 96vw; max-height: 86vh; width: auto; height: auto; border-radius: 2px; }
.visor-btn { position: fixed; width: 48px; height: 48px; border: 1px solid rgba(255,225,171,.4); border-radius: 50%; background: rgba(22,20,18,.8); color: var(--gold); font-size: 1.7rem; line-height: 1; cursor: pointer; }
.visor-cerrar { top: 14px; right: 14px; }
.visor-ant { left: 14px; top: 50%; transform: translateY(-50%); }
.visor-sig { right: 14px; top: 50%; transform: translateY(-50%); }
@media (min-width: 700px) {
  .lote-lista { grid-template-columns: repeat(2, 1fr); column-gap: 40px; }
  .lote-galeria { grid-template-columns: repeat(3, 1fr); }
  .lote-galeria a:first-child { grid-column: span 2; grid-row: span 2; }
  .lote-galeria a:first-child img { aspect-ratio: auto; }
  .lote-galeria a:last-child { grid-column: span 2; }
  .lote-galeria a:last-child img { aspect-ratio: auto; }
}
.lote-fotos h2, .lote-detalles h2 { scroll-margin-top: 90px; }
@media (min-width: 960px) {
  .lote-hero { padding: 34px 0 88px; }
  .lote-grid { grid-template-columns: auto 1fr; grid-template-areas: "video head" "video info"; column-gap: 72px; row-gap: 20px; }
  .lote-head { align-self: end; }
  .lote-info { align-self: start; }
  .lote-video { width: min(400px, calc(78vh * 9 / 16)); margin: 0; }
}
