@import url('https://fonts.googleapis.com/css2?family=Hind:wght@300;400;500;600;700&display=swap');

/* =============================================================
   Inmuebles.UNO 2026 — Design System (Light theme only)
   FAITHFUL replica of Inmuebles24.com (verified from live HTML).
   Paleta REAL:  naranja #f50  +  texto #000/#484848  +  superficies blancas
   Tipo REAL:    Hind (Google Font) — exactly as Inmuebles24 usa
   ============================================================= */

:root {
    color-scheme: light only;

    /* ─── Brand palette (EXACT Inmuebles24 tokens from live site) ─── */
    --iuno-primary:        #f50;      /* naranja real Inmuebles24 (--orange) */
    --iuno-primary-strong: #d16015;   /* active state real */
    --iuno-primary-light:  #fca267;   /* hover real */
    --iuno-primary-soft:   #ffe8dc;   /* --lightPrimary real */
    --iuno-primary-tint:   #ffeee6;   /* --secondaryHover real */
    --iuno-accent:         #1ea7dd;   /* azul btn-secondary real */
    --iuno-accent-strong:  #168ebe;   /* azul active real */
    --iuno-accent-soft:    #d4f0ff;
    --iuno-navy:           #000000;   /* alias = text color (componentes legacy esperan dark) */
    --iuno-navy-soft:      #2a2a2a;   /* alias suave para hovers */
    --iuno-violet:         #3a0c3d;   /* color secundario REAL Inmuebles24 (--violet) */
    --iuno-violet-soft:    #250b26;   /* footer dark legacy / --secondaryColor real */
    --iuno-danger:         #c60024;   /* --negativeFeedback real */
    --iuno-danger-soft:    #fee2e2;
    --iuno-success:        #34be34;   /* --positiveFeedback real */
    --iuno-success-soft:   #dcfce7;
    --iuno-warning:        #ffdb5e;   /* --yellow real */
    --iuno-info:           #1ea7dd;
    --iuno-info-soft:      #d4f0ff;
    --iuno-whatsapp:       #25d366;

    /* ─── Surfaces (brand-refresh tokens from Inmuebles24) ─── */
    --iuno-bg:        #ffffff;
    --iuno-bg-alt:    #f5f5f5;        /* --lightGrey real */
    --iuno-bg-soft:   #f3f7f8;        /* header legacy bg / dropdown selected */
    --iuno-surface:   #ffffff;
    --iuno-elevated:  #ffffff;
    --iuno-text:      #000000;        /* texto principal real */
    --iuno-text-soft: #484848;        /* --darkGrey real */
    --iuno-muted:     #727272;        /* --darkMiddleGrey real */
    --iuno-mutedier:  #c8c8c8;        /* --mediumGrey real */
    --iuno-border:    #ededed;        /* --gray / brand-refresh border real */
    --iuno-border-strong: #cbd6dc;    /* --lightMediumGrey real */
    --iuno-border-input:  #7c98a7;    /* input border real */

    /* ─── Radii / shadows (verified against Inmuebles24 components) ─── */
    --iuno-radius-sm:  5px;           /* btn-primary real */
    --iuno-radius:     8px;           /* inputs / city cards real */
    --iuno-radius-lg:  12px;          /* cards / large btn real */
    --iuno-radius-xl:  16px;          /* property card real */
    --iuno-radius-pill: 32px;
    --iuno-shadow-sm:  0 2px 4px rgba(0,0,0,.03);
    --iuno-shadow:     0 2px 8px rgba(0,0,0,.08);   /* property card real */
    --iuno-shadow-md:  0 3px 8px rgba(93,115,126,.10);
    --iuno-shadow-lg:  0 12px 14px rgba(0,0,0,.08);
    --iuno-shadow-btn: 0 2px 13px 0 rgba(54,54,54,.4);  /* btn-primary real */
    --iuno-ring:       0 0 0 4px var(--iuno-primary-soft);

    /* ─── Type — Hind (real Inmuebles24 font) ─── */
    --iuno-font-ui:      'Hind', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    --iuno-font-display: 'Hind', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

    /* ─── Layout ─── */
    --iuno-nav-h:    60px;            /* header real Inmuebles24 */
    --iuno-container: 1280px;
}

/* ═══════════════════════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin:0; padding:0; overflow-x: hidden; max-width: 100%; }
body {
    background: var(--iuno-bg);
    color: var(--iuno-text);
    font-family: var(--iuno-font-ui);
    font-size: 15px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: var(--iuno-primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--iuno-primary-strong); }
hr { border: 0; height: 1px; background: var(--iuno-border); margin: 24px 0; }
:focus-visible { outline: 3px solid color-mix(in oklab, var(--iuno-primary) 55%, transparent); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--iuno-primary-soft); color: var(--iuno-primary-strong); }

h1, h2, h3, h4, .display {
    font-family: var(--iuno-font-display);
    font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1.2;
    color: var(--iuno-text);
    margin: 0 0 .5em;
}
h1 { font-size: clamp(34px, 5vw, 52px); letter-spacing: -.025em; font-weight: 700; }
h2 { font-size: 22px; letter-spacing: -.22px; line-height: 32px; font-weight: 600; }
h3 { font-size: 16px; line-height: 24px; font-weight: 600; }
h4 { font-size: 14px; font-weight: 600; }
p  { margin: 0 0 14px; color: var(--iuno-text-soft); font-size: 14px; line-height: 24px; }

/* ═══════════════════════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════════════════════ */
.container-iuno { width: 100%; max-width: var(--iuno-container); margin: 0 auto; padding: 0 22px; box-sizing: border-box; }
@media (min-width: 1024px) {
    .container-iuno { padding: 0 32px; }
}
@media (max-width: 720px) {
    .container-iuno { padding: 0 16px; }
}
.section        { padding-block: 56px; }
.section-sm     { padding-block: 32px; }
.section-lg     { padding-block: 88px; }
.section-head { display:flex; align-items:flex-end; justify-content:space-between; gap:16px; margin: 8px 0 24px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }

/* ═══════════════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════════════ */
.navbar {
    position: sticky; top: 0; z-index: 50;
    background: var(--iuno-surface);
    border-bottom: 1px solid var(--iuno-border);
}
.navbar-inner { display:flex; align-items:center; justify-content:space-between; height: var(--iuno-nav-h); gap:16px; }
.nav-logo {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    color: var(--iuno-text);
    text-decoration: none;
    line-height: 1;
}
.nav-logo-icon {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}
.nav-logo-text {
    font-family: var(--iuno-font-display);
    font-weight: 800;
    font-size: 26px;
    letter-spacing: -.02em;
    color: #3d566e;
    line-height: 1;
    white-space: nowrap;
    position: relative;
    bottom: 1px;
}
.nav-logo-text-accent { color: var(--iuno-primary); }
@media (max-width: 720px) {
    .nav-logo-icon { height: 36px; }
    .nav-logo-text { font-size: 20px; }
}
.nav-links { display:flex; align-items:center; gap:2px; }
.nav-actions { display:flex; align-items:center; gap:10px; }
.nav-link {
    position: relative;
    padding: 9px 14px; border-radius: 8px; color: var(--iuno-text);
    font-weight:600; font-size:14px;
    transition: background .15s ease, color .15s ease;
}
.nav-link:hover { background: var(--iuno-bg-alt); color: var(--iuno-text); }
.nav-link.active { color: var(--iuno-text); background: transparent; }
/* underline naranja real Inmuebles24: 3px de alto, 64px de ancho */
.nav-link.active::after {
    content:""; position:absolute; left:50%; bottom:-2px;
    width:64px; height:3px; background: var(--iuno-primary);
    border-radius: 3px 3px 0 0; transform: translateX(-50%);
}
@media (max-width: 880px) {
    .nav-links { display:none !important; }
    .nav-actions { display:none !important; }
    .nav-burger { display: inline-flex !important; }
}

/* Hamburger button (hidden on desktop) */
.nav-burger {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: var(--iuno-text);
    font-size: 22px;
    cursor: pointer;
    border-radius: 8px;
    transition: background .15s ease;
    flex-shrink: 0;
}
.nav-burger:hover { background: var(--iuno-bg-alt); }

/* Mobile menu drawer */
.nav-mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9000;
    display: flex;
    justify-content: flex-end;
}
.nav-mobile-panel {
    width: min(320px, 88vw);
    height: 100%;
    background: #fff;
    padding: 24px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: -8px 0 24px rgba(0,0,0,.15);
}
.nav-mobile-panel a {
    display: block;
    padding: 12px 14px;
    color: var(--iuno-text);
    font-weight: 600;
    font-size: 16px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .12s ease;
}
.nav-mobile-panel a:hover,
.nav-mobile-panel a.active { background: var(--iuno-bg-soft); color: var(--iuno-text); }
.nav-mobile-panel a.active { color: var(--iuno-primary); }
.nav-mobile-panel .btn {
    width: 100%;
    height: 44px;
    line-height: 44px;
    font-size: 15px;
}
.nav-mobile-panel .btn-accent {
    background: var(--iuno-primary);
    color: #fff;
}
.nav-mobile-panel .btn-accent:hover {
    background: var(--iuno-primary-strong);
    color: #fff;
}
.nav-mobile-divider {
    height: 1px;
    background: var(--iuno-border);
    margin: 8px 4px;
}

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */
.btn {
    /* Inmuebles24 real: line-height 35px (sm), padding 0 14px, radius 5px */
    display:inline-flex; align-items:center; justify-content:center; gap:8px;
    padding: 0 14px; height: 35px; line-height: 35px; border-radius: var(--iuno-radius-sm);
    font-weight:600; font-size:14px;
    border:1px solid transparent; cursor:pointer; text-decoration:none;
    transition: transform .12s ease, box-shadow .15s ease, background .18s ease, color .18s ease, border-color .18s ease;
    white-space: nowrap;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity:.55; pointer-events:none; }
