/* ==========================================
   RESET GENERAL
========================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #0b1320;
    color: #ffffff;
    line-height: 1.6;
}

a {
    text-decoration: none;
}

/* ==========================================
   TOP BAR
========================================== */

.top-bar {
    background-color: #05080e;
    font-size: 12px;
    padding: 8px 8%;
    border-bottom: 1px solid #1a273e;
    color: #a0aec0;
}

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

.top-links {
    display: flex;
    gap: 20px;
}

.top-links a {
    color: #d4af37;
    text-decoration: none;
    margin-left: 15px;
    transition: 0.3s;
}

.top-links a:hover {
    color: #ffffff;
}

/* ==========================================
   NAVBAR
========================================== */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 8%;
    background-color: #070c14;
    border-bottom: 1px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    border: none;
    border-radius: 0;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 2px;
    line-height: 1.05;
    white-space: nowrap;
}

.sub-logo {
    display: block;
    color: #d4af37;
    font-size: 9px;
    letter-spacing: 3px;
    margin-top: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 22px;
    align-items: center;
}

.nav-links a {
    color: #e2e8f0;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #d4af37;
}

.nav-active {
    color: #d4af37 !important;
}

.btn-whatsapp-nav {
    background-color: #d4af37;
    color: #0b1320 !important;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700 !important;
    transition: 0.3s;
}

.btn-whatsapp-nav:hover {
    background-color: #b89528;
    transform: translateY(-1px);
}

/* ==========================================
   HERO
========================================== */

.hero {
    min-height: 80vh;
    background:
        linear-gradient(
            rgba(11, 19, 32, 0.78),
            rgba(11, 19, 32, 0.90)
        ),
        url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?w=1600')
        center / cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
}

.hero-overlay {
    width: 100%;
}

.hero-subtitle {
    color: #d4af37;
    font-size: 11px;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
    margin-bottom: 12px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    max-width: 850px;
    margin: 0 auto 15px auto;
    line-height: 1.2;
}

.hero h1 span {
    color: #d4af37;
}

.hero p {
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto 30px auto;
    font-size: 15px;
}

/* ==========================================
   BOTÓN EXPLORAR PROPIEDADES
========================================== */

.btn-explore-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background-color: #e3b337;
    color: #090c10;
    text-decoration: none;
    padding: 16px 42px;
    border-radius: 50px;
    border: 1px solid #c99c2b;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.btn-explore-pill i {
    font-size: 26px;
    color: #090c10;
    -webkit-text-stroke: 1px #090c10;
}

.btn-explore-pill span {
    font-family: 'Playfair Display', serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #090c10;
}

.btn-explore-pill:hover {
    background-color: #d4a52c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 179, 55, 0.3);
}

/* ==========================================
   PLANETA 3D / GLOBO TERRÁQUEO EN ALTA CALIDAD (HD)
========================================== */

.globe-wrapper {
    background-color: #070c14;
    border: 1px solid #d4af37;
    border-radius: 8px;
    overflow: hidden;
    margin: 30px auto;
    max-width: 1100px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    position: relative;
}

.globe-header {
    padding: 15px 20px;
    background-color: #0f1a2e;
    border-bottom: 1px solid #1e2d4a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.globe-header h3 {
    color: #d4af37;
    font-size: 15px;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

#globeContainer {
    width: 100%;
    height: 520px;
    background: #000;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

#globeContainer canvas {
    outline: none;
    display: block;
}

