/* =====================================================================
   Negocio Miami · Propuesta Home v2
   Dirección: editorial costero. Fotos a sangre, serif con acento itálico,
   tinta azul profunda + arena + naranja de marca.
   ===================================================================== */

:root {
    --ink: #0c1a22;
    --ink-2: #13262f;
    --paper: #fbf8f3;
    --sand: #f1ebe1;
    --line: rgba(12, 26, 34, .12);
    --muted: #5d6b72;
    --accent: #f08a2c;
    --accent-dark: #c96d17;
    --sea: #1d6b6a;
    --white: #fff;

    /* Tipografía: Poppins (geométrica) en títulos y texto, como avantiway.com. --serif se conserva como alias de títulos. */
    --serif: 'Poppins', 'Segoe UI', system-ui, sans-serif;
    --sans: 'Poppins', 'Segoe UI', system-ui, sans-serif;

    /* Ancho completo: todo se alinea a un mismo margen lateral */
    --gutter: clamp(16px, 4.5vw, 88px);
    --radius: 2px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.hv2 {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 17px/1.6 var(--sans);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.hv2-lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
.hv2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.hv2-wrap { width: 100%; padding: 0 var(--gutter); }

/* ---------- Tipografía ---------- */
.hv2-eyebrow {
    margin: 0 0 18px;
    font: 600 12px/1 var(--sans);
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sea);
    display: flex; align-items: center; gap: 12px;
}
.hv2-eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.hv2-eyebrow--light { color: rgba(255, 255, 255, .85); }

.hv2-title {
    margin: 0;
    font: 300 clamp(28px, 3.2vw, 46px)/1.15 var(--serif);
    letter-spacing: -.025em;
}
.hv2-title em, .hv2-hero__title em {
    font-style: normal;
    font-weight: 400;
    color: var(--accent-dark);
}
.hv2-title--light { color: var(--white); }
.hv2-title--light em { color: #ffb36b; }

.hv2-link {
    display: inline-flex; align-items: center; gap: 10px;
    font: 600 13px/1 var(--sans);
    letter-spacing: .14em; text-transform: uppercase;
    padding-bottom: 6px;
    border-bottom: 1px solid currentColor;
    transition: gap .3s var(--ease), color .3s;
}
.hv2-link::after { content: '→'; font-size: 15px; letter-spacing: 0; }
.hv2-link:hover { gap: 16px; color: var(--accent-dark); }

.hv2-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 52px; padding: 0 28px;
    border: 1px solid transparent; border-radius: var(--radius);
    font: 600 14px/1 var(--sans); letter-spacing: .06em;
    cursor: pointer; white-space: nowrap;
    transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.hv2-btn--accent { background: var(--accent); color: var(--ink); }
.hv2-btn--accent:hover { background: #ff9d45; transform: translateY(-1px); }
.hv2-btn--ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.hv2-btn--ghost:hover { background: var(--white); color: var(--ink); }

/* ---------- Slots de imagen ---------- */
.hv2-photo { position: relative; margin: 0; overflow: hidden; background: var(--sand); }
.hv2-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hv2-photo.is-placeholder,
.hv2-photo.is-broken { background: linear-gradient(135deg, #1d3a44 0%, #0c1a22 55%, #3a2a1c 100%); }
.hv2-photo.is-broken::after {
    content: 'Foto no disponible'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .5);
}
.hv2-photo__empty {
    position: absolute; inset: 0;
    background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 2px, transparent 2px 14px);
}
.hv2-photo__tag {
    position: absolute; top: 14px; left: 14px;
    font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
    color: rgba(255, 255, 255, .75);
    border: 1px dashed rgba(255, 255, 255, .4); padding: 7px 9px;
}
.hv2-photo__prompt {
    position: absolute; inset: auto 10px 10px 10px; z-index: 5;
    display: none;
    background: rgba(12, 26, 34, .92); color: #e8eef0;
    font: 400 12px/1.45 var(--sans);
    padding: 12px 14px; border-left: 3px solid var(--accent);
    max-height: calc(100% - 20px); overflow: auto;
}
.hv2-photo__prompt strong { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: 4px; }
.hv2-photo__copy {
    margin-top: 8px; background: none; border: 1px solid rgba(255, 255, 255, .3);
    color: #fff; font-size: 11px; padding: 4px 10px; cursor: pointer;
}
.hv2-photo.is-placeholder .hv2-photo__prompt,
.hv2-show-prompts .hv2-photo__prompt { display: block; }

/* ---------- Header ---------- */
/* Internas: sólido y pegado arriba. Home (.is-overlay): fijo y transparente sobre la foto hasta bajar. */
.hv2-header {
    position: sticky; top: 0; z-index: 50;
    color: var(--white); background: var(--ink);
    transition: background .35s, box-shadow .35s;
}
.hv2-header.is-overlay { position: fixed; inset: 0 0 auto 0; background: transparent; }
.hv2-header.is-overlay::before {
    content: ''; position: absolute; inset: 0 0 -60px 0; z-index: -1; pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 18, 24, .7), transparent);
    transition: opacity .35s;
}
.hv2-header.is-solid { background: var(--ink); box-shadow: 0 10px 30px rgba(0, 0, 0, .18); }
.hv2-header.is-solid::before { opacity: 0; }

.hv2-topbar { border-bottom: 1px solid rgba(255, 255, 255, .14); font-size: 13px; transition: margin .35s, opacity .35s; }
/* La barra superior queda visible también al bajar (pedido del usuario) */
.hv2-topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 20px; }
.hv2-topbar__lead { color: rgba(255, 255, 255, .7); letter-spacing: .04em; }
.hv2-topbar__links { display: flex; gap: 22px; align-items: center; }
.hv2-topbar__links a { color: rgba(255, 255, 255, .85); }
.hv2-topbar__links a:hover { color: var(--white); }
.hv2-lang { display: inline-flex; gap: 8px; }
.hv2-lang a { opacity: .55; font-weight: 600; }
.hv2-lang a.is-active { opacity: 1; }

