/* ==========================================================================
   NF Construarte — estilos del sitio corporativo y micrositios
   ========================================================================== */

:root {
    --nf-dark: #1a4332;
    --nf-darker: #10291f;
    --nf-lime: #a4c453;
    --nf-cyan: #028989;
    --nf-cream: #f4efe4;
    --ink: #1f2a24;
    --text: #44514a;
    --muted: #6b766f;
    --line: #e3e8e4;
    --soft: #f6f8f6;
    --white: #fff;
    --danger: #c0392b;
    --ok: #2e7d4f;

    /* Colores del proyecto (los micrositios los sobrescriben) */
    --p: var(--nf-dark);
    --a: var(--nf-lime);
    --pd: var(--nf-darker);

    --font-head: 'Montserrat', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --radius: 14px;
    --radius-lg: 22px;
    --shadow: 0 6px 24px rgba(16, 41, 31, .08);
    --shadow-lg: 0 18px 48px rgba(16, 41, 31, .16);
    --ease: cubic-bezier(.2, .8, .2, 1);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { width: 100%; max-width: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
iframe, video, svg { max-width: 100%; }
a, p, li, dd, td, th, code { overflow-wrap: anywhere; }
.rich table { display: block; width: 100%; max-width: 100%; overflow-x: auto; border-collapse: collapse; -webkit-overflow-scrolling: touch; }
.rich pre { max-width: 100%; overflow-x: auto; }
a { color: var(--p); text-decoration: none; transition: color .2s; }
a:hover { color: var(--pd); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--a); outline-offset: 2px; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.skip-link:focus { left: 8px; color: #fff; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.container--mid { max-width: 980px; }
.container--narrow { max-width: 800px; }
.center { text-align: center; }
.center-flex { justify-content: center; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.12rem; color: var(--text); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
    font-family: var(--font-head); font-weight: 700; font-size: .95rem; line-height: 1.1;
    cursor: pointer; transition: transform .2s var(--ease), background .2s, color .2s, box-shadow .2s, border-color .2s;
    text-align: center; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: .6em 1.1em; font-size: .85rem; }
.btn-lg { padding: 1em 1.8em; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--p); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--p) 30%, transparent); }
.btn-primary:hover { background: var(--pd); color: #fff; }
.btn-accent { background: var(--a); color: var(--pd); }
.btn-accent:hover { background: #fff; color: var(--pd); }
.btn-outline { border-color: var(--p); color: var(--p); background: transparent; }
.btn-outline:hover { background: var(--p); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.7); color: #fff; background: rgba(255,255,255,.08); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: #fff; color: var(--pd); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.link-arrow { display: inline-flex; gap: .4em; align-items: center; font-weight: 600; margin-top: 1rem; }

.eyebrow {
    display: inline-block; font-family: var(--font-head); font-size: .78rem; font-weight: 700;
    letter-spacing: .14em; text-transform: uppercase; color: var(--p);
    margin-bottom: .8rem; padding-left: 28px; position: relative;
}
.eyebrow::before { content: ''; position: absolute; left: 0; top: 50%; width: 20px; height: 2px; background: var(--a); }
.eyebrow--light { color: #fff; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--nf-darker); color: rgba(255,255,255,.85); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 1rem; }
.topbar a { color: rgba(255,255,255,.85); display: inline-flex; gap: .4em; align-items: center; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; gap: 1.3rem; align-items: center; }
.topbar-pay { background: #e24c4c; color: #fff !important; padding: .2em .8em; border-radius: 999px; font-weight: 700; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
    backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.07); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 112px; height: 66px; object-fit: contain; }
.brand--micro img { width: auto; height: 56px; max-width: 220px; object-fit: contain; }
.brand-text { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--p); }
.main-nav ul { display: flex; gap: .3rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.main-nav a {
    display: inline-flex; align-items: center; gap: .35em; padding: .55em .85em; border-radius: 10px;
    font-weight: 600; font-size: .93rem; color: var(--ink);
}
.main-nav a:hover, .main-nav a.is-active { color: var(--p); background: var(--soft); }
.nav-caret { font-size: .65em; transition: transform .2s; }
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
    width: 340px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: .6rem; opacity: 0; visibility: hidden; transition: all .22s var(--ease); border: 1px solid var(--line);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-dropdown:hover .nav-caret { transform: rotate(180deg); }
.dropdown::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.dropdown-project { display: flex !important; gap: .8rem; align-items: center; padding: .5rem !important; }
.dropdown-project img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; }
.dropdown-project span { display: flex; flex-direction: column; line-height: 1.25; }
.dropdown-project small { color: var(--muted); font-weight: 500; }
.dropdown-all { justify-content: center; border-top: 1px solid var(--line); margin-top: .3rem; border-radius: 0 0 10px 10px !important; font-size: .85rem !important; }
.header-actions { display: flex; align-items: center; gap: .8rem; }
.header-phone { font-weight: 700; color: var(--ink); display: inline-flex; gap: .4em; align-items: center; font-size: .92rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--soft); border-radius: 12px; cursor: pointer; padding: 11px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }
.nav-mobile-only { display: none; }