.globe-pin {
    background: rgba(7, 12, 20, 0.92);
    border: 1px solid #d4af37;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

.globe-pin:hover {
    transform: scale(1.12);
    background: #d4af37;
    color: #070c14;
}

.globe-pin-dot {
    width: 8px;
    height: 8px;
    background: #d4af37;
    border-radius: 50%;
}

.globe-pin:hover .globe-pin-dot {
    background: #070c14;
}

.highlight-card {
    border-color: #d4af37 !important;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5) !important;
    transform: translateY(-8px) !important;
}

/* ==========================================
   FILTRO INTERACTIVO
========================================== */

.filter-bar {
    background-color: #070c14;
    border: 1px solid #d4af37;
    padding: 22px;
    border-radius: 8px;
    display: flex;
    gap: 15px;
    max-width: 950px;
    margin: 0 auto 25px auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    flex-wrap: wrap;
}

.filter-item {
    flex: 1;
    min-width: 200px;
    text-align: left;
}

.filter-item label {
    display: block;
    font-size: 11px;
    color: #d4af37;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
}

.filter-item select, .filter-item input {
    width: 100%;
    padding: 10px;
    background-color: #0b1320;
    border: 1px solid #1e2d4a;
    color: #ffffff;
    border-radius: 4px;
    outline: none;
    font-size: 13px;
}

.btn-filter {
    background-color: #d4af37;
    color: #0b1320;
    border: none;
    padding: 0 25px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    align-self: flex-end;
    height: 42px;
    transition: 0.3s;
    flex: 1;
    min-width: 200px;
}

.btn-filter:hover {
    background-color: #b89528;
}

/* ==========================================
   MÉTRICAS
========================================== */

.stats-bar {
    display: flex;
    justify-content: space-around;
    background-color: #070c14;
    padding: 35px 8%;
    border-top: 1px solid #1e2d4a;
    border-bottom: 1px solid #1e2d4a;
    text-align: center;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-item h2 {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    font-size: 30px;
}

.stat-item p {
    color: #a0aec0;
    font-size: 13px;
}

/* ==========================================
   PROPIEDADES GRID
========================================== */

.projects-section {
    padding: 80px 8%;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    color: #d4af37;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    margin-top: 5px;
}

.gold-divider {
    width: 60px;
    height: 2px;
    background-color: #d4af37;
    margin: 15px auto 0 auto;
}

.gold-divider.left {
    margin: 15px 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card, .property-card {
    background-color: #0f1a2e;
    border: 1px solid #1e2d4a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.project-card:hover, .property-card:hover {
    transform: translateY(-6px);
    border-color: #d4af37;
}

.card-media {
    position: relative;
    height: 210px;
}

.card-media img, .property-card-media {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 3px;
    text-transform: uppercase;
}

.status-construccion {
    background-color: #27ae60;
    color: white;
}

.status-lanzamiento {
    background-color: #e67e22;
    color: white;
}

.status-entrega {
    background-color: #2980b9;
    color: white;
}

.card-content, .property-body {
    padding: 20px;
}

.district-tag, .property-type {
    color: #d4af37;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.card-content h3, .property-title {
    font-size: 18px;
    margin: 5px 0;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.address, .property-location {
    color: #a0aec0;
    font-size: 12px;
    margin-bottom: 12px;
}

.specs-grid, .property-specs {
    background-color: #070c14;
    padding: 10px;
    border-radius: 4px;
    font-size: 11px;
    color: #cbd5e1;
    margin-bottom: 15px;
}

.property-description {
    color: #cbd5e1;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.5;
}

.property-price {
    color: #d4af37;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #1e2d4a;
    padding-top: 12px;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 10px;
    color: #a0aec0;
}

.price-amount {
    font-size: 16px;
    font-weight: 700;
    color: #d4af37;
}

.btn-card-action {
    background-color: transparent;
    border: 1px solid #d4af37;
    color: #d4af37;
    padding: 6px 12px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-card-action:hover {
    background-color: #d4af37;
    color: #0b1320;
}

.btn-whatsapp {
    display: block;
    text-align: center;
    background-color: #d4af37;
    color: #0b1320;
    text-decoration: none;
    padding: 10px;
    border-radius: 4px;
    font-weight: 700;
    transition: 0.3s;
}

.btn-whatsapp:hover {
    background-color: #b89528;
}

/* ==========================================
   PROPUESTA DE VALOR
========================================== */

.value-section {
    background-color: #070c14;
    padding: 80px 8%;
    border-top: 1px solid #1e2d4a;
}

.value-container {
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.value-text {
    flex: 1;
    min-width: 300px;
}

.value-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
}

.value-list {
    list-style: none;
    margin-top: 18px;
}

.value-list li {
    margin-bottom: 8px;
    color: #cbd5e1;
    font-size: 14px;
}

.value-image {
    flex: 1;
    min-width: 300px;
}

.value-image img {
    width: 100%;
    border-radius: 8px;
    border: 1px solid #d4af37;
}

/* ==========================================================
   ASISTENTE VIRTUAL (CORREGIDO Y OPTIMIZADO EN ALTURA)
========================================================== */

.assistant-section {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px 20px;
    overflow: hidden;
}

.background-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.13) 0%,
        rgba(212, 175, 55, 0.05) 35%,
        transparent 70%
    );
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.gold-line {
    position: absolute;
    width: 1px;
    height: 70%;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(212, 175, 55, 0.5),
        transparent
    );
    left: 50%;
    top: 15%;
    opacity: 0.25;
}

.assistant-container {
    width: 100%;
    max-width: 1100px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* ==========================================================
   MR. CONTI
========================================================== */

.character-area {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: auto;
}

.character-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(212, 175, 55, 0.20),
        rgba(212, 175, 55, 0.04) 50%,
        transparent 70%
    );
    animation: glowPulse 4s ease-in-out infinite;
}

.mr-conti {
    width: min(400px, 100%);
    max-height: 440px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter:
        drop-shadow(0 15px 20px rgba(0,0,0,0.5))
        drop-shadow(0 0 20px rgba(212,175,55,0.12));
    animation: floating 4s ease-in-out infinite;
}

/* ==========================================================
   CONTENIDO DEL ASISTENTE
========================================================== */

.assistant-content {
    max-width: 600px;
    animation: fadeUp 0.8s ease forwards;
}

.eyebrow {
    color: #d4af37;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.assistant-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.1;
    margin-bottom: 10px;
}

.assistant-content h1 span {
    color: #d4af37;
}

.assistant-description {
    color: #aeb9c9;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* ==========================================================
   CHAT
========================================================== */

.chat-container {
    width: 100%;
    background: rgba(7, 12, 20, 0.94);
    border: 1px solid #263754;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}

/* ==========================================================
   CABECERA DEL CHAT
========================================================== */

.chat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #0f1a2e;
    border-bottom: 1px solid #263754;
}

.chat-header-character {
    width: 36px;
    height: 36px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background: rgba(212, 175, 55, 0.10);
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50%;
    overflow: hidden;
}

.chat-header-character img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.chat-header-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.chat-header-info strong {
    color: #ffffff;
    font-size: 13px;
}

.chat-header-info span {
    color: #8f9db0;
    font-size: 9px;
}

.chat-header-info span i {
    color: #35b96f;
    font-size: 6px;
    margin-right: 3px;
}

/* ==========================================================
   MENSAJES
========================================================== */

.chat-messages {
    height: 250px;
    padding: 14px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    width: 100%;
    gap: 9px;
    animation: messageAppear 0.3s ease forwards;
}

.message-avatar {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    overflow: hidden;
}

.message-avatar img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.message-content {
    max-width: 82%;
}

.message-name {
    color: #d4af37;
    font-size: 9px;
    font-weight: 700;
    margin-bottom: 2px;
}

.message-bubble {
    padding: 8px 12px;
    border-radius: 4px 12px 12px 12px;
    background: #101c30;
    border: 1px solid #263754;
    color: #dce4ef;
    font-size: 12px;
    line-height: 1.45;
}

/* ==========================================================
   MENSAJE DEL CLIENTE
========================================================== */

.client-message {
    justify-content: flex-end;
}

.client-message .message-content {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 82%;
}

.client-message .message-name {
    color: #8997aa;
    text-align: right;
}

.client-message .message-bubble {
    background: #d4af37;
    border: 1px solid #d4af37;
    color: #070c14;
    border-radius: 12px 4px 12px 12px;
    font-weight: 500;
}

/* ==========================================================
   INDICADOR ESCRIBIENDO
========================================================== */

.typing-indicator {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 0 14px 8px 50px;
    color: #718096;
    font-size: 9px;
}

.typing-indicator.active {
    display: flex;
}

.typing-indicator span {
    width: 5px;
    height: 5px;
    background: #d4af37;
    border-radius: 50%;
    animation: typingDots 1.2s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.typing-indicator small {
    margin-left: 4px;
    font-size: 9px;
}

/* ==========================================================
   OPCIONES RÁPIDAS
========================================================== */

.chat-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    border-top: 1px solid #1b2940;
}

.chat-option {
    border: 1px solid #33445f;
    background: #0b1320;
    color: #cbd5e1;
    padding: 5px 9px;
    border-radius: 16px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 9px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.chat-option:hover {
    border-color: #d4af37;
    color: #d4af37;
    transform: translateY(-1px);
}

.chat-option i {
    color: #d4af37;
    margin-right: 4px;
}

/* ==========================================================
   INPUT DEL CHAT
========================================================== */

.chat-input-area {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #050a12;
    border-top: 1px solid #263754;
}

.chat-input-area input {
    flex: 1;
    min-width: 0;
    background: #0b1320;
    border: 1px solid #263754;
    border-radius: 5px;
    color: #ffffff;
    padding: 9px 12px;
    outline: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    transition: border-color 0.25s ease;
}

.chat-input-area input::placeholder {
    color: #68768a;
}

.chat-input-area input:focus {
    border-color: #d4af37;
}

.chat-input-area button {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 5px;
    background: #d4af37;
    color: #070c14;
    cursor: pointer;
    transition: all 0.25s ease;
}

.chat-input-area button:hover {
    background: #e3bd4c;
    transform: translateY(-1px);
}

.chat-input-area button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================
   BOTONES INFERIORES
========================================================== */

.quick-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #d4af37;
    color: #070c14;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s;
}

.primary-btn:hover {
    background: #e3bd4c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    color: #d4af37;
    border: 1px solid #d4af37;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    transition: 0.3s;
}

.secondary-btn:hover {
    background: #d4af37;
    color: #070c14;
}

/* ==========================================================
   FOOTER MINI
========================================================== */

.footer-mini {
    text-align: center;
    color: #59677c;
    font-size: 11px;
    margin-top: 20px;
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* ==========================================================
   ANIMACIONES
========================================================== */

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes glowPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes messageAppear {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typingDots {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-3px);
        opacity: 1;
    }
}

/* ==========================================================
   MR. CONTI - ASISTENTE FLOTANTE
========================================================== */

.mr-conti-widget {
    position: fixed;
    right: 20px;
    bottom: 15px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.mr-conti-bubble {
    display: flex;
    flex-direction: column;
    background: #070c14;
    border: 1px solid #d4af37;
    border-radius: 9px;
    padding: 10px 14px;
    margin-bottom: 6px;
    max-width: 200px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.45);
    position: relative;
}

.mr-conti-bubble-title {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.mr-conti-bubble-text {
    color: #cbd5e1;
    font-size: 9px;
    line-height: 1.4;
}

.mr-conti-link {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
}

.mr-conti-image {
    width: 108px;
    height: auto;
    object-fit: contain;
    filter:
        drop-shadow(0 9px 15px rgba(0,0,0,0.5))
        drop-shadow(0 0 9px rgba(212,175,55,0.15));
    transition: transform 0.3s ease, filter 0.3s ease;
}

.mr-conti-link:hover .mr-conti-image {
    transform: scale(1.06) translateY(-4px);
    filter:
        drop-shadow(0 12px 18px rgba(0,0,0,0.55))
        drop-shadow(0 0 15px rgba(212,175,55,0.35));
}

.mr-conti-label {
    position: absolute;
    bottom: 3px;
    background: #d4af37;
    color: #070c14;
    padding: 4px 8px;
    border-radius: 14px;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mr-conti-link:hover .mr-conti-label {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================
   FOOTER
========================================================== */

footer {
    background-color: #04060a;
    border-top: 1px solid #1e2d4a;
    padding: 50px 8% 20px 8%;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-logo-img {
    height: 48px;
    width: 48px;
}

.footer-col h4 {
    color: #d4af37;
    margin-bottom: 12px;
    font-size: 13px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 6px;
}

.footer-col a {
    color: #a0aec0;
    text-decoration: none;
    font-size: 12px;
}

.footer-col p {
    color: #a0aec0;
    font-size: 12px;
    margin-bottom: 6px;
}

/* ==========================================================
   REDES SOCIALES
========================================================== */

.social-links a {
    transition: color 0.3s, transform 0.3s;
}

.social-links a:hover {
    color: #ffffff !important;
    transform: translateY(-3px);
}

/* ==========================================================
   =====  MEJORAS v2: ACCESIBILIDAD, LEGIBILIDAD Y MÓVIL  =====
   Todo lo de abajo se añadió sin modificar tu diseño original.
========================================================== */

/* ---------- Base robusta ---------- */

img,
video {
    max-width: 100%;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
}

.value-text,
.value-image {
    min-width: min(300px, 100%);
}

.filter-item,
.btn-filter {
    min-width: min(200px, 100%);
}

.footer-container {
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
}

.social-links {
    flex-wrap: wrap;
}

/* ---------- Accesibilidad ---------- */

:focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 3px;
}

[tabindex="-1"]:focus {
    outline: none;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -70px;
    z-index: 5000;
    background: #d4af37;
    color: #0b1320;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 700;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Legibilidad (textos que eran demasiado pequeños) ---------- */

.message-bubble {
    font-size: 13px;
}

.message-name {
    font-size: 10px;
}

.chat-header-info span,
.typing-indicator small {
    font-size: 11px;
}

.chat-option {
    font-size: 11px;
    padding: 6px 11px;
}

.chat-input-area input {
    font-size: 13px;
}

.primary-btn,
.secondary-btn {
    font-size: 13px;
}

.mr-conti-bubble-text {
    font-size: 11px;
}

.mr-conti-label {
    font-size: 10px;
}

.specs-grid,
.property-specs {
    font-size: 12px;
}

.price-label,
.district-tag,
.property-type {
    font-size: 11px;
}

.btn-card-action {
    font-size: 12px;
    padding: 8px 14px;
}

.footer-col a,
.footer-col p {
    font-size: 13px;
}

/* ---------- Botón del menú (hamburguesa) ---------- */

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 6px;
    color: #d4af37;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(212, 175, 55, 0.12);
}

/* ---------- Botón flotante de WhatsApp ---------- */

.wa-float {
    position: fixed;
    left: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wa-float:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

/* ---------- Pantallas grandes con menú algo apretado ---------- */

@media (max-width: 1280px) {
    .navbar {
        padding-left: 5%;
        padding-right: 5%;
    }

    .nav-links {
        gap: 16px;
    }
}

/* ---------- Tablet y móvil: menú desplegable ---------- */

@media (max-width: 1080px) {
    .nav-toggle {
        display: inline-flex;
    }

    .navbar nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #070c14;
        border-bottom: 1px solid #d4af37;
        box-shadow: 0 18px 30px rgba(0, 0, 0, 0.5);
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
    }

    .navbar.nav-open nav {
        visibility: visible;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 6px 5% 20px;
    }

    .nav-links li {
        border-bottom: 1px solid #1a273e;
    }

    .nav-links a {
        display: block;
        padding: 15px 4px;
        font-size: 15px;
    }

    .nav-links li:last-child {
        border-bottom: none;
        margin-top: 14px;
    }

    .nav-links a.btn-whatsapp-nav {
        text-align: center;
        padding: 14px 16px;
    }
}

/* ---------- Tablet ---------- */

@media (max-width: 900px) {
    .top-container {
        flex-direction: column;
        gap: 4px;
        text-align: center;
    }

    .top-links {
        justify-content: center;
        gap: 14px;
    }

    .top-links a {
        margin-left: 0;
    }

    .projects-section,
    .value-section {
        padding: 56px 6%;
    }

    .section-header h2 {
        font-size: 26px;
    }

    .stats-bar {
        padding: 28px 6%;
    }

    .value-container {
        gap: 28px;
    }

    /* Asistente virtual */
    .assistant-section {
        min-height: auto;
        align-items: flex-start;
        padding: 24px 5% 60px;
    }

    .assistant-container {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .assistant-content {
        max-width: 100%;
    }

    .gold-line {
        display: none;
    }

    .background-glow {
        width: 320px;
        height: 320px;
    }

    .character-glow {
        width: 200px;
        height: 200px;
    }

    .mr-conti {
        width: auto;
        max-height: 170px;
    }

    .chat-messages {
        height: min(360px, 50vh);
    }
}

/* ---------- Móvil ---------- */

@media (max-width: 600px) {
    .top-bar {
        display: none;
    }

    .navbar {
        padding: 10px 5%;
    }

    .navbar nav {
        max-height: calc(100vh - 62px);
        max-height: calc(100dvh - 62px);
    }

    .logo-img {
        height: 38px;
        width: 38px;
    }

    .logo-text {
        font-size: 15px;
        letter-spacing: 1.5px;
    }

    .sub-logo {
        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .hero {
        min-height: 70vh;
        padding: 32px 16px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 14px;
    }

    .projects-section,
    .value-section {
        padding: 44px 5%;
    }

    .projects-grid {
        gap: 22px;
    }

    .card-media,
    .card-media img,
    .property-card-media {
        height: 190px;
    }

    .card-footer {
        gap: 10px;
    }

    .stat-item {
        flex: 1 1 42%;
    }

    .stat-item h2 {
        font-size: 26px;
    }

    .value-text h2 {
        font-size: 24px;
    }

    .btn-explore-pill {
        padding: 12px 26px;
        gap: 10px;
    }

    .btn-explore-pill i,
    .btn-explore-pill span {
        font-size: 20px;
    }

    #globeContainer {
        height: 320px;
    }

    /* Asistente virtual: cómodo para escribir con el pulgar */
    .quick-actions {
        flex-direction: column;
    }

    .primary-btn,
    .secondary-btn {
        width: 100%;
        padding: 13px 16px;
    }

    .chat-option {
        padding: 9px 13px;
        font-size: 12px;
    }

    .chat-input-area input {
        font-size: 16px; /* evita el zoom automático en iPhone */
        padding: 11px 12px;
    }

    .chat-input-area button {
        width: 44px;
        height: 44px;
    }

    .message-content,
    .client-message .message-content {
        max-width: 90%;
    }

    .message-bubble {
        font-size: 14px;
    }

    /* Widgets flotantes más pequeños para no tapar el contenido */
    .mr-conti-widget {
        right: 10px;
        bottom: 10px;
    }

    .mr-conti-bubble,
    .mr-conti-label {
        display: none;
    }

    .mr-conti-image {
        width: 72px;
    }

    .wa-float {
        left: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom, 0px));
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    /* Buscador con mapa */
    body .search-container {
        padding: 18px 4%;
    }

    body .filter-bar {
        padding: 14px;
        gap: 12px;
    }

    .filter-bar select,
    .filter-bar input {
        font-size: 16px;
        min-height: 44px;
    }

    body .results-list {
        padding-right: 0;
    }

    .results-list .project-card {
        flex-direction: column !important;
    }

    .results-list .project-card .property-card-media {
        width: 100% !important;
        height: 170px !important;
    }

    /* Pie de página (deja espacio para los botones flotantes) */
    footer {
        padding: 40px 5% 96px;
    }

    .footer-container {
        gap: 24px;
    }
}

/* ---------- Móviles muy pequeños ---------- */

@media (max-width: 380px) {
    .logo-text {
        font-size: 13px;
        letter-spacing: 1px;
    }

    .hero h1 {
        font-size: 25px;
    }
}

/* ---------- Pantallas táctiles: sin "saltos" al tocar tarjetas ---------- */

@media (hover: none) {
    .project-card:hover,
    .property-card:hover {
        transform: none;
    }
}

/* ---------- Respeta a quien prefiere menos movimiento ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}


/* ==========================================================
   =====  LOTE 4A: CONTACTOS, FORMULARIO Y PÁGINAS LEGALES  =====
========================================================== */

.section-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #ffffff;
    margin: 6px 0 12px;
}

/* ---------- Formulario de contacto ---------- */

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.lead-form.compact {
    gap: 10px;
}

.lead-context {
    font-size: 13px;
    color: #cbd5e1;
}

.lead-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #d4af37;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lead-form.compact .lead-field label {
    font-size: 10px;
}

.lead-field input,
.lead-field select,
.lead-field textarea {
    width: 100%;
    padding: 11px 12px;
    background: #0b1320;
    border: 1px solid #1e2d4a;
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
}

.lead-form.compact .lead-field input {
    padding: 9px 10px;
    font-size: 13px;
}

.lead-field textarea {
    min-height: 90px;
    resize: vertical;
}

.lead-field input:focus,
.lead-field select:focus,
.lead-field textarea:focus {
    border-color: #d4af37;
}

.lead-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    color: #a0aec0;
    line-height: 1.5;
    cursor: pointer;
}

.lead-consent input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #d4af37;
    flex-shrink: 0;
}

.lead-consent a {
    color: #d4af37;
    text-decoration: underline;
}

.lead-submit {
    background: #d4af37;
    color: #0b1320;
    border: none;
    padding: 13px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lead-submit:hover {
    background: #e3bd4c;
}

.lead-submit:disabled {
    opacity: 0.6;
    cursor: wait;
}

.lead-status {
    font-size: 13px;
    min-height: 18px;
    color: #cbd5e1;
}

.lead-status.error {
    color: #fca5a5;
}

.lead-success {
    text-align: center;
    padding: 12px 0;
}

.lead-success i.fa-circle-check {
    font-size: 40px;
    color: #22c55e;
    margin-bottom: 10px;
}

.lead-success h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 6px;
}

.lead-success p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 14px;
}

