/* =====================================================
   LAURA & CO. INMOBILIARIA — estilos
   Negro, marfil y dorado. Tipografía serif para titulares
   y sans-serif ligera para textos.
   ===================================================== */
:root {
  --negro: #0b0b0b;
  --carbon: #151413;
  --marfil: #f7f3ec;
  --arena: #e6dccb;
  --dorado: #c6a052;
  --dorado-claro: #e2c788;
  --dorado-oscuro: #9c7a33;
  --texto: #2a2723;
  --texto-suave: #6e675d;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Jost', 'Helvetica Neue', Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font-family: var(--sans); font-weight: 300; font-size: 17px; color: var(--texto); background: #fff; line-height: 1.75; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: .2px; }
h1 em, h2 em { font-style: italic; color: var(--dorado); }
strong { font-weight: 500; }
.titulo h2 em, .nosotros h2 em, .mapa h2 em, .centrado h1 em, .faq-cta h2 em { color: var(--dorado-oscuro); }
.oscuro .titulo h2 em { color: var(--dorado); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
svg.ico { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
svg.ico.relleno { fill: currentColor; stroke: none; }
.contenedor { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
section { padding: 110px 0; }
.marfil { background: var(--marfil); }
.oscuro { background: var(--negro); color: #e9e4da; }

/* Etiqueta pequeña con línea dorada */
.etiqueta-seccion { display: inline-flex; align-items: center; gap: 14px; font-size: .74rem; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--dorado-oscuro); }
.etiqueta-seccion::before { content: ""; width: 38px; height: 1px; background: currentColor; }
.oscuro .etiqueta-seccion, .portada .etiqueta-seccion, .encabezado .etiqueta-seccion { color: var(--dorado); }

.titulo { max-width: 680px; margin-bottom: 64px; }
.titulo.centro { margin-left: auto; margin-right: auto; text-align: center; }
.titulo.centro .etiqueta-seccion::after { content: ""; width: 38px; height: 1px; background: currentColor; }
.titulo h2 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); margin-top: 18px; color: var(--negro); }
.oscuro .titulo h2 { color: #fff; }
.titulo p { margin-top: 18px; color: var(--texto-suave); }
.oscuro .titulo p { color: #b9b2a6; }

.enlace { color: var(--dorado-oscuro); font-weight: 400; border-bottom: 1px solid currentColor; padding-bottom: 1px; transition: color .2s; }
.enlace:hover { color: var(--negro); }
.oscuro .enlace { color: var(--dorado); }
.oscuro .enlace:hover { color: #fff; }
.mas { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dorado-oscuro); transition: gap .25s; }
.mas::after { content: "→"; font-size: 1rem; letter-spacing: 0; }
.mas:hover { gap: 16px; }

/* Botones */
.boton { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--dorado); color: var(--negro); padding: 17px 34px; border: 1px solid var(--dorado); border-radius: 0; font-family: var(--sans); font-size: .78rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.boton:hover { background: var(--dorado-claro); border-color: var(--dorado-claro); }
.boton.linea { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.boton.linea:hover { border-color: var(--dorado); color: var(--dorado); }
.boton.linea-oscura { background: transparent; color: var(--negro); border-color: var(--negro); }
.boton.linea-oscura:hover { background: var(--negro); color: #fff; }
.boton.pequeno { padding: 11px 20px; font-size: .7rem; }
.boton svg.ico { width: 18px; height: 18px; }

/* ====== MENÚ ====== */
header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: #000; border-bottom: 1px solid rgba(198,160,82,.28); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; gap: 24px; }
.logo { display: flex; align-items: center; gap: 12px; color: var(--dorado); white-space: nowrap; }
.logo img { width: 50px; height: 50px; mix-blend-mode: lighten; }
.logo span { display: block; font-family: var(--sans); font-weight: 500; font-size: 1.05rem; letter-spacing: 2.5px; line-height: 1.15; }
.logo small { display: block; margin-top: 3px; font-weight: 300; font-size: .6rem; letter-spacing: 5.5px; color: var(--dorado-claro); }
.menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.menu a { color: #ddd6ca; font-size: .74rem; font-weight: 400; letter-spacing: 2.2px; text-transform: uppercase; transition: color .2s; }
.menu a:hover, .menu a[aria-current] { color: var(--dorado); }
.menu .boton { color: var(--dorado); background: transparent; border-color: var(--dorado); }
.menu .boton:hover { background: var(--dorado); color: var(--negro); }
.hamburguesa { display: none; background: none; border: none; cursor: pointer; width: 30px; height: 20px; position: relative; }
.hamburguesa span, .hamburguesa::before, .hamburguesa::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: var(--dorado); transition: transform .3s, opacity .3s; }
.hamburguesa::before { top: 0; } .hamburguesa span { top: 50%; } .hamburguesa::after { bottom: 0; }
.hamburguesa[aria-expanded="true"]::before { transform: translateY(9.5px) rotate(45deg); }
.hamburguesa[aria-expanded="true"] span { opacity: 0; }
.hamburguesa[aria-expanded="true"]::after { transform: translateY(-9.5px) rotate(-45deg); }

/* ====== PORTADA ====== */
.portada { min-height: 100vh; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; padding: 150px 0 0;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 78% 42%, rgba(198,160,82,.17) 0%, rgba(198,160,82,0) 55%), linear-gradient(180deg, #0b0b0b 0%, #050505 100%); }
.portada h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); font-weight: 400; max-width: 820px; margin: 26px 0 26px; }
.portada p { font-size: 1.12rem; max-width: 540px; color: #d8d2c7; }
.portada .botones { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 40px; }
.pilares { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 90px; border-top: 1px solid rgba(255,255,255,.16); }
.pilares > div { padding: 30px 28px 34px 0; display: flex; gap: 16px; align-items: flex-start; }
.pilares > div + div { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.16); }
.pilares svg.ico { color: var(--dorado); width: 26px; height: 26px; margin-top: 2px; }
.pilares h3 { font-size: 1.3rem; color: #fff; }
.pilares p { font-size: .88rem; color: #a9a294; margin-top: 4px; }

/* ====== MANIFIESTO ====== */
.manifiesto { text-align: center; padding: 120px 0; }
.manifiesto blockquote { font-family: var(--serif); font-size: clamp(1.7rem, 3.6vw, 2.6rem); font-weight: 400; line-height: 1.35; max-width: 900px; margin: 28px auto 0; color: var(--negro); }
.manifiesto blockquote em { color: var(--dorado-oscuro); }
.firma { margin-top: 30px; font-size: .74rem; letter-spacing: 4px; text-transform: uppercase; color: var(--texto-suave); }

/* ====== ENCABEZADO DE PÁGINAS INTERNAS + MIGAS DE PAN ====== */
.encabezado { background: var(--negro); color: #fff; padding: 160px 0 80px; border-bottom: 1px solid rgba(198,160,82,.28); }
.encabezado h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 400; margin-top: 22px; }
.encabezado p { color: #b9b2a6; margin-top: 16px; max-width: 620px; }
.migas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; }
.migas li { color: #9d968a; }
.migas li:not(:last-child)::after { content: "/"; margin-left: 10px; color: var(--dorado-oscuro); }
.migas a { color: var(--dorado); }
.migas a:hover { color: #fff; }

/* ====== PROPIEDADES ====== */
.cabecera-flex { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; margin-bottom: 64px; }
.cabecera-flex .titulo { margin-bottom: 0; }
.grid-prop { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.tarjeta { background: #fff; display: flex; flex-direction: column; }
.tarjeta .foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tarjeta .foto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.tarjeta:hover .foto img { transform: scale(1.05); }
.estado { position: absolute; top: 18px; left: 18px; background: rgba(11,11,11,.82); color: var(--dorado-claro); padding: 7px 14px; font-size: .66rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.tarjeta .info { padding: 30px 28px 32px; display: flex; flex-direction: column; flex: 1; }
.ubicacion { font-size: .72rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--texto-suave); }
.tarjeta h3 { font-size: 1.6rem; color: var(--negro); margin: 10px 0 6px; }
.precio { font-family: var(--serif); font-size: 1.45rem; color: var(--dorado-oscuro); }
.precio small { font-family: var(--sans); font-size: .8rem; color: var(--texto-suave); }
.detalles { display: flex; gap: 22px; margin-bottom: auto; border-top: 1px solid var(--arena); margin-top: 22px; padding-top: 18px; font-size: .88rem; color: var(--texto-suave); flex-wrap: wrap; }
.detalles span { display: inline-flex; align-items: center; gap: 8px; }
.detalles svg.ico { width: 18px; height: 18px; color: var(--dorado-oscuro); }
.tarjeta .boton { margin-top: 26px; align-self: flex-start; }

/* ====== PROYECTOS ====== */
.grid-proy { display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: 24px; height: 640px; }
.proyecto { position: relative; overflow: hidden; }
.proyecto:first-child { grid-row: span 2; }
.proyecto img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease; }
.proyecto:hover img { transform: scale(1.05); }
.proyecto .texto { position: absolute; inset: auto 0 0 0; padding: 30px; background: linear-gradient(transparent, rgba(8,8,8,.85)); color: #fff; }
.proyecto .fase { font-size: .68rem; letter-spacing: 3px; text-transform: uppercase; color: var(--dorado); }
.proyecto h3 { font-size: 1.7rem; margin-top: 6px; }

/* ====== MÉTODO ====== */
.pasos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; counter-reset: paso; }
.paso { border-top: 1px solid rgba(198,160,82,.4); padding-top: 28px; }
.paso::before { counter-increment: paso; content: "0" counter(paso); font-family: var(--serif); font-size: 3rem; color: var(--dorado); line-height: 1; }
.paso h3 { font-size: 1.5rem; color: #fff; margin: 18px 0 10px; }
.paso p { font-size: .94rem; color: #a9a294; }

/* ====== NOSOTROS ====== */
.nosotros .contenedor { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: end; }
.nosotros .imagen { position: relative; }
.nosotros .imagen img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; position: relative; z-index: 1; }
.nosotros .imagen::after { content: ""; position: absolute; inset: 28px -28px -28px 28px; border: 1px solid var(--dorado); }
.nosotros h2 { font-size: clamp(2.1rem, 4.4vw, 3rem); color: var(--negro); margin: 18px 0 24px; }
.nosotros p + p { margin-top: 16px; }
.nosotros p { color: var(--texto-suave); }
.valores { list-style: none; margin: 34px 0 40px; border-top: 1px solid var(--arena); }
.nosotros .valores { margin-top: 0; }
.valores li { padding: 16px 0; border-bottom: 1px solid var(--arena); display: flex; gap: 16px; align-items: center; }
.valores svg.ico { color: var(--dorado-oscuro); }

/* ====== PREGUNTAS FRECUENTES ====== */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--arena); }
.faq details { border-bottom: 1px solid var(--arena); }
.faq summary { cursor: pointer; padding: 30px 60px 30px 0; font-family: var(--serif); font-size: 1.5rem; font-weight: 500; color: var(--negro); list-style: none; position: relative; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 14px; height: 14px; border-right: 1px solid var(--dorado-oscuro); border-bottom: 1px solid var(--dorado-oscuro); transform: translateY(-75%) rotate(45deg); transition: transform .3s; }
.faq details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.faq details p, .faq details ul { padding: 0 60px 30px 0; color: var(--texto-suave); }
.faq details ul { padding-left: 22px; }
.faq details li { margin-bottom: 6px; }
.faq details li::marker { color: var(--dorado); }
.faq-cta { text-align: center; margin-top: 70px; }
.faq-cta h2 { font-size: 2rem; color: var(--negro); margin-bottom: 24px; }

/* ====== CONTACTO ====== */
.contacto .contenedor { display: grid; grid-template-columns: 1fr 1.15fr; gap: 90px; }
.datos ul { list-style: none; margin-top: 10px; }
.datos li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--arena); }
.datos li:first-child { border-top: 1px solid var(--arena); }
.datos svg.ico { color: var(--dorado-oscuro); margin-top: 4px; }
.datos h3 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--texto-suave); margin-bottom: 4px; }
.datos a:hover { color: var(--dorado-oscuro); }
form { background: var(--negro); color: #e9e4da; padding: 54px 50px; display: grid; gap: 30px; align-content: start; }
form h3 { font-size: 2rem; color: #fff; }
form .ayuda { font-size: .92rem; color: #a9a294; margin-top: -18px; }
.campo label { display: block; font-size: .68rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--dorado); margin-bottom: 6px; }
input, select, textarea { width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid rgba(255,255,255,.25); background: transparent; color: #fff; font: inherit; font-weight: 300; border-radius: 0; outline: none; transition: border-color .2s; }
input:focus, select:focus, textarea:focus { border-bottom-color: var(--dorado); }
input::placeholder, textarea::placeholder { color: #7d776d; }
select option { color: var(--texto); }
textarea { min-height: 90px; resize: vertical; }
.acepto { display: flex; gap: 12px; align-items: flex-start; font-size: .85rem; color: #a9a294; }
.acepto input { width: 16px; height: 16px; margin-top: 5px; accent-color: var(--dorado); }
form .boton { justify-self: start; }

/* ====== MAPA ====== */
.mapa { padding: 0 0 110px; }
.mapa iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(1) contrast(1.05); }
.mapa .barra { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.mapa .barra h2 { font-size: 2.2rem; color: var(--negro); margin-top: 14px; }

/* ====== PÁGINAS DE TEXTO (privacidad, gracias, 404) ====== */
.texto-legal { max-width: 820px; }
.texto-legal h2 { font-size: 1.8rem; color: var(--negro); margin: 48px 0 14px; }
.texto-legal p, .texto-legal li { margin-bottom: 12px; color: var(--texto); }
.texto-legal ul { padding-left: 22px; }
.texto-legal li::marker { color: var(--dorado); }
.centrado { text-align: center; max-width: 680px; margin: 0 auto; }
.centrado .sello { width: 74px; height: 74px; margin: 0 auto 30px; border: 1px solid var(--dorado); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dorado-oscuro); }
.centrado .sello svg.ico { width: 30px; height: 30px; }
.centrado .codigo { font-family: var(--serif); font-size: 6rem; color: var(--dorado); line-height: 1; margin-bottom: 10px; }
.centrado h1 { color: var(--negro); font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 20px; }
.centrado p { color: var(--texto-suave); }
.centrado .botones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 40px; }
.atajos { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); margin-top: 70px; border-top: 1px solid var(--arena); }
.atajos a { padding: 24px 12px; font-size: .74rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--texto); transition: color .2s; }
.atajos a + a { border-left: 1px solid var(--arena); }
.atajos a:hover { color: var(--dorado-oscuro); }

/* ====== PIE DE PÁGINA ====== */
footer { background: var(--negro); color: #a9a294; padding: 90px 0 30px; font-size: .92rem; border-top: 1px solid rgba(198,160,82,.28); }
.pie { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 50px; }
.pie .logo img { width: 64px; height: 64px; }
.pie .marca p { margin-top: 22px; max-width: 300px; }
.pie h3 { font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--dorado); margin-bottom: 20px; }
.pie ul { list-style: none; }
.pie li { margin-bottom: 10px; }
.pie a:hover { color: var(--dorado-claro); }
.derechos { border-top: 1px solid rgba(255,255,255,.1); margin-top: 70px; padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .76rem; letter-spacing: 1.5px; color: #7d776d; }
.derechos a:hover { color: var(--dorado); }
footer.simple { padding: 30px 0; }
footer.simple .derechos { margin: 0; border: 0; padding: 0; }

/* ====== WHATSAPP FLOTANTE (computador) ====== */
.whatsapp { position: fixed; bottom: 28px; right: 28px; z-index: 200; width: 58px; height: 58px; border-radius: 50%; background: var(--negro); border: 1px solid var(--dorado); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: background .25s; }
.whatsapp:hover { background: var(--dorado); }
.whatsapp svg { width: 26px; height: 26px; fill: var(--dorado); transition: fill .25s; }
.whatsapp:hover svg { fill: var(--negro); }

/* ====== BARRA FIJA DE CONTACTO (celular) ====== */
.cta-movil { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200; border-top: 1px solid rgba(198,160,82,.4); }
.cta-movil a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 17px 8px; font-size: .74rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; }
.cta-movil svg { width: 18px; height: 18px; }
.cta-movil .llamar { background: var(--negro); color: var(--dorado-claro); }
.cta-movil .llamar svg { fill: none; stroke: currentColor; stroke-width: 1.4; }
.cta-movil .wa { background: var(--dorado); color: var(--negro); }
.cta-movil .wa svg { fill: currentColor; }

/* ====== AVISO DE COOKIES ====== */
.cookies { position: fixed; left: 24px; bottom: 24px; z-index: 300; max-width: 460px; background: var(--negro); color: #cfc8bc; border: 1px solid rgba(198,160,82,.4); padding: 24px; font-size: .88rem; display: none; box-shadow: 0 14px 40px rgba(0,0,0,.3); }
.cookies.visible { display: block; }
.cookies .enlace { color: var(--dorado); }
.cookies .botones { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }
.cookies .rechazar { background: transparent; color: #cfc8bc; border-color: rgba(255,255,255,.3); }
.cookies .rechazar:hover { background: transparent; border-color: #fff; color: #fff; }

/* ====== APARICIÓN SUAVE AL HACER SCROLL ====== */
.js .revelar { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.js .revelar.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .revelar { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ====== MENÚ DESPLEGABLE (pantallas medianas y celulares) ====== */
@media (max-width: 1100px) {
  .hamburguesa { display: block; }
  .menu { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: #000; border-bottom: 1px solid rgba(198,160,82,.28); padding: 10px 24px 24px; }
  .menu.abierto { display: flex; }
  .menu a { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .8rem; }
  .menu .boton { margin-top: 18px; padding: 15px; }
}

/* ====== TABLETS ====== */
@media (max-width: 1024px) {
  .grid-prop { grid-template-columns: repeat(2, 1fr); }
  .pasos { grid-template-columns: repeat(2, 1fr); }
  .pie { grid-template-columns: 1fr 1fr; }
}

/* ====== CELULARES ====== */
@media (max-width: 900px) {
  body { font-size: 16px; padding-bottom: 56px; }
  section { padding: 80px 0; }
  .contenedor { padding: 0 20px; }
  .nav { height: 70px; }
  .logo img { width: 42px; height: 42px; }
  .logo span { font-size: .95rem; }
  html { scroll-padding-top: 74px; }
  .portada { min-height: auto; padding-top: 120px; }
  .portada h1 { margin: 20px 0; }
  .portada p { font-size: 1.02rem; }
  .portada .botones { margin-top: 30px; }
  .portada .botones .boton { flex: 1 1 100%; }
  .pilares { grid-template-columns: 1fr; margin-top: 60px; }
  .pilares > div, .pilares > div + div { padding: 22px 0; border-left: 0; }
  .pilares > div + div { border-top: 1px solid rgba(255,255,255,.12); }
  .manifiesto { padding: 80px 0; }
  .grid-proy { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .proyecto, .proyecto:first-child { grid-row: auto; aspect-ratio: 4 / 3; }
  .pasos { grid-template-columns: 1fr; gap: 34px; }
  .nosotros .contenedor, .contacto .contenedor { grid-template-columns: 1fr; gap: 60px; }
  .nosotros .imagen { margin-right: 20px; }
  .nosotros .imagen::after { inset: 18px -18px -18px 18px; }
  form { padding: 40px 24px; }
  .faq summary { font-size: 1.3rem; padding-right: 44px; }
  .faq details p, .faq details ul { padding-right: 0; }
  .mapa iframe { height: 320px; }
  .pie { grid-template-columns: 1fr; gap: 40px; }
  .atajos a + a { border-left: 0; border-top: 1px solid var(--arena); }
  .whatsapp { display: none; }
  .cta-movil { display: flex; }
  .cookies { left: 12px; right: 12px; bottom: 68px; }
}

/* ====== LISTADO DE PROPIEDADES (Venta y Arriendo) ====== */
.filtros { display: flex; justify-content: space-between; align-items: center; gap: 20px 30px; flex-wrap: wrap; padding-bottom: 28px; margin-bottom: 50px; border-bottom: 1px solid var(--arena); }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chips button { background: transparent; border: 1px solid var(--arena); color: var(--texto); padding: 10px 20px; font-family: var(--sans); font-size: .7rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chips button:hover { border-color: var(--dorado-oscuro); }
.chips button[aria-pressed="true"] { background: var(--negro); border-color: var(--negro); color: var(--dorado-claro); }
.orden { display: flex; align-items: center; gap: 22px; font-size: .88rem; color: var(--texto-suave); }
.orden label { font-size: .68rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--dorado-oscuro); }
.orden select { width: auto; color: var(--texto); border-bottom: 1px solid var(--texto-suave); padding: 6px 4px; cursor: pointer; }
#conteo { white-space: nowrap; margin-right: 8px; }
.grid-prop .tarjeta { animation: aparecer .6s ease both; }
@keyframes aparecer { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.vacio { grid-column: 1 / -1; text-align: center; padding: 70px 20px; border: 1px solid var(--arena); background: #fff; }
.vacio p { font-family: var(--serif); font-size: 1.6rem; color: var(--negro); margin-bottom: 26px; }
.dos-columnas { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.dos-columnas h2 { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--negro); margin: 18px 0 20px; }
.dos-columnas h2 em { color: var(--dorado-oscuro); }
.dos-columnas p { color: var(--texto-suave); }
.dos-columnas .valores { margin-bottom: 0; }
.dos-columnas .nota-pequena { font-size: .85rem; margin-top: 18px; }
.botones-linea { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 900px) {
  .filtros { margin-bottom: 36px; }
  .orden { width: 100%; }
  #conteo { margin-right: auto; }
  .dos-columnas { grid-template-columns: 1fr; gap: 60px; }
  .botones-linea .boton { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .grid-prop .tarjeta { animation: none; } }
@media (max-width: 640px) {
  .grid-prop { grid-template-columns: 1fr; }
}

/* ====== FLECHAS EN LAS TARJETAS ====== */
.tarjeta .foto > a { display: block; width: 100%; height: 100%; }
.tarjeta h3 a:hover { color: var(--dorado-oscuro); }
.tarjeta-flecha { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.5); background: rgba(11,11,11,.55); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s, background .2s; z-index: 2; }
.tarjeta-flecha.anterior { left: 14px; }
.tarjeta-flecha.siguiente { right: 14px; }
.tarjeta-flecha:hover { background: var(--dorado); border-color: var(--dorado); color: var(--negro); }
.tarjeta:hover .tarjeta-flecha, .tarjeta-flecha:focus-visible { opacity: 1; }
@media (hover: none) { .tarjeta-flecha { opacity: 1; } }
.cantidad-fotos { position: absolute; right: 16px; bottom: 14px; background: rgba(11,11,11,.7); color: #fff; padding: 4px 10px; font-size: .7rem; letter-spacing: 1.5px; z-index: 2; }

/* ====== PÁGINA DE DETALLE DE PROPIEDAD ====== */
.encabezado.compacto { padding-bottom: 50px; }
.encabezado.compacto .etiqueta-seccion { margin-top: 26px; }
.encabezado.compacto h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: 14px; }
.galeria-seccion { padding: 0; background: var(--negro); }
.carrusel { position: relative; height: min(72vh, 680px); overflow: hidden; background: #000; touch-action: pan-y; }
.carrusel .fondo { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(34px) brightness(.45); transition: background-image .4s; }
.carrusel img.principal { position: relative; width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; z-index: 1; }
.carrusel img.principal.entrando { animation: fundido .45s ease; }
@keyframes fundido { from { opacity: .25; } to { opacity: 1; } }
.flecha { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 54px; height: 54px; border: 1px solid rgba(255,255,255,.45); background: rgba(11,11,11,.45); color: #fff; font-size: 1.9rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s, color .2s; }
.flecha:hover { background: var(--dorado); border-color: var(--dorado); color: var(--negro); }
.flecha.anterior { left: 24px; }
.flecha.siguiente { right: 24px; }
.contador-fotos { position: absolute; left: 24px; bottom: 22px; z-index: 2; color: #fff; font-size: .78rem; letter-spacing: 3px; background: rgba(11,11,11,.55); padding: 7px 14px; }
.ampliar { position: absolute; right: 24px; bottom: 22px; z-index: 2; display: inline-flex; align-items: center; gap: 10px; background: rgba(11,11,11,.55); color: #fff; border: 1px solid rgba(255,255,255,.35); padding: 9px 16px; font-family: var(--sans); font-size: .68rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; }
.ampliar:hover { border-color: var(--dorado); color: var(--dorado); }
.ampliar svg.ico { width: 16px; height: 16px; }
.miniaturas { display: flex; gap: 10px; overflow-x: auto; padding: 14px 24px 18px; background: var(--negro); scrollbar-width: thin; scrollbar-color: var(--dorado-oscuro) transparent; }
.miniaturas button { flex: 0 0 auto; width: 96px; height: 72px; padding: 0; border: 1px solid transparent; background: none; cursor: pointer; opacity: .5; transition: opacity .2s, border-color .2s; }
.miniaturas button img { width: 100%; height: 100%; object-fit: cover; }
.miniaturas button:hover { opacity: .85; }
.miniaturas button[aria-current="true"] { opacity: 1; border-color: var(--dorado); }

.detalle-grid { display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }
.datos-clave { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); border-top: 1px solid var(--arena); border-bottom: 1px solid var(--arena); margin-bottom: 20px; }
.datos-clave div { padding: 24px 12px 22px 0; display: flex; flex-direction: column; gap: 4px; }
.datos-clave svg.ico { color: var(--dorado-oscuro); width: 26px; height: 26px; margin-bottom: 8px; }
.datos-clave strong { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; color: var(--negro); line-height: 1.1; }
.datos-clave span { font-size: .7rem; letter-spacing: 2.5px; text-transform: uppercase; color: var(--texto-suave); }
.bloque { padding-top: 40px; }
.bloque h2 { font-size: 1.9rem; color: var(--negro); margin-bottom: 18px; }
.bloque > p { color: var(--texto-suave); }
.niveles div { display: grid; grid-template-columns: 160px 1fr; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--arena); }
.niveles div:first-child { border-top: 1px solid var(--arena); }
.niveles dt { font-size: .72rem; font-weight: 500; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dorado-oscuro); padding-top: 3px; }
.niveles dd { color: var(--texto); }
.valores.dos-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 34px; margin: 0; border-top: 0; }
.valores.dos-col li { font-size: .95rem; }
.etiquetas { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.etiquetas li { border: 1px solid var(--arena); padding: 9px 18px; font-size: .85rem; }

.ficha { position: sticky; top: 110px; background: var(--negro); color: #e9e4da; padding: 40px 34px; }
.ficha .estado-ficha { font-size: .7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--dorado); }
.ficha .precio-ficha { font-family: var(--serif); font-size: 2.6rem; color: #fff; line-height: 1.1; margin: 14px 0 6px; }
.ficha .precio-ficha small { font-family: var(--sans); font-size: .9rem; color: #a9a294; }
.ficha .codigo-ficha { font-size: .82rem; color: #8f887c; letter-spacing: 1px; }
.ficha .acciones { display: grid; gap: 12px; margin-top: 30px; }
.ficha .acciones .boton { width: 100%; }
.ficha .boton.linea { border-color: rgba(255,255,255,.35); }
.ficha .boton svg.ico { width: 18px; height: 18px; }
.ficha .nota-ficha { font-size: .82rem; color: #8f887c; margin-top: 22px; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; }

/* Visor a pantalla completa */
.visor { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(5,5,5,.97); color: #fff; }
.visor[open] { display: flex; align-items: center; justify-content: center; }
.visor::backdrop { background: rgba(0,0,0,.9); }
.visor img { max-width: 92vw; max-height: 86vh; object-fit: contain; }
.visor .cerrar { position: absolute; top: 20px; right: 24px; background: none; border: 1px solid rgba(255,255,255,.35); color: #fff; width: 48px; height: 48px; font-size: 1.6rem; cursor: pointer; }
.visor .cerrar:hover { border-color: var(--dorado); color: var(--dorado); }
.visor .contador-fotos { left: 50%; transform: translateX(-50%); bottom: 20px; }

@media (max-width: 1024px) {
  .detalle-grid { grid-template-columns: 1fr; gap: 50px; }
  .ficha { position: static; }
}
@media (max-width: 900px) {
  .carrusel { height: 62vh; }
  .flecha { width: 44px; height: 44px; font-size: 1.6rem; }
  .flecha.anterior { left: 12px; } .flecha.siguiente { right: 12px; }
  .contador-fotos { left: 12px; bottom: 12px; }
  .ampliar { right: 12px; bottom: 12px; }
  .miniaturas { padding: 10px 20px 14px; }
  .miniaturas button { width: 74px; height: 56px; }
  .valores.dos-col { grid-template-columns: 1fr; }
  .niveles div { grid-template-columns: 1fr; gap: 4px; }
  .ficha { padding: 34px 24px; }
}

/* Lista de valores sobre fondo negro */
.valores.claro { border-top-color: rgba(255,255,255,.14); }
.valores.claro li { border-bottom-color: rgba(255,255,255,.14); color: #e9e4da; }
.valores.claro svg.ico { color: var(--dorado); }

/* Portada con el logo (sin fotografía) */
.portada > .contenedor { position: relative; z-index: 1; }
.portada h1 { max-width: 640px; }
.portada .emblema { position: absolute; right: 4%; top: 50%; transform: translateY(-58%); width: min(40vw, 520px); mix-blend-mode: lighten; opacity: .92; pointer-events: none; }
/* Pantallas medianas y celular: el logo se reduce y queda de fondo, suave */
/* Tablet y pantallas medianas: logo visible a la derecha, texto a la izquierda */
@media (max-width: 1100px) {
  .portada .emblema { width: 38vw; right: 3%; top: 130px; transform: none; opacity: .92; }
  .portada h1, .portada .contenedor > p, .portada .botones { max-width: 58%; }
}
/* Teléfonos: el logo queda de fondo detrás del título */
@media (max-width: 640px) {
  .portada .emblema { width: 72vw; right: auto; left: 50%; top: 28%; transform: translate(-50%, -50%); opacity: .2; }
  .portada h1, .portada .contenedor > p, .portada .botones { max-width: none; }
}


/* ====== SERVICIOS: EXPLORADOR INTERACTIVO ====== */
.servicios-x { padding-bottom: 120px; }
.explorador { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: 70px; align-items: stretch; }
.lista-servicios { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,.12); }
.lista-servicios [role="tab"] { position: relative; display: flex; align-items: baseline; gap: 22px; width: 100%; text-align: left; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); padding: 26px 40px 26px 0; cursor: pointer; color: #6f695f; transition: color .3s; }
.lista-servicios [role="tab"]::after { content: "→"; position: absolute; right: 6px; top: 50%; transform: translate(-12px, -50%); opacity: 0; color: var(--dorado); font-size: 1.3rem; transition: transform .35s, opacity .35s; }
.lista-servicios .num { font-family: var(--serif); font-size: 1rem; letter-spacing: 2px; color: var(--dorado-oscuro); transition: color .3s; }
.lista-servicios .nombre { font-family: var(--serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); line-height: 1.05; transition: transform .35s, color .3s; }
.lista-servicios [role="tab"]:hover { color: #cfc8bc; }
.lista-servicios [role="tab"]:hover .nombre { transform: translateX(8px); }
.lista-servicios [role="tab"][aria-selected="true"] { color: #fff; }
.lista-servicios [role="tab"][aria-selected="true"] .num { color: var(--dorado); }
.lista-servicios [role="tab"][aria-selected="true"] .nombre { font-style: italic; color: var(--dorado-claro); transform: translateX(8px); }
.lista-servicios [role="tab"][aria-selected="true"]::after { opacity: 1; transform: translate(0, -50%); }
.lista-servicios [role="tab"]:focus-visible { outline: 1px solid var(--dorado); outline-offset: 4px; }
/* Barra dorada de progreso */
.lista-servicios .barra { position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--dorado); }
.lista-servicios [aria-selected="true"] .barra { width: 100%; }
.explorador.auto .lista-servicios [aria-selected="true"] .barra { width: 0; }
.explorador.auto .lista-servicios .corriendo .barra { animation: progreso 7s linear forwards; }
@keyframes progreso { from { width: 0; } to { width: 100%; } }

.paneles { position: relative; min-height: 560px; }
.panel-servicio { position: relative; height: 100%; overflow: hidden; background: linear-gradient(160deg, #171614 0%, #0e0d0c 100%); border: 1px solid rgba(198,160,82,.28); padding: 54px 52px 48px; display: flex; flex-direction: column; animation: entrarPanel .55s ease both; }
.panel-servicio[hidden] { display: none; }
@keyframes entrarPanel { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.numero-fondo { position: absolute; right: -10px; top: -46px; font-family: var(--serif); font-size: 15rem; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(198,160,82,.22); pointer-events: none; user-select: none; }
.panel-icono { width: 74px; height: 74px; border: 1px solid rgba(198,160,82,.5); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--dorado); margin-bottom: 30px; }
.panel-icono svg.ico { width: 34px; height: 34px; stroke-width: 1.1; }
.panel-servicio h3 { font-size: clamp(2rem, 3.2vw, 2.6rem); color: #fff; margin-bottom: 16px; position: relative; }
.panel-servicio > p { color: #b9b2a6; max-width: 560px; position: relative; }
.incluye { list-style: none; margin: 28px 0 0; display: grid; gap: 12px; position: relative; }
.incluye li { display: flex; gap: 14px; align-items: center; color: #e9e4da; font-size: .96rem; }
.incluye svg.ico { width: 18px; height: 18px; color: var(--dorado); }
.dato-vivo { margin-top: 30px; position: relative; }
.panel-servicio .botones-linea { margin-top: auto; padding-top: 34px; position: relative; }
.panel-servicio .boton.linea { color: #fff; }

/* Tarjeta mini de propiedad dentro del panel */
.mini-prop { display: grid; grid-template-columns: 112px 1fr auto; gap: 20px; align-items: center; padding: 12px; border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03); transition: border-color .25s, background .25s; }
.mini-prop:hover { border-color: var(--dorado); background: rgba(198,160,82,.06); }
.mini-prop img { width: 112px; height: 84px; object-fit: cover; }
.mini-texto { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mini-etq { font-size: .64rem; font-weight: 500; letter-spacing: 3px; text-transform: uppercase; color: var(--dorado); }
.mini-texto strong { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; color: #fff; line-height: 1.2; }
.mini-precio { font-family: var(--serif); font-size: 1.1rem; color: var(--dorado-claro); }
.mini-flecha { color: var(--dorado); font-size: 1.3rem; padding-right: 8px; transition: transform .25s; }
.mini-prop:hover .mini-flecha { transform: translateX(5px); }
.mini-mas { display: inline-block; margin-top: 12px; font-size: .78rem; letter-spacing: 1.5px; color: var(--dorado-claro); border-bottom: 1px solid currentColor; }
.mini-nota { font-size: .92rem; color: #a9a294; border-left: 1px solid var(--dorado); padding-left: 16px; }
.mini-dato { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px; padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); color: #cfc8bc; font-size: .9rem; transition: border-color .25s; }
.mini-dato:hover { border-color: var(--dorado); }
.mini-dato strong { font-family: var(--serif); font-weight: 500; font-size: 1.9rem; color: var(--dorado-claro); margin-right: 6px; }

@media (max-width: 1024px) {
  .explorador { grid-template-columns: 1fr; gap: 0; }
  .lista-servicios { flex-direction: row; overflow-x: auto; border-top: 0; border-bottom: 1px solid rgba(255,255,255,.12); scrollbar-width: none; margin-bottom: 30px; }
  .lista-servicios::-webkit-scrollbar { display: none; }
  .lista-servicios [role="tab"] { flex: 0 0 auto; width: auto; flex-direction: column; gap: 2px; padding: 14px 22px 16px 0; margin-right: 18px; border-bottom: 0; }
  .lista-servicios [role="tab"]::after { display: none; }
  .lista-servicios .nombre { font-size: 1.6rem; }
  .lista-servicios [role="tab"]:hover .nombre, .lista-servicios [role="tab"][aria-selected="true"] .nombre { transform: none; }
  .paneles { min-height: 0; }
}
@media (max-width: 900px) {
  .panel-servicio { padding: 40px 24px 34px; }
  .numero-fondo { font-size: 10rem; top: -28px; }
  .panel-icono { width: 62px; height: 62px; margin-bottom: 24px; }
  .mini-prop { grid-template-columns: 84px 1fr; gap: 14px; }
  .mini-prop img { width: 84px; height: 70px; }
  .mini-flecha { display: none; }
}
@media (prefers-reduced-motion: reduce) { .panel-servicio { animation: none; } }

/* Campo trampa para robots (invisible para las personas) */
.trampa { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ====== AVISO DE COOKIES QUE BLOQUEA LA PÁGINA HASTA ELEGIR ====== */
body.bloqueado { overflow: hidden; }
.velo-cookies { position: fixed; inset: 0; z-index: 350; background: rgba(0,0,0,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: aparecerVelo .3s ease; }
@keyframes aparecerVelo { from { opacity: 0; } to { opacity: 1; } }
.cookies.bloqueante { left: 50%; right: auto; top: 50%; bottom: auto; transform: translate(-50%, -50%); width: calc(100% - 32px); max-width: 500px; z-index: 400; padding: 36px 34px 32px; font-size: .95rem; line-height: 1.7; }
.cookies.bloqueante::before { content: "Tu privacidad"; display: block; font-family: var(--serif); font-size: 1.8rem; color: #fff; margin-bottom: 12px; }
.cookies.bloqueante .botones { margin-top: 24px; gap: 12px; }
.cookies.bloqueante .botones .boton { flex: 1 1 0; padding: 15px 10px; }
@media (max-width: 900px) {
  .cookies.bloqueante { left: 50%; right: auto; bottom: auto; padding: 30px 22px 24px; }
}
