/* VARIABLES INTACTAS */
:root {
    --primary-blue: #001538;
    --primary-light: #00225c;
    --accent-gold: #d4af37;
    --bg-light: #f9f9fb;
    --text-dark: #1a1a24;
    --text-gray: #6b7280;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.08);
    --transition-smooth: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Montserrat', sans-serif; background-color: var(--bg-light); color: var(--text-dark); overflow-x: hidden; }

/* ANIMACIONES */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes subtleZoom { from { transform: scale(1); } to { transform: scale(1.05); } }

/* NAVBAR Y LOGOS PREMIUM */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); display: flex; justify-content: space-between; align-items: center; padding: 10px 6%; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.04); border-bottom: 1px solid rgba(0,0,0,0.03); }
.fade-in-down { animation: fadeInDown 0.8s ease-out forwards; }
.logo-container { display: flex; flex-direction: column; cursor: pointer; }
.brand-logo-public { height: 80px; width: auto; object-fit: contain; transition: var(--transition-smooth); }
.logo-container:hover .brand-logo-public { transform: scale(1.03); }
.nav-links { display: flex; align-items: center; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--primary-blue); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; transition: var(--transition-smooth); position: relative; }
.nav-links a:not(.btn-contact)::after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--accent-gold); transition: var(--transition-smooth); }
.nav-links a:not(.btn-contact):hover::after { width: 100%; }
.btn-contact { background-color: transparent; color: var(--primary-blue) !important; border: 2px solid var(--primary-blue); padding: 10px 24px; border-radius: 4px; transition: var(--transition-smooth); }
.btn-contact:hover { background-color: var(--primary-blue); color: var(--white) !important; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0, 21, 56, 0.15); }

/* HERO Y CONTENIDO */
.hero { position: relative; height: 100vh; min-height: 800px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-content { position: relative; z-index: 2; text-align: center; width: 100%; max-width: 1200px; padding: 0 20px; }
.fade-in-up { animation: fadeInUp 1s ease-out forwards; animation-delay: 0.3s; opacity: 0; }
.hero-title { font-family: 'Playfair Display', serif; color: var(--white); font-size: 64px; margin-bottom: 20px; line-height: 1.1; text-shadow: 0 4px 20px rgba(0,0,0,0.4); }
.hero-subtitle { color: #e2e8f0; font-size: 20px; font-weight: 300; margin-bottom: 60px; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }

/* =========================================
   HERO PARA CATÁLOGO (CON FONDO DE LUJO)
========================================= */
.hero-catalog { 
    position: relative;
    height: 50vh; 
    min-height: 450px; 
    background: linear-gradient(rgba(0, 21, 56, 0.75), rgba(0, 21, 56, 0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}
.hero-catalog .hero-title { 
    font-family: 'Playfair Display', serif;
    font-size: 46px; 
    color: var(--white);
    margin-bottom: 10px; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* =========================================
   BUSCADOR "FLOATING PILL" (ADAPTABLE)
========================================= */
.search-glass { 
    background: var(--white); 
    border-radius: 50px; 
    padding: 10px 10px 10px 30px; 
    display: flex; 
    align-items: center; 
    gap: 0; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.15); 
    max-width: 950px;
    margin: 20px auto 0;
}

.search-field { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    text-align: left; 
    padding: 0 15px;
    position: relative;
}

.search-field:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background-color: var(--border);
}

.search-field label { 
    font-size: 10px; 
    text-transform: uppercase; 
    font-weight: 800; 
    color: var(--text-gray); 
    margin-bottom: 4px; 
    letter-spacing: 1.5px; 
}

.search-field input, .search-field select { 
    width: 100%; 
    padding: 5px 0; 
    border: none; 
    background: transparent; 
    font-size: 14px; 
    font-weight: 600;
    font-family: 'Montserrat', sans-serif; 
    color: var(--primary-blue); 
    outline: none; 
    cursor: pointer;
}

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

.btn-search { 
    background-color: var(--accent-gold); 
    color: var(--white); 
    border: none; 
    padding: 16px 35px; 
    font-size: 14px; 
    font-weight: 800; 
    border-radius: 40px; 
    cursor: pointer; 
    transition: var(--transition-smooth); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    white-space: nowrap;
}

.btn-search:hover { 
    background-color: var(--primary-blue); 
    transform: scale(1.03); 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
}

/* =========================================
   VIDEO CINEMÁTICO DE FONDO (INDEX)
========================================= */
.hero-video-bg { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: 0; transform: translateX(-50%) translateY(-50%); object-fit: cover; pointer-events: none; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; background: rgba(0, 15, 40, 0.35); }

/* =========================================
   PROPUESTA DE VALOR (MINIMALISTA Y FLOTANTE)
========================================= */
.value-props { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    max-width: 1100px;
    margin: -80px auto 80px; 
    position: relative;
    z-index: 10;
    padding: 40px; 
    background: var(--white); 
    border-radius: 12px;
    box-shadow: var(--shadow-soft); 
    border: 1px solid rgba(0,0,0,0.03); 
}
.prop-card { text-align: center; padding: 10px; }
.prop-icon { font-size: 40px; color: var(--accent-gold); margin-bottom: 20px; }
.prop-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--primary-blue); margin-bottom: 15px; }
.prop-card p { color: var(--text-gray); line-height: 1.6; font-size: 14px; }

/* SECCIONES BASE */
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--primary-blue); margin-bottom: 15px; }
.header-line { width: 60px; height: 3px; background-color: var(--accent-gold); margin: 0 auto; }
.section-subtitle { color: var(--text-gray); margin-top: 15px; font-size: 16px; }