.lead-wa {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
}

.lead-skip {
    background: transparent;
    border: none;
    color: #8f9db0;
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
    font-family: inherit;
    padding: 8px 0 0;
}

.chat-message .message-content.lead-card {
    max-width: 96%;
    width: 96%;
}

/* ---------- Página de contacto ---------- */

.contact-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    align-items: start;
}

.contact-panel,
.contact-form-panel {
    background: #0f1a2e;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
    padding: 28px;
}

.contact-panel h2,
.contact-form-panel h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 6px;
}

.contact-panel > p,
.contact-form-panel > p {
    color: #a0aec0;
    font-size: 14px;
    margin-bottom: 20px;
}

.contact-list {
    list-style: none;
    margin-top: 18px;
    padding: 0;
}

.contact-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 18px;
    color: #cbd5e1;
    font-size: 14px;
}

.contact-list i {
    color: #d4af37;
    width: 20px;
    text-align: center;
    margin-top: 4px;
}

.contact-list a:hover {
    color: #d4af37;
}

/* ---------- Páginas legales ---------- */

.legal-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 0 10px;
}

.legal-page h2 {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    font-size: 21px;
    margin: 30px 0 10px;
}

.legal-page p,
.legal-page li {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.75;
}

.legal-page ul {
    padding-left: 22px;
    margin: 8px 0;
}

.legal-page a {
    color: #d4af37;
    text-decoration: underline;
}

.legal-page mark {
    background: #d4af37;
    color: #0b1320;
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 600;
}

.legal-updated {
    color: #8f9db0;
    font-size: 13px;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .section-header h1 {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .lead-field input,
    .lead-field select,
    .lead-field textarea {
        font-size: 16px; /* evita el zoom automático en iPhone */
    }

    .contact-panel,
    .contact-form-panel {
        padding: 20px;
    }
}


/* ==========================================================
   =====  LOTE 4B: PÁGINA DE DETALLE DE PROPIEDAD  =====
========================================================== */

.detail-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 5% 60px;
}

