/* ============================================================================
   MR. BUSCOLINK (buscolink.com) — SISTEMA DE DISEÑO OBSIDIANA & ORO (#D4AF37)
   Arquitectura CSS3 Nativa · Scroll Natural con Rueda del Mouse · Buscador Prominente
   ============================================================================ */

:root {
    --brand-primary: #D4AF37;
    --brand-primary-hover: #E5C158;
    --brand-primary-soft: rgba(212, 175, 55, 0.16);
    --brand-primary-border: rgba(212, 175, 55, 0.45);

    --bg-obsidian: #07090E;
    --bg-surface: #0D111A;
    --bg-card: #121824;
    --bg-card-hover: #171F2E;
    --bg-input: #0B101B;

    --text-main: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --border-subtle: rgba(255, 255, 255, 0.12);

    --emerald: #10B981;
    --amber: #F59E0B;
    --sky: #38BDF8;
    --danger: #EF4444;

    --scrollbar-track: #0A0E15;
    --scrollbar-thumb: #334155;

    /* MANDATORY: Apply color-scheme to :root for viewport-wide theming */
    color-scheme: light dark;
    accent-color: var(--brand-primary);
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

@media (prefers-color-scheme: dark) {
    :root {
        --scrollbar-track: #07090E;
        --scrollbar-thumb: #475569;
    }
}

@supports (color: light-dark(white, black)) {
    :root {
        --scrollbar-track: light-dark(#0A0E15, #07090E);
        --scrollbar-thumb: light-dark(#334155, #475569);
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    min-height: 100%;
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    overflow-y: auto; /* Permite scroll fluido con la rueda del mouse en toda la página */
}

body.app-shell {
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================================
   1. BARRA SUPERIOR (TOPBAR STICKY)
   ============================================================================ */
.topbar {
    position: sticky;
    top: 0;
    background: rgba(7, 9, 14, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--brand-primary-border);
    padding: 10px 20px;
    z-index: 40;
}

.topbar-inner {
    max-width: 1760px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
}

.brand-avatar {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    object-fit: cover;
    border: 1.5px solid var(--brand-primary);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.28);
    background: var(--bg-card);
}

.brand-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: 1.12rem;
    letter-spacing: 0.04em;
    color: var(--text-main);
}

.brand-subtitle {
    display: block;
    font-size: 0.74rem;
    color: var(--text-muted);
    font-weight: 500;
}

.badge-gold {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary-border);
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.badge-pwa-mode {
    background: var(--brand-primary);
    color: #07090E;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Botones Globales */
.btn-gold-solid {
    background: linear-gradient(135deg, var(--brand-primary), #B89024);
    color: #07090E;
    border: none;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.15s ease, filter 0.15s ease;
    white-space: nowrap;
}

.btn-gold-solid:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-outline-gold {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.btn-outline-gold:hover {
    background: var(--brand-primary);
    color: #07090E;
}

.btn-ghost-gold {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-ghost-gold:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.btn-admin-pill {
    background: #141B29;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 8px 13px;
    border-radius: 10px;
    font-size: 0.76rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-admin-pill:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ============================================================================
   2. HERO BANNER PANORÁMICO & BANNER MARCA BLANCA PWA
   ============================================================================ */
.hero-showcase {
    background: #05070B;
    border-bottom: 1px solid var(--border-subtle);
    overflow: hidden;
    position: relative;
    transition: max-height 0.3s ease;
    max-height: 250px;
}

.hero-showcase.collapsed {
    max-height: 0;
    border-bottom: none;
}

.hero-banner-wrap {
    max-width: 1360px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    max-height: 240px;
    object-fit: contain;
    display: block;
}

.hero-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(7,9,14,0.92) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px 8px;
}

.hero-pill-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-pill {
    background: rgba(7, 9, 14, 0.88);
    border: 1px solid var(--brand-primary-border);
    color: var(--text-main);
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
}

/* Banner App Marca Blanca */
.pwa-agency-banner {
    background: linear-gradient(90deg, #0A0F1A 0%, #131B2E 100%);
    border-bottom: 1px solid var(--brand-primary-border);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.pwa-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 4px;
}

.badge-pwa-verified {
    color: var(--brand-primary);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.badge-local-guide-elite {
    background: rgba(212, 175, 55, 0.16);
    border: 1px solid var(--brand-primary);
    color: #FDE047;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}

.pwa-agency-info h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
}

.pwa-agency-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.pwa-agency-stats {
    display: flex;
    gap: 12px;
}

.stat-chip {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--brand-primary-border);
    border-radius: 12px;
    padding: 8px 14px;
    text-align: right;
}

.stat-num {
    display: block;
    font-size: 1rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.stat-label {
    font-size: 0.68rem;
    color: var(--text-muted);
}

/* ============================================================================
   3. BUSCADOR PRINCIPAL PROMINENTE PARA VISITANTES (CAJA DESTACADA EN ORO)
   ============================================================================ */
.visitor-search-section {
    padding: 16px 20px;
    background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, var(--bg-obsidian) 70%);
    border-bottom: 1px solid var(--brand-primary-border);
}

.visitor-search-card {
    max-width: 1720px;
    margin: 0 auto;
    background: linear-gradient(180deg, #131A29 0%, #0D121D 100%);
    border: 2px solid var(--brand-primary);
    border-radius: 20px;
    padding: 18px 22px;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.75), 0 0 28px rgba(212, 175, 55, 0.16);
}

.visitor-search-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    flex-wrap: wrap;
}

.visitor-search-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-sparkle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--brand-primary-soft);
    border: 1px solid var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.visitor-search-title h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.visitor-search-title p {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.operation-pills {
    display: flex;
    background: #070A10;
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--brand-primary-border);
    gap: 4px;
    flex-wrap: wrap;
}

.op-pill {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 8px 14px;
    border-radius: 9px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.op-pill:hover {
    color: var(--brand-primary);
}

.op-pill.active {
    background: var(--brand-primary);
    color: #07090E;
    font-weight: 900;
}

.search-main-grid {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.1fr 1.1fr 1fr 1.3fr auto;
    gap: 12px;
    align-items: end;
}

.search-field-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.search-field-box label {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.search-field-box input,
.search-field-box select {
    width: 100%;
    height: 44px;
    background: #070A10;
    color: #FFFFFF;
    border: 1.5px solid rgba(212, 175, 55, 0.38);
    border-radius: 11px;
    padding: 0 13px;
    font-size: 0.86rem;
    font-weight: 600;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.search-field-box input::placeholder {
    color: #94A3B8;
    font-weight: 400;
}

.search-field-box input:focus,
.search-field-box select:focus {
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.22);
}

.price-inputs-pair {
    display: flex;
    align-items: center;
    gap: 6px;
}

.price-inputs-pair span {
    color: var(--brand-primary);
    font-weight: 700;
}

.search-submit-box {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-search-main {
    height: 44px;
    background: linear-gradient(135deg, #E5C158 0%, #D4AF37 50%, #B38A1C 100%);
    color: #07090E;
    border: none;
    padding: 0 22px;
    border-radius: 11px;
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.35);
    white-space: nowrap;
    transition: transform 0.15s ease, filter 0.15s ease;
}

.btn-search-main:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-reset-filters {
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 0 13px;
    border-radius: 11px;
    cursor: pointer;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
}

.btn-reset-filters:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

/* ============================================================================
   4. SPLIT-VIEW WORKSPACE (TARJETAS COMPLETAS + MAPA STICKY)
   ============================================================================ */
.split-workspace {
    max-width: 1760px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 640px 1fr;
    gap: 0;
    align-items: start;
    background: var(--bg-obsidian);
}

.results-pane {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-subtle);
    background: var(--bg-obsidian);
    min-height: 80vh;
}

.results-toolbar {
    position: sticky;
    top: 67px;
    z-index: 20;
    padding: 12px 18px;
    background: rgba(10, 13, 20, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
    flex-wrap: wrap;
}

.results-count-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.rotation-badge {
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

.privacy-legend {
    color: var(--brand-primary);
    font-size: 0.72rem;
    font-weight: 700;
}

.cards-grid {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* Tarjeta de Inmueble de Lujo (flex-shrink: 0 evita que se aplaste) */
.property-card {
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.property-card:hover,
.property-card.active-card {
    border-color: var(--brand-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65), 0 0 0 1.5px var(--brand-primary);
}

.card-media {
    position: relative;
    height: 220px;
    flex-shrink: 0;
    background: #080B11;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.property-card:hover .card-media img {
    transform: scale(1.04);
}

.card-badges-top {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 6px;
    pointer-events: none;
}

.badge-op {
    padding: 5px 11px;
    border-radius: 8px;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.badge-op-venta {
    background: var(--brand-primary);
    color: #07090E;
}

.badge-op-alquiler {
    background: #38BDF8;
    color: #07090E;
}

.badge-op-vacacional {
    background: #10B981;
    color: #052E16;
}

.badge-privacy-shield {
    background: rgba(7, 9, 14, 0.88);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary-border);
    padding: 4px 9px;
    border-radius: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.card-price-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 16px 12px;
    background: linear-gradient(180deg, transparent 0%, rgba(7,9,14,0.95) 100%);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.card-price {
    font-family: 'Cinzel', serif;
    font-size: 1.32rem;
    font-weight: 900;
    color: var(--brand-primary);
}

.card-ref {
    font-size: 0.72rem;
    color: #E2E8F0;
    font-weight: 700;
}

.card-content {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.35;
}

.card-location-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    flex-wrap: wrap;
}

.card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px solid var(--border-subtle);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Chips de POIs Cercanos Cacheados en MySQL */
.card-pois-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.poi-chip {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #F1F5F9;
    padding: 4px 9px;
    border-radius: 7px;
    font-size: 0.71rem;
    font-weight: 600;
}

.card-footer-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

.agency-tag {
    font-size: 0.74rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.card-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-card-action {
    padding: 8px 12px;
    border-radius: 9px;
    font-size: 0.75rem;
    font-weight: 800;
    text-decoration: none;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.btn-whatsapp-direct {
    background: #10B981;
    color: #042F2E;
}

.btn-whatsapp-direct:hover {
    background: #34D399;
}

.btn-lead-referido {
    background: var(--brand-primary);
    color: #07090E;
}

.btn-lead-referido:hover {
    background: var(--brand-primary-hover);
}

.btn-gmaps-link {
    background: rgba(56, 189, 248, 0.16);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.4);
}

.btn-gmaps-link:hover {
    background: #38BDF8;
    color: #07090E;
}

.btn-airbnb-link {
    background: rgba(244, 63, 94, 0.16);
    color: #FDA4AF;
    border: 1px solid rgba(244, 63, 94, 0.4);
}

.btn-airbnb-link:hover {
    background: #F43F5E;
    color: #FFFFFF;
}

/* ============================================================================
   5. PANEL DEL MAPA STICKY (GOOGLE MAPS + CÍRCULOS DE PRIVACIDAD + STREET VIEW)
   ============================================================================ */
.map-pane {
    position: sticky;
    top: 67px;
    height: calc(100dvh - 67px);
    background: #080C14;
}

.map-sticky-box {
    position: relative;
    width: 100%;
    height: 100%;
}

.google-map-canvas {
    width: 100%;
    height: 100%;
}

/* Limpieza de barras de scroll innecesarias dentro del InfoWindow de Google Maps */
.gm-style .gm-style-iw-c {
    padding: 10px !important;
    border-radius: 14px !important;
}
.gm-style .gm-style-iw-d {
    overflow: hidden !important;
}

.map-floating-legend {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 60px;
    max-width: 600px;
    background: rgba(7, 9, 14, 0.92);
    border: 1px solid var(--brand-primary-border);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 0.74rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
    pointer-events: none;
    z-index: 10;
}

.legend-dot-circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.35);
    border: 2px solid var(--brand-primary);
    flex-shrink: 0;
}

/* ============================================================================
   6. MODALES NATIVOS (<dialog closedby="any">) — MODERN WEB GUIDANCE
   ============================================================================ */
dialog {
    margin: auto;
    border: none;
    background: transparent;
    color: var(--text-main);
    max-width: 94vw;
    max-height: 90dvh;
    padding: 0;
}

/* MANDATORY (both rules): without them, scrolling over the backdrop or inside the dialog scrolls the page behind it */
dialog:modal {
    overscroll-behavior: contain;
}

dialog::backdrop {
    overflow: hidden;
    overscroll-behavior: contain;
    background: rgba(4, 6, 12, 0.82);
    backdrop-filter: blur(6px);
}

.dialog-card {
    background: var(--bg-surface);
    border: 1px solid var(--brand-primary-border);
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    max-height: 88dvh;
    overflow: hidden;
}

.dialog-sm { width: 460px; }
.dialog-md { width: 620px; }
.dialog-lg { width: 880px; }

.dialog-header {
    padding: 16px 22px;
    background: #090C14;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.dialog-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 4px;
}

.btn-close-dialog {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    width: 34px;
    height: 34px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 700;
}

.btn-close-dialog:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.dialog-body {
    padding: 20px 22px;
    overflow-y: auto;
}

.dialog-lead-text {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: 16px;
}

/* Formulario Captación Lead Referido */
.badge-referido {
    background: rgba(245, 158, 11, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.4);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 800;
}

.lead-property-summary {
    background: var(--bg-card);
    border: 1px solid var(--brand-primary-border);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    background: var(--bg-input);
    color: var(--text-main);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.84rem;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--brand-primary);
}

.lead-legal-note {
    margin-top: 14px;
    padding: 10px 12px;
    background: rgba(212, 175, 55, 0.07);
    border: 1px solid var(--brand-primary-border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.74rem;
    color: var(--text-secondary);
}

.dialog-actions {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-outline-slate {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-subtle);
    padding: 8px 16px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.constancia-box {
    background: #09131C;
    border: 1.5px solid #10B981;
    border-radius: 14px;
    padding: 18px;
    text-align: center;
}

/* Grid de Agencias y PWAs en el Directorio */
.agencias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
    gap: 12px;
}

.agencia-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}

.agencia-card:hover {
    border-color: var(--brand-primary);
}

.agencia-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.agencia-city {
    font-size: 0.65rem;
    color: var(--brand-primary);
    font-weight: 800;
    letter-spacing: 0.05em;
}

.agencia-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 2px;
}

.agencia-color-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #fff;
    flex-shrink: 0;
}

.agencia-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.badge-mod-suscripcion {
    background: rgba(16, 185, 129, 0.14);
    color: #34D399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
}

.badge-mod-propia {
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary-border);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
}

.badge-mod-referido {
    background: rgba(245, 158, 11, 0.14);
    color: #FBBF24;
    border: 1px solid rgba(245, 158, 11, 0.35);
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
}

.badge-gmaps-views {
    background: rgba(56, 189, 248, 0.12);
    color: #38BDF8;
    padding: 2px 7px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
}

.agencia-slogan {
    font-size: 0.74rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.btn-gold-outline-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 8px;
    background: var(--brand-primary-soft);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary-border);
    font-size: 0.72rem;
    font-weight: 800;
    text-decoration: none;
}

.btn-gold-outline-sm:hover {
    background: var(--brand-primary);
    color: #07090E;
}

.pwa-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pwa-step-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 12px;
    font-size: 0.8rem;
}

.pwa-step-item p {
    color: var(--text-muted);
    margin-top: 4px;
}

/* Legacy fallback for WebKit/Blink browsers without scrollbar-color */
@supports not (scrollbar-color: auto) {
    .dialog-body {
        scrollbar-width: auto;
    }
    .dialog-body::-webkit-scrollbar {
        width: 10px;
        height: 10px;
    }
    .dialog-body::-webkit-scrollbar-thumb {
        background: var(--scrollbar-thumb);
        border-radius: 6px;
    }
    .dialog-body::-webkit-scrollbar-track {
        background: var(--scrollbar-track);
    }
}

/* ============================================================================
   7. RESPONSIVIDAD TABLET & MOBILE-FIRST
   ============================================================================ */
.mobile-view-switcher {
    display: none;
}

@media (max-width: 1280px) {
    .search-main-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .search-field-wide {
        grid-column: 1 / -1;
    }
    .split-workspace {
        grid-template-columns: 520px 1fr;
    }
}

@media (max-width: 960px) {
    .hide-sm {
        display: none;
    }

    .search-main-grid {
        grid-template-columns: 1fr;
    }

    .split-workspace {
        grid-template-columns: 1fr;
    }

    .split-workspace[data-mobile-view="list"] .map-pane {
        display: none;
    }

    .split-workspace[data-mobile-view="map"] .results-pane {
        display: none;
    }

    .split-workspace[data-mobile-view="map"] .map-pane {
        display: block;
        position: relative;
        top: 0;
        height: 75dvh;
    }

    .mobile-view-switcher {
        display: flex;
        position: fixed;
        bottom: 14px;
        left: 50%;
        transform: translateX(-50%);
        background: rgba(7, 9, 14, 0.95);
        border: 1.5px solid var(--brand-primary);
        border-radius: 999px;
        padding: 4px;
        gap: 4px;
        z-index: 45;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.75);
    }

    .mob-switch-btn {
        background: transparent;
        color: var(--text-secondary);
        border: none;
        padding: 8px 16px;
        border-radius: 999px;
        font-size: 0.76rem;
        font-weight: 800;
        cursor: pointer;
    }

    .mob-switch-btn.active {
        background: var(--brand-primary);
        color: #07090E;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================================
   8. EXPERIENCIA EN 2 ETAPAS CON MR. BUSCOLINK (PORTADA + BUSCADOR LIMPIO + HELICÓPTERO)
   ============================================================================ */

[hidden] {
    display: none !important;
}

/* --- A. MENÚ SUPERIOR DISCRETO EN EL BUSCADOR DE DESTINO --- */
.dest-navbar {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.btn-nav-discrete {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 7px 12px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-nav-discrete:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    background: rgba(212, 175, 55, 0.08);
}

.btn-sm-compact {
    padding: 7px 12px;
    font-size: 0.76rem;
}

.dest-current-dropdown,
.dest-other-countries-dropdown {
    position: relative;
}

.btn-dest-current {
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--brand-primary-border);
    color: var(--text-main);
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-dest-current:hover {
    border-color: var(--brand-primary);
    background: rgba(212, 175, 55, 0.2);
}

.dest-label-muted {
    color: var(--text-muted);
    font-size: 0.72rem;
}

.btn-dest-current strong {
    color: var(--brand-primary);
    font-weight: 800;
}

.btn-other-countries {
    background: #111827;
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #E0F2FE;
    padding: 7px 13px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.15s ease;
}

.btn-other-countries:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.caret-down {
    font-size: 0.72rem;
    opacity: 0.8;
}

.dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 265px;
    background: #0D131F;
    border: 1.5px solid var(--brand-primary);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.85);
    z-index: 90;
}

.dropdown-panel-countries {
    min-width: 295px;
}

.dropdown-panel-header {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-primary);
    padding: 4px 8px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 6px;
}

.dropdown-cities-list,
.country-cities-submenu {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.country-submenu-group {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 6px;
}

.country-group-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-main);
    padding-bottom: 6px;
    margin-bottom: 4px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.country-count-badge {
    font-size: 0.66rem;
    color: var(--brand-primary);
    font-weight: 800;
}

.submenu-city-link {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    transition: all 0.12s ease;
}

.submenu-city-link:hover,
.submenu-city-link.active {
    background: rgba(212, 175, 55, 0.16);
    color: var(--brand-primary);
    font-weight: 800;
}

.city-count-pill {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    padding: 1px 7px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
}

/* --- B. ETAPA 1: PORTADA DE PRESENTACIÓN DE MR. BUSCOLINK --- */
.portada-mr-buscolink {
    flex: 1;
    padding: 20px 20px 44px;
    background:
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15) 0%, transparent 58%),
        radial-gradient(circle at 85% 25%, rgba(56, 189, 248, 0.09) 0%, transparent 50%),
        var(--bg-obsidian);
}

.portada-container {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* Marco Escénico de Mr. Buscolink (Cero barras negras a los lados y sin deformar verticalmente) */
.mr-buscolink-stage-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    border: 1.5px solid var(--brand-primary);
    background: #09121E;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75), 0 0 32px rgba(212, 175, 55, 0.14);
}

.stage-ambient-backdrop {
    position: absolute;
    inset: -25px;
    background-image: url('../assets/img/banner-mr-buscolink.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.45) saturate(1.3);
    z-index: 0;
}

.stage-artwork-frame {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 18px 6px;
}

.stage-artwork-img {
    width: 100%;
    max-width: 1040px;
    max-height: 290px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.mr-buscolink-concise-bar {
    position: relative;
    z-index: 1;
    background: rgba(7, 9, 14, 0.94);
    border-top: 1px solid rgba(212, 175, 55, 0.35);
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.concise-greeting {
    display: flex;
    align-items: center;
    gap: 14px;
}

.concise-greeting h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.3;
}

.concise-greeting h1 span {
    color: var(--brand-primary);
}

.concise-greeting p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.concise-destinations-box {
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #101726 0%, #0B101B 100%);
    padding: 18px 22px 22px;
}

.story-avatar-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-primary);
    box-shadow: 0 0 14px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
}

.story-live-dot {
    position: absolute;
    bottom: 3px;
    right: 3px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #10B981;
    border: 2px solid #07090E;
}

.story-eyebrow {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 3px;
}

.story-copy h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.32rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.story-copy p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 920px;
}

.story-copy p strong {
    color: var(--brand-primary);
}

/* Cabina de Despegue (Paso 1) */
.takeoff-console-card {
    background: linear-gradient(180deg, #121928 0%, #0C111C 100%);
    border: 2px solid var(--brand-primary);
    border-radius: 22px;
    padding: 22px 24px;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.72);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.takeoff-step-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.22);
}