/* btn-primary: bg #f50, blanco, sombra real Inmuebles24 */
.btn-primary  { background: var(--iuno-primary); color:#fff; box-shadow: var(--iuno-shadow-btn); }
.btn-primary:hover  { background: var(--iuno-primary-light); color:#fff; }
.btn-primary:active { background: var(--iuno-primary-strong); color:#fff; }
/* btn-secondary: azul real Inmuebles24 */
.btn-secondary { background: var(--iuno-accent); color: #fff; }
.btn-secondary:hover  { background: color-mix(in oklab, var(--iuno-accent) 85%, white 15%); color:#fff; }
.btn-secondary:active { background: var(--iuno-accent-strong); color:#fff; }
.btn-ghost    { background: transparent; color: var(--iuno-text); border-color: var(--iuno-border-strong); }
.btn-ghost:hover { background: var(--iuno-bg-alt); border-color: var(--iuno-border-strong); }
.btn-soft     { background: var(--iuno-primary-soft); color: var(--iuno-primary); }
.btn-soft:hover { background: var(--iuno-primary-tint); color: var(--iuno-primary-strong); }
.btn-accent   { background: var(--iuno-accent); color: #fff; }
.btn-accent:hover { background: var(--iuno-accent-strong); color: #fff; }
.btn-dark     { background: var(--iuno-navy); color: #fff; }
.btn-dark:hover { background: var(--iuno-navy-soft); color:#fff; }
.btn-danger   { background: var(--iuno-danger); color: #fff; }
.btn-danger:hover { background: #a3001d; color:#fff; }
.btn-link     { background: transparent; color: var(--iuno-primary); padding: 0 8px; height: auto; line-height: 1.4; box-shadow:none; }
.btn-link:hover { color: var(--iuno-primary-strong); text-decoration: underline; }
.btn-sm { height: 28px; line-height: 28px; padding: 0 12px; font-size:13px; border-radius: var(--iuno-radius-sm); }
.btn-lg { height: 48px; line-height: 48px; padding: 0 22px; font-size:16px; border-radius: var(--iuno-radius-lg); }
.btn-block, .btn.full { width:100%; }

.icon-btn {
    width:40px; height:40px; border-radius: 10px;
    display:inline-grid; place-items:center;
    border:1px solid var(--iuno-border-strong); background:#fff; color:var(--iuno-navy); cursor:pointer;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.icon-btn:hover { background: var(--iuno-bg-alt); border-color: var(--iuno-mutedier); }
.icon-btn:active { transform: scale(.96); }

/* ═══════════════════════════════════════════════════════════
   FORMS
   ═══════════════════════════════════════════════════════════ */
.input, .select, .textarea {
    width:100%; padding:12px 14px; border-radius: 12px;
    background: var(--iuno-surface); color: var(--iuno-text);
    border:1px solid var(--iuno-border-strong); font: inherit; outline: none;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    box-sizing: border-box;
}
.input::placeholder, .textarea::placeholder { color: var(--iuno-mutedier); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--iuno-primary); box-shadow: var(--iuno-ring); }
/* Custom select chevron — siempre con margen a la derecha */
select.select, select.input {
    appearance: none; -webkit-appearance: none; -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
}
select.select::-ms-expand, select.input::-ms-expand { display: none; }
.textarea { min-height: 110px; resize: vertical; line-height:1.55; }
.label { font-size:12.5px; font-weight:600; color:var(--iuno-muted); text-transform:uppercase; letter-spacing:.06em; display:inline-block; margin-bottom:6px; }
.field { display: grid; gap: 6px; }
.field-help { font-size: 12.5px; color: var(--iuno-muted); }
.field-error { font-size: 12.5px; color: var(--iuno-danger); }

.form-grid { display:grid; gap:16px; grid-template-columns: 1fr; }
.form-grid.two   { grid-template-columns: 1fr; }
.form-grid.three { grid-template-columns: 1fr; }
@media (min-width: 720px) {
    .form-grid.two   { grid-template-columns: 1fr 1fr; }
    .form-grid.three { grid-template-columns: repeat(3, 1fr); }
}

.code-grid { display:grid; grid-template-columns: repeat(6, 1fr); gap:10px; margin-top: 18px; }
.code-grid input { text-align:center; font-size: 26px; font-weight:700; padding: 14px 0; }

.checkbox, .radio {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14.5px;
    user-select: none;
}
.checkbox input, .radio input { width: 18px; height: 18px; accent-color: var(--iuno-primary); }

.switch { position:relative; width: 42px; height:24px; display:inline-block; }
.switch input { opacity:0; width:0; height:0; }
.switch .slider {
    position:absolute; inset:0; border-radius:9999px; background:#D9D2C0; transition: background .2s ease;
}
.switch .slider::before {
    content:""; position:absolute; left:3px; top:3px; width:18px; height:18px; border-radius:50%;
    background:#fff; box-shadow:var(--iuno-shadow-sm); transition: transform .2s ease;
}
.switch input:checked + .slider { background: var(--iuno-primary); }
.switch input:checked + .slider::before { transform: translateX(18px); }

/* ═══════════════════════════════════════════════════════════
   CARDS
   ═══════════════════════════════════════════════════════════ */
.card { background: var(--iuno-surface); border:1px solid var(--iuno-border); border-radius: var(--iuno-radius-lg); }
.card-elevated { background: var(--iuno-elevated); box-shadow: var(--iuno-shadow); border-color: transparent; }
.card-padded { padding: 24px; }
.card-padded-lg { padding: 36px; }
.card-flat { background: var(--iuno-bg-alt); border:0; }
.glass {
    background: color-mix(in oklab, var(--iuno-surface) 88%, transparent);
    backdrop-filter: saturate(160%) blur(12px);
    -webkit-backdrop-filter: saturate(160%) blur(12px);
    border: 1px solid var(--iuno-border);
    border-radius: var(--iuno-radius-lg);
}

/* ═══════════════════════════════════════════════════════════
   PROPERTY CARD
   ═══════════════════════════════════════════════════════════ */
/* Property card Inmuebles24 real: 290×325, image 172px alto, radio 12px */
.section-inner {
    /* Cuando hay pocas cards, limita ancho del bloque (head + grid) y centra todo junto */
    max-width: 100%;
    margin: 0 auto;
}
@media (min-width: 720px) and (max-width: 1099px) {
    .section-inner { max-width: 760px; }
}
.prop-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 360px));
    justify-content: start;
}
@media (min-width: 1100px) {
    .prop-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); justify-content: stretch; }
}
.prop-card { background: var(--iuno-surface); border:1px solid var(--iuno-border); border-radius: var(--iuno-radius-lg);
             overflow:hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
             position:relative; color: var(--iuno-text); display:block;
             box-shadow: var(--iuno-shadow); }
.prop-card:hover { transform: translateY(-3px); box-shadow: var(--iuno-shadow-md); border-color: var(--iuno-border-strong); color: var(--iuno-text); }
.prop-media { position:relative; height: 172px; background: var(--iuno-bg-alt); overflow:hidden; }
.prop-media img { width:100%; height:100%; object-fit:cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.prop-card:hover .prop-media img { transform: scale(1.05); }
.prop-tag { position:absolute; top:12px; left:12px; background: var(--iuno-primary); color:#fff;
            padding:4px 10px; border-radius: 4px; font-size:11px; font-weight:700; letter-spacing:.04em;
            text-transform: uppercase; }
.prop-fav { position:absolute; top:10px; right:10px; width:36px; height:36px; border-radius: 9999px;
            display:grid; place-items:center; background: #fff; border:none; cursor:pointer;
            color: var(--iuno-text); transition: transform .15s ease, background .2s ease, color .2s ease;
            box-shadow: 0 2px 6px rgba(0,0,0,.12); }
.prop-fav:hover { transform: scale(1.08); }
.prop-fav.active { background: var(--iuno-primary); color:#fff; }
.prop-fav.active::before { content: ""; position: absolute; inset: -6px; border-radius: 50%;
    border: 2px solid var(--iuno-primary); animation: ping 1.2s ease-out 1; }
@keyframes ping { 0% { transform: scale(.6); opacity:.9; } 100% { transform: scale(1.4); opacity: 0; } }
.prop-body { padding:14px 16px 16px; }
.prop-price { font-family: var(--iuno-font-display); font-size:20px; font-weight:700; color: var(--iuno-text); letter-spacing:-.01em; }
.prop-price del { color: var(--iuno-mutedier); font-size:13px; font-weight:500; margin-right:6px; }
.prop-title { font-size:14px; font-weight:600; margin: 6px 0 4px; color: var(--iuno-text); line-height:1.35;
              display:-webkit-box; -webkit-line-clamp:1; -webkit-box-orient:vertical; overflow:hidden; }
.prop-loc { color: var(--iuno-muted); font-size:13px; }
.prop-meta { display:flex; gap:14px; margin-top:12px; padding-top:12px; border-top:1px solid var(--iuno-border);
             color: var(--iuno-muted); font-size:13px; }
.prop-meta b { color: var(--iuno-text); font-weight:700; margin-right:4px; }

/* City card Inmuebles24 real: 294×128, radio 8px */
.city-grid { display:grid; gap:16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.city-card { position:relative; display:block; height:128px; border-radius: var(--iuno-radius);
             overflow:hidden; box-shadow: var(--iuno-shadow); color:#fff;
             transition: transform .25s ease, box-shadow .25s ease; }
.city-card:hover { transform: translateY(-3px); box-shadow: var(--iuno-shadow-md); color:#fff; }
.city-card img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; }
.city-card:hover img { transform: scale(1.05); }
.city-card-name { position:absolute; left:14px; bottom:12px; font-weight:700; font-size:18px;
                  text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.city-card::after { content:""; position:absolute; inset:0;
                    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.55) 100%); }

/* ═══════════════════════════════════════════════════════════
   HERO base — definitions consolidated; v2 below overrides bg/layout
   ═══════════════════════════════════════════════════════════ */
.hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
}
.hero h1 .accent { color: var(--iuno-primary); font-style: normal; }
.hero .badge {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    backdrop-filter: blur(6px);
}

/* Tabs Comprar / Rentar arriba del buscador */
.hero-tabs {
    display: inline-flex;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 12px 12px 0 0;
    padding: 4px;
    backdrop-filter: blur(6px);
    margin-top: 36px;
    margin-bottom: -1px;
    position: relative;
    z-index: 2;
}
.hero-tabs button {
    background: transparent;
    border: 0;
    color: rgba(255,255,255,.85);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 8px 8px 0 0;
    transition: background .2s ease, color .2s ease;
}
.hero-tabs button.active {
    background: #fff;
    color: var(--iuno-navy);
}

/* Hero search styles defined further below (v2 block) */

/* Chips de tipo de operación rápidas debajo */
.hero-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 9999px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    transition: background .2s ease, transform .15s ease;
}
.hero-chip:hover { background: rgba(255,255,255,.20); transform: translateY(-1px); color: #fff; }

@media (max-width: 880px) {
    .hero { padding: 56px 0 80px; }
    .hero-tabs { margin-top: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   PROPERTY DETAILS
   ═══════════════════════════════════════════════════════════ */
.detail-back { display:inline-flex; align-items:center; gap:6px; color: var(--iuno-muted); font-size:14px; margin: 22px 0 14px; }
.detail-back:hover { color: var(--iuno-text); }

/* 5-grid Airbnb-style */
.pg-grid-wrap { position: relative; }
.pg-grid {
    display: grid; gap: 6px; grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 300px 300px;
    border-radius: var(--iuno-radius-lg); overflow: hidden;
}
.pg-grid > a { position: relative; overflow: hidden; cursor: zoom-in; background: var(--iuno-bg-alt); display:block; }
.pg-grid > a:first-child { grid-row: 1 / 3; grid-column: 1; }
.pg-grid > a img { width:100%; height:100%; object-fit:cover; object-position:center; display:block; transition: transform .55s ease; }
.pg-grid > a:hover img { transform: scale(1.05); }
/* view-all-photos button — absolutely positioned over the grid, bottom-right */
.pg-all-photos {
    position: absolute; bottom: 16px; right: 16px; z-index: 4;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 10px;
    background: #fff; color: #111;
    border: 1.5px solid rgba(0,0,0,.1);
    box-shadow: 0 2px 16px rgba(0,0,0,.22);
    font-size: 13.5px; font-weight: 700; letter-spacing: .01em;
    cursor: pointer; transition: box-shadow .18s, transform .15s;
    white-space: nowrap;
}
.pg-all-photos:hover { box-shadow: 0 6px 24px rgba(0,0,0,.3); transform: translateY(-2px); }
.pg-all-photos i { font-size: 15px; opacity: .85; }
/* grid variants for fewer than 5 photos */
.pg-grid[data-count="1"] { grid-template-columns: 1fr; grid-template-rows: 520px; }
.pg-grid[data-count="1"] > a:first-child { grid-row: 1; grid-column: 1; }
.pg-grid[data-count="2"] { grid-template-columns: 3fr 2fr; grid-template-rows: 520px; }
.pg-grid[data-count="2"] > a:first-child { grid-row: 1; grid-column: 1; }
.pg-grid[data-count="3"] { grid-template-columns: 2fr 1fr; grid-template-rows: 300px 300px; }
.pg-grid[data-count="3"] > a:first-child { grid-row: 1 / 3; grid-column: 1; }
.pg-grid[data-count="4"] { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; }
@media (max-width: 820px) {
    .pg-grid { grid-template-columns: 1fr; grid-template-rows: 340px; }
    .pg-grid > a:not(:first-child) { display:none; }
    .pg-all-photos { bottom: 12px; right: 12px; padding: 9px 16px; font-size: 13px; }
}

.detail-layout { display:grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 36px; }
.detail-meta-row { display:inline-flex; align-items:center; gap:8px; color: var(--iuno-muted); font-size:14px; }
.detail-section { margin: 48px 0 12px; }
.detail-aside { position: sticky; top: calc(var(--iuno-nav-h) + 18px); }
.detail-actions-row { display:flex; gap:6px; justify-content:center; margin-top: 18px; }
@media (max-width: 980px) {
    .detail-layout { grid-template-columns: 1fr; gap: 28px; }
    .detail-aside { position: static; }
}

/* ─── Stats chips ─── */
.stats-row { display:grid; grid-template-columns: repeat(auto-fit,minmax(120px,1fr)); gap:14px; margin: 24px 0; }
.stat-chip { padding: 18px; background: var(--iuno-surface); border:1px solid var(--iuno-border); border-radius: var(--iuno-radius); }
.stat-chip .v { font-family: var(--iuno-font-display); font-size:26px; font-weight:600; }
.stat-chip .k { color: var(--iuno-muted); font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; margin-top: 2px; }

/* ─── Video / iframe shell ─── */
.video-shell { position: relative; border-radius: var(--iuno-radius-lg); overflow: hidden; background:#000; box-shadow: var(--iuno-shadow); margin-bottom: 14px; }
.video-shell video { width:100%; display:block; max-height: 70vh; }
.video-shell .v-badge { position:absolute; top:12px; left:12px; padding: 5px 11px; background: rgba(0,0,0,.55); color:#fff;
    border-radius: 9999px; font-size:11.5px; font-weight:600; letter-spacing:.06em; backdrop-filter: blur(6px); z-index:2; }
.iframe-shell { position:relative; border-radius: var(--iuno-radius-lg); overflow:hidden; box-shadow: var(--iuno-shadow); background:#000; }
.iframe-shell iframe { width:100%; height: 60vh; min-height: 420px; border:0; display:block; }

/* ─── Map ─── */
.map-shell { height: 380px; border-radius: var(--iuno-radius-lg); border:1px solid var(--iuno-border); overflow:hidden; }

/* ═══════════════════════════════════════════════════════════
   PRICE / DISCOUNT BADGES
   ═══════════════════════════════════════════════════════════ */
.price-row { display:flex; align-items:center; gap:10px; margin-top: 6px; }
.price-was { color: var(--iuno-mutedier); font-size:13px; text-decoration: line-through; }
.discount {
    display:inline-flex; align-items:center; gap:4px;
    background: var(--iuno-danger-soft); color: #B91C1C;
    padding: 4px 10px; border-radius: 9999px; font-size:12.5px; font-weight:600;
}

/* ═══════════════════════════════════════════════════════════
   AMENITIES / TAGS
   ═══════════════════════════════════════════════════════════ */
.amenity-list { display:flex; flex-wrap:wrap; gap:8px; }
.amenity { padding: 8px 14px; border-radius:9999px; background: var(--iuno-primary-soft); color: var(--iuno-primary-strong);
    font-size:13.5px; font-weight:500; display:inline-flex; align-items:center; gap:6px; }
.amenity::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: .85em; }

/* ═══════════════════════════════════════════════════════════
   AUTH SCREENS
   ═══════════════════════════════════════════════════════════ */
.auth-shell { min-height: calc(100vh - var(--iuno-nav-h)); display:grid; place-items:center; padding: 40px 20px; }
.auth-card { width:100%; max-width: 460px; padding: 40px; }
.auth-card h1 { font-size: 32px; margin: 0 0 8px; }
.auth-card .lead { color: var(--iuno-muted); margin: 0 0 24px; }

/* ═══════════════════════════════════════════════════════════
   PRICING / PLANS
   ═══════════════════════════════════════════════════════════ */
.plans-grid { display:grid; gap:22px; grid-template-columns: 1fr; margin-top: 32px; }
@media (min-width: 880px) { .plans-grid { grid-template-columns: repeat(3, 1fr); } }
.plan-card { padding: 32px; position: relative; transition: transform .2s ease, box-shadow .2s ease; }
.plan-card:hover { transform: translateY(-4px); box-shadow: var(--iuno-shadow-md); }
.plan-card.featured { background: linear-gradient(180deg, var(--iuno-primary-tint) 0%, var(--iuno-surface) 60%); border-color: var(--iuno-primary); box-shadow: 0 18px 40px color-mix(in oklab, var(--iuno-primary) 18%, transparent); }
.plan-card.featured::before { content: "Recomendado"; position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--iuno-primary); color: #fff; padding: 5px 14px; border-radius: 9999px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.plan-name { font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: var(--iuno-muted); font-weight: 700; }
.plan-price { font-family: var(--iuno-font-display); font-size: 44px; font-weight: 600; margin: 8px 0; }
.plan-price small { font-size: 14px; color: var(--iuno-muted); font-family: var(--iuno-font-ui); margin-left: 4px; }
.plan-features { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; color: var(--iuno-text-soft); }
.plan-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.plan-features li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--iuno-primary); flex-shrink: 0; margin-top: 3px; font-size: .85em; }

/* ═══════════════════════════════════════════════════════════
   STEPPER (publish wizard)
   ═══════════════════════════════════════════════════════════ */
.stepper { display:flex; align-items:center; gap: 8px; margin: 0 0 28px; flex-wrap: wrap; }
.step { display:flex; align-items:center; gap:10px; padding: 8px 14px; border-radius: 9999px; background: var(--iuno-bg-alt); color: var(--iuno-muted); font-size:13.5px; font-weight: 600; }
.step .num { width:24px; height:24px; border-radius:50%; background:#fff; color: var(--iuno-muted); display:grid; place-items:center; font-weight:700; font-size:12.5px; }
.step.active { background: var(--iuno-primary); color: #fff; }
.step.active .num { background: rgba(255,255,255,.25); color: #fff; }
.step.done { background: var(--iuno-primary-soft); color: var(--iuno-primary-strong); }
.step.done .num { background: var(--iuno-primary); color: #fff; }
.stepper .arrow { color: var(--iuno-mutedier); }

/* ═══════════════════════════════════════════════════════════
   AGENCY / DASHBOARD
   ═══════════════════════════════════════════════════════════ */
.dash-stats { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap:14px; margin: 18px 0 32px; }
.dash-stat { padding: 20px 22px; background: var(--iuno-surface); border:1px solid var(--iuno-border); border-radius: var(--iuno-radius); }
.dash-stat .v { font-family: var(--iuno-font-display); font-size: 30px; font-weight: 700; line-height: 1; }
.dash-stat .k { color: var(--iuno-muted); font-size:12.5px; text-transform:uppercase; letter-spacing:.06em; margin-top: 6px; }

.agency-hero {
    position: relative; padding: 64px 0; border-radius: var(--iuno-radius-xl);
    background: linear-gradient(135deg, var(--iuno-primary-strong) 0%, var(--iuno-primary) 100%);
    color: #fff; overflow: hidden; margin-top: 24px;
}
.agency-hero::before {
    content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.18), transparent 50%);
}
.agency-hero .agency-inner { position: relative; display:flex; gap: 28px; align-items: center; padding: 0 36px; flex-wrap: wrap; }
.agency-logo {
    width: 130px; height: 130px; border-radius: 22px; object-fit: cover;
    border: 4px solid rgba(255,255,255,.35); box-shadow: 0 12px 28px rgba(0,0,0,.18);
    background: #fff;
}
.agency-info h1 { color: #fff; margin: 0 0 8px; }
.agency-info p { color: rgba(255,255,255,.85); margin: 0 0 14px; max-width: 640px; }
.agency-meta { display:flex; flex-wrap: wrap; gap: 18px; color: rgba(255,255,255,.85); font-size: 14px; }
.agency-meta span { display:inline-flex; align-items:center; gap:6px; }
.agency-cta { display:flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.agency-cta .btn { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.32); }
.agency-cta .btn:hover { background: rgba(255,255,255,.28); }
.agency-cta .btn-whatsapp { background: #25D366; border-color: transparent; }
.agency-cta .btn-whatsapp:hover { background: #1FB957; color:#fff; }

/* ═══════════════════════════════════════════════════════════
   CHAT
   ═══════════════════════════════════════════════════════════ */
.chat-shell { display:grid; gap: 14px; margin-top: 18px; }
.chat-thread { display:flex; flex-direction:column; gap: 8px; padding: 18px; max-height: 60vh; overflow-y: auto; background: var(--iuno-bg-alt); border-radius: var(--iuno-radius); border: 1px solid var(--iuno-border); }
.chat-bubble { max-width: 78%; padding: 12px 16px; border-radius: 18px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.chat-bubble.mine { align-self: flex-end; background: var(--iuno-primary); color: #fff; border-bottom-right-radius: 6px; }
.chat-bubble.other { align-self: flex-start; background: var(--iuno-surface); border: 1px solid var(--iuno-border); border-bottom-left-radius: 6px; }
.chat-time { font-size: 11px; opacity: .7; display: block; margin-top: 4px; }
.chat-form { display:flex; gap:10px; }
.chat-form .input { flex: 1; }

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════ */
.pagination { display:flex; gap:8px; justify-content:center; margin: 36px 0; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 8px 14px; border-radius: 10px; font-weight: 600; font-size: 14px;
    background: var(--iuno-surface); border: 1px solid var(--iuno-border); color: var(--iuno-text);
}
.pagination a:hover { background: var(--iuno-primary-soft); color: var(--iuno-primary-strong); }
.pagination .active { background: var(--iuno-primary); color: #fff; border-color: transparent; }

/* ═══════════════════════════════════════════════════════════
   FOOTER  — bg real Inmuebles24: #fafafa con texto #000
   ═══════════════════════════════════════════════════════════ */
.footer { margin-top: 96px; padding: 64px 0 32px; border-top: 1px solid var(--iuno-border); color: var(--iuno-text-soft); font-size:14px;
    background: #fafafa; }
.footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap:36px; }
.footer h4 { font-family: var(--iuno-font-ui); font-size:13px; text-transform:uppercase; letter-spacing:.08em; color: var(--iuno-text); margin:0 0 14px; font-weight:700; }
.footer ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer a { color: var(--iuno-text-soft); }
.footer a:hover { color: var(--iuno-primary); }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top:1px solid var(--iuno-border);
                 display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ═══════════════════════════════════════════════════════════
   TOAST / OVERLAY / MISC
   ═══════════════════════════════════════════════════════════ */
.toast-wrap { position: fixed; bottom: 24px; right: 24px; z-index: 90; display:grid; gap:10px; }
.toast { padding: 14px 18px; border-radius: 14px; background: var(--iuno-text); color: var(--iuno-bg);
         box-shadow: var(--iuno-shadow-lg); font-weight:500; }

.empty {
    text-align:center; padding: 48px 24px; background: var(--iuno-surface);
    border: 1px dashed var(--iuno-border-strong); border-radius: var(--iuno-radius-lg);
}
.empty h3 { margin: 8px 0; }
.empty p { color: var(--iuno-muted); margin: 0 0 16px; }

dialog.modal { padding: 0; border: none; border-radius: var(--iuno-radius-lg); max-width: 480px; width: 90%; box-shadow: var(--iuno-shadow-lg); }
dialog.modal::backdrop { background: rgba(11,16,32,.45); backdrop-filter: blur(3px); }
dialog.modal .modal-body { padding: 28px; }
dialog.modal h3 { margin: 0 0 12px; font-size: 22px; }

.badge { display:inline-flex; gap:6px; align-items:center; padding: 5px 11px; border-radius:9999px;
         font-size:12px; font-weight:600; background: var(--iuno-primary-soft); color: var(--iuno-primary-strong); }
.badge-accent { background: var(--iuno-accent-soft); color: var(--iuno-accent-strong); }
.badge-neutral { background: var(--iuno-bg-alt); color: var(--iuno-muted); }

.h-rule { display:inline-block; padding-bottom: 6px; border-bottom: 3px solid var(--iuno-primary); }

.kbd { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size:12px; padding:2px 6px;
       border-radius:6px; background: var(--iuno-bg-alt); color: var(--iuno-text); border:1px solid var(--iuno-border); }

.divider-h { height:1px; background: var(--iuno-border); margin: 24px 0; border:0; }

/* ═══════════════════════════════════════════════════════════
   FAB / BACK-TO-TOP
   ═══════════════════════════════════════════════════════════ */
.to-top {
    position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px; border-radius: 50%;
    background: var(--iuno-text); color: #fff; display:grid; place-items:center;
    border: none; cursor: pointer; box-shadow: var(--iuno-shadow-lg); opacity: 0; pointer-events: none;
    transition: opacity .3s ease, transform .3s ease; transform: translateY(8px); z-index: 60;
}
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* ═══════════════════════════════════════════════════════════
   ANIMATION HELPERS
   ═══════════════════════════════════════════════════════════ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity:1 !important; transform:none !important; } }

img.fade-img { opacity: 0; transition: opacity .6s ease, filter .6s ease; filter: blur(14px); }
img.fade-img.loaded { opacity: 1; filter: none; }

.skeleton { background: linear-gradient(90deg, var(--iuno-border) 0%, color-mix(in oklab, var(--iuno-border) 60%, transparent) 50%, var(--iuno-border) 100%);
            background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: 12px; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

@media (prefers-reduced-motion: reduce) {
    .hero::before, .hero::after { animation: none !important; }
    .prop-media img, .pg-grid > a img { transition: none !important; }
}

/* ═══════════════════════════════════════════════════════════
   UTILITIES (atomic helpers — replace inline styles)
   ═══════════════════════════════════════════════════════════ */
.muted     { color: var(--iuno-muted); }
.mutedier  { color: var(--iuno-mutedier); }
.text-primary { color: var(--iuno-primary-strong); }
.text-danger  { color: var(--iuno-danger); }
.text-success { color: var(--iuno-success); }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-left    { text-align: left; }
.text-sm  { font-size: 13px; }
.text-md  { font-size: 15.5px; }
.text-lg  { font-size: 18px; }
.text-xl  { font-size: 22px; }
.text-2xl { font-size: 28px; }
.text-3xl { font-size: 36px; }
.font-bold { font-weight: 700; }
.font-semi { font-weight: 600; }
.font-display { font-family: var(--iuno-font-display); font-weight: 600; }
.uppercase { text-transform: uppercase; letter-spacing: .06em; }
.nowrap   { white-space: nowrap; }
.preline  { white-space: pre-line; }
.line-clamp-2 { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.line-clamp-3 { display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }

.flex { display:flex; }
.flex-col { display:flex; flex-direction:column; }
.flex-wrap { flex-wrap:wrap; }
.flex-1 { flex: 1 1 0%; }
.items-center { align-items:center; }
.items-end    { align-items:flex-end; }
.items-start  { align-items:flex-start; }
.justify-between { justify-content:space-between; }
.justify-center  { justify-content:center; }
.justify-end     { justify-content:flex-end; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.gap-5 { gap: 20px; }
.gap-6 { gap: 24px; }

.grid { display:grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto   { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.mt-0 { margin-top:0; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-0 { margin-bottom:0; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }

.p-0  { padding: 0; }
.p-3  { padding: 12px; }
.p-4  { padding: 16px; }
.p-5  { padding: 20px; }
.p-6  { padding: 24px; }
.p-8  { padding: 32px; }

.w-full  { width: 100%; }
.maxw-sm { max-width: 380px; }
.maxw-md { max-width: 520px; }
.maxw-lg { max-width: 720px; }
.maxw-xl { max-width: 980px; }
.mx-auto { margin-left: auto; margin-right: auto; }

.rounded    { border-radius: var(--iuno-radius); }
.rounded-lg { border-radius: var(--iuno-radius-lg); }
.rounded-xl { border-radius: var(--iuno-radius-xl); }
.rounded-full { border-radius: 9999px; }

.bg-surface { background: var(--iuno-surface); }
.bg-alt     { background: var(--iuno-bg-alt); }
.bg-primary-soft { background: var(--iuno-primary-soft); }

.shadow-sm  { box-shadow: var(--iuno-shadow-sm); }
.shadow     { box-shadow: var(--iuno-shadow); }
.shadow-md  { box-shadow: var(--iuno-shadow-md); }
.shadow-lg  { box-shadow: var(--iuno-shadow-lg); }

.hidden { display: none !important; }
@media (max-width: 720px) {
    .hide-sm { display: none !important; }
    .grid-cols-2 { grid-template-columns: 1fr; }
}

/* Centered hero shell (errors, checkout) */
.center-shell { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.error-code { font-size: 96px; font-family: var(--iuno-font-display); font-weight: 700; line-height: 1; color: var(--iuno-primary); }
.emoji-xl { font-size: 64px; }
.emoji-lg { font-size: 56px; }

/* Table */
.table-iuno { width: 100%; border-collapse: collapse; }
.table-iuno thead { background: var(--iuno-bg-alt); }
.table-iuno th { padding: 12px 14px; font-size: 12.5px; color: var(--iuno-muted); text-align: left; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.table-iuno tbody tr { border-top: 1px solid var(--iuno-border); }
.table-iuno td { padding: 12px 14px; vertical-align: middle; }
.table-iuno td a { color: inherit; }
.table-iuno tbody tr:hover { background: var(--iuno-primary-tint); }
.table-thumb { width: 64px; height: 46px; object-fit: cover; border-radius: 10px; }
.card-flush { padding: 0; overflow: hidden; }
.page-head { display:flex; justify-content:space-between; align-items:flex-end; flex-wrap:wrap; gap:14px; margin-bottom: 8px; }
.section-pad-top { padding-top: 32px; }

/* Preference toggles list */
.pref-list { display: grid; }
.pref-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--iuno-border); gap: 16px; }
.pref-row:last-child { border-bottom: 0; }
.pref-row .info b { display: block; }
.pref-row .info span { font-size: 13px; color: var(--iuno-muted); }

/* Saved-search row */
.row-card { padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Compare table */
.compare-shell { overflow-x: auto; margin-top: 24px; }
.compare-tbl { width: 100%; border-collapse: collapse; min-width: 760px; }
.compare-tbl th { padding: 12px; text-align: left; vertical-align: top; }
.compare-tbl td { padding: 12px; border-top: 1px solid var(--iuno-border); font-size: 14.5px; }
.compare-tbl td.label-cell { color: var(--iuno-muted); font-weight: 600; }
.compare-thumb { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 14px; }

/* Map */
.map-canvas { height: 72vh; border-radius: var(--iuno-radius-lg); border: 1px solid var(--iuno-border); overflow: hidden; }
.map-filters { padding: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.input-narrow { max-width: 140px; }

/* Code (verify) */
.input-code { font-size: 28px; text-align: center; letter-spacing: 14px; font-weight: 700; }

/* Search filter bar */
.filter-bar { display:grid; gap:12px; grid-template-columns: repeat(6, 1fr); align-items: end; background: var(--iuno-surface); padding: 18px; border-radius: var(--iuno-radius-lg); border: 1px solid var(--iuno-border); }
@media (max-width: 980px) { .filter-bar { grid-template-columns: repeat(2, 1fr); } }

/* Article (legal) */
.article-prose { line-height: 1.8; color: var(--iuno-text); margin-top: 18px; }
.article-prose h2 { font-size: 22px; margin-top: 28px; }
.article-prose p { margin: 10px 0; }

/* Publish review card */
.review-card { padding: 28px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; }
@media (max-width: 880px) { .review-card { grid-template-columns: 1fr; } }
.thumb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
.thumb-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* Agency colored hero */
.agency-themed { --accent: var(--iuno-primary); }
.agency-themed .agency-hero { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 80%, #000) 0%, var(--accent) 100%); }
.agency-themed .agency-cta .btn-light { background: #fff; color: var(--accent); }
.agency-themed .agency-cta .btn-outline-light { background: transparent; border: 1px solid rgba(255,255,255,.5); color: #fff; }
.agency-themed .agency-cta .btn-outline-light:hover { background: rgba(255,255,255,.15); }

/* Misc */
.text-error-card { padding: 12px 16px; border-radius: 12px; background: var(--iuno-danger-soft); color: #B91C1C; border: 1px solid color-mix(in oklab, var(--iuno-danger) 30%, transparent); margin-top: 14px; }
.text-right { text-align: right; }
.right-actions { margin-top: 22px; text-align: right; }
.between-actions { display:flex; justify-content:space-between; margin-top:22px; flex-wrap:wrap; gap:10px; }
.account-tabs { display:flex; gap:4px; flex-wrap:wrap; align-items:center; margin: 24px 0 28px; }
.account-tabs .nav-link { padding: 9px 14px; border-radius: 9999px; }
.account-tabs .signout { margin-left: auto; }

/* Missing utilities + badge variants */
.mt-5 { margin-top: 20px; }
.mb-8 { margin-bottom: 32px; }
.ml-auto { margin-left: auto; }
.badge-success { background: var(--iuno-primary-soft); color: var(--iuno-primary-strong); }
.badge-primary { background: var(--iuno-primary); color: #fff; }
.badge-danger  { background: var(--iuno-danger-soft); color: var(--iuno-danger); }

/* Map popup styling (used inside Leaflet popups) */
.map-popup { width: 230px; font-family: var(--iuno-font-ui); }
.map-popup .popup-thumb { width: 100%; height: 130px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.map-popup .popup-price { font-weight: 700; font-size: 15px; color: var(--iuno-text); }
.map-popup .popup-title { font-size: 13.5px; color: var(--iuno-text-soft); margin-top: 2px; }
.map-popup .popup-city  { font-size: 12.5px; color: var(--iuno-muted); }
.map-popup .popup-link  { display: inline-block; margin-top: 8px; color: var(--iuno-primary-strong); font-weight: 600; font-size: 13.5px; }

/* Leaflet popup tweak � light only */
.leaflet-popup-content-wrapper { background: var(--iuno-surface); color: var(--iuno-text); border-radius: 14px; box-shadow: var(--iuno-shadow-md); }
.leaflet-popup-tip { background: var(--iuno-surface); }

/* Plans: hide ::before generated label since we use real <span class="badge"> */
.plan-card.featured::before { display: none; }

/* Final stragglers */
.text-base { font-size: 16px; }
.mb-1 { margin-bottom: 4px; }
.gap-7 { gap: 28px; }
.gap-8 { gap: 32px; }

/* Agency hero details */
.agency-hero { color: #fff; padding: 64px 0; }
.agency-hero a { color: #fff; }
.agency-logo { width: 120px; height: 120px; border-radius: 16px; background: #fff; padding: 10px; object-fit: contain; box-shadow: var(--iuno-shadow-md); }
.agency-name { color: #fff; margin: 0 0 8px; font-size: clamp(28px, 4vw, 42px); }
.agency-desc { margin: 0; opacity: .92; max-width: 680px; }
.agency-meta { color: rgba(255,255,255,.92); }
.agency-meta a { color: #fff; text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════
   PORTAL UPGRADES — Inmuebles24-style (and beyond)
   ═══════════════════════════════════════════════════════════ */

/* ── Top utility bar (above main navbar) — NEGRO real Inmuebles24 ── */
.topbar {
    background: #000;
    color: #c8c8c8;
    font-size: 12.5px;
    line-height: 1;
    padding: 7px 0;
}
.topbar-inner { display:flex; justify-content:space-between; align-items:center; gap:14px; flex-wrap:wrap; }
.topbar a { color: #fff; transition: color .15s ease; text-decoration: none; }
.topbar a:hover { color: var(--iuno-primary-light); }
.topbar .topbar-links { display:flex; gap:20px; align-items:center; }
.topbar .topbar-locale { display:inline-flex; align-items:center; gap:6px; color:#c8c8c8; }
.topbar .topbar-locale select { background: transparent; color:#fff; border:0; font:inherit; cursor:pointer; padding: 2px 4px; }
.topbar .topbar-locale select option { color: var(--iuno-text); background:#fff; }
.topbar .topbar-locale svg { color:#fff; opacity:.85; }
@media (max-width: 720px) { .topbar { display:none; } }

/* ── Navbar CTA improvements ── */
.nav-cta { padding: 0 18px; height: 35px; line-height: 35px; font-weight: 700; }
.nav-publish { background: var(--iuno-primary); color: #fff; }
.nav-publish:hover { background: var(--iuno-primary-strong); color:#fff; }

/* ── Quick category strip (under navbar) ── */
.quicknav {
    background: var(--iuno-surface);
    border-bottom: 1px solid var(--iuno-border);
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.quicknav::-webkit-scrollbar { height: 0; }
.quicknav-inner { display:flex; gap:2px; align-items:center; min-height: 44px; }
.quicknav a {
    display:inline-flex; align-items:center; gap:8px;
    padding: 8px 14px; border-radius: 6px;
    color: var(--iuno-text); font-weight: 500; font-size: 13.5px;
    white-space: nowrap; transition: background .15s ease, color .15s ease;
    text-decoration: none;
}
.quicknav a:hover { background: var(--iuno-bg-alt); color: var(--iuno-primary); }
.quicknav a.is-active { color: var(--iuno-primary); font-weight: 600; }
.quicknav .qn-icon { color: var(--iuno-primary); font-size: 13px; line-height: 1; width: 16px; text-align:center; }
.quicknav .sep { width:1px; height: 22px; background: var(--iuno-border); margin: 0 10px; flex-shrink: 0; }

/* ── Property card UPGRADE (icons + better layout) ── */
.prop-card-pro .prop-tag-row {
    position:absolute; top:12px; left:12px; right:12px;
    display:flex; justify-content:space-between; align-items:flex-start; gap:6px;
    pointer-events:none;
}
.prop-card-pro .prop-tag-row > * { pointer-events: auto; }
.prop-card-pro .prop-tag {
    position: static;
    background: var(--iuno-primary); color: #fff;
    padding: 5px 10px; border-radius: 6px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.prop-card-pro .prop-tag.tag-rent { background: var(--iuno-info); }
.prop-card-pro .prop-tag.tag-featured { background: var(--iuno-accent); color: var(--iuno-navy); }
.prop-card-pro .prop-fav { position: static; }
.prop-card-pro .prop-meta {
    display:grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top:14px; padding-top:12px;
    border-top: 1px solid var(--iuno-border);
}
.prop-card-pro .meta-item {
    display:inline-flex; align-items:center; gap:6px;
    color: var(--iuno-text-soft); font-size: 13px; font-weight: 500;
}
.prop-card-pro .meta-item svg { width: 16px; height: 16px; color: var(--iuno-muted); flex-shrink: 0; }
.prop-card-pro .meta-item b { color: var(--iuno-navy); font-weight: 700; }
.prop-card-pro .prop-loc {
    display:inline-flex; align-items:center; gap:5px;
    color: var(--iuno-muted); font-size: 13px;
}
.prop-card-pro .prop-loc svg { width:13px; height:13px; flex-shrink:0; }
.prop-card-pro .prop-price { display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.prop-card-pro .prop-price .currency { font-size: 14px; font-weight: 600; color: var(--iuno-muted); }
.prop-card-pro .prop-price .amount { font-family: var(--iuno-font-display); font-size: 24px; font-weight: 800; color: var(--iuno-navy); letter-spacing:-.02em; }
.prop-card-pro .prop-price .per { font-size: 13px; color: var(--iuno-muted); font-weight: 500; }
.prop-card-pro .prop-photos {
    position:absolute; bottom:10px; right:10px;
    background: rgba(15,23,42,.78); color:#fff; padding: 4px 9px;
    border-radius: 6px; font-size: 12px; font-weight: 600;
    display:inline-flex; align-items:center; gap:5px; backdrop-filter: blur(4px);
}
.prop-card-pro .prop-photos svg { width:13px; height:13px; }

/* ── Search layout: filter sidebar + grid ── */
.search-shell {
    display:grid; grid-template-columns: 280px 1fr; gap: 28px;
    margin-top: 24px;
}
@media (max-width: 980px) { .search-shell { grid-template-columns: 1fr; } }

.filter-sidebar {
    background: var(--iuno-surface); border:1px solid var(--iuno-border);
    border-radius: var(--iuno-radius-lg);
    padding: 22px; align-self: start;
    position: sticky; top: calc(var(--iuno-nav-h) + 16px);
}
@media (max-width: 980px) { .filter-sidebar { position: static; } }
.filter-sidebar h3 {
    font-family: var(--iuno-font-display); font-size: 16px; font-weight: 700;
    color: var(--iuno-navy); margin: 0 0 16px;
    padding-bottom: 12px; border-bottom: 1px solid var(--iuno-border);
}
.filter-group { margin-bottom: 18px; }
.filter-group + .filter-group { padding-top: 18px; border-top: 1px solid var(--iuno-border); }
.filter-group .label { display:block; font-size: 12px; font-weight: 700; color: var(--iuno-muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.filter-group .input, .filter-group .select { padding: 9px 12px; font-size: 14px; }
.filter-row { display:flex; gap:8px; align-items:center; }
.filter-row .input { flex: 1; }
/* ─── Location autocomplete dropdown ─── */
.loc-wrap { position: relative; }
.loc-dropdown {
    position: absolute; top: calc(100% + 4px); left: 0; right: 0; z-index: 200;
    background: var(--iuno-bg); border: 1.5px solid var(--iuno-border);
    border-radius: var(--iuno-radius); box-shadow: 0 8px 32px rgba(0,0,0,.14);
    list-style: none; margin: 0; padding: 6px 0; max-height: 320px; overflow-y: auto;
}
.loc-opt {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px; cursor: pointer; font-size: 14px;
    transition: background .12s;
}
.loc-opt:hover, .loc-opt.is-active { background: var(--iuno-bg-alt); }
.loc-icon { flex-shrink: 0; width: 20px; text-align: center; color: var(--iuno-primary); font-size: 13px; }
.loc-label { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.loc-badge {
    flex-shrink: 0; background: var(--iuno-bg-alt); color: var(--iuno-text-soft);
    font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 9999px;
    border: 1px solid var(--iuno-border);
}

.results-bar {
    display:flex; justify-content:space-between; align-items:center; gap:14px;
    flex-wrap: wrap; padding: 14px 18px;
    background: var(--iuno-surface); border: 1px solid var(--iuno-border);
    border-radius: var(--iuno-radius);
    margin-bottom: 18px;
}
.results-bar .count { font-size: 14px; color: var(--iuno-text-soft); }
.results-bar .count b { color: var(--iuno-navy); font-weight: 800; font-size: 16px; font-family: var(--iuno-font-display); }
.results-bar .actions { display:flex; align-items:center; gap: 10px; }
.results-bar .actions .label { font-size: 12px; color: var(--iuno-muted); margin: 0 6px 0 0; text-transform: uppercase; letter-spacing: .04em; font-weight: 700; }
.results-bar select.select { padding: 8px 30px 8px 12px; font-size: 13.5px; min-width: 160px; }
.view-toggle { display:inline-flex; border:1px solid var(--iuno-border-strong); border-radius: 8px; overflow: hidden; }
.view-toggle button {
    background: transparent; border: 0; padding: 8px 12px;
    color: var(--iuno-muted); cursor: pointer; transition: background .15s ease, color .15s ease;
    display:inline-flex; align-items:center; justify-content:center;
}
.view-toggle button.active { background: var(--iuno-bg-alt); color: var(--iuno-primary); }
.view-toggle button:hover:not(.active) { background: #f6f7f9; color: var(--iuno-navy); }
.view-toggle button + button { border-left: 1px solid var(--iuno-border-strong); }
.view-toggle button.active + button { border-left-color: var(--iuno-border-strong); }

/* List view (alternate to grid) */
.prop-list { display: grid; gap: 16px; }
.prop-list .prop-card {
    display:grid; grid-template-columns: 320px 1fr; gap: 0;
    border-radius: var(--iuno-radius-lg);
}
.prop-list .prop-media { aspect-ratio: auto; height: 100%; min-height: 220px; }
.prop-list .prop-body { padding: 22px 24px; display:flex; flex-direction:column; }
.prop-list .prop-meta { margin-top: auto; }
@media (max-width: 720px) {
    .prop-list .prop-card { grid-template-columns: 1fr; }
    .prop-list .prop-media { min-height: 200px; aspect-ratio: 4/3; }
}

/* ── Detail page: contact & mortgage cards ── */
.contact-card {
    background: var(--iuno-surface); border:1px solid var(--iuno-border);
    border-radius: var(--iuno-radius-lg); padding: 22px;
    box-shadow: var(--iuno-shadow);
}
.contact-card .price-block { padding-bottom: 18px; border-bottom: 1px solid var(--iuno-border); margin-bottom: 18px; }
.contact-card .op-tag { display:inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--iuno-primary); background: var(--iuno-primary-soft); padding: 4px 10px; border-radius: 6px; margin-bottom: 10px; }
.contact-card .price-amount { font-family: var(--iuno-font-display); font-size: 34px; font-weight: 800; color: var(--iuno-navy); letter-spacing: -.025em; }
.contact-card .price-currency { font-size: 14px; color: var(--iuno-muted); font-weight: 600; margin-right: 4px; }
.contact-card .agent-row { display:flex; align-items:center; gap: 12px; margin-bottom: 14px; }
.contact-card .agent-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--iuno-bg-alt); display:grid; place-items:center; font-weight:700; color: var(--iuno-navy); font-size:18px; flex-shrink:0; overflow:hidden; }
.contact-card .agent-avatar img { width:100%; height:100%; object-fit:cover; }
.contact-card .agent-info b { display:block; color: var(--iuno-navy); font-size: 14px; }
.contact-card .agent-info span { color: var(--iuno-muted); font-size: 12.5px; }
.contact-card .btn { width: 100%; }
.contact-card .btn-stack { display:grid; gap: 8px; }
.contact-card .btn-wa { background: #25D366; color:#fff; }
.contact-card .btn-wa:hover { background: #1FB755; color:#fff; }

.mortgage-card { padding: 22px; }
.mortgage-card .mortgage-row { display:grid; gap: 4px; margin-bottom: 12px; }
.mortgage-card input[type=range] { width:100%; accent-color: var(--iuno-primary); }
.mortgage-card .mortgage-out { display:flex; justify-content:space-between; align-items:baseline; padding-top: 12px; border-top: 1px solid var(--iuno-border); margin-top: 8px; }
.mortgage-card .mortgage-out .pay { font-family: var(--iuno-font-display); font-size: 28px; font-weight: 800; color: var(--iuno-primary); }
.mortgage-card .mortgage-row .row-bw { display:flex; justify-content:space-between; font-size:13px; color: var(--iuno-muted); }
.mortgage-card .mortgage-row .row-bw b { color: var(--iuno-navy); font-weight: 700; }

/* ── Detail header (price + share) ── */
.detail-header { display:flex; justify-content:space-between; align-items:flex-start; gap:16px; flex-wrap:wrap; margin: 24px 0 8px; }
.detail-header .titles h1 { font-size: clamp(26px, 3.4vw, 36px); margin: 0 0 6px; }
.detail-header .titles .loc { color: var(--iuno-muted); display:inline-flex; align-items:center; gap:5px; font-size: 14.5px; }
.detail-header .actions { display:inline-flex; gap: 8px; }

/* ── Footer (real Inmuebles24: claro #fafafa) ── */
.footer { background: #fafafa; color: var(--iuno-text-soft); border-top:1px solid var(--iuno-border); }
.footer h4 { color: var(--iuno-text); font-family: var(--iuno-font-ui); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.footer a { color: var(--iuno-text-soft); text-decoration: none; }
.footer a:hover { color: var(--iuno-primary); }
.footer-bottom { border-top: 1px solid var(--iuno-border); }
.footer-bottom .muted { color: var(--iuno-muted); }
.footer .nav-logo { color: var(--iuno-text); }
.footer .nav-logo img { filter: none; }
.footer p.muted, .footer .muted { color: var(--iuno-muted); }
.footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.footer-social { display:flex; gap: 10px; margin-top: 16px; }
.footer-social a {
    width: 36px; height: 36px; border-radius: 8px;
    background: var(--iuno-bg-alt); color: var(--iuno-text) !important;
    display:grid; place-items:center;
    transition: background .15s ease, color .15s ease;
    border: 1px solid var(--iuno-border);
}
.footer-social a:hover { background: var(--iuno-primary); color: #fff !important; border-color: var(--iuno-primary); }
.footer-app-badges { display:flex; gap: 8px; margin-top: 16px; }
.footer-app-badges img { height: 38px; opacity: .9; transition: opacity .2s ease; }
.footer-app-badges img:hover { opacity: 1; }

/* ── Plans page upgrade ── */
.plans-billing-toggle { display:inline-flex; background: var(--iuno-bg-alt); border-radius: 9999px; padding: 4px; margin: 22px auto 0; }
.plans-billing-toggle button { background: transparent; border:0; padding: 8px 22px; border-radius: 9999px; font-weight: 600; font-size: 13.5px; color: var(--iuno-muted); cursor: pointer; transition: background .2s ease, color .2s ease; }
.plans-billing-toggle button.active { background: var(--iuno-primary); color: #fff; box-shadow: 0 2px 6px color-mix(in oklab, var(--iuno-primary) 30%, transparent); }
.plan-save-pill { display:inline-block; background: var(--iuno-success-soft); color: var(--iuno-success); font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 9999px; margin-left: 8px; }

/* ── Trust strip ── */
.trust-strip {
    display:grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
    padding: 32px 0; border-top: 1px solid var(--iuno-border); border-bottom: 1px solid var(--iuno-border);
    margin-top: 64px;
}
@media (max-width: 720px) { .trust-strip { grid-template-columns: 1fr 1fr; } }
.trust-item { text-align:center; }
.trust-item .num { font-family: var(--iuno-font-display); font-size: 32px; font-weight: 800; color: var(--iuno-primary); letter-spacing: -.02em; }
.trust-item .lbl { color: var(--iuno-muted); font-size: 13px; margin-top: 4px; }

/* ── City showcase (Inmuebles24 EXACTO: 294×128, radio 8px, border #ededed) ── */
.city-grid {
    display:grid; gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(294px, 1fr));
    margin-top: 16px;
}
.city-card {
    position:relative; overflow:hidden;
    height: 128px;
    border-radius: 8px;
    border: 1px solid var(--iuno-border);
    cursor:pointer;
    transition: transform .25s ease, box-shadow .25s ease, border-color .2s ease;
    background: var(--iuno-bg-alt);
    display:block; color:#fff;
    text-decoration: none;
}
.city-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    border-color: var(--iuno-border-strong);
    color:#fff;
}
.city-card img { width:100%; height:100%; object-fit:cover; transition: transform .6s ease; display:block; }
.city-card:hover img { transform: scale(1.06); }
.city-card::after {
    content:""; position:absolute; inset:0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.65) 100%);
}
.city-card-name {
    position:absolute; left:14px; bottom:12px; font-weight:600; font-size:18px;
    text-shadow: 0 2px 8px rgba(0,0,0,.5); z-index:1;
    line-height: 1.2;
}

/* ── Section heading helper (real Inmuebles24: 22px / 600 / lh 32px / ls -.22px) ── */
.section { padding-block: 56px; }
.section-head {
    display:flex; justify-content:space-between; align-items:flex-end;
    flex-wrap:wrap; gap: 16px; margin-bottom: 24px;
}
.section-head h2 {
    margin: 0;
    font-family: var(--iuno-font-display);
    font-weight: 600;
    font-size: 22px;
    line-height: 32px;
    letter-spacing: -.22px;
    color: var(--iuno-text);
}
.section-head a { font-weight: 500; color: var(--iuno-primary); display:inline-flex; align-items:center; gap: 6px; font-size: 14px; text-decoration: none; }
.section-head a:hover { color: var(--iuno-primary-strong); text-decoration: underline; }
.section-head .eyebrow,
.eyebrow { display:block; font-size: 12px; font-weight: 700; color: var(--iuno-primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }

/* ── How it works (numbered cards) ── */
.steps-grid { display:grid; gap:20px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .steps-grid { grid-template-columns: repeat(3, 1fr); } }
.step-card { padding: 28px; background: var(--iuno-surface); border:1px solid var(--iuno-border); border-radius: var(--iuno-radius-lg); position: relative; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--iuno-shadow-md); border-color: var(--iuno-border-strong); }
.step-card .step-num {
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--iuno-primary-soft); color: var(--iuno-primary-strong);
    display:grid; place-items:center;
    font-family: var(--iuno-font-display); font-weight: 800; font-size: 18px;
    margin-bottom: 16px;
}
.step-card h3 { font-family: var(--iuno-font-display); font-weight: 700; font-size: 19px; color: var(--iuno-navy); margin-bottom: 8px; }
.step-card p { color: var(--iuno-text-soft); font-size: 14.5px; margin: 0; }

/* ── Misc tweaks ── */
.empty { padding: 48px 24px; text-align:center; color: var(--iuno-muted); border:1px dashed var(--iuno-border-strong); border-radius: var(--iuno-radius-lg); background: var(--iuno-surface); }

/* ═══════════════════════════════════════════════════════════
   HERO v2 — Inmuebles24 real (verificado contra su CSS prod)
   ═══════════════════════════════════════════════════════════ */
.hero {
    padding: 80px 0 110px !important;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.22) 35%, rgba(0,0,0,.55) 100%),
        url("https://images.pexels.com/photos/1571460/pexels-photo-1571460.jpeg?auto=compress&cs=tinysrgb&w=2000&fit=crop") center/cover no-repeat;
    text-align: center;
    overflow: visible;
}
.hero .container-iuno { display: flex; flex-direction: column; align-items: center; overflow: visible; }
.hero h1 {
    font-family: var(--iuno-font-display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    margin: 12px auto 12px;
    max-width: 920px;
    text-shadow: 0 2px 24px rgba(0,0,0,.6);
    text-align: center;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -.01em;
}
.hero h1 .accent { color: var(--iuno-primary); }
.hero p.lead {
    margin: 0 auto 28px;
    text-align: center;
    color: #fff;
    text-shadow: 0 1px 12px rgba(0,0,0,.65);
    max-width: 620px;
    font-size: 16px;
    font-weight: 400;
}

/* Wrapper centrado */
.hero-search-wrap { width: 100%; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1000; }

/* Tabs blancas pegadas a la caja (real Inmuebles24) */
.hero-tabs {
    display: inline-flex;
    background: var(--iuno-surface);
    border: 0;
    border-radius: 8px 8px 0 0;
    padding: 0;
    margin: 28px auto 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    box-shadow: 0 -4px 20px rgba(0,0,0,.18);
}
.hero-tabs button {
    background: transparent;
    border: 0;
    color: var(--iuno-muted);
    font-weight: 500;
    font-size: 16px;
    padding: 16px 32px;
    border-radius: 0;
    position: relative;
    cursor: pointer;
    transition: color .2s ease;
    font-family: var(--iuno-font-ui);
    line-height: 1;
}
.hero-tabs button:hover { color: var(--iuno-text); }
.hero-tabs button.active {
    color: var(--iuno-text);
    font-weight: 700;
}
.hero-tabs button.active::after {
    content: "";
    position: absolute;
    left: 50%; bottom: 0;
    width: 64px; height: 3px;
    transform: translateX(-50%);
    background: var(--iuno-primary);
    border-radius: 3px 3px 0 0;
}

/* Buscador: una sola caja blanca grande (real Inmuebles24) */
.hero-search {
    background: var(--iuno-surface);
    border-radius: 8px;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,.5), 0 8px 20px -10px rgba(0,0,0,.35);
    padding: 12px;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 220px 1fr auto;
    gap: 0;
    align-items: stretch;
    box-sizing: border-box;
}
.hero-search .seg {
    border: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    position: relative;
    min-height: 52px;
}
.hero-search .seg.seg-type {
    border-right: 1px solid var(--iuno-border) !important;
    padding: 0 !important;
}
.hero-search .seg.seg-text { padding: 0 18px !important; gap: 12px; }
.hero-search .seg .label { display: none; }
.hero-search .seg input {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    font-family: var(--iuno-font-ui);
    font-size: 15px;
    font-weight: 500;
    color: var(--iuno-text);
    outline: none;
    height: 52px;
    box-shadow: none;
}
.hero-search .seg input::placeholder { color: var(--iuno-muted); font-weight: 400; }
.hero-search .seg-icon {
    color: var(--iuno-muted);
    font-size: 16px;
    flex-shrink: 0;
}
.hero-search .seg-chevron {
    color: var(--iuno-muted);
    font-size: 12px;
    margin-left: auto;
    pointer-events: none;
    flex-shrink: 0;
    transition: transform .2s ease;
}

/* Custom dropdown trigger (replaces native <select>) */
.hero-search .seg.seg-type .seg-trigger {
    width: 100%;
    height: 52px;
    background: transparent;
    border: 0;
    padding: 0 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--iuno-font-ui);
    font-size: 15px;
    font-weight: 500;
    color: var(--iuno-text);
    text-align: left;
    outline: none;
    border-radius: 6px;
    transition: background .15s ease;
}
.hero-search .seg.seg-type .seg-trigger:hover { background: var(--iuno-bg-soft); }
.hero-search .seg.seg-type.is-open .seg-trigger { background: var(--iuno-bg-soft); }
.hero-search .seg.seg-type.is-open .seg-chevron { transform: rotate(180deg); }
.hero-search .seg-trigger-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Custom dropdown menu */
.hero-search .seg.seg-type.is-open { z-index: 1001; }
.hero-search .seg-menu,
.seg-menu-floating {
    position: absolute;
    background: #fff;
    border: 1px solid var(--iuno-border);
    border-radius: 8px;
    box-shadow: 0 12px 32px -8px rgba(0,0,0,.25), 0 4px 12px -4px rgba(0,0,0,.12);
    padding: 6px;
    margin: 0;
    list-style: none;
    z-index: 9999;
    max-height: 320px;
    overflow-y: auto;
    text-align: left;
    width: max-content;
    max-width: 320px;
}
/* Inline (non-teleported) menu still positioned relative to .seg.seg-type */
.hero-search .seg-menu:not(.seg-menu-floating) {
    top: calc(100% + 8px);
    left: 0;
    min-width: 100%;
}
.hero-search .seg-menu li,
.seg-menu-floating li {
    padding: 10px 14px;
    border-radius: 6px;
    font-family: var(--iuno-font-ui);
    font-size: 14px;
    font-weight: 500;
    color: var(--iuno-text);
    cursor: pointer;
    transition: background .12s ease, color .12s ease;
    line-height: 1.3;
    text-align: left;
}
.hero-search .seg-menu li:hover,
.seg-menu-floating li:hover { background: var(--iuno-bg-soft); color: var(--iuno-text); }
.hero-search .seg-menu li.is-selected,
.seg-menu-floating li.is-selected {
    background: var(--iuno-primary-soft);
    color: var(--iuno-primary-strong);
    font-weight: 600;
}

.hero-search-btn {
    height: 52px !important;
    line-height: 1 !important;
    padding: 0 36px !important;
    font-weight: 600 !important;
    font-size: 15px !important;
    border-radius: 6px !important;
    gap: 8px;
}
.hero-search-btn i { font-size: 13px; }
@media (max-width: 720px) {
    /* Hero search wrap respects viewport edges */
    .hero-search-wrap {
        padding: 0 16px;
        box-sizing: border-box;
        max-width: 100%;
        overflow: hidden; /* clip any overscroll */
    }

    /* Tabs: align left, no shadow, scroll if needed */
    .hero-tabs {
        display: flex;
        width: 100%;
        max-width: 100%;
        margin: 24px 0 0;
        padding: 0;
        background: var(--iuno-surface);
        border-radius: 8px 8px 0 0;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        box-shadow: 0 -2px 14px rgba(0,0,0,.12);
        justify-content: flex-start;
    }
    .hero-tabs::-webkit-scrollbar { display: none; }
    .hero-tabs button {
        padding: 12px 14px;
        font-size: 13px;
        flex-shrink: 0;
        flex: 1 1 auto;
        white-space: nowrap;
    }
    .hero-tabs button.active::after { width: 36px; }

    /* Search box: stacked segments, each with own border (Inmuebles24 mobile style) */
    .hero-search {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        gap: 8px;
        padding: 12px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        box-shadow: 0 12px 32px -10px rgba(0,0,0,.4);
        border-radius: 0 0 8px 8px;
    }
    .hero-search .seg {
        border: 1px solid var(--iuno-border) !important;
        border-radius: 6px !important;
        min-height: 48px;
        padding: 0 14px !important;
        width: 100%;
        box-sizing: border-box;
    }
    .hero-search .seg.seg-type {
        border-right: 1px solid var(--iuno-border) !important;
        border-bottom: 1px solid var(--iuno-border) !important;
    }
    .hero-search .seg.seg-type .seg-trigger {
        padding: 0;
        width: 100%;
        height: 46px;
        font-size: 15px;
    }
    .hero-search .seg.seg-text { gap: 10px; }
    .hero-search .seg input { font-size: 14px; height: 46px; }
    .hero-search .seg-icon { font-size: 15px; }

    /* Submit button: full width, label only */
    .hero-search-btn {
        width: 100%;
        margin-top: 4px;
        height: 50px;
        font-size: 16px;
    }
    .hero-search-btn i { display: none; }

    /* Floating dropdown menu must stay inside viewport */
    .seg-menu-floating {
        max-width: calc(100vw - 32px) !important;
    }

    /* Hero typography & spacing */
    .hero { padding: 56px 0 80px !important; }
    .hero h1 { font-size: clamp(26px, 7.5vw, 36px); line-height: 1.15; }
    .hero p.lead { font-size: 14px; }
}

/* Chips: ocultar en hero (Inmuebles24 no usa) — se mueven a sección de "Búsquedas populares" */
.hero .hero-chips { display: none; }

/* ═══════════════════════════════════════════════════════════
   PROMO STRIP (real Inmuebles24: 2 cards limpias bajo el hero)
   ═══════════════════════════════════════════════════════════ */
.promo-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: -36px auto 56px;
    position: relative;
}
@media (max-width: 760px) { .promo-strip { grid-template-columns: 1fr; margin-top: -20px; } }
.promo-card {
    background: var(--iuno-surface);
    border: 1px solid var(--iuno-border);
    border-radius: var(--iuno-radius-lg);
    padding: 18px 22px;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 16px;
    align-items: center;
    box-shadow: var(--iuno-shadow);
    transition: box-shadow .2s ease, border-color .2s ease;
    text-decoration: none;
    color: inherit;
}
.promo-card:hover { box-shadow: var(--iuno-shadow-md); border-color: var(--iuno-border-strong); }
.promo-card .promo-mini-tag {
    display: block;
    font-size: 10.5px; font-weight: 700; color: var(--iuno-muted);
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 4px;
}
.promo-card .promo-icon {
    width: 56px; height: 56px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: var(--iuno-primary-soft);
    color: var(--iuno-primary);
    flex-shrink: 0;
    font-size: 22px;
}
.promo-card.promo-accent .promo-icon { background: var(--iuno-accent-soft); color: var(--iuno-accent-strong); }
.promo-card .promo-body h3 { margin: 0 0 4px; font-family: var(--iuno-font-display); font-size: 16px; font-weight: 700; color: var(--iuno-text); }
.promo-card .promo-body p { margin: 0 0 8px; color: var(--iuno-text-soft); font-size: 13.5px; }
.promo-card .promo-cta { color: var(--iuno-primary); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; }
.promo-card .promo-cta i { font-size: 11px; transition: transform .15s ease; }
.promo-card:hover .promo-cta i { transform: translateX(3px); }
.promo-card .promo-cta:hover { color: var(--iuno-primary-strong); }

/* ═══════════════════════════════════════════════════════════
   CITY CARDS v2 — imagen arriba + contenido abajo + sub-links
   (estilo Inmuebles24 "Principales ubicaciones")
   ═══════════════════════════════════════════════════════════ */
.cities-section {
    background: var(--iuno-bg-alt);
    padding: 56px 0 64px;
    margin-top: 0;
}
.cities-section .section-head { margin-bottom: 24px; }
.cities-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
@media (max-width: 980px) { .cities-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .cities-row { grid-template-columns: 1fr; } }
.city-card-v2 {
    display: flex; flex-direction: column;
    background: transparent;
    transition: transform .2s ease;
}
.city-card-v2:hover { transform: translateY(-3px); }
.city-card-v2 .city-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 14px;
    background: var(--iuno-surface);
}
.city-card-v2 .city-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.city-card-v2:hover .city-img img { transform: scale(1.04); }
.city-card-v2 .city-name {
    font-family: var(--iuno-font-display);
    font-size: 17px; font-weight: 700;
    color: var(--iuno-navy);
    margin: 0 0 10px;
}
.city-card-v2 .city-links { display: flex; flex-direction: column; gap: 6px; }
.city-card-v2 .city-links a {
    color: var(--iuno-text-soft);
    font-size: 13.5px;
    text-decoration: underline;
    text-decoration-color: var(--iuno-border-strong);
    text-underline-offset: 3px;
    transition: color .15s ease, text-decoration-color .15s ease;
}
.city-card-v2 .city-links a:hover { color: var(--iuno-primary); text-decoration-color: var(--iuno-primary); }

/* Carousel buttons junto al section-head */
.section-head .carousel-nav { display: inline-flex; gap: 6px; }
.section-head .carousel-nav button {
    width: 34px; height: 34px;
    border-radius: 8px;
    border: 1px solid var(--iuno-border-strong);
    background: var(--iuno-surface);
    color: var(--iuno-text-soft);
    cursor: pointer;
    display: grid; place-items: center;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.section-head .carousel-nav button:hover { background: var(--iuno-bg-alt); color: var(--iuno-navy); border-color: var(--iuno-navy); }

/* ═══════════════════════════════════════════════════════════
   POPULAR SEARCHES (chips abajo del hero)
   ═══════════════════════════════════════════════════════════ */
.popular-searches { padding: 28px 0 8px; }
.popular-searches .pop-label { font-size: 12px; font-weight: 700; color: var(--iuno-muted); text-transform: uppercase; letter-spacing: .08em; margin-right: 12px; }
.popular-searches .pop-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.popular-searches a {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 16px;
    background: var(--iuno-surface);
    border: 1px solid var(--iuno-border-strong);
    border-radius: 9999px;
    color: var(--iuno-text);
    font-size: 13px; font-weight: 500;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.popular-searches a i { color: var(--iuno-primary); font-size: 12px; transition: color .15s ease; }
.popular-searches a:hover { background: var(--iuno-primary); color: #fff; border-color: var(--iuno-primary); }
.popular-searches a:hover i { color: #fff; }

/* fix dropdown chevron en hero-search */
.hero-search .seg.seg-type select {
    appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' stroke='%2364748B' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 4px center;
    padding-right: 22px !important;
    cursor: pointer;
}


/* -----------------------------------------------------------
   PAGE HEAD (Agency, Blog, Help)
   ----------------------------------------------------------- */
.page-head { margin: 0 0 32px; text-align: center; }
.page-head h1.display { margin: 0 0 8px; }
.page-head .page-sub { font-size: 16px; color: var(--iuno-text-soft); margin: 0 auto; max-width: 640px; }
.maxw-md { max-width: 640px; margin: 0 auto; }
.maxw-lg { max-width: 860px; margin: 0 auto; }
.empty-state { padding: 60px 20px; text-align: center; color: var(--iuno-text-soft); background: var(--iuno-bg-alt); border-radius: var(--iuno-radius-lg); }
.link-soft { color: var(--iuno-text-soft); font-size: 14px; text-decoration: none; }
.link-soft:hover { color: var(--iuno-primary); }
.link-accent { color: var(--iuno-primary); font-weight: 600; }
.alert { padding: 14px 18px; border-radius: 12px; margin: 16px 0; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-stack { display: grid; gap: 16px; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-5 { margin-top: 20px; }

/* -----------------------------------------------------------
   AGENCY GRID
   ----------------------------------------------------------- */
.agency-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px; }
.agency-card { background: #fff; border: 1px solid var(--iuno-border); border-radius: var(--iuno-radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; display: block; }
.agency-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(15,23,42,.08); border-color: var(--iuno-border-strong); }
.agency-banner { height: 90px; background: linear-gradient(135deg, var(--iuno-primary) 0%, #ff8533 100%); background-size: cover; background-position: center; }
.agency-body { padding: 0 18px 18px; position: relative; margin-top: -28px; }
.agency-logo { width: 56px; height: 56px; border-radius: 14px; background: #fff; border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0,0,0,.12); display: flex; align-items: center; justify-content: center; overflow: hidden; font-size: 22px; font-weight: 800; color: var(--iuno-primary); margin-bottom: 12px; }
.agency-logo img { width: 100%; height: 100%; object-fit: cover; }
.agency-name { margin: 0 0 6px; font-family: var(--iuno-font-display); font-size: 17px; font-weight: 700; color: var(--iuno-text); }
.agency-loc { font-size: 13px; color: var(--iuno-muted); margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.agency-stats { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--iuno-text-soft); border-top: 1px solid var(--iuno-border); padding-top: 12px; }
.agency-stats b { color: var(--iuno-text); font-weight: 700; }
.agency-verified { color: #10b981; font-weight: 600; }

/* -----------------------------------------------------------
   BLOG
   ----------------------------------------------------------- */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.blog-card { background: #fff; border: 1px solid var(--iuno-border); border-radius: var(--iuno-radius-lg); overflow: hidden; text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; display: block; }
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 14px 36px rgba(15,23,42,.10); }
.blog-cover { height: 170px; background: linear-gradient(135deg, var(--iuno-primary), #ff8533); }
.blog-cover-finanzas { background: linear-gradient(135deg, #1e3a8a, #3b82f6); }
.blog-cover-mercado { background: linear-gradient(135deg, #065f46, #10b981); }
.blog-cover-tips { background: linear-gradient(135deg, #7c2d12, #ea580c); }
.blog-cover-inversion { background: linear-gradient(135deg, #581c87, #a855f7); }
.blog-cover-legal { background: linear-gradient(135deg, #374151, #6b7280); }
.blog-body { padding: 18px 22px 22px; }
.blog-cat { display: inline-block; font-size: 12px; font-weight: 700; color: var(--iuno-primary); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.blog-title { margin: 0 0 8px; font-family: var(--iuno-font-display); font-size: 18px; line-height: 1.3; color: var(--iuno-text); }
.blog-excerpt { font-size: 14.5px; color: var(--iuno-text-soft); line-height: 1.55; margin: 0 0 14px; }
.blog-more { color: var(--iuno-primary); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.blog-card:hover .blog-more i { transform: translateX(3px); transition: transform .15s ease; }
.article-prose { font-size: 16px; line-height: 1.75; color: var(--iuno-text); }
.article-prose h2 { font-family: var(--iuno-font-display); font-size: 22px; margin: 32px 0 12px; }
.article-prose ul { padding-left: 24px; }
.article-prose ul li { margin-bottom: 8px; }
.article-prose a { color: var(--iuno-primary); }

/* -----------------------------------------------------------
   HELP / FAQ
   ----------------------------------------------------------- */
.help-search { max-width: 480px; margin: 24px auto 0; }
.help-grid { display: grid; gap: 36px; max-width: 860px; margin: 0 auto; }
.help-section { }
.help-cat { font-family: var(--iuno-font-display); font-size: 20px; margin: 0 0 14px; color: var(--iuno-text); display: flex; align-items: center; gap: 8px; }
.help-cat::before { content: ""; width: 4px; height: 22px; background: var(--iuno-primary); border-radius: 2px; }
.help-faq { background: #fff; border: 1px solid var(--iuno-border); border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.help-faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; color: var(--iuno-text); list-style: none; position: relative; padding-right: 44px; }
.help-faq summary::-webkit-details-marker { display: none; }
.help-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--iuno-primary); transition: transform .2s ease; }
.help-faq[open] summary::after { content: "-"; }
.help-faq[open] summary { border-bottom: 1px solid var(--iuno-border); }
.help-answer { padding: 16px 20px; color: var(--iuno-text-soft); line-height: 1.6; }
.help-cta { margin: 56px auto 0; max-width: 520px; text-align: center; padding: 32px; background: var(--iuno-bg-alt); border-radius: var(--iuno-radius-lg); }
.help-cta h3 { font-family: var(--iuno-font-display); margin: 0 0 6px; font-size: 20px; }
.help-cta p { color: var(--iuno-text-soft); margin: 0 0 16px; }

/* ─── Locale switcher (language + currency) ─────────────────────── */
.topbar .topbar-locale { display:inline-flex; align-items:center; gap:4px; color:#c8c8c8; }
.topbar .topbar-locale select { display:none !important; } /* legacy fallback */
.topbar .locale-divider { opacity:.35; margin:0 4px; user-select:none; }
.topbar .locale-switch { position:relative; display:inline-flex; }
.topbar .locale-btn {
    appearance:none; background:transparent; border:0; color:#fff; cursor:pointer;
    display:inline-flex; align-items:center; gap:6px;
    padding:6px 10px; border-radius:8px; font: inherit; font-size:12.5px;
    transition: background .15s ease, color .15s ease;
}
.topbar .locale-btn:hover { background: rgba(255,255,255,.08); }
.topbar .locale-btn .fa-globe { font-size:11px; opacity:.85; }
.topbar .locale-btn .locale-cur-sym { font-weight:700; color: var(--iuno-primary); min-width:10px; text-align:center; }
.topbar .locale-btn .locale-label { color:#fff; font-weight:500; }
.topbar .locale-caret { font-size:9px; opacity:.7; transition: transform .2s ease; margin-left:2px; }
.topbar .locale-caret.is-open { transform: rotate(180deg); }

.topbar .locale-menu {
    position:absolute; top: calc(100% + 8px); left:0; z-index:120;
    min-width: 220px; max-height: 360px; overflow-y:auto;
    background:#fff; color: var(--iuno-text);
    border:1px solid rgba(14,30,51,.08);
    border-radius:14px; padding:6px;
    box-shadow: 0 12px 32px rgba(11,16,32,.16), 0 2px 6px rgba(11,16,32,.06);
}
.topbar .locale-item-form { display:block; margin:0; padding:0; }
.topbar .locale-item {
    width:100%; appearance:none; background:transparent; border:0; cursor:pointer;
    display:flex; align-items:center; gap:10px;
    padding:9px 12px; border-radius:9px; font: inherit; font-size:13.5px;
    color: var(--iuno-text); text-align:left; line-height:1.2;
    transition: background .12s ease;
}
.topbar .locale-item:hover { background: var(--iuno-primary-soft); color: var(--iuno-primary-strong); }
.topbar .locale-item.is-active { background: var(--iuno-primary-tint); color: var(--iuno-primary-strong); font-weight:600; }
.topbar .locale-item .locale-flag {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:26px; height:18px; padding:0 5px; border-radius:4px;
    background: var(--iuno-bg-alt); color: var(--iuno-text-soft);
    font-size:10.5px; font-weight:700; letter-spacing:.04em; line-height:1;
    font-family: var(--iuno-font-ui);
}
.topbar .locale-item.is-active .locale-flag { background: var(--iuno-primary); color:#fff; }
.topbar .locale-item .locale-cur-sym { font-weight:700; color: var(--iuno-primary); min-width:18px; text-align:center; font-size:14px; }
.topbar .locale-item .locale-name { flex:1; }
.topbar .locale-item .locale-check { color: var(--iuno-primary); font-size:11px; }

@media (max-width: 720px) {
    .topbar { display:none; }
}