.breadcrumb {
    font-size: 13px;
    color: #8f9db0;
    margin-bottom: 18px;
}

.breadcrumb a:hover {
    color: #d4af37;
}

.breadcrumb span {
    color: #cbd5e1;
}

.detail-header {
    margin-bottom: 22px;
}

.detail-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    background: #d4af37;
    color: #0b1320;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    color: #ffffff;
    margin: 10px 0 6px;
    line-height: 1.2;
}

.detail-address {
    color: #a0aec0;
    font-size: 14px;
}

.detail-address i {
    color: #d4af37;
}

.detail-price {
    margin-top: 12px;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
}

.detail-price small {
    display: block;
    font-size: 12px;
    font-weight: 500;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

/* Galería */

.gallery-main {
    position: relative;
    aspect-ratio: 16 / 10;
    background: #0b1320;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: zoom-in;
    display: block;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(11, 19, 32, 0.75);
    color: #d4af37;
    font-size: 20px;
    cursor: pointer;
}

.gallery-nav:hover {
    background: rgba(11, 19, 32, 0.95);
}

.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }

.gallery-count {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: rgba(11, 19, 32, 0.8);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
}

.gallery-thumbs button {
    flex: 0 0 96px;
    height: 68px;
    padding: 0;
    background: none;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
}

.gallery-thumbs button.active {
    border-color: #d4af37;
    opacity: 1;
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Secciones */

.detail-section {
    margin-top: 30px;
}

.detail-section h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 14px;
}

.detail-desc {
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.75;
    white-space: pre-line;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
}

.fact {
    background: #0f1a2e;
    border: 1px solid #1e2d4a;
    border-radius: 8px;
    padding: 12px 14px;
}

.fact small {
    display: block;
    color: #8f9db0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.fact strong {
    color: #ffffff;
    font-size: 15px;
}

.detail-video {
    width: 100%;
    max-height: 480px;
    background: #000000;
    border-radius: 10px;
    margin-bottom: 12px;
}

#detailMap {
    height: 320px;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
}

.map-note {
    margin-top: 8px;
    font-size: 12px;
    color: #8f9db0;
}

.map-note a {
    color: #d4af37;
    text-decoration: underline;
}

/* Columna lateral */

.detail-aside {
    position: sticky;
    top: 96px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.aside-card {
    background: #0f1a2e;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
    padding: 22px;
}

.aside-card h2,
.aside-card h3 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 20px;
    margin-bottom: 6px;
}

.aside-card > p {
    color: #a0aec0;
    font-size: 14px;
}

.btn-wa-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #25d366;
    color: #ffffff;
    padding: 13px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    margin-top: 14px;
}

.share-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    background: #0b1320;
    border: 1px solid #1e2d4a;
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

.share-btn:hover {
    border-color: #d4af37;
    color: #d4af37;
}

/* Visor de fotos a pantalla completa */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 4000;
    background: rgba(5, 9, 16, 0.96);
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox img {
    max-width: 92vw;
    max-height: 86vh;
    object-fit: contain;
}

.lightbox button {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.6);
    background: rgba(11, 19, 32, 0.85);
    color: #d4af37;
    font-size: 22px;
    cursor: pointer;
}

.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-aside {
        position: static;
    }

    .detail-title {
        font-size: 26px;
    }

    .detail-price {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .detail-wrap {
        padding: 20px 5% 50px;
    }

    .gallery-main {
        aspect-ratio: 4 / 3;
    }

    #detailMap {
        height: 260px;
    }

    .lightbox .lb-prev { left: 8px; }
    .lightbox .lb-next { right: 8px; }
}


/* ==========================================================
   =====  LOTE 4C: LIBRO DE RECLAMACIONES Y LEGAL  =====
========================================================== */

.claim-wrap {
    max-width: 860px;
    margin: 0 auto;
}

.claim-box {
    background: #0f1a2e;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
    padding: 26px;
}

.claim-box fieldset {
    border: 1px solid #1e2d4a;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 18px;
}

.claim-box legend {
    color: #d4af37;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0 8px;
}

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

.claim-note {
    font-size: 13px;
    color: #a0aec0;
    line-height: 1.65;
    margin-bottom: 18px;
}

.claim-note mark {
    background: #d4af37;
    color: #0b1320;
    padding: 0 5px;
    border-radius: 3px;
    font-weight: 600;
}

.claim-receipt {
    text-align: center;
}

.claim-receipt .claim-number {
    display: inline-block;
    margin: 10px 0 14px;
    padding: 8px 20px;
    border: 1px solid #d4af37;
    border-radius: 6px;
    color: #d4af37;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.claim-receipt dl {
    text-align: left;
    max-width: 520px;
    margin: 16px auto;
}

.claim-receipt dt {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8f9db0;
    margin-top: 10px;
}

.claim-receipt dd {
    color: #e2e8f0;
    font-size: 14px;
    white-space: pre-line;
}

.footer-legal {
    margin-top: 8px;
}

.footer-legal a {
    color: #cbd5e1;
    text-decoration: underline;
}

.footer-legal a:hover {
    color: #d4af37;
}

/* ---------- Impresión de la constancia del reclamo ---------- */

@media print {
    .top-bar,
    .navbar,
    footer,
    .wa-float,
    .mr-conti-widget,
    .skip-link,
    .no-print {
        display: none !important;
    }

    body,
    .projects-section {
        background: #ffffff !important;
        color: #000000 !important;
    }

    .claim-box,
    .claim-receipt dd,
    .claim-receipt dt,
    .section-header h1,
    .claim-receipt h2,
    .claim-receipt p {
        background: #ffffff !important;
        color: #000000 !important;
        border-color: #999999 !important;
    }

    .claim-receipt .claim-number {
        color: #000000;
        border-color: #000000;
    }
}


/* ==========================================================
   =====  LOTE 5A: DISPONIBILIDAD Y PRECIOS  =====
========================================================== */

.avail-ribbon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(15, 23, 42, 0.88);
}

.avail-ribbon.reservado {
    background: rgba(217, 119, 6, 0.94);
}

.avail-ribbon.vendido,
.avail-ribbon.alquilado {
    background: rgba(185, 28, 28, 0.94);
}

.avail-notice {
    margin-bottom: 20px;
    padding: 14px 18px;
    border: 1px solid #1e2d4a;
    border-radius: 8px;
    background: #0f1a2e;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.avail-notice.reservado {
    border-color: #d97706;
    color: #fcd34d;
}

.avail-notice.vendido,
.avail-notice.alquilado {
    border-color: #dc2626;
    color: #fca5a5;
}

.detail-price .price-alt {
    display: block;
    margin-top: 2px;
    font-size: 14px;
    font-weight: 500;
    color: #94a3b8;
}


/* ==========================================================
   =====  LOTE 5B: SUBMENÚ, VENDER, CALCULADORAS, ALERTAS  =====
========================================================== */

/* ---------- Submenú "Servicios" (escritorio) ---------- */

.has-sub {
    position: relative;
}

.nav-parent i {
    font-size: 10px;
    margin-left: 5px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    min-width: 220px;
    list-style: none;
    margin: 0;
    padding: 6px 0;
    background: #070c14;
    border: 1px solid #1e2d4a;
    border-top: 2px solid #d4af37;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
    z-index: 1100;
}

.has-sub:hover > .submenu,
.has-sub:focus-within > .submenu {
    display: block;
}

.submenu li {
    margin: 0;
    border: none;
}

.submenu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    white-space: nowrap;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
    color: #d4af37;
    background: rgba(212, 175, 55, 0.08);
}

/* ---------- Vende tu propiedad ---------- */

.steps-list {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: 18px 0 0;
}

.steps-list li {
    counter-increment: step;
    position: relative;
    padding: 0 0 18px 46px;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.6;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #d4af37;
    color: #0b1320;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps-list strong {
    color: #ffffff;
}

/* ---------- Calculadoras ---------- */

.calc-layout {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.calc-panel {
    background: #0f1a2e;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
    padding: 26px;
}

.calc-panel h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 6px;
}

.calc-panel > p {
    color: #a0aec0;
    font-size: 13px;
    margin-bottom: 18px;
}

.calc-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.calc-fields .full {
    grid-column: 1 / -1;
}

.calc-result {
    margin-top: 20px;
    padding: 18px;
    border: 1px solid #d4af37;
    border-radius: 10px;
    background: rgba(212, 175, 55, 0.06);
}

.calc-main {
    font-size: 30px;
    font-weight: 700;
    color: #d4af37;
    line-height: 1.1;
}

.calc-main small {
    display: block;
    margin-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.calc-rows {
    margin-top: 14px;
    display: grid;
    gap: 8px;
}

.calc-rows div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #1e2d4a;
    font-size: 14px;
    color: #cbd5e1;
}

.calc-rows strong {
    color: #ffffff;
    text-align: right;
}

.calc-note {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.6;
    color: #8f9db0;
}

.calc-error {
    color: #fca5a5;
    font-size: 13px;
}

.calc-disclaimer {
    max-width: 1100px;
    margin: 24px auto 0;
    font-size: 12px;
    line-height: 1.6;
    color: #8f9db0;
    text-align: center;
}