.takeoff-step-label {
    display: flex;
    align-items: center;
    gap: 14px;
}

.step-num-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--brand-primary);
    color: #07090E;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.takeoff-step-label h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
}

.takeoff-step-label p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.takeoff-op-selector {
    display: flex;
    background: #070A10;
    padding: 5px;
    border-radius: 14px;
    border: 1px solid var(--brand-primary-border);
    gap: 6px;
    flex-wrap: wrap;
}

.takeoff-op-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 9px 16px;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}

.takeoff-op-btn:hover {
    color: var(--brand-primary);
}

.takeoff-op-btn.active {
    background: var(--brand-primary);
    color: #07090E;
    font-weight: 900;
}

.takeoff-countries-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.countries-bar-label {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.countries-tabs-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.country-tab-btn {
    background: #090E17;
    color: var(--text-secondary);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.15s ease;
}

.country-tab-btn:hover {
    border-color: var(--brand-primary);
    color: var(--text-main);
}

.country-tab-btn.active {
    background: rgba(212, 175, 55, 0.18);
    border-color: var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 800;
}

.country-tab-count {
    background: rgba(255, 255, 255, 0.08);
    padding: 1px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
}

.takeoff-cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
}

.city-destination-card {
    background: #111827;
    border: 1.5px solid rgba(212, 175, 55, 0.32);
    border-radius: 16px;
    padding: 16px;
    text-align: left;
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.city-destination-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-primary);
    background: #162033;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65), 0 0 20px rgba(212, 175, 55, 0.22);
}