/* =========================================
   DESTINOS EXCLUSIVOS (FONDO BLANCO)
========================================= */
.destinations-section { padding: 80px 6% 100px; background: var(--white); }
.destinations-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.dest-card { position: relative; height: 350px; border-radius: 12px; overflow: hidden; cursor: pointer; box-shadow: var(--shadow-soft); border: 1px solid rgba(0,0,0,0.03); }
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 20px 20px; background: linear-gradient(to top, rgba(0,21,56,0.9), transparent); color: var(--white); }
.dest-overlay h3 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 5px; }
.dest-overlay p { font-size: 12px; color: var(--white); opacity: 0.8; font-weight: 600; text-transform: uppercase; letter-spacing: 2px;}

/* =========================================
   PROPIEDADES (DISEÑO COMPACTO Y EFICIENTE)
========================================= */
.featured-properties { 
    padding: 80px 6%; 
    background: #f8fafc; 
    border-top: 1px solid rgba(0,0,0,0.03); 
    border-bottom: 1px solid rgba(0,0,0,0.03); 
}

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

.property-card { 
    background: var(--white); 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03); 
    transition: var(--transition-smooth); 
    cursor: pointer; 
    position: relative; 
    border: 1px solid rgba(0,0,0,0.04);
}

.property-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 20px 40px rgba(0, 21, 56, 0.08); 
    border-color: rgba(212, 175, 55, 0.3); 
}

.card-image-wrapper { 
    position: relative; 
    height: 210px; 
    overflow: hidden; 
}

.card-image-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1); 
}

.property-card:hover .card-image-wrapper img { 
    transform: scale(1.08); 
}