.hv2-nav__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.hv2-logo img { width: 160px; height: auto; }

.hv2-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.hv2-menu__item { position: relative; }
.hv2-menu__link {
    display: inline-flex; align-items: center; gap: 8px;
    height: 78px; padding: 0 14px;
    background: none; border: 0; cursor: pointer;
    font: 500 15px/1 var(--sans); letter-spacing: .02em;
    color: inherit;
    position: relative;
}
.hv2-menu__link::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 22px; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
}
.hv2-menu__item:hover > .hv2-menu__link::after,
.hv2-menu__item.is-open > .hv2-menu__link::after { transform: scaleX(1); }
.hv2-chev { width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); opacity: .7; }
.hv2-menu__cta { margin-left: 14px; }
.hv2-menu__cta .hv2-btn { min-height: 44px; padding: 0 20px; font-size: 13px; }

/* Mega-menú */
.hv2-mega {
    position: absolute; top: 100%; left: 50%;
    background: var(--paper); color: var(--ink);
    box-shadow: 0 30px 60px rgba(12, 26, 34, .22);
    display: grid; gap: 32px; padding: 32px;
    opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
    transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.hv2-mega::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
.has-mega:hover > .hv2-mega,
.has-mega:focus-within > .hv2-mega,
.has-mega.is-open > .hv2-mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.hv2-mega--markets { grid-template-columns: auto 280px; width: min(860px, 92vw); left: 0; transform: translate(0, 10px); }
.has-mega:hover > .hv2-mega--markets,
.has-mega:focus-within > .hv2-mega--markets,
.has-mega.is-open > .hv2-mega--markets { transform: translate(0, 0); }
/* Propiedades: ancho, anclado al borde derecho del menú para no salirse de la pantalla */
.hv2-nav__inner { position: relative; }
.hv2-menu__item:has(> .hv2-mega--listings) { position: static; }
.hv2-mega--listings { grid-template-columns: minmax(0, 1fr) 260px; width: min(1060px, calc(100% - 2 * var(--gutter))); left: auto; right: var(--gutter); transform: translate(0, 10px); }
.has-mega:hover > .hv2-mega--listings,
.has-mega:focus-within > .hv2-mega--listings,
.has-mega.is-open > .hv2-mega--listings { transform: translate(0, 0); }
.hv2-mega--listings .hv2-mega__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hv2-mega--listings .hv2-mega__cols > :first-child ul { columns: 1; }
.hv2-mega--hub { grid-template-columns: 260px 260px; }
.hv2-mega--small { grid-template-columns: 240px; }
.hv2-mega__cols { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; }
.hv2-mega__cols > :first-child ul { columns: 2; column-gap: 28px; }
.hv2-mega__cols li { break-inside: avoid; }
.hv2-mega__title { margin: 0 0 12px; font: 600 11px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--sea); }
.hv2-mega ul { list-style: none; margin: 0; padding: 0; }
.hv2-mega__cols li a, .hv2-mega__list li a {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 7px 0; font-size: 15px; border-bottom: 1px solid var(--line);
    transition: color .2s, padding .25s var(--ease);
}
.hv2-mega__cols li a:hover, .hv2-mega__list li a:hover { color: var(--accent-dark); padding-left: 6px; }
.hv2-mega__cols small { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.hv2-mega__list li a { padding: 9px 0; }
.hv2-mega__feature { position: relative; display: block; align-self: start; }
.hv2-mega__feature:hover img { transform: scale(1.05); }
.hv2-mega__feature-text {
    display: block; padding: 14px 0 0; font-size: 13px; color: var(--muted);
}
.hv2-mega__feature-text em { display: block; font: 500 11px/1.3 var(--sans); font-style: normal; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-dark); }
.hv2-mega__feature-text strong { display: block; font: 400 22px/1.2 var(--serif); color: var(--ink); margin: 4px 0 6px; }

.hv2-burger { display: none; }

/* ---------- Hero ---------- */
.hv2-hero {
    position: relative; min-height: max(100svh, 700px);
    display: flex; align-items: flex-end;
    color: var(--white); isolation: isolate;
}
.hv2-hero__bg { position: absolute; inset: 0; z-index: -2; background: var(--ink); }
.hv2-hero__bg img { animation: hv2-kenburns 22s ease-out both; }
.hv2-hero__shade {
    position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(0deg, rgba(8, 18, 24, .9) 0%, rgba(8, 18, 24, .55) 45%, rgba(8, 18, 24, .1) 75%),
        linear-gradient(90deg, rgba(8, 18, 24, .45) 0%, transparent 70%);
}
.hv2-hero__content { width: 100%; padding-top: 190px; padding-bottom: 56px; }
.hv2-hero__intro {
    display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    gap: 24px 64px; align-items: end; margin-bottom: 44px;
}
.hv2-hero__title {
    margin: 0;
    font: 300 clamp(40px, 5.6vw, 92px)/1.06 var(--serif);
    letter-spacing: -.035em;
    text-wrap: balance;
}
.hv2-hero__title em { color: #ffb36b; }
.hv2-hero__lead { max-width: 46ch; margin: 0; padding-bottom: 10px; font-size: clamp(17px, 1.3vw, 20px); color: rgba(255, 255, 255, .86); }
/* Campo de formulario (boletín) */
.hv2-search__field { display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 12px 18px; min-width: 180px; border-right: 1px solid var(--line); }
.hv2-search__field span { font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.hv2-search__field input, .hv2-search__field select {
    border: 0; background: transparent; padding: 4px 0; font-size: 16px; outline: none; width: 100%;
}

/* ---------- Stats ---------- */
.hv2-stats { background: var(--ink); color: var(--white); }
.hv2-stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.hv2-stat { padding: 44px 28px; border-left: 1px solid rgba(255, 255, 255, .1); }
.hv2-stat:first-child { border-left: 0; padding-left: 0; }
.hv2-stat strong { display: block; font: 300 clamp(44px, 4.6vw, 64px)/1 var(--serif); letter-spacing: -.02em; }
.hv2-stat sup { font-size: .45em; color: var(--accent); margin-left: 4px; vertical-align: super; }
.hv2-stat span { display: block; margin-top: 14px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; }
.hv2-stat small { display: block; margin-top: 6px; color: rgba(255, 255, 255, .6); font-size: 14px; }

/* ---------- Secciones ---------- */
.hv2-section { padding: clamp(80px, 11vw, 150px) 0; }
.hv2-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.hv2-head__lead { color: var(--muted); font-size: 18px; margin: 22px 0 0; max-width: 56ch; }
.hv2-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; }
.hv2-head--split .hv2-head__lead { margin: 0 0 22px; }
.hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) {
    max-width: none; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(32px, 6vw, 96px); align-items: end;
}
.hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) > * { grid-column: 1; }
.hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) > .hv2-head__lead { grid-column: 2; grid-row: 1 / span 2; align-self: end; margin: 0 0 6px; }
.hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) > .hv2-link { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 18px; }