.city-card-all-country {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.14) 0%, #101726 100%);
    border-style: dashed;
}

.city-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.city-card-icon {
    font-size: 1.55rem;
}

.city-card-flight-tag {
    background: rgba(212, 175, 55, 0.16);
    color: var(--brand-primary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 800;
}

.city-card-body h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 4px;
}

.city-card-body p {
    font-size: 0.76rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.city-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.7rem;
}

.city-prop-count {
    color: var(--brand-primary);
    font-weight: 800;
}

.city-country-mini {
    color: var(--text-muted);
}

/* --- C. ETAPA 2: EL BUSCADOR LIMPIO CON LA CARA DE MR. BUSCOLINK --- */
.mr-buscolink-copilot-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.copilot-face-frame {
    position: relative;
    flex-shrink: 0;
}

.copilot-face-img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-primary);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
}

.copilot-badge-lupa {
    position: absolute;
    bottom: -2px;
    right: -4px;
    background: #07090E;
    border: 1.5px solid var(--brand-primary);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
}

.copilot-dest-tag {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--brand-primary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.copilot-speech h2 {
    font-family: 'Cinzel', serif;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--text-main);
    margin-top: 2px;
}

.clean-destination-search-grid {
    display: grid;
    grid-template-columns: 2.3fr 1.15fr 1.05fr 1.25fr auto;
    gap: 12px;
    align-items: end;
}