.tag-status { 
    position: absolute; 
    top: 15px; 
    left: 15px; 
    background: rgba(0, 21, 56, 0.85); 
    backdrop-filter: blur(8px);
    color: var(--white); 
    padding: 5px 14px; 
    font-size: 10px; 
    font-weight: 800; 
    letter-spacing: 1.5px; 
    border-radius: 30px; 
    text-transform: uppercase; 
    z-index: 2; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.tag-rent { 
    background: var(--accent-gold); 
    color: var(--primary-blue);
}

.card-body { padding: 16px 20px; }

.card-price { 
    font-family: 'Montserrat', sans-serif; 
    font-size: 22px; 
    color: var(--primary-blue); 
    font-weight: 800; 
    margin-bottom: 4px; 
}

.card-title { 
    font-size: 15px; 
    font-weight: 600; 
    margin-bottom: 4px; 
    color: var(--text-dark); 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis;
}

.card-location { 
    color: var(--text-gray); 
    font-size: 12px; 
    margin-bottom: 10px; 
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-subdivision {
    font-size: 11px;
    color: var(--text-gray);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}
.card-subdivision i { color: var(--primary-blue); }

.card-amenities { 
    display: flex; 
    justify-content: space-between; 
    border-top: 1px solid #f1f5f9; 
    padding-top: 12px; 
}
.card-amenities span { 
    font-size: 11px; 
    color: var(--text-gray); 
    font-weight: 600; 
    display: flex; 
    align-items: center; 
    gap: 4px; 
}

/* Parallax Banner */
.parallax-banner { background-image: url('https://images.unsplash.com/photo-1600596542815-ffad4c1539a9?auto=format&fit=crop&w=2000&q=80'); min-height: 400px; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; position: relative; display: flex; align-items: center; justify-content: center; text-align: center; }
.parallax-overlay { background: rgba(0, 21, 56, 0.6); position: absolute; top: 0; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: center; padding: 20px;}
.parallax-overlay h2 { color: var(--white); font-family: 'Playfair Display', serif; font-size: 48px; line-height: 1.2; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }

/* =========================================
   TESTIMONIOS
========================================= */
.testimonials-section { padding: 100px 6%; background: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto;}
.test-card { 
    background: #f8fafc; 
    padding: 40px; 
    border-radius: 12px; 
    border: 1px solid rgba(0,0,0,0.03); 
    box-shadow: var(--shadow-soft); 
    text-align: center; 
    transition: var(--transition-smooth);
}
.test-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.test-stars { color: var(--accent-gold); margin-bottom: 20px; font-size: 18px; }
.test-card p { color: var(--text-gray); font-size: 16px; font-style: italic; line-height: 1.8; margin-bottom: 20px; }
.test-card h4 { color: var(--primary-blue); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* =========================================
   PÁGINA DE DETALLE PREMIUM (REDISEÑO LUXURY ALTO CONTRASTE)
========================================= */
.bg-light { background-color: #e2e8f0; } 
.btn-back-nav { color: var(--text-gray) !important; display: flex; align-items: center; gap: 8px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.btn-back-nav:hover { color: var(--primary-blue) !important; }

/* BANNER CON IMAGEN DE FONDO */
.property-hero { 
    position: relative;
    height: 480px; 
    background: linear-gradient(rgba(0, 21, 56, 0.75), rgba(0, 21, 56, 0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover;
    display: flex; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding-bottom: 80px; 
}
.property-hero-content { position: relative; z-index: 2; }
.property-hero-content h1 { font-family: 'Playfair Display', serif; font-size: 52px; color: var(--white); margin-bottom: 12px; text-shadow: 0 4px 15px rgba(0,0,0,0.5); border: none; }
.property-hero-content p { color: var(--accent-gold); font-size: 14px; letter-spacing: 4px; text-transform: uppercase; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,0.5); border: none; }

/* CAJA BLANCA FLOTANTE */
.property-showcase { 
    max-width: 1300px; 
    margin: -120px auto 80px; 
    background: var(--white); 
    border-radius: 16px; 
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12); 
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
    padding: 35px 40px; 
}

.showcase-header { 
    display: flex; justify-content: space-between; align-items: flex-end; 
    flex-wrap: wrap; gap: 20px; padding: 0 0 35px 0; 
    border-bottom: 2px solid #f1f5f9; 
    margin-bottom: 35px;
}

.header-main { flex: 1; min-width: 300px; }
.detalle-titulo { font-family: 'Playfair Display', serif; font-size: 42px; color: var(--primary-blue); margin-bottom: 12px; line-height: 1.1; font-weight: 800;}
.detalle-ubicacion { color: var(--text-gray); font-size: 16px; font-weight: 600; margin-bottom: 0; display: flex; align-items: center; gap: 8px;}
.detalle-ubicacion i { color: var(--accent-gold); font-size: 18px; }

/* Barra de especificaciones en tono GRIS PERLA ELEGANTE */
.quick-specs-bar { 
    display: flex; align-items: center; flex-wrap: wrap; gap: 25px; 
    background: #f1f5f9; 
    padding: 15px 25px; 
    border-radius: 16px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    border: 1px solid #e2e8f0;
    margin-top: 15px;
}
.spec-price { font-size: 32px; font-weight: 800; color: var(--primary-blue); font-family: 'Montserrat', sans-serif;}
.spec-item { font-size: 14px; color: var(--text-dark); border-left: 1px solid #cbd5e1; padding-left: 25px; }
.spec-item strong { color: var(--text-gray); font-weight: 600; text-transform: uppercase; font-size: 11px; letter-spacing: 1px; display: block; margin-bottom: 4px;}
.spec-status { color: var(--white); font-weight: 800; font-size: 11px; text-transform: uppercase; background: var(--accent-gold); padding: 8px 16px; border-radius: 6px; letter-spacing: 1.5px;}

/* Layout Interno */
.showcase-layout { display: grid; grid-template-columns: 2.2fr 1fr; gap: 35px; padding: 0; }
.main-column { display: flex; flex-direction: column; gap: 30px; min-width: 0; }

/* Galería */
.gallery-section { background: var(--white); padding: 20px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid rgba(0,0,0,0.02); }
.main-image-container { position: relative; width: 100%; height: 400px; border-radius: 12px; overflow: hidden; background: #f8fafc;}
.detalle-imagen { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.4s; }
.image-counter { position: absolute; bottom: 20px; right: 20px; background: rgba(0, 21, 56, 0.85); backdrop-filter: blur(8px); color: white; padding: 8px 18px; border-radius: 30px; font-size: 12px; font-weight: 700; letter-spacing: 1px;}

.thumbnail-strip { display: flex; gap: 8px; overflow-x: auto; padding: 15px 5px 20px 5px; scrollbar-width: thin; scrollbar-color: var(--text-gray) transparent; -webkit-overflow-scrolling: touch; }
.thumbnail-strip::-webkit-scrollbar { height: 6px; }
.thumbnail-strip::-webkit-scrollbar-thumb { background-color: var(--text-gray); border-radius: 10px; }
.thumb-img { width: 80px; height: 55px; object-fit: cover; border-radius: 6px; cursor: pointer; border: 2px solid transparent; opacity: 0.5; transition: all 0.3s ease; flex-shrink: 0; }
.thumb-img:hover { opacity: 0.8; }
.thumb-img.active { opacity: 1; border-color: var(--accent-gold); box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); transform: scale(1.05); }

/* Pestañas Minimalistas de Lujo */
.showcase-tabs { 
    display: flex; 
    gap: 30px; 
    border-bottom: 2px solid var(--border); 
    margin-top: 10px; 
    padding-bottom: 0; 
    background: transparent; 
}
.tab-btn { 
    background: transparent; 
    border: none; 
    border-bottom: 3px solid transparent; 
    padding: 15px 5px; 
    font-size: 13px; 
    font-weight: 800; 
    color: var(--text-gray); 
    cursor: pointer; 
    border-radius: 0; 
    transition: all 0.3s ease; 
    font-family: inherit; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    box-shadow: none;
}
.tab-btn:hover { 
    background: transparent; 
    color: var(--primary-blue); 
}
.tab-btn.active { 
    background: transparent; 
    color: var(--primary-blue); 
    border-bottom-color: var(--accent-gold); 
    box-shadow: none; 
}

.showcase-content-tabs { padding: 10px 0 30px; }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fadeInUp 0.5s ease; }

/* Caja de Descripción */
.detalle-descripcion { 
    line-height: 1.9; color: var(--text-dark); font-size: 16px; white-space: pre-wrap; 
    background: #f8fafc; padding: 25px; border-radius: 0 12px 12px 0; 
    border-left: 4px solid var(--accent-gold); 
    box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
}

/* Acordeones Compactos */
.accordion { background: var(--white); border: 1px solid var(--border); border-radius: 12px; margin-bottom: 20px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
.accordion summary { padding: 15px 20px; font-weight: 800; color: var(--primary-blue); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; background: #f1f5f9; font-size: 15px; border-bottom: 1px solid var(--border); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary i { transition: transform 0.3s ease; color: var(--text-gray); }
.accordion[open] summary i { transform: rotate(180deg); color: var(--primary-blue); }
.accordion-content { padding: 20px; background: var(--white); }

.specs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 25px; }
.spec-card { display: flex; align-items: flex-start; gap: 15px; }
.spec-card i { font-size: 22px; color: var(--accent-gold); margin-top: 2px;}
.spec-card h4 { font-size: 11px; text-transform: uppercase; color: var(--text-gray); margin-bottom: 6px; letter-spacing: 1px;}
.spec-card p { font-size: 15px; font-weight: 700; color: var(--primary-blue); word-break: break-word;}

/* Sidebar Compacto */
.sidebar-column { 
    background: #f8fafc; padding: 25px; border-radius: 16px; 
    border: 1px solid var(--border); height: fit-content; 
    position: sticky; top: 120px; 
}
.sidebar-title { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--primary-blue); margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid rgba(0,0,0,0.05);}

.sidebar-contact-card { background: var(--white); padding: 25px 20px; border-radius: 16px; border: none; border-top: 5px solid var(--accent-gold); margin-bottom: 30px; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.sidebar-contact-card h3 { font-family: 'Playfair Display', serif; color: var(--primary-blue); font-size: 22px; margin-bottom: 15px; }
.sidebar-contact-card p { color: var(--text-gray); font-size: 14px; margin-bottom: 25px; line-height: 1.7; }

/* Botón de la barra lateral (Estilo Navbar) */
.btn-cta-gold { 
    background-color: transparent; 
    color: var(--primary-blue) !important; 
    border: 2px solid var(--primary-blue); 
    font-size: 13px; 
    font-weight: 800; 
    border-radius: 4px; 
    cursor: pointer; 
    transition: var(--transition-smooth); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    display: block;
}
.btn-cta-gold:hover { 
    background-color: var(--primary-blue); 
    color: var(--white) !important; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 15px rgba(0, 21, 56, 0.15); 
}

/* =========================================
   PROPIEDADES SIMILARES
========================================= */
.similar-vertical-wrapper { 
    position: relative; 
    padding: 25px 0; 
}

#similar-properties-container { 
    display: flex; 
    flex-direction: column; 
    gap: 15px; 
    max-height: 520px; 
    overflow-y: auto; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    padding: 5px; 
}
#similar-properties-container::-webkit-scrollbar { display: none; }

.similar-card { 
    background: var(--white); border-radius: 12px; overflow: hidden; 
    border: 1px solid rgba(0,0,0,0.04); cursor: pointer; transition: var(--transition-smooth); 
    display: flex; flex-direction: column; box-shadow: 0 4px 15px rgba(0,0,0,0.02); 
    flex-shrink: 0; 
}
.similar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); border-color: rgba(212, 175, 55, 0.3); }
.similar-card img { width: 100%; height: 140px; object-fit: cover; }
.similar-info { padding: 15px; }
.similar-price { font-size: 18px; color: var(--primary-blue); font-weight: 800; margin-bottom: 5px; font-family: 'Montserrat', sans-serif;}
.similar-title { font-size: 13px; font-weight: 600; color: var(--text-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-bottom: 5px; }
.similar-area { font-size: 11px; color: var(--text-gray); font-weight: 500;}
.similar-area i { color: var(--accent-gold); margin-right: 4px; }

/* Flechas Verticales */
.similar-arrow { 
    position: absolute; left: 50%; transform: translateX(-50%); 
    background: var(--primary-blue); color: var(--white); border: none; 
    width: 32px; height: 32px; border-radius: 50%; cursor: pointer; z-index: 10; 
    display: flex; align-items: center; justify-content: center; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.15); transition: all 0.3s ease; 
}
.similar-arrow:hover { background: var(--accent-gold); }
.similar-arrow.up-arrow { top: -10px; }
.similar-arrow.down-arrow { bottom: -10px; }

/* =========================================
   PÁGINA NOSOTROS & MISION / VISION
========================================= */
.nosotros-hero { background: var(--primary-blue); padding: 150px 20px 80px; text-align: center; color: var(--white); }
.nosotros-hero h1 { font-family: 'Playfair Display', serif; font-size: 48px; margin-bottom: 10px; }
.nosotros-content { max-width: 900px; margin: 80px auto 60px; padding: 0 20px; text-align: center; line-height: 1.8; color: var(--text-dark); font-size: 16px;}

.mision-vision-section { max-width: 1000px; margin: 0 auto 80px; padding: 0 20px; }
.mv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.mv-card { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow-soft); text-align: center; border: 1px solid var(--border); transition: var(--transition-smooth); }
.mv-card:hover { transform: translateY(-5px); border-color: var(--accent-gold); box-shadow: var(--shadow-hover); }
.mv-icon { font-size: 40px; color: var(--accent-gold); margin-bottom: 20px; }
.mv-card h3 { font-family: 'Playfair Display', serif; color: var(--primary-blue); font-size: 24px; margin-bottom: 15px; }
.mv-card p { color: var(--text-gray); line-height: 1.8; font-size: 15px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; max-width: 1100px; margin: 40px auto 100px; padding: 0 20px; }
.team-card { background: var(--white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); text-align: center; border: 1px solid var(--border); transition: var(--transition-smooth); }
.team-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: var(--accent-gold); }
.team-img { width: 100%; height: 350px; object-fit: cover; }
.team-info { padding: 35px 25px; }
.team-name { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--primary-blue); margin-bottom: 5px; font-weight: 800;}
.team-role { color: var(--accent-gold); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 15px; }
.team-bio { color: var(--text-gray); font-size: 14px; line-height: 1.6; }