/* ---------- Hero slider (home) ---------- */
.hero-slider { position: relative; height: min(88vh, 760px); min-height: 520px; background: var(--nf-darker); overflow: hidden; }
.slides, .slide { position: absolute; inset: 0; }
.slide { opacity: 0; visibility: hidden; transition: opacity 1s ease, visibility 1s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-bg, .slide-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide.is-active .slide-bg img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,20,.72) 0%, rgba(10,28,20,.35) 55%, rgba(10,28,20,.05) 100%), linear-gradient(0deg, rgba(10,28,20,.55), transparent 45%); }
.slide-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding-bottom: 80px; color: #fff; }
.slide-content h1, .slide-title { color: #fff; max-width: 760px; font-family: var(--font-head); font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.1; margin: 0 0 .5em; }
.slide-sub { font-size: clamp(1rem, 1.6vw, 1.25rem); max-width: 600px; color: rgba(255,255,255,.9); margin-bottom: 1.8rem; }
.slide.is-active .slide-content > * { animation: rise .8s var(--ease) both; }
.slide.is-active .slide-content > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide-content > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide-content > *:nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.slider-dots { position: absolute; z-index: 3; bottom: 110px; left: 50%; transform: translateX(-50%); display: flex; gap: .5rem; width: 100%; max-width: 1240px; padding: 0 20px; }
.slider-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: background .3s, width .3s; }
.slider-dots button.is-active { background: var(--nf-lime); width: 56px; }