.direct-input-with-mic {
    display: flex;
    align-items: center;
    gap: 6px;
}

.direct-input-with-mic input {
    flex: 1;
}

.btn-voice-mic {
    height: 44px;
    background: rgba(212, 175, 55, 0.14);
    color: var(--brand-primary);
    border: 1.5px solid var(--brand-primary);
    border-radius: 11px;
    padding: 0 13px;
    font-size: 0.78rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    transition: all 0.15s ease;
}

.btn-voice-mic:hover {
    background: var(--brand-primary);
    color: #07090E;
}

.btn-voice-mic.is-listening {
    background: rgba(239, 68, 68, 0.22);
    border-color: #EF4444;
    color: #FCA5A5;
    animation: pulseVoice 1.1s infinite ease-in-out;
}

@keyframes pulseVoice {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.45); }
    50% { box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
}

.dest-active-pill {
    background: rgba(212, 175, 55, 0.14);
    border: 1px solid var(--brand-primary-border);
    color: var(--brand-primary);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

/* --- D. ANIMACIÓN DEL HELICÓPTERO DE MR. BUSCOLINK EN VUELO DIRECTO --- */
.helicopter-flight-overlay {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(16, 28, 48, 0.96) 0%, rgba(7, 9, 14, 0.98) 75%);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.helicopter-sky-stage {
    position: relative;
    max-width: 560px;
    width: 100%;
    text-align: center;
    padding: 36px 24px;
    border-radius: 24px;
    background: rgba(13, 19, 31, 0.9);
    border: 2px solid var(--brand-primary);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(212, 175, 55, 0.25);
    overflow: hidden;
}

.heli-cloud {
    position: absolute;
    font-size: 1.8rem;
    opacity: 0.35;
    animation: cloudDrift 1.4s linear infinite;
}

.heli-cloud-1 { top: 20px; left: 15%; animation-duration: 1.3s; }
.heli-cloud-2 { top: 55px; right: 12%; animation-duration: 1.6s; }
.heli-cloud-3 { top: 90px; left: 65%; animation-duration: 1.1s; }

@keyframes cloudDrift {
    0% { transform: translateX(40px); opacity: 0.15; }
    50% { opacity: 0.45; }
    100% { transform: translateX(-60px); opacity: 0.15; }
}

.heli-craft-wrapper {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
    animation: heliHoverFly 0.95s ease-in-out infinite alternate;
}

.heli-rotor-top {
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--brand-primary) 50%, transparent 100%);
    border-radius: 999px;
    margin-bottom: 6px;
    animation: rotorBlur 0.14s linear infinite;
}