/* Hubs */
.hv2-hubs { background: var(--paper); }
.hv2-hubs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hv2-hub { position: relative; display: block; color: var(--white); overflow: hidden; isolation: isolate; }
.hv2-hub .hv2-photo { height: 100%; }
.hv2-hub::after {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(0deg, rgba(8, 18, 24, .92) 0%, rgba(8, 18, 24, .35) 50%, rgba(8, 18, 24, .05) 100%);
    transition: background .5s;
}
.hv2-hub:hover::after { background: linear-gradient(0deg, rgba(8, 18, 24, .95) 0%, rgba(8, 18, 24, .7) 70%, rgba(8, 18, 24, .3) 100%); }
.hv2-hub:hover img { transform: scale(1.06); }
.hv2-hub__num { position: absolute; top: 20px; left: 22px; z-index: 2; font: 300 20px/1 var(--serif); letter-spacing: .04em; color: #ffb36b; }
.hv2-hub__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 26px 24px; display: flex; flex-direction: column; gap: 12px; }
.hv2-hub__body strong { font: 400 clamp(22px, 2vw, 28px)/1.12 var(--serif); }
.hv2-hub__desc {
    font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82);
    display: grid; grid-template-rows: 0fr; overflow: hidden;
    transition: grid-template-rows .5s var(--ease), opacity .4s; opacity: 0;
}
.hv2-hub:hover .hv2-hub__desc, .hv2-hub:focus-visible .hv2-hub__desc { grid-template-rows: 1fr; opacity: 1; }
.hv2-hub .hv2-link { align-self: flex-start; color: var(--white); }
.hv2-hub .hv2-photo__prompt { z-index: 3; }

/* Listings */
.hv2-listings { background: var(--sand); }
.hv2-listings__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.hv2-card { display: flex; flex-direction: column; }
.hv2-card--lead { grid-column: span 2; grid-row: span 2; }
.hv2-card__media { position: relative; }
.hv2-card__media .hv2-photo { aspect-ratio: 16 / 10; } /* fotos de propiedades 800×500 */
.hv2-card--lead .hv2-card__media .hv2-photo { aspect-ratio: 16 / 10; }
.hv2-card:hover img { transform: scale(1.05); }
.hv2-card__badge {
    position: absolute; top: 14px; left: 14px; z-index: 2;
    background: var(--paper); color: var(--ink);
    font: 600 10px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; padding: 8px 10px;
}
.hv2-card__badge--deal { left: auto; right: 14px; background: var(--accent); }
.hv2-card__body { padding-top: 18px; }
.hv2-card__price { margin: 0; font: 400 28px/1.1 var(--serif); letter-spacing: -.01em; }
.hv2-card--lead .hv2-card__price { font-size: 40px; }
.hv2-card__price s { font-size: .55em; color: var(--muted); margin-right: 8px; }
.hv2-card__price small { font-size: .5em; color: var(--muted); margin-left: 4px; font-family: var(--sans); }
.hv2-card__addr { margin: 8px 0 0; font-size: 15px; }
.hv2-card__meta { margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13px; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.hv2-card__meta span + span::before { content: ''; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); margin: 0 14px 2px -10px; }