/* ---------- Buscador ---------- */
.search-wrap { position: relative; z-index: 5; margin-top: -64px; }
.search-wrap--tight { margin-top: -40px; }
.search-bar {
    display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: .5rem; align-items: stretch;
    background: #fff; padding: .7rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.search-field { display: flex; flex-direction: column; padding: .45rem .9rem; border-radius: 12px; transition: background .2s; min-width: 0; }
.search-field:hover { background: var(--soft); }
.search-field span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--muted); display: flex; gap: .4em; align-items: center; }
.search-field span i { color: var(--nf-cyan); }
.search-field select { border: 0; background: transparent; font-weight: 600; color: var(--ink); padding: .2rem 0; cursor: pointer; width: 100%; outline: none; }
.search-bar .btn { border-radius: 14px; padding: 0 1.8rem; }
.search-bar .btn-accent { background: var(--nf-dark); color: #fff; }
.search-bar .btn-accent:hover { background: var(--nf-cyan); color: #fff; }

/* ---------- Secciones ---------- */
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section--pt0 { padding-top: 32px; }
.section--soft { background: var(--soft); }
.section--cream { background: var(--nf-cream); }
.section-head { max-width: 720px; margin: 0 auto 2.8rem; text-align: center; }
.section-head .eyebrow { padding-left: 0; }
.section-head .eyebrow::before { display: none; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; text-align: left; gap: 1rem; }
.section-head--light h2, .section-head--light p { color: #fff; }
.results-count { color: var(--muted); font-weight: 600; margin-bottom: 1.5rem; }

/* ---------- Tarjetas de proyecto ---------- */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.8rem; }
.pcard {
    background: #fff; border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column;
    box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--soft); }
.pcard-media > img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pcard:hover .pcard-media > img { transform: scale(1.06); }
.pcard-ribbon {
    position: absolute; top: 20px; left: -42px; transform: rotate(-45deg); width: 170px; text-align: center;
    background: #e24c4c; color: #fff; font-family: var(--font-head); font-size: .68rem; font-weight: 800;
    letter-spacing: .1em; text-transform: uppercase; padding: .38em 0; box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.pcard-ribbon--ultimas_unidades { background: #e08a1e; }
.pcard-ribbon--lanzamiento { background: var(--nf-cyan); }
.pcard-ribbon--vendido, .pcard-ribbon--entregado { background: #5b6660; }
.pcard-logo {
    position: absolute; right: 14px; bottom: -34px; width: 92px; height: 92px; background: #fff; border-radius: 16px;
    box-shadow: var(--shadow); padding: 10px; display: grid; place-items: center; z-index: 2;
}
.pcard-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.pcard-body { padding: 1.3rem 1.4rem 1.2rem; display: flex; flex-direction: column; flex: 1; }
.pcard-loc { color: #e24c4c; font-weight: 700; font-size: .85rem; margin: 0 0 .2rem; padding-right: 96px; }
.pcard-loc i { font-size: .8em; }
.pcard-title { font-size: 1.45rem; margin: 0; padding-right: 96px; }
.pcard-title a { color: var(--ink); }
.pcard-title a:hover { color: var(--p); }
.pcard-type { color: var(--muted); margin: .1rem 0 1rem; }
.pcard-desc { color: var(--text); font-size: .95rem; }
.pcard-units { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: .1rem; }
.pcard-units li { padding: .7rem 0; border-top: 1px solid var(--line); display: grid; line-height: 1.35; }
.pcard-unit-name { font-size: .78rem; color: var(--muted); font-weight: 600; }
.pcard-unit-area { font-size: .85rem; font-weight: 600; color: var(--ink); }
.pcard-unit-price { font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); }
.pcard-unit-note { font-size: .88rem; color: var(--p); font-weight: 600; }
.pcard-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: .9rem; border-top: 1px solid var(--line); }
.pcard-price { font-family: var(--font-head); font-weight: 800; color: var(--nf-dark); font-size: 1.1rem; display: flex; flex-direction: column; line-height: 1.1; }
.pcard-price small { font-family: var(--font-body); font-weight: 600; color: var(--muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.pcard-more { width: 42px; height: 42px; border-radius: 50%; background: #e24c4c; color: #fff; display: grid; place-items: center; transition: transform .3s var(--ease), background .2s; }
.pcard-more:hover { color: #fff; background: var(--nf-dark); transform: rotate(90deg); }

/* ---------- Bandas ---------- */
.stats-band { background: var(--nf-dark); color: #fff; padding: 48px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 800; color: var(--nf-lime); line-height: 1; }
.stat span { color: rgba(255,255,255,.85); font-weight: 500; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; box-shadow: var(--shadow-lg); }
.split-badge { position: absolute; right: -18px; bottom: 30px; background: var(--nf-lime); color: var(--nf-darker); border-radius: var(--radius); padding: 1.1rem 1.4rem; box-shadow: var(--shadow-lg); text-align: center; }
.split-badge strong { display: block; font-family: var(--font-head); font-size: 2.4rem; line-height: 1; }
.split-badge span { font-weight: 700; font-size: .85rem; }
.feature-list { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: 1rem; align-items: flex-start; }
.feature-list li > i { flex: 0 0 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--nf-lime) 25%, #fff); color: var(--nf-dark); display: grid; place-items: center; font-size: 1.05rem; }
.feature-list strong { display: block; color: var(--ink); }
.feature-list span { color: var(--muted); font-size: .95rem; }

.cta-band { background: linear-gradient(120deg, var(--pd), var(--p)); color: #fff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::after { content: ''; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: color-mix(in srgb, var(--a) 22%, transparent); }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 2rem; position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .3rem; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Simulador ---------- */
.simulator { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.sim-form { padding: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.4rem; }
.sim-form label { display: flex; flex-direction: column; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--ink); }
.sim-form label:first-child { grid-column: 1 / -1; }
.sim-form input[type=range] { accent-color: var(--nf-dark); padding: 0; }
.sim-result { background: var(--nf-dark); color: #fff; padding: 2rem; display: flex; flex-direction: column; gap: .6rem; }
.sim-label { margin: 0; color: rgba(255,255,255,.75); font-weight: 600; }
.sim-big { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: var(--nf-lime); margin: 0 0 .4rem; line-height: 1; }
.sim-result dl { margin: 0 0 1rem; display: grid; gap: .5rem; }
.sim-result dl div { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.14); padding-bottom: .4rem; }
.sim-result dt { color: rgba(255,255,255,.75); }
.sim-result dd { margin: 0; font-weight: 700; }
.sim-result small { color: rgba(255,255,255,.6); font-size: .78rem; }

/* ---------- Testimonios y noticias ---------- */
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.tcard { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.stars { color: #f2b01e; margin-bottom: .8rem; font-size: .9rem; }
.tcard blockquote { margin: 0 0 1.4rem; font-size: 1.02rem; color: var(--ink); flex: 1; }
.tcard figcaption { display: flex; gap: .8rem; align-items: center; }
.tcard figcaption img, .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.avatar { background: var(--nf-dark); color: #fff; display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); }
.tcard figcaption span { display: flex; flex-direction: column; line-height: 1.3; }
.tcard figcaption small { color: var(--muted); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.8rem; }
.post-card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.post-card:hover { transform: translateY(-4px); }
.post-card-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post-card-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card-body { padding: 1.3rem 1.4rem 1.5rem; }
.post-card-body h3 a { color: var(--ink); }
.post-meta { font-size: .8rem; color: var(--muted); margin-bottom: .4rem; }
.post-meta span { color: var(--nf-cyan); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 2.5rem; }
.pager a { width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 700; }
.pager a.is-active { background: var(--nf-dark); color: #fff; border-color: var(--nf-dark); }
.share { display: flex; gap: .6rem; align-items: center; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-weight: 600; }
.share a { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); display: grid; place-items: center; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--nf-dark); color: #fff; padding: clamp(56px, 9vw, 110px) 0 clamp(64px, 9vw, 110px); position: relative; overflow: hidden; }
.page-hero--image::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,28,20,.88), rgba(10,28,20,.5)); }
.page-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero-inner { position: relative; z-index: 1; max-width: 860px; margin-left: max(20px, calc((100% - 1240px) / 2 + 20px)); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.88); font-size: 1.12rem; max-width: 640px; margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; margin-bottom: 1.2rem; color: rgba(255,255,255,.7); }
.crumbs a { color: rgba(255,255,255,.85); }
.crumbs a:hover { color: #fff; }

/* ---------- Contenido editable (páginas, noticias) ---------- */
.cms-content { color: var(--text); }
.cms-content h2 { margin-top: 1.6em; }
.cms-content h2:first-child, .cms-content .cms-section:first-child h2 { margin-top: 0; }
.cms-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.cms-content ul li { margin-bottom: .35em; }
.cms-content blockquote { border-left: 4px solid var(--nf-lime); margin: 1.5rem 0; padding: .5rem 1.2rem; color: var(--ink); font-style: italic; }
.cms-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.cms-content td, .cms-content th { border: 1px solid var(--line); padding: .6rem .8rem; text-align: left; }
.cms-content--legal h2 { font-size: 1.3rem; }
.cms-section { margin-bottom: clamp(3rem, 6vw, 5rem); }
.cms-eyebrow { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--nf-cyan); margin-bottom: .5rem; }
.cms-lead { font-size: 1.18rem; color: var(--ink); max-width: 860px; }
.cms-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.cms-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); }
.cms-card > i { width: 52px; height: 52px; border-radius: 14px; background: var(--nf-dark); color: var(--nf-lime); display: grid; place-items: center; font-size: 1.25rem; margin-bottom: 1rem; }
.cms-card p:last-child, .cms-card ul:last-child { margin-bottom: 0; }
.cms-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1rem; background: var(--nf-dark); border-radius: var(--radius-lg); padding: 2rem; }
.cms-stat { text-align: center; }
.cms-stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; font-weight: 800; color: var(--nf-lime); line-height: 1.1; }
.cms-stat span { color: rgba(255,255,255,.85); }
.cms-cta { background: var(--nf-cream); border-radius: var(--radius-lg); padding: 2rem; margin-top: 2.5rem; text-align: center; }
.cms-cta .btn { margin: .3rem; }

/* ---------- Formularios ---------- */
.form-card { background: #fff; border-radius: var(--radius-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2, .form-card h3 { margin-bottom: .4rem; }
.lead-form, .std-form { display: grid; gap: .9rem; margin-top: 1rem; }
.field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.field label { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.field input, .field select, .field textarea {
    width: 100%; padding: .78rem .95rem; border: 1.5px solid #d6ddd8; border-radius: 12px; background: #fff;
    transition: border-color .2s, box-shadow .2s; font-size: 16px;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--p); box-shadow: 0 0 0 4px color-mix(in srgb, var(--p) 15%, transparent); }
.field .is-invalid, .field input:user-invalid { border-color: var(--danger); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .85rem; color: var(--muted); }
.check input { margin-top: .25rem; accent-color: var(--p); width: 17px; height: 17px; flex: 0 0 auto; }
.form-msg { margin: 0; font-weight: 600; font-size: .92rem; min-height: 1.2em; }
.form-msg.is-error { color: var(--danger); }
.form-msg.is-ok { color: var(--ok); }
.alert { padding: 1rem 1.2rem; border-radius: 12px; margin-bottom: 1.2rem; font-weight: 600; display: flex; gap: .6rem; align-items: center; }
.alert-success { background: #e7f5ec; color: var(--ok); }
.alert-error { background: #fdecea; color: var(--danger); }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; background: var(--soft); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.info-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; background: var(--nf-dark); color: var(--nf-lime); display: grid; place-items: center; font-size: 1.1rem; }
.info-card h3 { font-size: 1rem; margin: 0 0 .15rem; }
.info-card p { margin: 0; }

/* ---------- Estados vacíos y otros ---------- */
.empty { text-align: center; padding: 3rem 1rem; max-width: 620px; margin: 0 auto; }
.empty .btn { margin: .3rem; }
.empty-icon { font-size: 2.4rem; color: var(--nf-lime); margin-bottom: 1rem; }
.big-404 { font-family: var(--font-head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; color: var(--nf-lime); line-height: 1; margin: 0; }
.thanks-icon { width: 88px; height: 88px; border-radius: 50%; background: var(--nf-lime); color: var(--nf-darker); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 1.5rem; animation: pop .6s var(--ease); }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--nf-darker); color: rgba(255,255,255,.75); padding-top: 64px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 2.5rem; padding-bottom: 48px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--nf-lime); }
.footer-logo-card { display: inline-flex; background: #fff; border-radius: 16px; padding: 12px 18px; margin-bottom: 1.2rem; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .25s var(--ease); }
.footer-logo-card:hover { transform: translateY(-2px); }
.footer-logo { height: 78px; width: auto; }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s, color .2s; }
.socials a:hover { background: var(--nf-lime); color: var(--nf-darker); }
.footer-contact li { display: flex; gap: .7rem; align-items: flex-start; }
.footer-contact i { color: var(--nf-lime); margin-top: .3em; width: 16px; }
.footer-partner { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-direction: column; gap: .5rem; align-items: flex-start; }
.footer-partner span { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.55); }
.footer-partner-brand { display: flex; align-items: center; gap: .7rem; }
.footer-partner-brand img { height: 34px; width: auto; }
.footer-partner-brand strong { color: #fff; font-family: var(--font-head); font-size: 1.05rem; letter-spacing: .01em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .82rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
    background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.9rem;
    box-shadow: 0 10px 28px rgba(37, 211, 102, .45); transition: transform .25s var(--ease);
}
.wa-float::before { content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ping 2.2s infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { color: #fff; transform: scale(1.08); }

/* ==========================================================================
   Proyecto (ficha corporativa y micrositio)
   ========================================================================== */
.p-hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; background: var(--pd); color: #fff; overflow: hidden; }
.p-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,14,.88) 0%, rgba(8,20,14,.35) 55%, rgba(8,20,14,.15) 100%); }
.p-hero-inner { position: relative; z-index: 1; padding-top: 2rem; padding-bottom: 3rem; }
.p-hero-card { display: flex; gap: 1.8rem; align-items: flex-end; }
.p-hero-logo { width: 140px; height: 140px; object-fit: contain; background: #fff; border-radius: 22px; padding: 14px; box-shadow: var(--shadow-lg); flex: 0 0 auto; }
.p-hero h1 { color: #fff; margin: .5rem 0 .3rem; }
.p-hero-loc { color: rgba(255,255,255,.88); margin: 0; }
.p-hero-price { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--a); margin: .5rem 0 0; }
.p-hero-price small { font-size: .9rem; color: #fff; font-weight: 600; }
.status-pill { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .38em .95em; border-radius: 999px; background: var(--a); color: var(--pd); }
.status-pill--ultimas_unidades { background: #f0a23a; color: #2b1a05; }
.status-pill--lanzamiento { background: #fff; color: var(--pd); }

.subnav { position: sticky; top: var(--header-h); z-index: 60; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 4px 16px rgba(0,0,0,.04); }
.subnav-inner { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; align-items: center; padding-top: .5rem; padding-bottom: .5rem; }
.subnav-inner::-webkit-scrollbar { display: none; }
.subnav a { white-space: nowrap; padding: .5em .95em; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--text); }
.subnav a:hover, .subnav a.is-current { background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p); }
.subnav-cta { margin-left: auto; background: var(--p); color: #fff !important; }

.ps { padding: clamp(56px, 8vw, 96px) 0; }
.ps-soft { background: color-mix(in srgb, var(--p) 5%, #fff); }
.ps-dark { background: var(--pd); color: rgba(255,255,255,.85); }
.ps .eyebrow { color: var(--p); }
.ps .eyebrow::before { background: var(--a); }
.ps-dark .eyebrow, .ps-contact .eyebrow { color: var(--a); }

.ps-stats { background: var(--p); padding: 36px 0; color: #fff; }
.ps-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; text-align: center; }
.ps-stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.ps-stat-icon { color: var(--a); font-size: 1.3rem; margin-bottom: .3rem; }
.ps-stat strong { font-family: var(--font-head); font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; line-height: 1.1; }
.ps-stat span { font-size: .9rem; opacity: .85; }

.ps-about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.rich p, .rich li { font-size: 1.04rem; }
.rich ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.rich ul li { padding-left: 1.8rem; position: relative; }
.rich ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; left: 0; top: .1em; color: var(--p); font-size: .9em; }
.facts { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--line); position: sticky; top: calc(var(--header-h) + 80px); }
.facts-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; cursor: zoom-in; }
.facts dl { margin: 0; padding: 1.2rem 1.5rem 1.5rem; }
.facts dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; }
.facts-price { border-bottom: 0 !important; padding-top: 1rem !important; }
.facts-price dd { font-family: var(--font-head); font-size: 1.35rem; color: var(--p); }

.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.icon-grid--compact { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.icon-card { background: #fff; border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s; }
.icon-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.icon-card-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; font-size: 1.35rem; margin-bottom: 1rem; background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p); }
.icon-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.icon-card--row { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem 1.3rem; }
.icon-card--row .icon-card-icon { margin: 0; flex: 0 0 48px; width: 48px; height: 48px; font-size: 1.1rem; }
.icon-card--row h3 { margin-bottom: .2rem; font-size: 1.02rem; }
.icon-card--dark { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); box-shadow: none; }
.icon-card--dark h3 { color: #fff; }
.icon-card--dark p { color: rgba(255,255,255,.72); }
.icon-card--dark .icon-card-icon { background: var(--a); color: var(--pd); }

/* Tipologías */
.tabs { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 2rem; }
.tab { border: 2px solid var(--line); background: #fff; padding: .65em 1.4em; border-radius: 999px; font-family: var(--font-head); font-weight: 700; cursor: pointer; transition: all .2s; color: var(--ink); }
.tab:hover { border-color: var(--p); }
.tab.is-active { background: var(--p); color: #fff; border-color: var(--p); }
.unit { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; animation: rise .5s var(--ease); }
.unit[hidden] { display: none; }
.unit-media { position: relative; }
.unit-main { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); cursor: zoom-in; }
.unit-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: .6rem; margin-top: .8rem; }
.unit-thumbs img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; transition: opacity .2s, transform .2s; }
.unit-thumbs img:hover { opacity: .85; transform: scale(1.03); }
.unit-soldout { position: absolute; top: 16px; left: 16px; background: #5b6660; color: #fff; font-weight: 800; padding: .4em 1em; border-radius: 999px; font-size: .8rem; text-transform: uppercase; }
.chip { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3em .8em; border-radius: 999px; background: color-mix(in srgb, var(--a) 30%, #fff); color: var(--pd); margin-bottom: .6rem; }
.unit-body h3 { font-size: 1.8rem; margin-bottom: .2rem; }
.unit-sub { color: var(--muted); }
.unit-specs { list-style: none; padding: 0; margin: 1.3rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .7rem; }
.unit-specs li { display: flex; gap: .7rem; align-items: center; background: color-mix(in srgb, var(--p) 6%, #fff); padding: .7rem .8rem; border-radius: 12px; }
.unit-specs i { color: var(--p); font-size: 1.1rem; width: 22px; text-align: center; }
.unit-specs span { display: flex; flex-direction: column; line-height: 1.2; }
.unit-specs small { font-size: .72rem; color: var(--muted); }
.unit-specs strong { color: var(--ink); }
.check-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .45rem; }
.check-list i { color: var(--p); margin-right: .4rem; }
.unit-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.2rem; border-radius: var(--radius); background: var(--soft); }
.unit-price { display: flex; flex-direction: column; line-height: 1.15; }
.unit-price small { color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.unit-price strong { font-family: var(--font-head); font-size: 1.5rem; color: var(--ink); }

/* Especificaciones */
.spec-table { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.spec-row { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; padding: 1rem 1.5rem; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row:nth-child(even) { background: var(--soft); }
.spec-row strong { color: var(--p); font-family: var(--font-head); }

/* Amenidades */
.amenity-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; }
.amenity { margin: 0; position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3.3; box-shadow: var(--shadow); }
.amenity img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); cursor: zoom-in; }
.amenity:hover img { transform: scale(1.06); }
.amenity figcaption { position: absolute; inset: auto 0 0; padding: 1.4rem; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.82), transparent); pointer-events: none; }
.amenity h3 { color: #fff; margin-bottom: .2rem; }
.amenity h3 i { color: var(--a); }
.amenity p { margin: 0; font-size: .9rem; opacity: .9; }

/* Galería */
.chips-filter { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.8rem; }
.chips-filter button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .45em 1.1em; font-weight: 600; cursor: pointer; font-size: .9rem; }
.chips-filter button.is-active { background: var(--p); border-color: var(--p); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: .8rem; }
.gallery-item { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--line); }
.gallery-item--wide { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .6s var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(0,0,0,.6); color: #fff; font-size: .78rem; padding: .25em .7em; border-radius: 999px; pointer-events: none; }
.gallery-item.is-hidden { display: none; }

.plan { margin: 0 0 1.5rem; background: #fff; padding: 1rem; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.plan img { width: 100%; border-radius: var(--radius); cursor: zoom-in; }
.plan figcaption { text-align: center; color: var(--muted); margin-top: .6rem; }

.timeline { position: relative; display: grid; gap: 2rem; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: color-mix(in srgb, var(--p) 25%, #fff); }
.timeline-item { position: relative; }
.timeline-item::before { content: ''; position: absolute; left: -31px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--a); border: 3px solid var(--p); }
.timeline-date { font-size: 1.1rem; color: var(--p); }
.timeline-pics { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: .7rem; }
.timeline-pics img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; cursor: zoom-in; }

.video-lite { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: #000; box-shadow: var(--shadow-lg); cursor: pointer; }
.video-lite img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s; }
.video-lite:hover img { opacity: 1; }
.video-lite button { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--a); color: var(--pd); font-size: 1.8rem; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.35); transition: transform .25s var(--ease); padding-left: 6px; }
.video-lite:hover button { transform: scale(1.08); }
.video-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.location-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.prox-list { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; gap: .8rem; }
.prox-list li { display: flex; gap: .9rem; align-items: flex-start; }
.prox-list i { flex: 0 0 38px; height: 38px; border-radius: 10px; background: color-mix(in srgb, var(--p) 10%, #fff); color: var(--p); display: grid; place-items: center; }
.prox-list small { display: block; color: var(--muted); }
.map-box { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--soft); }
.map-box iframe { width: 100%; height: 440px; border: 0; display: block; }
.map-box img { width: 100%; cursor: zoom-in; }

.faq { display: grid; gap: .8rem; }
.faq details { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.faq summary { padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { transition: transform .25s; color: var(--p); }
.faq details[open] summary i { transform: rotate(180deg); }
.faq details > div { padding: 0 1.3rem 1.2rem; color: var(--text); }

.ps-contact { background: linear-gradient(135deg, var(--pd) 0%, var(--p) 100%); color: rgba(255,255,255,.88); }
.ps-contact h2 { color: #fff; }
.ps-contact .lead { color: rgba(255,255,255,.88); }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .8rem; align-items: center; }
.contact-list i { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.12); color: var(--a); display: grid; place-items: center; flex: 0 0 40px; }
.contact-list a { color: #fff; font-weight: 600; }
.partner-box { background: rgba(255,255,255,.1); border-radius: var(--radius); padding: 1rem 1.2rem; display: flex; gap: 1rem; align-items: center; }
.partner-box img { height: 40px; width: auto; }
.partner-box p { margin: 0; font-size: .9rem; }
.legal-note { padding: 1.5rem 20px; }
.legal-note p { font-size: .8rem; color: var(--muted); text-align: center; margin: 0; }

.sticky-cta { display: none; }

/* ---------- Micrositio ---------- */
.micro .site-header { background: rgba(255,255,255,.97); }
.m-hero { position: relative; min-height: calc(100vh - var(--header-h)); display: flex; align-items: center; background: var(--pd); color: #fff; overflow: hidden; padding: 60px 0 90px; }
.m-hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out both; }
.m-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,20,14,.85) 0%, rgba(8,20,14,.55) 55%, rgba(8,20,14,.25) 100%); }
.m-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 3rem; align-items: center; }
.m-hero-copy > * { animation: rise .8s var(--ease) both; }
.m-hero-copy > *:nth-child(2) { animation-delay: .08s; }
.m-hero-copy > *:nth-child(3) { animation-delay: .16s; }
.m-hero-copy > *:nth-child(4) { animation-delay: .24s; }
.m-hero-copy > *:nth-child(5) { animation-delay: .32s; }
.m-hero h1 { color: #fff; margin: 1rem 0 .8rem; font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.m-hero h1 span { display: block; font-size: .42em; font-weight: 600; color: var(--a); margin-top: .4em; line-height: 1.3; }
.m-hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.9); max-width: 560px; }
.m-hero-facts { list-style: none; padding: 0; margin: 1.3rem 0 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.m-hero-facts li { background: rgba(255,255,255,.12); backdrop-filter: blur(6px); padding: .5em 1em; border-radius: 999px; font-size: .92rem; font-weight: 600; }
.m-hero-facts i { color: var(--a); margin-right: .3em; }
.m-hero-price strong { color: var(--a); }
.m-hero-form { color: var(--text); animation: rise .9s .2s var(--ease) both; }
.m-hero-form h2 { font-size: 1.35rem; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 1; color: #fff; font-size: 1.3rem; animation: bob 2s infinite; }
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }
.micro-footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2rem; padding-bottom: 40px; align-items: center; }
.micro-footer-logo { background: #fff; border-radius: 12px; padding: 8px; width: auto; margin-bottom: .6rem; }
.micro-footer-by { display: flex; flex-direction: column; align-items: center; gap: .5rem; text-align: center; }
.micro-footer-by span { font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.micro-footer-by a { display: inline-flex; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.25); }
.micro-footer-by img { width: auto; }
.mobile-bar { display: none; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6, 14, 10, .94); display: flex; align-items: center; justify-content: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 8px; animation: pop .3s var(--ease); }
.lightbox figcaption { color: rgba(255,255,255,.85); margin-top: .8rem; text-align: center; }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 52px; height: 52px; border-radius: 50%; font-size: 1.3rem; cursor: pointer; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.25); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .main-nav a { padding: .5em .6em; font-size: .88rem; }
    .search-bar { grid-template-columns: repeat(2, 1fr); }
    .search-bar .btn { grid-column: 1 / -1; padding: .9rem; }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    :root { --header-h: 74px; }
    .site-header { z-index: 120; }
    .header-inner { gap: .65rem; }
    .nav-toggle { display: flex; }
    .main-nav {
        position: absolute; top: 100%; left: 0; right: 0; height: calc(100dvh - var(--header-h)); background: #fff; padding: .5rem 20px calc(2rem + env(safe-area-inset-bottom));
        overflow-y: auto; overscroll-behavior: contain; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s; z-index: 99; box-shadow: 0 14px 24px rgba(0,0,0,.08);
    }
    .main-nav.is-open { opacity: 1; visibility: visible; pointer-events: auto; transform: none; transition-delay: 0s; }
    .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
    .main-nav li { border-bottom: 1px solid var(--line); }
    .main-nav a { padding: 1rem .4rem; font-size: 1.05rem; width: 100%; justify-content: space-between; border-radius: 0; }
    .nav-mobile-only { display: block; }
    .dropdown { position: static; transform: none; width: auto; box-shadow: none; opacity: 1; visibility: visible; display: none; border: 0; padding: 0 0 .8rem; }
    .has-dropdown.is-open .dropdown { display: block; }
    .has-dropdown:hover .dropdown { transform: none; }
    .brand img { width: 104px; height: 62px; }
    .brand--micro img { width: auto; height: 54px; max-width: 158px; }
    body.nav-open { overflow: hidden; }

    .split, .contact-grid, .ps-about-grid, .location-grid, .unit, .simulator, .m-hero-grid { grid-template-columns: 1fr; }
    .split-badge { right: 12px; }
    .facts { position: static; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
    .cta-inner { flex-direction: column; align-items: flex-start; }
    .p-hero-card { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .p-hero-logo { width: 96px; height: 96px; border-radius: 16px; padding: 10px; }
    .m-hero { min-height: auto; padding: 48px 0 70px; }
    .m-hero-form { max-width: 560px; }
    .micro-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .micro-footer-grid .footer-contact li { justify-content: center; }
    .micro-footer-logo { margin: 0 auto .6rem; }
    .spec-row { grid-template-columns: 1fr; gap: .2rem; }
}

@media (max-width: 700px) {
    body { font-size: 15.5px; }
    .hide-sm { display: none !important; }
    .topbar-inner { justify-content: center; }
    .topbar-left { gap: .8rem; }
    .topbar-right { display: none; }
    .header-actions { gap: .45rem; }
    .micro-header .header-actions .btn { padding: .62em .8em; }
    .hero-slider { height: 78vh; min-height: 540px; }
    .slide-content { padding-bottom: 150px; }
    .slider-dots { bottom: 170px; }
    .search-wrap { margin-top: -120px; }
    .search-bar { grid-template-columns: 1fr 1fr; padding: .5rem; gap: .2rem; }
    .search-field { padding: .45rem .6rem; }
    .search-field span { font-size: .66rem; }
    .search-field select { font-size: .88rem; }
    .field-row { grid-template-columns: 1fr; }
    .sim-form { grid-template-columns: 1fr; padding: 1.4rem; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: .5rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .section-head--row { flex-direction: column; align-items: flex-start; }
    .pcard-grid { grid-template-columns: 1fr; }
    .p-hero { min-height: 480px; }
    .unit-foot { flex-direction: column; align-items: stretch; }
    .unit-foot .btn { width: 100%; }
    .btn-row .btn { flex: 1 1 auto; }
    .map-box iframe { height: 320px; }
    .lightbox { padding: 60px 10px; }
    .lb-prev, .lb-next { top: auto; bottom: 14px; transform: none; }
    .lb-prev { left: calc(50% - 62px); }
    .lb-next { right: calc(50% - 62px); }

    /* Barra fija inferior */
    .sticky-cta {
        display: flex; position: fixed; left: 12px; right: 84px; bottom: 16px; z-index: 80; justify-content: center; align-items: center; gap: .5rem;
        background: var(--p); color: #fff; padding: .95rem; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow-lg);
        transform: translateY(120%); transition: transform .3s var(--ease);
    }
    .sticky-cta.is-shown { transform: none; }
    .sticky-cta:hover { color: #fff; }
    .micro .mobile-bar {
        display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
        background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.1); padding-bottom: env(safe-area-inset-bottom);
    }
    .mobile-bar a { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .6rem .3rem; font-size: .75rem; font-weight: 700; color: var(--ink); }
    .mobile-bar i { font-size: 1.15rem; color: var(--p); }
    .mobile-bar .fa-whatsapp { color: #25d366; }
    .mobile-bar .mobile-bar-cta { background: var(--p); color: #fff; }
    .mobile-bar .mobile-bar-cta i { color: var(--a); }
    .micro .wa-float--micro { display: none; }
    .micro .site-footer { padding-bottom: 64px; }
    .wa-float { width: 56px; height: 56px; right: 14px; bottom: 14px; }
}

@media (max-width: 420px) {
    .container { padding-left: 15px; padding-right: 15px; }
    .brand img { width: 96px; height: 58px; }
    .brand--micro img { max-width: 124px; height: 50px; }
    .header-actions .btn { font-size: .78rem; }
    .nav-toggle { width: 42px; height: 42px; }
    .search-bar { grid-template-columns: 1fr; }
    .search-bar .btn { grid-column: auto; }
    .hero-slider { min-height: 660px; }
    .slide-content { padding-bottom: 260px; }
    .slider-dots { bottom: 252px; }
    .search-wrap { margin-top: -225px; }
    .m-hero h1 { font-size: clamp(2rem, 11vw, 3rem); }
    .m-hero-facts { align-items: stretch; flex-direction: column; }
    .m-hero-facts li { width: 100%; }
}

@media print {
    .topbar, .site-header, .wa-float, .mobile-bar, .sticky-cta, .subnav, .lead-form { display: none !important; }
    .reveal { opacity: 1; transform: none; }
}