.calc-link {
    display: inline-block;
    margin-top: 10px;
    color: #d4af37;
    font-size: 13px;
    text-decoration: underline;
}

/* ---------- Alerta de búsqueda (buscador) ---------- */

.alert-panel {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: center;
    background: #111a2e;
    border: 1px solid #1a273e;
    border-radius: 10px;
    padding: 20px 24px;
}

.alert-panel h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 4px;
}

.alert-panel p {
    color: #a0aec0;
    font-size: 13px;
}

@media (max-width: 1080px) {
    .nav-parent i {
        display: none;
    }

    .submenu {
        display: block;
        position: static;
        min-width: 0;
        padding: 0 0 4px 14px;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .nav-links .submenu li {
        border-bottom: none;
    }

    .nav-links .submenu li:last-child {
        margin-top: 0;
    }

    .submenu a {
        padding: 11px 4px;
        font-size: 14px;
        color: #cbd5e1;
    }
}

@media (max-width: 900px) {
    .calc-layout,
    .alert-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .calc-fields {
        grid-template-columns: 1fr;
    }

    .calc-panel {
        padding: 20px;
    }

    .calc-main {
        font-size: 26px;
    }
}

/* ==========================================================
   =====  AJUSTE DE TARJETAS Y ENLACES  =====
   - Las tarjetas ya no se estiran: tienen un ancho máximo y se centran
   - La foto mantiene una proporción fija 16:10 (no se aplasta)
   - Los enlaces sin color propio heredan el del texto (adiós al morado)
========================================================== */

a {
    color: inherit;
}

.card-content h3 a {
    color: inherit;
}

.card-content h3 a:hover {
    color: #d4af37;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 420px));
    justify-content: center;
}

.card-media {
    height: auto;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================
   =====  ÁREAS COMUNES (iconos)  =====
========================================================== */

.amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
    gap: 20px 16px;
}

.amenity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.amenity-icon {
    position: relative;
    flex: 0 0 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #e2e8f0;
}

.amenity-icon::before {
    content: "";
    position: absolute;
    top: 2px;
    right: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.85);
}

.amenity-icon i {
    position: relative;
}

.amenity-name {
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: #e2e8f0;
}

@media (max-width: 600px) {
    .amenity-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px 10px;
    }
}

/* ==========================================================
   =====  MAPAS CON EL ESTILO DE LA MARCA  =====
   Los usan el buscador y la página de cada propiedad o proyecto
========================================================== */

/* Marcador: logo dentro de un círculo oscuro con borde dorado */
.custom-logo-pin {
    border: 2px solid #d4af37;
    border-radius: 50%;
    background: #0b1320;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    object-fit: cover;
}

/* Marco del mapa de la página de detalle (igual al del buscador) */
#detailMap {
    border: 1px solid #d4af37;
    background: #0b1320;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    z-index: 1;
}

/* Globo de información */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
    background: #0b1320 !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
}

.leaflet-popup-content {
    color: #ffffff !important;
}

.leaflet-popup-content h1,
.leaflet-popup-content h2,
.leaflet-popup-content h3,
.leaflet-popup-content h4,
.leaflet-popup-content strong {
    color: #d4af37 !important;
}

.leaflet-popup-content p,
.leaflet-popup-content span,
.leaflet-popup-content div {
    color: #cbd5e1 !important;
}

.leaflet-popup-content a {
    color: #d4af37 !important;
    text-decoration: underline;
}

.leaflet-container a.leaflet-popup-close-button {
    color: #d4af37 !important;
}

/* Botones de zoom */
.leaflet-control-zoom-in,
.leaflet-control-zoom-out {
    background-color: #0b1320 !important;
    color: #d4af37 !important;
    border-color: #d4af37 !important;
}

.leaflet-control-zoom {
    border: 1px solid #d4af37 !important;
    border-radius: 6px !important;
    overflow: hidden;
}

/* Créditos del mapa */
.leaflet-container .leaflet-control-attribution {
    background: rgba(11, 19, 32, 0.8) !important;
    color: #cbd5e1 !important;
}

.leaflet-container .leaflet-control-attribution a {
    color: #d4af37 !important;
}


/* ============================================================
   LOTE 6A - Cuentas, asesores, misión y visión
   ============================================================ */

.nav-login-li { display: none; }
@media (max-width: 1080px) { .nav-login-li { display: list-item; } }