/* =========================================
   BANNER Y CONTACTO UNIFICADOS
========================================= */
.contacto-hero {
    position: relative;
    height: 48vh;
    min-height: 420px;
    background: linear-gradient(rgba(0, 21, 56, 0.75), rgba(0, 21, 56, 0.6)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 80px;
}

.contacto-hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 52px;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.contacto-hero-content p {
    color: var(--accent-gold);
    font-size: 14px;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.contacto-layout { 
    display: grid; 
    grid-template-columns: 1fr 1.4fr; 
    max-width: 1150px; 
    margin: -70px auto 80px; 
    padding: 0 20px; 
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--border);
    position: relative;
    z-index: 10;
}

.contacto-info { 
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-light)); 
    color: var(--white); 
    padding: 50px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contacto-info h2 { 
    font-family: 'Playfair Display', serif; 
    font-size: 38px; 
    margin-bottom: 20px; 
    line-height: 1.1; 
}

.info-item { 
    margin-top: 30px; 
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
}

.info-item i { 
    color: var(--accent-gold); 
    font-size: 24px; 
    margin-top: 5px; 
}

.info-item h4 { 
    font-size: 12px; 
    text-transform: uppercase; 
    letter-spacing: 1.5px; 
    margin-bottom: 8px; 
    color: var(--accent-gold); 
    font-weight: 800; 
}