/* Mercados */
.hv2-markets__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 14px; }
.hv2-market { position: relative; display: block; overflow: hidden; color: var(--white); isolation: isolate; }
.hv2-market--wide { grid-column: span 2; grid-row: span 2; }
.hv2-market .hv2-photo { position: absolute; inset: 0; }
.hv2-market::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(8, 18, 24, .85) 0%, rgba(8, 18, 24, 0) 60%); }
.hv2-market:hover img { transform: scale(1.06); }
.hv2-market__body { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.hv2-market__body em { font: 600 10px/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; font-style: normal; color: #ffc48c; }
.hv2-market__body strong { font: 300 clamp(28px, 2.6vw, 38px)/1 var(--serif); }
.hv2-market--wide .hv2-market__body strong { font-size: clamp(40px, 4.4vw, 64px); }
.hv2-market__body span { font-size: 13px; color: rgba(255, 255, 255, .8); }
.hv2-market .hv2-photo__prompt { z-index: 3; }
.hv2-markets__all { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.hv2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.hv2-chips a { padding: 8px 14px; border: 1px solid var(--line); font-size: 14px; transition: background .2s, color .2s, border-color .2s; }
.hv2-chips a:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Banda vender */
.hv2-band { position: relative; min-height: 640px; display: flex; align-items: center; isolation: isolate; }
.hv2-band__bg { position: absolute; inset: 0; z-index: -1; }
.hv2-band__bg img { background-attachment: fixed; }
.hv2-band__inner { display: flex; justify-content: flex-end; padding-top: 80px; padding-bottom: 80px; }
.hv2-band__panel { background: var(--paper); max-width: 520px; padding: clamp(32px, 4vw, 56px); box-shadow: 0 30px 60px rgba(0, 0, 0, .2); }
.hv2-band__panel p:not(.hv2-eyebrow) { color: var(--muted); margin: 22px 0 30px; }
.hv2-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* Proyectos (riel horizontal) */
.hv2-projects { background: var(--paper); }
.hv2-rail {
    display: grid; grid-auto-flow: column; grid-auto-columns: clamp(280px, 30vw, 440px); gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter);
    padding: 0 var(--gutter) 20px;
    scrollbar-width: thin; scrollbar-color: var(--accent) transparent;
}
.hv2-project { scroll-snap-align: start; display: block; }
.hv2-project:hover img { transform: scale(1.05); }
.hv2-project__body { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; }
.hv2-project__body em { font: 600 11px/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--sea); }
.hv2-project__body strong { font: 400 26px/1.1 var(--serif); }
.hv2-project__body span { color: var(--muted); font-size: 15px; }

/* Confianza */
.hv2-trust { background: var(--sand); }
.hv2-trust__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.hv2-trust__agent { position: sticky; top: 140px; max-width: 520px; } /* foto del realtor 1080px: contenedor contenido para que se vea nítida */
.hv2-trust__agent blockquote { margin: -60px 0 0 clamp(20px, 4vw, 48px); position: relative; background: var(--ink); color: var(--white); padding: 32px; }
.hv2-trust__agent blockquote p { margin: 0 0 22px; font: italic 300 22px/1.35 var(--serif); }
.hv2-trust__agent footer { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.hv2-trust__agent footer strong { color: var(--white); font-size: 16px; }
.hv2-trust__agent .hv2-link { color: #ffb36b; margin-top: 14px; align-self: flex-start; }
.hv2-rating { margin: 24px 0 36px; display: flex; align-items: center; gap: 12px; color: var(--muted); }
.hv2-rating strong { font: 300 44px/1 var(--serif); color: var(--ink); }
.hv2-rating span { color: var(--accent); letter-spacing: 2px; }
.hv2-reviews { display: grid; gap: 0; margin-bottom: 32px; }
.hv2-review { margin: 0; padding: 26px 0; border-top: 1px solid var(--line); }
.hv2-review blockquote { margin: 0 0 12px; font: 400 19px/1.5 var(--serif); }
.hv2-review figcaption { font-size: 13px; color: var(--muted); letter-spacing: .04em; }

/* Reporte */
.hv2-report { background: var(--ink); color: var(--white); padding: clamp(80px, 10vw, 130px) 0; position: relative; overflow: hidden; }
.hv2-report::before {
    content: ''; position: absolute; right: -10%; top: -40%; width: 60%; aspect-ratio: 1; border-radius: 50%;
    background: radial-gradient(circle, rgba(240, 138, 44, .18), transparent 65%);
}
.hv2-report__grid { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hv2-report__list { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 12px; color: rgba(255, 255, 255, .82); }
.hv2-report__list li { display: flex; gap: 14px; }
.hv2-report__list li::before { content: '—'; color: var(--accent); }
.hv2-report__form { display: grid; gap: 14px; }
.hv2-report__form-title { margin: 0; font: 400 26px/1.2 var(--serif); color: var(--white); }
/* Barra de suscripción: campo blanco con ícono + botón dentro (mismo lenguaje que el buscador del hero) */
.hv2-subscribe {
    display: flex; align-items: center; gap: 6px; padding: 6px;
    background: var(--white); border-radius: 999px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3);
    transition: box-shadow .25s;
}
.hv2-subscribe:focus-within { box-shadow: 0 20px 50px rgba(0, 0, 0, .3), 0 0 0 4px rgba(240, 138, 44, .45); }
.hv2-subscribe__field { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; cursor: text; }
.hv2-subscribe__field svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hv2-subscribe__field input { width: 100%; border: 0; outline: none; background: transparent; font: 500 17px/1.2 var(--sans); color: var(--ink); }
.hv2-subscribe__field input::placeholder { color: #8a949a; font-weight: 400; }
.hv2-subscribe__btn {
    flex: none; height: 54px; padding: 0 28px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--accent); color: var(--ink); font: 700 15px/1 var(--sans);
    transition: background .2s, transform .2s var(--ease);
}
.hv2-subscribe__btn:hover { background: #ff9d45; transform: scale(1.03); }
.hv2-subscribe__btn:disabled { opacity: .6; cursor: wait; }
.hv2-report__note { margin: 0; padding-left: 18px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.hv2-report__msg { margin: 0; padding-left: 18px; font-size: 14px; color: #9fe3c9; min-height: 1em; }
@media (max-width: 520px) {
    .hv2-subscribe { flex-direction: column; align-items: stretch; border-radius: 22px; }
    .hv2-subscribe__btn { width: 100%; }
}
.hv2-report__msg.is-error { color: #ffb4a0; }

/* Blog */
.hv2-journal__grid { display: grid; grid-template-columns: 1.6fr 1fr; grid-template-rows: auto auto; gap: 32px; }
.hv2-post { display: flex; flex-direction: column; }
.hv2-post--lead { grid-row: span 2; }
.hv2-post:hover img { transform: scale(1.05); }
.hv2-post__body { display: flex; flex-direction: column; gap: 8px; padding-top: 18px; }
.hv2-post__body em { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; font-style: normal; color: var(--sea); }
.hv2-post__body strong { font: 400 22px/1.25 var(--serif); }
.hv2-post--lead .hv2-post__body strong { font-size: clamp(28px, 2.6vw, 36px); line-height: 1.12; }
.hv2-post__body span { color: var(--muted); }
.hv2-post:hover strong { color: var(--accent-dark); }

/* Contacto */
.hv2-contact { position: relative; min-height: 560px; display: flex; align-items: center; color: var(--white); isolation: isolate; }
.hv2-contact { overflow: hidden; }
.hv2-contact__bg { position: absolute; inset: 0; z-index: -2; }
.hv2-contact__bg img { filter: blur(3px) saturate(.85); transform: scale(1.06); } /* mismo tratamiento que el mosaico de cierres */
.hv2-contact::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(8, 18, 24, .62); pointer-events: none; }
.hv2-contact__inner { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 100px; padding-bottom: 100px; }
.hv2-contact__inner .hv2-title { font-size: clamp(40px, 6vw, 80px); }
.hv2-contact__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.hv2-contact__addr { margin: 28px 0 0; color: rgba(255, 255, 255, .7); font-size: 14px; letter-spacing: .06em; }
.hv2-contact .hv2-photo__prompt { left: auto; max-width: 460px; }

/* Footer */
.hv2-footer { background: #08131a; color: rgba(255, 255, 255, .72); padding: 90px 0 0; font-size: 15px; }
.hv2-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-bottom: 60px; }
.hv2-footer__brand img { width: 160px; height: auto; margin-bottom: 22px; }
.hv2-footer__brand p { max-width: 34ch; margin: 0 0 20px; }
.hv2-footer__social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hv2-footer__social a, .hv2-footer a:hover { color: var(--white); }
.hv2-footer__title { margin: 0 0 18px; font: 600 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.hv2-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hv2-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 26px; padding-bottom: 90px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; }
.hv2-footer__legal p { margin: 0; }
.hv2-footer__legal a { color: var(--white); }

/* Barra de propuesta */
.hv2-proposal {
    position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60;
    display: flex; align-items: center; gap: 14px;
    background: var(--white); color: var(--ink); padding: 8px 8px 8px 18px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .25); font-size: 13px; border-radius: 999px; white-space: nowrap;
}
.hv2-proposal button { background: var(--ink); color: var(--white); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; font-size: 13px; }
.hv2-show-prompts .hv2-proposal button { background: var(--accent); color: var(--ink); }

/* ---------- Animaciones ---------- */
.hv2-reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.hv2-reveal.is-in { opacity: 1; transform: none; }
@keyframes hv2-kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hv2-reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .hv2-topbar__lead { display: none; }
    .hv2-topbar__inner { justify-content: flex-end; }
    .hv2-menu__link { padding: 0 10px; font-size: 14px; }
    .hv2-footer__grid { grid-template-columns: repeat(3, 1fr); }
    .hv2-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 1024px) {
    .hv2-burger {
        display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
        width: 46px; height: 46px; background: none; border: 1px solid rgba(255, 255, 255, .35); cursor: pointer; padding: 0 12px;
    }
    .hv2-burger span:not(.hv2-sr) { display: block; height: 1.5px; background: var(--white); transition: transform .3s, opacity .3s; }
    .menu-open .hv2-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-open .hv2-burger span:nth-child(2) { opacity: 0; }
    .menu-open .hv2-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    .hv2-menu {
        position: fixed; top: 118px; left: 0; right: 0; bottom: 0;
        flex-direction: column; align-items: stretch; gap: 0;
        background: var(--ink); padding: 12px var(--gutter) 40px; overflow-y: auto;
        transform: translateX(100%); transition: transform .4s var(--ease);
    }
    .menu-open .hv2-menu { transform: none; }
    .menu-open { background: var(--ink); }
    .hv2-menu__link { width: 100%; height: 60px; padding: 0; justify-content: space-between; font: 300 24px/1 var(--serif); border-bottom: 1px solid rgba(255, 255, 255, .1); }
    .hv2-menu__link::after { display: none; }
    .hv2-mega, .hv2-mega--markets, .hv2-mega--hub, .hv2-mega--small, .hv2-mega--listings {
        position: static; width: auto; transform: none !important; box-shadow: none;
        grid-template-columns: 1fr; gap: 20px; padding: 0;
        background: transparent; color: var(--white);
        display: none; opacity: 1; visibility: visible;
    }
    .hv2-mega::before { display: none; }
    .has-mega:hover > .hv2-mega { display: none; }
    .has-mega.is-open > .hv2-mega { display: grid; padding: 18px 0 26px; }
    .hv2-mega__feature { display: none; }
    .hv2-mega__cols { grid-template-columns: 1fr; gap: 20px; }
    .hv2-mega--listings .hv2-mega__cols { grid-template-columns: 1fr; }
    .hv2-mega--listings { width: auto; }
    .hv2-mega__cols ul { columns: 2; column-gap: 20px; }
    .hv2-mega__cols li a, .hv2-mega__list li a { border-color: rgba(255, 255, 255, .08); }
    .hv2-mega__cols small { color: rgba(255, 255, 255, .5); }
    .hv2-mega__title { color: var(--accent); }
    .hv2-menu__cta { margin: 28px 0 0; }
    .hv2-menu__cta .hv2-btn { width: 100%; min-height: 54px; }

    .hv2-hero__intro { grid-template-columns: 1fr; margin-bottom: 32px; }
    .hv2-hubs__grid { grid-template-columns: repeat(2, 1fr); }
    .hv2-hub__desc { grid-template-rows: 1fr; opacity: 1; }
    .hv2-listings__grid { grid-template-columns: repeat(2, 1fr); }
    .hv2-markets__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
    .hv2-market--wide { grid-row: span 1; }
    .hv2-trust__grid, .hv2-report__grid { grid-template-columns: 1fr; }
    .hv2-trust__agent { position: static; max-width: 520px; }
    .hv2-head--split { grid-template-columns: 1fr; gap: 20px; }
    .hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) { grid-template-columns: 1fr; }
    .hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) > * { grid-column: 1 !important; grid-row: auto !important; }
    .hv2-wrap > .hv2-head:not(.hv2-head--split):has(> .hv2-head__lead) > .hv2-head__lead { margin-top: 18px; }
    .hv2-head--split .hv2-head__lead { margin-bottom: 18px; }
}

@media (max-width: 720px) {
    body.hv2 { font-size: 16px; }
    .hv2-topbar__links a[href^="mailto"] { display: none; }
    .hv2-topbar__links { gap: 16px; font-size: 12px; }
    .hv2-nav__inner { height: 68px; }
    .hv2-logo img { width: 130px; }
    .hv2-menu { top: 108px; }

    .hv2-hero__content { padding-top: 150px; padding-bottom: 32px; }

    .hv2-stats__grid { grid-template-columns: 1fr 1fr; }
    .hv2-stat { padding: 30px 16px; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
    .hv2-stat:nth-child(odd) { padding-left: 0; }
    .hv2-stat:nth-child(-n+2) { border-top: 0; }

    .hv2-hubs__grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 8px; }
    .hv2-hub { scroll-snap-align: start; }
    .hv2-listings__grid { grid-template-columns: 1fr; }
    .hv2-card--lead { grid-column: auto; grid-row: auto; }
    .hv2-card--lead .hv2-card__media .hv2-photo { aspect-ratio: 16 / 10; }
    .hv2-markets__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; gap: 10px; }
    .hv2-market--wide { grid-column: span 2; grid-row: span 1; }
    .hv2-market__body { left: 14px; right: 14px; bottom: 14px; }
    .hv2-market__body strong { font-size: 24px; }
    .hv2-markets__all { grid-template-columns: 1fr; gap: 24px; }
    .hv2-band { min-height: 0; }
    .hv2-band__bg { position: relative; height: 280px; }
    .hv2-band { flex-direction: column; align-items: stretch; }
    .hv2-band__inner { padding-top: 0; padding-bottom: 0; margin-top: -60px; }
    .hv2-journal__grid { grid-template-columns: 1fr; }
    .hv2-post--lead { grid-row: auto; }
    .hv2-footer__grid { grid-template-columns: 1fr 1fr; }
    .hv2-proposal { left: 16px; right: 16px; transform: none; justify-content: space-between; }
    .hv2-proposal > span { overflow: hidden; text-overflow: ellipsis; }
}

/* Pantallas anchas: aprovechar el ancho completo sin agrandar cada tarjeta */
@media (min-width: 1600px) {
    .hv2-listings__grid { grid-template-columns: repeat(4, 1fr); }
    .hv2-markets__grid { grid-auto-rows: 340px; }
}

/* ---------- Buscador del hero ---------- */
.hv2-finder { max-width: 1080px; }
.hv2-finder__tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 14px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; backdrop-filter: blur(8px); }
.hv2-finder__tabs label { cursor: pointer; }
.hv2-finder__tabs input { position: absolute; opacity: 0; pointer-events: none; }
.hv2-finder__tabs span { display: block; padding: 9px 22px; border-radius: 999px; font: 600 14px/1 var(--sans); color: rgba(255, 255, 255, .85); transition: background .2s, color .2s; }
.hv2-finder__tabs input:checked + span { background: var(--white); color: var(--ink); }
.hv2-finder__tabs input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.hv2-finder__bar {
    display: flex; align-items: center;
    background: var(--white); color: var(--ink);
    border-radius: 999px; padding: 8px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
    transition: box-shadow .25s;
}
.hv2-finder__bar:focus-within { box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 4px rgba(240, 138, 44, .45); }
.hv2-finder__bar svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv2-finder__q, .hv2-finder__type { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 22px; cursor: text; }
.hv2-finder__q { flex: 1; min-width: 0; }
.hv2-finder__q svg, .hv2-finder__type svg { color: var(--muted); }
.hv2-finder__type { border-left: 1px solid var(--line); cursor: pointer; flex: none; width: 260px; }
.hv2-finder__q input, .hv2-finder__type select {
    width: 100%; border: 0; outline: none; background: transparent;
    font: 500 18px/1.2 var(--sans); color: var(--ink);
}
.hv2-finder__q input::placeholder { color: #8a949a; font-weight: 400; }
.hv2-finder__q input::-webkit-search-cancel-button { cursor: pointer; }
.hv2-finder__type select { appearance: none; cursor: pointer; padding-right: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6b72' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right center / 12px; }
.hv2-finder__go {
    display: inline-flex; align-items: center; gap: 10px; flex: none;
    height: 60px; padding: 0 34px; border: 0; border-radius: 999px; cursor: pointer;
    background: var(--accent); color: var(--ink); font: 700 16px/1 var(--sans);
    transition: background .2s, transform .2s var(--ease);
}
.hv2-finder__go:hover { background: #ff9d45; transform: scale(1.03); }
.hv2-finder__quick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hv2-finder__quick span { margin-right: 6px; }
.hv2-finder__quick a { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); color: var(--white); transition: background .2s, color .2s; }
.hv2-finder__quick a:hover { background: var(--white); color: var(--ink); }

@media (max-width: 720px) {
    .hv2-finder__bar { flex-wrap: wrap; border-radius: 22px; padding: 6px; }
    .hv2-finder__q { flex: 1 1 100%; height: 56px; padding: 0 16px; }
    .hv2-finder__type { flex: 1; width: auto; height: 52px; padding: 0 16px; border-left: 0; border-top: 1px solid var(--line); }
    .hv2-finder__go { width: 52px; height: 52px; padding: 0; justify-content: center; margin-top: 2px; }
    .hv2-finder__go span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .hv2-finder__q input, .hv2-finder__type select { font-size: 16px; }
    .hv2-finder__quick a:nth-of-type(n+4) { display: none; }
}

/* Tarjeta del mega-menú que cambia con el enlace bajo el mouse */
.hv2-mega__feature .hv2-photo img { transition: opacity .25s ease, transform 1.2s var(--ease); }
.hv2-mega__feature .hv2-photo.is-swapping img { opacity: .35; }
.hv2-mega__feature .hv2-photo[data-swapped="1"] .hv2-photo__prompt { display: none; }
.hv2-mega__feature-text [data-feature] { transition: opacity .2s; }
.hv2-mega a[data-feature-title]:hover, .hv2-mega a[data-feature-title]:focus-visible { color: var(--accent-dark); padding-left: 6px; }

/* =====================================================================
   Componentes compartidos de páginas internas
   ===================================================================== */

/* Breadcrumb */
.hv2-crumbs-bar { background: var(--sand); border-bottom: 1px solid var(--line); }
.hv2-crumbs ol { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13px; color: var(--muted); }
.hv2-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.hv2-crumbs li + li::before { content: '›'; margin: 0 10px; color: var(--accent-dark); }
.hv2-crumbs a { color: var(--ink); border-bottom: 1px solid transparent; }
.hv2-crumbs a:hover { border-color: var(--accent); }
.hv2-crumbs [aria-current] { color: var(--muted); max-width: 46ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Encabezado de página */
.hv2-pagehero { position: relative; isolation: isolate; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); background: var(--paper); }
.hv2-pagehero__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; align-items: center; }
.hv2-pagehero--split .hv2-pagehero__inner { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.hv2-pagehero__title { margin: 0; font: 300 clamp(34px, 4.4vw, 64px)/1.1 var(--serif); letter-spacing: -.03em; text-wrap: balance; }
.hv2-pagehero__title em { font-style: normal; font-weight: 400; color: var(--accent-dark); }
.hv2-pagehero__lead { margin: 22px 0 0; max-width: 60ch; font-size: clamp(17px, 1.3vw, 19px); color: var(--muted); }
.hv2-pagehero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 32px; }
.hv2-pagehero__media { box-shadow: 0 30px 60px rgba(12, 26, 34, .18); }
.hv2-pagehero--cover { min-height: min(72vh, 640px); display: flex; align-items: flex-end; color: var(--white); background: var(--ink); }
.hv2-pagehero--cover .hv2-pagehero__bg { position: absolute; inset: 0; z-index: -2; }
.hv2-pagehero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(8, 18, 24, .88) 0%, rgba(8, 18, 24, .45) 55%, rgba(8, 18, 24, .15) 100%); }
.hv2-pagehero--cover .hv2-pagehero__title em { color: #ffb36b; }
.hv2-pagehero--cover .hv2-pagehero__lead { color: rgba(255, 255, 255, .85); }
.hv2-pagehero--cover .hv2-link { color: var(--white); }

/* Cuerpo de texto (artículos, servicios, legales) */
.hv2-prose { max-width: 72ch; font-size: 18px; line-height: 1.75; color: #24323a; }
.hv2-prose > * + * { margin-top: 1.1em; }
.hv2-prose h2 { margin-top: 2em; font: 400 clamp(28px, 2.6vw, 36px)/1.15 var(--serif); color: var(--ink); }
.hv2-prose h3 { margin-top: 1.6em; font: 500 22px/1.3 var(--serif); color: var(--ink); }
.hv2-prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.hv2-prose img { height: auto; margin: 2em 0; }
.hv2-prose ul, .hv2-prose ol { padding-left: 1.3em; }
.hv2-prose li + li { margin-top: .4em; }
.hv2-prose blockquote { margin: 2em 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font: italic 300 22px/1.5 var(--serif); color: var(--ink); }
.hv2-prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.hv2-prose th, .hv2-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* Layout de contenido + barra lateral (fichas, artículos) */
.hv2-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.hv2-aside { position: sticky; top: 140px; display: grid; gap: 20px; }
.hv2-panel { background: var(--white); border: 1px solid var(--line); padding: 28px; }
.hv2-panel--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hv2-panel__title { margin: 0 0 16px; font: 400 24px/1.2 var(--serif); }

/* Formularios */
.hv2-form { display: grid; gap: 14px; }
.hv2-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hv2-field { display: grid; gap: 6px; }
.hv2-field > span, .hv2-field > label { font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.hv2-field input, .hv2-field select, .hv2-field textarea {
    width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--white); font: 400 16px/1.4 var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.hv2-field textarea { min-height: 120px; resize: vertical; }
.hv2-field input:focus, .hv2-field select:focus, .hv2-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(240, 138, 44, .2); }
.hv2-panel--ink .hv2-field input, .hv2-panel--ink .hv2-field textarea, .hv2-panel--ink .hv2-field select { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: var(--white); }
.hv2-panel--ink .hv2-field > span { color: rgba(255, 255, 255, .6); }
.hv2-form .hv2-btn { width: 100%; }
.hv2-alert { padding: 14px 16px; border-left: 3px solid var(--sea); background: #e8f3f1; font-size: 15px; }
.hv2-alert--error { border-color: #c2412d; background: #fbeae6; }
.hv2-alert ul { margin: 0; padding-left: 1.1em; }

/* Barra de filtros de listados */
.hv2-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hv2-filters__count { margin-right: auto; font-size: 14px; color: var(--muted); }
.hv2-chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 14px; background: var(--white); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.hv2-chip:hover, .hv2-chip.is-active { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hv2-toggle { display: inline-flex; padding: 4px; background: var(--sand); border-radius: 999px; }
.hv2-toggle button, .hv2-toggle a { padding: 8px 18px; border: 0; border-radius: 999px; background: none; font: 600 14px/1 var(--sans); color: var(--muted); cursor: pointer; }
.hv2-toggle .is-active { background: var(--white); color: var(--ink); box-shadow: 0 2px 8px rgba(12, 26, 34, .12); }

/* Grilla genérica de tarjetas */
.hv2-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
.hv2-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hv2-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* Carga infinita: enlace real a la página siguiente + estado de carga (altura reservada, sin CLS) */
.hv2-pager { display: flex; justify-content: center; align-items: center; min-height: 96px; margin-top: 48px; }
.hv2-pager a { display: inline-flex; align-items: center; gap: 12px; padding: 14px 28px; border: 1px solid var(--ink); border-radius: 999px; font: 600 14px/1 var(--sans); letter-spacing: .04em; transition: background .2s, color .2s; }
.hv2-pager a:hover { background: var(--ink); color: var(--white); }
.hv2-pager.is-loading a { opacity: .5; pointer-events: none; }
.hv2-pager.is-loading a::after { content: ''; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: hv2-spin .8s linear infinite; }
.hv2-pager.is-done { min-height: 0; margin-top: 0; }
@keyframes hv2-spin { to { transform: rotate(360deg); } }
.hv2-empty { padding: 80px 0; text-align: center; color: var(--muted); }
.hv2-empty strong { display: block; margin-bottom: 8px; font: 400 28px/1.2 var(--serif); color: var(--ink); }

/* Mosaico de cierres (home) */
.hv2-closings { position: relative; isolation: isolate; min-height: 640px; display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--ink); }
.hv2-closings__mosaic {
    position: absolute; inset: 0; z-index: -2;
    display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 6px;
}
.hv2-closings__tile { height: 100%; }
.hv2-closings__tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
.hv2-closings__tile--2 { grid-column: 3 / 5; grid-row: 1 / 2; }
.hv2-closings__tile--3 { grid-column: 5 / 7; grid-row: 1 / 2; }
.hv2-closings__tile--4 { grid-column: 3 / 4; grid-row: 2 / 3; }
.hv2-closings__tile--5 { grid-column: 4 / 5; grid-row: 2 / 3; }
.hv2-closings__tile--6 { grid-column: 5 / 6; grid-row: 2 / 3; }
.hv2-closings__tile--7 { grid-column: 6 / 7; grid-row: 2 / 3; }
.hv2-closings__tile img { filter: blur(3px) saturate(.8); transform: scale(1.06); transform-origin: center top; } /* scale: el blur no deja bordes claros */
/* Fotos con personas: encuadre hacia arriba para no cortar las cabezas */
.hv2-closings__tile--1 img, .hv2-closings__tile--5 img, .hv2-closings__tile--7 img { object-position: center 18%; }
.hv2-closings__tile--3 img { object-position: center 25%; }
.hv2-closings__shade { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(8, 18, 24, .86) 0%, rgba(8, 18, 24, .78) 45%, rgba(8, 18, 24, .6) 100%); }
.hv2-closings__inner { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 110px; padding-bottom: 110px; }
.hv2-closings__inner .hv2-eyebrow { justify-content: center; }
.hv2-closings__inner .hv2-title { font-size: clamp(40px, 5.6vw, 80px); text-wrap: balance; }
.hv2-closings__lead { max-width: 54ch; margin: 24px 0 0; font-size: clamp(17px, 1.3vw, 20px); color: rgba(255, 255, 255, .86); }
.hv2-closings__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 36px; }

/* WhatsApp flotante */
.hv2-whatsapp {
    position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 56px; height: 56px; border-radius: 50%;
    display: grid; place-items: center; background: #25d366; box-shadow: 0 10px 26px rgba(0, 0, 0, .25); transition: transform .2s var(--ease);
}
.hv2-whatsapp:hover { transform: scale(1.06); }

/* Volver arriba (abajo a la derecha) */
.hv2-totop {
    position: fixed; left: 18px; bottom: 18px; z-index: 55; width: 50px; height: 50px; border-radius: 50%;
    display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); cursor: pointer;
    background: var(--ink); color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s, background .2s, color .2s;
}
.hv2-totop.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hv2-totop:hover { background: var(--accent); color: var(--ink); }
.hv2-totop svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hv2-whatsapp svg { width: 30px; height: 30px; fill: var(--white); }

@media (max-width: 1024px) {
    .hv2-pagehero--split .hv2-pagehero__inner, .hv2-layout { grid-template-columns: 1fr; }
    .hv2-aside { position: static; }
    .hv2-grid, .hv2-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    .hv2-grid, .hv2-grid--4, .hv2-grid--2, .hv2-form__row { grid-template-columns: 1fr; }
    .hv2-crumbs [aria-current] { max-width: 22ch; }
    .hv2-closings { min-height: 0; }
    .hv2-closings__mosaic { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
    .hv2-closings__tile--1 { grid-column: 1 / 3; grid-row: 1 / 3; }
    .hv2-closings__tile--2 { grid-column: 3 / 4; grid-row: 1 / 2; }
    .hv2-closings__tile--3 { grid-column: 3 / 4; grid-row: 2 / 3; }
    .hv2-closings__tile--4 { grid-column: 1 / 2; grid-row: 3 / 4; }
    .hv2-closings__tile--5 { grid-column: 2 / 3; grid-row: 3 / 4; }
    .hv2-closings__tile--6 { grid-column: 3 / 4; grid-row: 3 / 4; }
    /* En móvil los recuadros son angostos: la foto horizontal de clientes se cambia por la vertical (#7) para no cortar caras */
    .hv2-closings__tile--3 { display: none; }
    .hv2-closings__tile--7 { grid-column: 3 / 4; grid-row: 2 / 3; }
    .hv2-closings__inner { padding-top: 80px; padding-bottom: 80px; }
    .hv2-whatsapp { width: 50px; height: 50px; right: 16px; bottom: 16px; }
    .hv2-totop { left: 16px; bottom: 16px; }
}

/* Preguntas frecuentes (home y páginas que lo reutilicen) */
.hv2-faq { background: var(--paper); }
.hv2-faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.hv2-faq__grid .hv2-head { position: sticky; top: 140px; margin-bottom: 0; }
.hv2-faq__grid .hv2-head .hv2-link { margin-top: 26px; }
.hv2-faq__item { border-top: 1px solid var(--line); }
.hv2-faq__item:last-child { border-bottom: 1px solid var(--line); }
.hv2-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
.hv2-faq__item summary::-webkit-details-marker { display: none; }
.hv2-faq__item summary::after { content: '+'; flex: none; font: 300 30px/1 var(--serif); color: var(--accent-dark); transition: transform .3s var(--ease); }
.hv2-faq__item[open] summary::after { transform: rotate(45deg); }
.hv2-faq__item h3 { margin: 0; font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); }
.hv2-faq__item p { margin: 0 0 26px; max-width: 64ch; color: #33424a; line-height: 1.7; }
@media (max-width: 1024px) {
    .hv2-faq__grid { grid-template-columns: 1fr; }
    .hv2-faq__grid .hv2-head { position: static; }
}