.top-links a i { margin-right: 5px; color: #d4af37; }

.page-hero-sm {
    text-align: center;
    padding: 70px 6% 40px;
    background: linear-gradient(180deg, #0b1320, #0f1b2e);
}
.page-hero-sm h1 { font-family: "Playfair Display", serif; color: #fff; font-size: clamp(30px, 5vw, 44px); margin: 0 0 10px; }
.page-hero-sm h1 span { color: #d4af37; }
.page-hero-sm p { color: #cbd5e1; max-width: 640px; margin: 0 auto; line-height: 1.6; }

.advisors-section { padding: 50px 6% 80px; background: #0b1320; }
.advisors-grid {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px;
}
.advisor-card {
    background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px;
    padding: 28px 22px; text-align: center; transition: transform .25s, border-color .25s;
}
.advisor-card:hover { transform: translateY(-4px); border-color: #d4af37; }
.advisor-photo {
    width: 260px; height: 260px; max-width: 100%; border-radius: 50%; object-fit: cover; object-position: center top; margin: 0 auto 20px;
    border: 4px solid #d4af37; background: #0b1320; display: flex; align-items: center; justify-content: center;
    color: #d4af37; font-size: 84px; font-family: "Playfair Display", serif; box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.advisor-card h3 { color: #fff; margin: 0 0 4px; font-size: 22px; }
.advisor-role { color: #d4af37; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.advisor-bio { color: #cbd5e1; font-size: 14px; line-height: 1.55; margin: 0 0 16px; }
.advisor-btn {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 6px;
    background: #25d366; color: #0b1320; font-weight: 700; font-size: 14px; text-decoration: none;
}
.advisor-btn:hover { filter: brightness(1.08); }
.advisors-empty { max-width: 560px; margin: 0 auto; text-align: center; color: #cbd5e1; padding: 40px 10px; }

.mv-section { padding: 60px 6%; background: #0f1b2e; }
.mv-grid { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.mv-card { background: #111c30; border: 1px solid #1e2d4a; border-top: 3px solid #d4af37; border-radius: 12px; padding: 32px 28px; }
.mv-card i { color: #d4af37; font-size: 28px; margin-bottom: 14px; }
.mv-card h2 { font-family: "Playfair Display", serif; color: #fff; margin: 0 0 12px; font-size: 26px; }
.mv-card p { color: #cbd5e1; line-height: 1.7; margin: 0; }

/* Cuenta (iniciar sesión / panel) */
.account-wrap { min-height: 60vh; padding: 60px 6% 90px; background: #0b1320; }
.account-box { max-width: 460px; margin: 0 auto; background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px; padding: 34px 28px; }
.account-box h1 { font-family: "Playfair Display", serif; color: #fff; font-size: 28px; margin: 0 0 6px; }
.account-box > p { color: #cbd5e1; margin: 0 0 20px; line-height: 1.55; font-size: 14px; }
.account-box label { display: block; color: #cbd5e1; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.account-box input {
    width: 100%; padding: 12px 14px; border-radius: 8px; border: 1px solid #2a3b5e; background: #0b1320; color: #fff; font-size: 15px; box-sizing: border-box;
}
.account-box input:focus { outline: none; border-color: #d4af37; }
.account-btn {
    width: 100%; margin-top: 20px; padding: 13px; border: none; border-radius: 8px; background: #d4af37; color: #0b1320;
    font-weight: 700; font-size: 15px; cursor: pointer;
}
.account-btn:disabled { opacity: .6; cursor: wait; }
.account-btn.ghost { background: transparent; border: 1px solid #d4af37; color: #d4af37; }
.account-msg { margin-top: 14px; font-size: 14px; min-height: 18px; }
.account-msg.err { color: #f87171; }
.account-msg.ok { color: #4ade80; }

.account-panel { max-width: 1100px; margin: 0 auto; }
.account-head { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.account-head h1 { font-family: "Playfair Display", serif; color: #fff; margin: 0; font-size: 30px; }
.account-head small { color: #94a3b8; display: block; margin-top: 4px; }
.account-tag { display: inline-block; padding: 3px 10px; border-radius: 20px; background: rgba(212,175,55,.15); color: #d4af37; font-size: 12px; font-weight: 700; margin-left: 8px; vertical-align: middle; }
.account-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.account-card { background: #111c30; border: 1px solid #1e2d4a; border-radius: 12px; overflow: hidden; }
.account-card img { width: 100%; height: 170px; object-fit: cover; display: block; background: #0b1320; }
.account-card .body { padding: 16px 18px 18px; color: #cbd5e1; font-size: 14px; line-height: 1.6; }
.account-card h3 { color: #fff; margin: 0 0 6px; font-size: 17px; }
.account-card .meta { color: #94a3b8; font-size: 13px; }
.account-card .price { color: #d4af37; font-weight: 700; font-size: 18px; margin: 8px 0; }
.account-note { background: rgba(212,175,55,.08); border: 1px solid rgba(212,175,55,.3); color: #e5d28a; border-radius: 10px; padding: 12px 16px; font-size: 13px; margin-bottom: 22px; }
.account-table-wrap { overflow-x: auto; background: #111c30; border: 1px solid #1e2d4a; border-radius: 12px; }
.account-table { width: 100%; border-collapse: collapse; color: #cbd5e1; font-size: 14px; min-width: 640px; }
.account-table th { text-align: left; padding: 12px 14px; color: #d4af37; border-bottom: 1px solid #1e2d4a; font-size: 12px; text-transform: uppercase; letter-spacing: .5px; }
.account-table td { padding: 12px 14px; border-bottom: 1px solid #172540; vertical-align: top; }
.account-table a { color: #d4af37; }
.account-pass { margin-top: 36px; max-width: 460px; }
.account-pass summary { color: #d4af37; cursor: pointer; font-weight: 600; }

@media (max-width: 480px) { .advisor-photo { width: 220px; height: 220px; } }

/* ---------- Blog ---------- */
.blog-section { padding: 40px 6% 80px; background: #0b1320; }
.blog-inner { max-width: 1200px; margin: 0 auto; }
.blog-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.blog-filter { background: transparent; border: 1px solid #2a3b5e; color: #cbd5e1; padding: 9px 20px; border-radius: 30px; cursor: pointer; font-family: inherit; font-size: 14px; font-weight: 600; }
.blog-filter:hover { border-color: #d4af37; }
.blog-filter.active { background: #d4af37; border-color: #d4af37; color: #0b1320; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.blog-card { background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .25s, border-color .25s; }
.blog-card:hover { transform: translateY(-4px); border-color: #d4af37; }
.blog-card img, .blog-noimg { width: 100%; height: 210px; object-fit: cover; display: block; background: #0b1320; }
.blog-noimg { display: flex; align-items: center; justify-content: center; color: #d4af37; font-size: 40px; }
.blog-card .body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.blog-tag { align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; background: rgba(212,175,55,.15); color: #d4af37; }
.blog-card h3 { color: #fff; font-size: 19px; line-height: 1.35; margin: 0; font-family: "Playfair Display", serif; }
.blog-card p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }
.blog-date { color: #94a3b8; font-size: 12px; margin-top: auto; padding-top: 6px; }
.blog-empty { text-align: center; color: #cbd5e1; padding: 50px 10px; grid-column: 1 / -1; }

.blog-article { max-width: 820px; margin: 0 auto; }
.blog-back { display: inline-block; color: #d4af37; text-decoration: none; margin-bottom: 20px; font-weight: 600; }
.blog-article h1 { font-family: "Playfair Display", serif; color: #fff; font-size: clamp(28px, 4.5vw, 40px); line-height: 1.25; margin: 10px 0 8px; }
.blog-article .blog-date { margin-bottom: 22px; display: block; }
.blog-article .lead { color: #e2e8f0; font-size: 18px; line-height: 1.65; margin: 0 0 22px; }
.blog-body p { color: #cbd5e1; line-height: 1.8; font-size: 16px; margin: 0 0 18px; }
.blog-body h2 { color: #d4af37; font-family: "Playfair Display", serif; font-size: 24px; margin: 30px 0 12px; }
.blog-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin: 26px 0; }
.blog-gallery img { width: 100%; height: 220px; object-fit: cover; border-radius: 10px; border: 1px solid #1e2d4a; cursor: zoom-in; }
.blog-gallery img.first { grid-column: 1 / -1; height: auto; max-height: 520px; }
.blog-cta { margin-top: 36px; padding: 24px; border: 1px solid rgba(212,175,55,.35); border-radius: 12px; background: rgba(212,175,55,.06); color: #e2e8f0; }
.blog-cta a { color: #d4af37; font-weight: 700; }
.blog-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.9); display: none; align-items: center; justify-content: center; z-index: 5000; padding: 20px; cursor: zoom-out; }
.blog-lightbox.open { display: flex; }
.blog-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }


/* ============================================================
   LOTE 6C - Selector de idioma
   ============================================================ */
.lang-wrap { display: inline-flex; align-items: center; gap: 6px; margin-right: 18px; }
.lang-wrap i { color: #d4af37; font-size: 13px; }
.lang-select {
    background: transparent; color: #cbd5e1; border: 1px solid #2a3b5e; border-radius: 6px;
    padding: 3px 6px; font-family: inherit; font-size: 12px; cursor: pointer; max-width: 150px;
}
.lang-select option { background: #0b1320; color: #fff; }
.lang-select:hover, .lang-select:focus { border-color: #d4af37; outline: none; }
.nav-lang-li { display: none; }
@media (max-width: 1080px) {
    .nav-lang-li { display: flex; align-items: center; gap: 8px; padding: 10px 4px; }
    .nav-lang-li i { color: #d4af37; }
    .nav-lang-li .lang-select { font-size: 14px; padding: 6px 8px; max-width: none; flex: 1; }
}

/* Oculta los elementos propios de Google Translate (usamos nuestro selector) */
.goog-te-banner-frame, .goog-te-balloon-frame, #goog-gt-tt, .goog-tooltip, .goog-text-highlight,
iframe.skiptranslate, body > .skiptranslate { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: none !important; box-shadow: none !important; }


/* ============================================================
   LOTE 7 - Zonas, testimonios y datos legales
   ============================================================ */
.zones-section, .testi-section { padding: 60px 6%; background: #0b1320; text-align: center; }
.testi-section { background: #0f1b2e; }
.zones-inner { max-width: 1100px; margin: 0 auto; }
.zones-title { font-family: "Playfair Display", serif; color: #fff; font-size: clamp(24px, 4vw, 34px); margin: 10px 0 26px; }
.zones-section .blog-filters { margin-bottom: 0; }
.blog-filters a.blog-filter { text-decoration: none; display: inline-block; }
.testi-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; text-align: left; }
.testi-card { margin: 0; background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; }
.testi-stars { color: #d4af37; letter-spacing: 3px; font-size: 18px; }
.testi-card blockquote { margin: 0; color: #e2e8f0; line-height: 1.7; font-size: 15px; flex: 1; }
.testi-card figcaption { display: flex; align-items: center; gap: 12px; color: #fff; }
.testi-card figcaption span { display: block; color: #94a3b8; font-size: 13px; }
.testi-avatar { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; background: #0b1320; border: 2px solid #d4af37; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-initial { color: #d4af37; font-weight: 700; }
.footer-legal-data { font-size: 12px; color: #94a3b8; margin: 0 0 10px; line-height: 1.6; }


/* ============================================================
   LOTE 8 - Valor, favoritos e insignia de documentos
   ============================================================ */
.valor-grid { max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.valor-card { background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px; padding: 28px 26px; }
.valor-card h2 { font-family: "Playfair Display", serif; color: #fff; font-size: 24px; margin: 0 0 16px; }
.valor-range { color: #d4af37; font-family: "Playfair Display", serif; font-size: clamp(26px, 4vw, 36px); font-weight: 700; line-height: 1.2; }
.valor-alt { color: #cbd5e1; margin-top: 6px; }
.valor-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin: 20px 0; }
.valor-facts div { background: #0b1320; border: 1px solid #1e2d4a; border-radius: 10px; padding: 12px; }
.valor-facts small { display: block; color: #94a3b8; font-size: 12px; margin-bottom: 4px; }
.valor-facts strong { color: #fff; }
.valor-basis, .valor-nodata { color: #cbd5e1; font-size: 14px; line-height: 1.6; }

/* Favoritos */
.fav-link { color: #d4af37; text-decoration: none; }
.fav-link i { color: #f87171; margin-right: 4px; }
.fav-count { display: inline-block; min-width: 18px; padding: 0 5px; border-radius: 10px; background: rgba(212,175,55,.2); color: #d4af37; font-size: 11px; text-align: center; margin-left: 2px; }
.nav-fav-li { display: none; }
@media (max-width: 1080px) { .nav-fav-li { display: list-item; } }
.card-media, .rc-media { position: relative; }
.fav-btn { position: absolute; top: 10px; right: 10px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: none; cursor: pointer; background: rgba(11,19,32,.75); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .2s, background .2s; }
.fav-btn:hover { transform: scale(1.1); background: rgba(11,19,32,.95); }
.fav-btn.on { color: #f87171; }
.fav-btn.fav-inline { position: static; width: auto; height: auto; border-radius: 30px; padding: 8px 16px; margin: 4px 0 14px; font-family: inherit; font-size: 14px; font-weight: 600; border: 1px solid #d4af37; background: transparent; color: #d4af37; display: inline-flex; gap: 6px; }
.fav-btn.fav-inline.on { background: rgba(248,113,113,.12); border-color: #f87171; color: #f87171; }
.fav-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; margin-bottom: 24px; color: #cbd5e1; }
.fav-toolbar > div { display: flex; gap: 10px; flex-wrap: wrap; }
.fav-toolbar .blog-filter:disabled { opacity: .45; cursor: not-allowed; }
.fav-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; color: #cbd5e1; font-size: 14px; }
.fav-actions label { cursor: pointer; display: flex; gap: 6px; align-items: center; }
.fav-remove { background: none; border: none; color: #f87171; cursor: pointer; font-family: inherit; font-size: 13px; }
.compare-table th, .compare-table td { min-width: 150px; }
.compare-table th a { color: #d4af37; }

/* Insignia de documentos revisados */
.verified-badge { position: absolute; left: 10px; bottom: 10px; z-index: 4; background: rgba(11,19,32,.85); color: #d4af37; border: 1px solid #d4af37; border-radius: 20px; padding: 3px 10px; font-size: 11px; font-weight: 700; }
.verified-box { background: rgba(212,175,55,.07); border: 1px solid rgba(212,175,55,.4); border-radius: 12px; padding: 20px 22px; }
.verified-head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: #d4af37; font-size: 17px; margin-bottom: 12px; }
.verified-head small { color: #94a3b8; margin-left: auto; }
.verified-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.verified-box li { color: #e2e8f0; }
.verified-box li i { color: #4ade80; margin-right: 6px; }
.verified-note { color: #94a3b8; font-size: 12px; margin: 14px 0 0; line-height: 1.5; }


/* Pie de página: derechos y enlaces legales siempre centrados */
.footer-bottom,
.footer-bottom p,
.footer-bottom .footer-legal,
.footer-bottom .footer-legal-data {
    text-align: center !important;
}


/* ============================================================
   Buscador: filtros con dibujos (estilo panel con iconos)
   ============================================================ */
.filter-bar .filter-item.has-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #070c14;
    border: 1px solid #1e2d4a;
    border-radius: 10px;
    padding: 10px 14px;
    min-width: 0;
    transition: border-color .2s, box-shadow .2s;
}
.filter-bar .filter-item.has-icon:hover,
.filter-bar .filter-item.has-icon:focus-within {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}
.filter-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 175, 55, .1);
    color: #d4af37;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-icon svg { display: block; }
.filter-body { flex: 1; min-width: 0; }
.filter-bar .filter-item.has-icon label {
    display: block;
    font-size: 11px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: .4px;
    text-transform: uppercase;
    margin: 0 0 2px;
}
.filter-bar .filter-item.has-icon select,
.filter-bar .filter-item.has-icon input {
    border: none;
    background-color: transparent;
    padding: 2px 0;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    min-height: 0;
    box-shadow: none;
}
.filter-bar .filter-item.has-icon select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 22px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%23d4af37' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
}
.filter-bar .filter-item.has-icon select option { background: #0b1320; color: #fff; }
.filter-bar .filter-item.has-icon input::placeholder { color: #64748b; font-weight: 400; }
@media (max-width: 600px) {
    .filter-icon { width: 38px; height: 38px; }
    .filter-bar .filter-item.has-icon select,
    .filter-bar .filter-item.has-icon input { min-height: 0; font-size: 16px; }
}


/* ============================================================
   Buscador: panel premium (barra única, divisores finos, dorado)
   ============================================================ */
.filter-bar {
    display: flex !important;
    align-items: stretch;
    gap: 0 !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: linear-gradient(180deg, #0f1829 0%, #0a111e 100%) !important;
    border: 1px solid rgba(212, 175, 55, .35) !important;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .45), inset 0 1px 0 rgba(255, 255, 255, .04);
}
.filter-bar .filter-item.has-icon {
    flex: 1 1 0;
    background: transparent;
    border: none;
    border-radius: 10px;
    box-shadow: none;
    padding: 12px 22px;
    gap: 16px;
    position: relative;
}
.filter-bar .filter-item.has-icon + .filter-item.has-icon::before {
    content: "";
    position: absolute;
    left: 0; top: 18%; bottom: 18%;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(212, 175, 55, .45), transparent);
}
.filter-bar .filter-item.has-icon:hover,
.filter-bar .filter-item.has-icon:focus-within {
    background: rgba(212, 175, 55, .06);
    border: none;
    box-shadow: none;
}
.filter-icon {
    width: 40px; height: 40px;
    background: transparent;
    border-radius: 0;
    color: #d4af37;
}
.filter-icon svg { width: 36px; height: 36px; stroke-width: 1.1; }
.filter-bar .filter-item.has-icon label {
    font-size: 10px;
    letter-spacing: 1.8px;
    color: #d4af37;
    opacity: .85;
    margin-bottom: 3px;
}
.filter-bar .filter-item.has-icon select,
.filter-bar .filter-item.has-icon input {
    font-size: 15px;
    font-weight: 500;
    letter-spacing: .2px;
}
.filter-submit {
    flex: 0 0 auto;
    margin-left: 10px;
    padding: 0 38px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #e6c75a 0%, #d4af37 50%, #b8922a 100%);
    color: #0a111e;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: filter .2s, transform .2s, box-shadow .2s;
}
.filter-submit:hover { filter: brightness(1.08); box-shadow: 0 6px 18px rgba(212, 175, 55, .35); transform: translateY(-1px); }
@media (max-width: 900px) {
    .filter-bar { flex-wrap: wrap; }
    .filter-bar .filter-item.has-icon { flex: 1 1 45%; }
    .filter-bar .filter-item.has-icon + .filter-item.has-icon::before { display: none; }
    .filter-submit { flex: 1 1 100%; margin: 8px 0 0; padding: 16px; }
}
@media (max-width: 600px) {
    .filter-bar .filter-item.has-icon { flex: 1 1 100%; padding: 12px 14px; border-bottom: 1px solid rgba(212, 175, 55, .15); }
    .filter-icon svg { width: 32px; height: 32px; }
}
.filter-bar .filter-item.has-icon { padding: 12px 16px; gap: 12px; }
.filter-bar .filter-item.has-icon label { white-space: nowrap; letter-spacing: 1.3px; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 901px) { .filter-submit { padding: 0 30px; } }


/* ============================================================
   Estilo premium: portada con slideshow, animaciones, tarjetas
   ============================================================ */
.hero-premium { position: relative; overflow: hidden; min-height: 92vh; }
.hero-slides, .hero-shade { position: absolute; inset: 0; }
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0; transform: scale(1.04);
    transition: opacity 1.6s ease;
}
.hero-slide.on { opacity: 1; animation: heroZoom 9s ease-out forwards; }
@keyframes heroZoom { from { transform: scale(1.04); } to { transform: scale(1.13); } }
.hero-shade {
    background:
        radial-gradient(ellipse at center, rgba(11,19,32,.45) 0%, rgba(11,19,32,.82) 80%),
        linear-gradient(180deg, rgba(11,19,32,.55) 0%, rgba(11,19,32,.35) 40%, rgba(11,19,32,.95) 100%);
}
.hero-premium .hero-overlay { position: relative; z-index: 2; }
.hero-premium .hero-subtitle { letter-spacing: 6px; font-size: 12px; animation: heroUp 1s .1s both; }
.hero-line { display: block; width: 64px; height: 1px; margin: 0 auto 22px; background: linear-gradient(90deg, transparent, #d4af37, transparent); animation: heroUp 1s .25s both; }
.hero-premium h1 {
    font-size: clamp(34px, 6vw, 68px);
    font-weight: 600; letter-spacing: .5px; line-height: 1.12;
    max-width: 960px; text-shadow: 0 6px 30px rgba(0,0,0,.5);
    animation: heroUp 1.1s .4s both;
}
.hero-premium h1 span { display: block; font-style: italic; font-weight: 400; }
.hero-premium p { font-size: 16px; line-height: 1.7; animation: heroUp 1.1s .6s both; }
.hero-actions { margin-top: 32px; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; animation: heroUp 1.1s .8s both; }
.hero-btn {
    padding: 15px 34px; text-decoration: none; border-radius: 2px;
    font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase;
    transition: all .35s ease;
}
.hero-btn-solid { background: linear-gradient(135deg, #e6c75a, #d4af37 55%, #b8922a); color: #0b1320; border: 1px solid #d4af37; }
.hero-btn-solid:hover { box-shadow: 0 10px 28px rgba(212,175,55,.35); transform: translateY(-2px); }
.hero-btn-ghost { background: rgba(11,19,32,.35); color: #d4af37; border: 1px solid rgba(212,175,55,.8); backdrop-filter: blur(4px); }
.hero-btn-ghost:hover { background: #d4af37; color: #0b1320; transform: translateY(-2px); }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-caption {
    position: absolute; z-index: 3; left: 5%; bottom: 36px;
    display: flex; flex-direction: column; gap: 3px; text-decoration: none;
    padding-left: 16px; border-left: 2px solid #d4af37; max-width: 300px;
    animation: heroUp 1s 1.2s both;
}
.hero-caption[hidden] { display: none; }
.hero-caption small { color: #d4af37; font-size: 10px; letter-spacing: 3px; text-transform: uppercase; }
.hero-caption strong { color: #fff; font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; }
.hero-caption span { color: #cbd5e1; font-size: 12px; }
.hero-scroll { position: absolute; z-index: 3; left: 50%; bottom: 26px; width: 24px; height: 40px; margin-left: -12px; border: 1px solid rgba(212,175,55,.7); border-radius: 14px; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #d4af37; animation: heroScroll 1.8s infinite; }
@keyframes heroScroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) {
    .hero-premium { min-height: 88vh; }
    .hero-caption { display: none; }
}

/* Aparición suave al hacer scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s ease var(--rv-d, 0ms), transform .9s cubic-bezier(.2,.7,.2,1) var(--rv-d, 0ms); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .rv { opacity: 1; transform: none; transition: none; }
    .hero-slide.on, .hero-premium .hero-overlay * { animation: none !important; }
}

/* Encabezados de sección con línea dorada */
.section-tag { letter-spacing: 4px; }
.section-header h2 { font-weight: 600; letter-spacing: .3px; }

/* Tarjetas premium */
.project-card, .property-card {
    border-radius: 4px;
    background: linear-gradient(180deg, #111c30 0%, #0c1526 100%);
    border: 1px solid rgba(212,175,55,.14);
}
.project-card:hover, .property-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212,175,55,.7);
    box-shadow: 0 22px 44px rgba(0,0,0,.5), 0 0 0 1px rgba(212,175,55,.15);
}
.card-media { overflow: hidden; }
.card-media img, .property-card-media { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.project-card:hover .card-media img, .property-card:hover .property-card-media { transform: scale(1.08); }
.card-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 45%; background: linear-gradient(transparent, rgba(7,12,20,.7)); pointer-events: none; }
.card-media .badge, .card-media .ribbon-exclusive { z-index: 2; }
.ribbon-exclusive {
    position: absolute; top: 12px; right: 12px;
    padding: 5px 12px; font-size: 9px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: #0b1320; background: linear-gradient(135deg, #e6c75a, #d4af37, #b8922a);
}
.project-card .price-amount, .property-card .price-amount { font-family: 'Playfair Display', serif; font-size: 22px; letter-spacing: .3px; }
.project-card h3, .property-card h3 { font-family: 'Playfair Display', serif; font-weight: 600; }
.district-tag { letter-spacing: 2px; }
.stat-item h2 { font-size: 40px; }

/* ============================================================
   Perfil de zona (páginas /inmuebles/distrito)
   ============================================================ */
.zone-profile { background: linear-gradient(180deg, #111c30, #0c1526); border: 1px solid rgba(212,175,55,.25); border-radius: 6px; padding: 28px; margin: 0 0 34px; }
.zone-profile h2 { font-family: 'Playfair Display', serif; color: #fff; margin: 0 0 18px; font-size: 24px; }
.zp-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; margin-bottom: 18px; }
.zp-stat { padding: 14px 16px; background: #0a111e; border: 1px solid #1e2d4a; border-radius: 4px; }
.zp-stat small { display: block; color: #94a3b8; font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; margin-bottom: 6px; }
.zp-stat strong { font-family: 'Playfair Display', serif; color: #d4af37; font-size: 24px; }
.zp-note { color: #cbd5e1; line-height: 1.7; margin: 0 0 18px; }
.zp-rows { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.zp-row { display: flex; gap: 14px; align-items: flex-start; }
.zp-row i { color: #d4af37; font-size: 18px; width: 22px; text-align: center; margin-top: 3px; }
.zp-row strong { display: block; color: #fff; font-size: 13px; margin-bottom: 2px; }
.zp-row span { color: #94a3b8; font-size: 13px; line-height: 1.5; }
.zp-disclaimer { color: #64748b; font-size: 11px; margin: 18px 0 0; }

/* ============ LOTE 10: filtros avanzados, cuentas de cliente, propietarios, crédito ============ */
.filter-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; max-width: 1200px; margin: 14px auto 0; padding: 0 4%; }
.ft-spacer { flex: 1 1 auto; }
.ft-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 30px; border: 1px solid #1e2d4a; background: #111c30; color: #e2e8f0; font: 600 13px "Plus Jakarta Sans", sans-serif; cursor: pointer; text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.ft-btn:hover { border-color: #d4af37; color: #d4af37; }
.ft-btn.on { background: rgba(212,175,55,.15); border-color: #d4af37; color: #d4af37; }
.ft-btn.ft-solid { background: #d4af37; border-color: #d4af37; color: #0b1320; }
.ft-btn.ft-solid:hover { background: #e6c458; color: #0b1320; }
.ft-btn.ft-ghost { background: transparent; }
.ft-btn:disabled { opacity: .6; cursor: wait; }
.ft-count { background: #d4af37; color: #0b1320; border-radius: 20px; min-width: 20px; height: 20px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.ft-select { display: inline-flex; align-items: center; gap: 8px; color: #94a3b8; font-size: 13px; font-weight: 600; }
.ft-select select, .af-field select, .af-field input { background: #0b1320; color: #e2e8f0; border: 1px solid #1e2d4a; border-radius: 8px; padding: 9px 10px; font: 500 13px "Plus Jakarta Sans", sans-serif; }
.ft-select select:focus, .af-field select:focus, .af-field input:focus { outline: none; border-color: #d4af37; }
.adv-filters, .save-box { max-width: 1200px; margin: 12px auto 0; background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px; padding: 18px 20px; }
.adv-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; width: calc(100% - 8%); }
.adv-filters[hidden], .save-box[hidden], .ft-select[hidden] { display: none; }
.af-field { display: flex; flex-direction: column; gap: 6px; }
.af-field label { color: #94a3b8; font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.af-field input, .af-field select { width: 100%; box-sizing: border-box; }
.save-box { width: calc(100% - 8%); box-sizing: border-box; color: #cbd5e1; font-size: 14px; }
.save-box label { display: block; font-weight: 600; margin-bottom: 8px; }
.save-box p { margin: 0 0 12px; line-height: 1.55; }
.sb-row { display: flex; gap: 10px; flex-wrap: wrap; }
.sb-row input { flex: 1 1 240px; background: #0b1320; color: #e2e8f0; border: 1px solid #1e2d4a; border-radius: 8px; padding: 10px 12px; font: 500 14px "Plus Jakarta Sans", sans-serif; }
.sb-msg { margin: 10px 0 0; min-height: 18px; color: #d4af37; }
.sb-msg a { color: #d4af37; }
.rc-dist { margin: 2px 0 6px; color: #94a3b8; font-size: 12px; }
.rc-dist i { color: #d4af37; margin-right: 4px; }

.auth-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: #0b1320; padding: 5px; border-radius: 30px; }
.auth-tab { flex: 1; padding: 10px; border: 0; border-radius: 25px; background: transparent; color: #94a3b8; font: 600 14px "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.auth-tab.on { background: #d4af37; color: #0b1320; }
.auth-alt { text-align: center; margin: 22px 0 0; color: #94a3b8; font-size: 13px; }
.auth-alt a { color: #d4af37; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.account-box .consent-row { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.5; }
.account-box .consent-row input { width: auto; margin-top: 3px; flex: none; }
.account-box .consent-row a { color: #d4af37; }
.acc-title { font-family: "Playfair Display", serif; color: #fff; font-size: 22px; margin: 34px 0 14px; }
.acc-title i { color: #d4af37; margin-right: 8px; font-size: 18px; }
.acc-empty { color: #94a3b8; font-size: 14px; }
.acc-empty a, .acc-links a { color: #d4af37; }
.acc-links { margin: 14px 0 0; }
.saved-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.saved-card { background: #111c30; border: 1px solid #1e2d4a; border-radius: 12px; padding: 18px; }
.saved-card h3 { color: #fff; margin: 0 0 6px; font-size: 17px; }
.sc-desc { color: #94a3b8; font-size: 13px; margin: 0 0 10px; line-height: 1.5; }
.sc-count { color: #cbd5e1; font-size: 14px; margin: 0 0 14px; }
.sc-count strong { color: #d4af37; font-size: 18px; }
.sc-new { display: inline-block; margin-left: 6px; padding: 2px 9px; background: #d4af37; color: #0b1320; border-radius: 20px; font-size: 12px; font-weight: 700; }
.sc-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sc-actions .account-btn { width: auto; margin: 0; padding: 9px 16px; font-size: 13px; text-decoration: none; display: inline-block; text-align: center; }
.account-pass { margin-top: 40px; color: #94a3b8; }
.account-pass summary { cursor: pointer; }

.owner-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; max-width: 1100px; margin: 0 auto 50px; }
.owner-card { background: #111c30; border: 1px solid #1e2d4a; border-radius: 14px; padding: 24px; }
.owner-card i { color: #d4af37; font-size: 26px; margin-bottom: 12px; }
.owner-card h3 { color: #fff; font-size: 18px; margin: 0 0 8px; }
.owner-card p { color: #cbd5e1; font-size: 14px; line-height: 1.6; margin: 0; }
.pq-calc label { display: block; color: #cbd5e1; font-size: 13px; font-weight: 600; margin: 14px 0 6px; }
.pq-calc input, .pq-calc select { width: 100%; box-sizing: border-box; background: #0b1320; color: #e2e8f0; border: 1px solid #1e2d4a; border-radius: 8px; padding: 11px 12px; font: 500 14px "Plus Jakarta Sans", sans-serif; }
.pq-calc input:focus, .pq-calc select:focus { outline: none; border-color: #d4af37; }
.pq-calc .calc-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #1e2d4a; color: #cbd5e1; font-size: 14px; }
.pq-calc .calc-line strong { color: #d4af37; white-space: nowrap; }
.pq-calc .calc-result { margin-top: 18px; }
.pq-calc .calc-result p { color: #e5d28a; font-size: 14px; }
@media (max-width: 640px) { .ft-spacer { display: none; } .filter-tools { gap: 8px; } }
.pq-calc .calc-result:empty { display: none; }
.ft-count[hidden] { display: none; }