@keyframes rotorBlur {
    0% { transform: scaleX(1); opacity: 0.95; }
    50% { transform: scaleX(0.35); opacity: 0.6; }
    100% { transform: scaleX(1); opacity: 0.95; }
}

.heli-body-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #0F291E 0%, #091523 100%);
    border: 2px solid var(--brand-primary);
    border-radius: 999px;
    padding: 8px 18px 8px 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.heli-pilot-face {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-primary);
}

.heli-icon-vector {
    font-size: 2.1rem;
}

@keyframes heliHoverFly {
    0% { transform: translateY(-4px) rotate(-2deg); }
    100% { transform: translateY(5px) rotate(2deg); }
}

.heli-badge-flight {
    display: inline-block;
    background: rgba(212, 175, 55, 0.16);
    color: var(--brand-primary);
    border: 1px solid var(--brand-primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.heli-flight-caption h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.heli-flight-caption p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

@media (max-width: 1180px) {
    .clean-destination-search-grid {
        grid-template-columns: 1fr 1fr;
    }
    .search-direct-voice-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .mr-buscolink-story-bar {
        flex-direction: column;
        text-align: center;
    }
    .clean-destination-search-grid {
        grid-template-columns: 1fr;
    }
    .dest-navbar {
        width: 100%;
        justify-content: flex-start;
    }
}