.info-item p { 
    font-size: 15px; 
    color: #cbd5e1; 
    line-height: 1.6; 
}

.contacto-form { 
    background: var(--white); 
    padding: 50px; 
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-group { 
    margin-bottom: 22px; 
}

.form-group label { 
    display: block; 
    font-size: 10px; 
    font-weight: 800; 
    text-transform: uppercase; 
    color: var(--text-gray); 
    margin-bottom: 8px; 
    letter-spacing: 2px; 
}

.form-group input, .form-group textarea { 
    width: 100%; 
    padding: 12px 16px; 
    border: 1px solid var(--border); 
    border-radius: 8px; 
    font-family: 'Montserrat', sans-serif; 
    font-size: 14px; 
    background: #f8fafc; 
    color: var(--text-dark);
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus { 
    outline: none; 
    border-color: var(--accent-gold); 
    background: var(--white); 
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15); 
}

.form-group textarea { 
    resize: vertical; 
    min-height: 120px; 
}

.btn-submit { 
    background: var(--accent-gold); 
    color: var(--white); 
    width: 100%; 
    padding: 18px; 
    border: none; 
    border-radius: 8px; 
    font-size: 13px; 
    font-weight: 800; 
    text-transform: uppercase; 
    letter-spacing: 3px; 
    cursor: pointer; 
    transition: var(--transition-smooth); 
}

.btn-submit:hover { 
    background: var(--primary-blue); 
    transform: translateY(-2px); 
}

/* Estilo para la tarjeta de propiedad inyectada por JS */
.interested-prop-card { 
    display: flex; 
    gap: 20px; 
    background: #f8fafc; 
    border: 1px solid var(--border); 
    border-left: 4px solid var(--accent-gold); 
    border-radius: 8px; 
    padding: 15px; 
    margin-bottom: 25px; 
    align-items: center; 
}

.interested-prop-card img { 
    width: 100px; 
    height: 80px; 
    border-radius: 4px; 
    object-fit: cover; 
}

@media (max-width: 992px) {
    .contacto-layout { 
        grid-template-columns: 1fr; 
        margin-top: -40px; 
    }
}
/* =========================================
   DISEÑO RESPONSIVO (TABLETS Y MÓVILES)
========================================= */

/* RANGO INTERMEDIO (TABLETS: 770px A 992px) -> Evita que el buscador se sature */
@media (min-width: 769px) and (max-width: 992px) {
    .search-glass { 
        flex-direction: row; /* Vuelve a ser horizontal para que no se sature */
        border-radius: 50px; 
        padding: 8px 8px 8px 20px; 
        max-width: 90%;
    }
    .search-field { padding: 0 10px; }
    .search-field:not(:last-child)::after { display: block; }
    .btn-search { width: auto; border-radius: 30px; padding: 12px 25px; margin-top: 0;}
    
    .showcase-layout { grid-template-columns: 1fr; }
    .property-showcase { margin: -90px 20px 80px; padding: 30px; }
    .sidebar-column { position: relative; top: 0; }
}

/* MÓVILES (< 768px) */
@media (max-width: 768px) {
    .navbar { position: absolute; flex-direction: column; padding: 15px; gap: 10px; background: rgba(255, 255, 255, 0.98); }
    .nav-links { display: flex; width: 100%; justify-content: center; gap: 10px; flex-wrap: wrap; }
    .brand-logo-public { height: 40px; }
    .nav-links a { font-size: 10px; }
    .btn-contact { width: auto; padding: 6px 12px; font-size: 10px; }

    .hero-catalog { height: auto; padding: 120px 20px 60px; min-height: 350px; }
    .hero-title { font-size: 32px; }
    .parallax-overlay h2 { font-size: 28px; padding: 0 15px;}

    .search-glass { flex-direction: column; border-radius: 12px; padding: 15px; gap: 10px; margin-top: -30px; position: relative; z-index: 10;}
    .search-field:not(:last-child)::after { display: none; }
    .search-field { padding: 0; width: 100%; }
    .search-field label { font-size: 9px; margin-bottom: 2px;}
    .search-field input, .search-field select { border-bottom: 1px solid var(--border); padding-bottom: 5px; font-size: 13px;}
    .btn-search { width: 100%; border-radius: 8px; margin-top: 5px; padding: 10px; font-size: 13px;}

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

    .property-hero { height: auto; min-height: 320px; padding: 120px 20px 60px; display: flex; align-items: center;}
    .property-hero-content h1 { font-size: 32px; }
    .property-showcase { margin: -50px 10px 40px; padding: 20px; border-radius: 12px;}
    
    .showcase-header { flex-direction: column; align-items: flex-start; gap: 15px; padding-bottom: 15px;}
    .header-main { width: 100%; }
    .detalle-titulo { font-size: 26px; }

    .showcase-layout { gap: 20px; }
    .main-image-container { height: 220px; }
    
    .quick-specs-bar { width: 100%; border-radius: 12px; padding: 15px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px;}
    .spec-price { grid-column: 1 / -1; border-bottom: 1px solid #cbd5e1; padding-bottom: 10px; text-align: center; font-size: 26px;}
    .spec-item { border-left: none; padding-left: 0; display: flex; flex-direction: column; gap: 2px; }
    .spec-item strong { margin-bottom: 0; font-size: 9px;}
    .spec-status { grid-column: 1 / -1; text-align: center; justify-self: center; padding: 6px 16px; font-size: 10px;}
    
    .showcase-tabs { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 0; gap: 10px; }
    .tab-btn { white-space: nowrap; padding: 10px 5px; font-size: 11px; }
    .detalle-descripcion, .accordion-content { padding: 15px; font-size: 14px;}
    
    .sidebar-column { padding: 15px; }

    #similar-properties-container { 
        flex-direction: row; 
        overflow-x: auto; 
        overflow-y: hidden; 
        max-height: none; 
        padding-bottom: 10px;
    }
    .similar-card { min-width: 200px; margin-bottom: 0; }
    .similar-arrow { display: none; } 

    .contacto-info, .contacto-form { padding: 25px 15px; }
    .contacto-info h2 { font-size: 24px; }
    .nosotros-hero { padding-top: 60px; }
    .interested-prop-card { flex-direction: column; text-align: center; }
    .interested-prop-card img { width: 100%; height: 140px; }
}

/* =========================================
   GALERÍA Y CARRUSEL (SIN SCROLLBAR)
========================================= */
#gallery-container { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
#gallery-container::-webkit-scrollbar { display: none; }

.gallery-wrapper { position: relative; width: 100%; display: flex; align-items: center; padding: 0 45px; box-sizing: border-box; margin-top: 15px; }
#gallery-container { flex: 1; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; display: flex; gap: 10px; scroll-behavior: smooth; }
#gallery-container:active { cursor: grabbing; }

.carrusel-thumb-btn { position: absolute; top: 50%; transform: translateY(-50%); background: var(--primary-blue); color: white; border: none; width: 32px; height: 32px; border-radius: 50%; font-size: 14px; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; transition: all 0.3s ease; box-shadow: 0 4px 10px rgba(0,0,0,0.15); }
.carrusel-thumb-btn:hover { background: var(--accent-gold); transform: translateY(-50%) scale(1.15); }
.carrusel-thumb-btn.left { left: 0; }
.carrusel-thumb-btn.right { right: 0; }

.thumb-img { transition: all 0.4s ease-in-out !important; border: 2px solid transparent; box-sizing: border-box; }
.thumb-img.active { transition: all 0.4s ease-in-out !important; }

/* =========================================
   CONTACTO DIRECTO EN PERFILES (NOSOTROS)
========================================= */
.team-contact { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.team-contact a { color: var(--text-gray); text-decoration: none; font-size: 13px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 10px; transition: var(--transition-smooth); }
.team-contact a i { color: var(--accent-gold); font-size: 16px; transition: var(--transition-smooth); }
.team-contact a:hover { color: var(--primary-blue); transform: translateY(-2px); }
.team-contact a:hover i { transform: scale(1.1); }

/* =========================================
   FOOTER PREMIUM COMPACTO
========================================= */
footer { background-color: var(--primary-blue); padding: 50px 6% 20px; color: var(--white); border-top: 3px solid var(--accent-gold); }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 30px; }
.brand-logo-footer { height: 90px; width: auto; object-fit: contain; margin-bottom: 15px; transition: var(--transition-smooth); }
.footer-brand:hover .brand-logo-footer { opacity: 1; transform: scale(1.02); }
.footer-brand p { color: #94a3b8; margin-top: 5px; font-size: 14px; line-height: 1.6; }
.footer-links h4, .footer-contact h4 { font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 20px; color: var(--accent-gold); }
.footer-links a { display: block; color: #cbd5e1; text-decoration: none; margin-bottom: 12px; font-size: 14px; transition: var(--transition-smooth); }
.footer-links a:hover { color: var(--accent-gold); transform: translateX(5px); }
.footer-contact p { color: #cbd5e1; font-size: 14px; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; }
.footer-contact p i { color: var(--accent-gold); font-size: 16px; }
.footer-bottom { text-align: center; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); color: #64748b; font-size: 13px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.social-links { display: flex; gap: 15px; margin-top: 20px; }
.social-links a { color: var(--white); background: rgba(255, 255, 255, 0.05); width: 35px; height: 35px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: var(--transition-smooth); border: 1px solid rgba(255,255,255,0.1); }
.social-links a:hover { background: var(--accent-gold); color: var(--primary-blue); transform: translateY(-3px); border-color: var(--accent-gold); }


/* =========================================
   ESTILOS PROPIOS PARA LA PÁGINA ABOUT US
========================================= */
.nosotros-hero {
    background: linear-gradient(rgba(0, 21, 56, 0.85), rgba(0, 21, 56, 0.7)), url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=2000&q=80') center/cover;
    padding: 160px 20px 80px;
    text-align: center;
    color: var(--white);
}
.nosotros-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.nosotros-content {
    max-width: 900px;
    margin: 60px auto;
    padding: 40px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border);
    text-align: center;
    line-height: 1.8;
}

.mision-vision-section {
    max-width: 1100px;
    margin: 0 auto 80px;
    padding: 0 20px;
}
.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}
.mv-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
}
.mv-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-hover);
}
.mv-icon {
    font-size: 40px;
    color: var(--accent-gold);
    margin-bottom: 20px;
}
.mv-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-blue);
    font-size: 24px;
    margin-bottom: 15px;
}
.mv-card p {
    color: var(--text-gray);
    line-height: 1.8;
    font-size: 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 40px auto 100px;
    padding: 0 20px;
}
.team-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}
.team-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-gold);
}
.team-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}
.team-info {
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    text-align: left;
}
.team-name {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-weight: 800;
}
.team-role {
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
}
.team-bio {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}
.team-contact {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.team-contact a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.team-contact a i {
    color: var(--accent-gold);
    font-size: 14px;
}
.team-contact a:hover {
    color: var(--primary-blue);
}