/* ======================
   ASESORES RM - Sitio Web Inmobiliario
   Versión: 2.0 - CSS Consolidado
====================== */

/* Variables CSS */
:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #4a5568;
    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    --gradient-accent: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    --text-primary: #ffffff;
    --text-secondary: #a0aec0; 
    --text-dark: #2d3748;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --border-color: #e2e8f0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

body {
    background-color: #222222;
    overflow-x: hidden;
}

/* Ocultar todo el contenido hasta que termine el preloader */
html.preloader-active,
body.preloader-active {
    overflow: hidden !important;
    user-select: none !important-;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    height: 100% !important;
}

body.preloader-active > *:not(#preloader) {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Mostrar contenido cuando termine el preloader */
html.preloader-finished,
body.preloader-finished {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
}

body.preloader-finished > * {
    visibility: visible !important;
    opacity: 1 !important;
    transition: opacity 0.5s ease-in-out;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.navbar {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    padding: 0.5rem 0;
}

.navbar-brand img {
    transition: var(--transition);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--text-secondary) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: var(--gradient-accent);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(45, 45, 45, 0.6) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-actions {
    max-width: 600px;
}

.action-buttons-container {
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

.btn-hero {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-width: 180px;
    z-index: 1;
}

.btn-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 60px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

/* Proyectos Button */
.btn-projects {
    background: rgba(116, 235, 213, 0.15);
    color: #74ebd5;
    border-color: rgba(116, 235, 213, 0.3);
}

.btn-projects .btn-glow {
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
}

.btn-projects:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(116, 235, 213, 0.4);
    border-color: rgba(116, 235, 213, 0.6);
}

.btn-projects:hover .btn-glow {
    opacity: 1;
}

.btn-projects:hover .btn-content {
    color: #2d3748;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Propiedades Button */
.btn-properties {
    background: rgba(255, 236, 210, 0.15);
    color: #ffecd2;
    border-color: rgba(255, 236, 210, 0.3);
}

.btn-properties .btn-glow {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.btn-properties:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 45px rgba(252, 182, 159, 0.4);
    border-color: rgba(255, 236, 210, 0.6);
}

.btn-properties:hover .btn-glow {
    opacity: 1;
}

.btn-properties:hover .btn-content {
    color: #2d3748;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Active States */
.btn-hero:active {
    transform: translateY(-2px) scale(0.98);
}

/* Focus States */
.btn-hero:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Hero Shapes */
.hero-shapes {
    position: relative;
    z-index: 5;
}

.shape-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 160px);
    gap: 25px 20px;
    max-width: 580px;
    margin-left: auto;
    align-items: start;
    padding: 20px 0;
}

.shape {
    width: 132px;
    height: 132px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    margin: 0 auto;
}

.shape:hover {
    transform: scale(1.08);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.1);
    filter: brightness(1.1);
    z-index: 50;
    position: relative;
}

.shape::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
    z-index: 1;
}

.shape:hover::before {
    opacity: 1;
}

.shape::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(116, 235, 213, 0.3), 
        rgba(168, 85, 247, 0.3), 
        rgba(132, 204, 22, 0.3),
        rgba(251, 146, 60, 0.3)
    );
    opacity: 0;
    filter: blur(8px);
    transition: var(--transition);
    pointer-events: none;
    z-index: -1;
}

.shape:hover::after {
    opacity: 1;
}

.shape img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Formas específicas */
.shape-1 { 
    background: #7DD3FC;
    border-radius: 50% 50% 0 50%;
}

.shape-2 { 
    background: #ffffff00;
    border-radius: 50%;
}
.shape-2 img {
    border-radius: 50%;
}

.shape-3 { 
    background: #84CC16;
    border-radius: 50%;
}

.shape-4 { 
    background: #A855F7;
    border-radius: 20px;
}

.shape-5 { 
    background: #ffffff00;
    border-radius: 50% 50% 0 50%;
}
.shape-5 img {
    border-radius: 50% 50% 0 50%;
}

.shape-6 { 
    background: #A855F7;
    border-radius: 65px;
}

.shape-7 { 
    background: #ffffff00;
    border-radius: 50% 0 50% 50%;
}
.shape-7 img {
    border-radius: 50% 0 50% 50%;
}

.shape-8 { 
    background: #FB923C;
    border-radius: 20px;
}

.shape-9 { 
    background: #FDA4AF;
    border-radius: 50% 0 50% 50%;
}

.shape-10 { 
    background: #ffffff00;
    border-radius: 50%;
}
.shape-10 img {
    border-radius: 50%;
}

.shape-11 { 
    background: #FBBF24;
    border-radius: 20px;
}

.shape-12 { 
    background: #ffffff00;
    border-radius: 20px;
}
.shape-12 img {
    border-radius: 20px;
}

/* Posicionamiento controlado */
.shape-1 { transform: translateY(0px); }
.shape-2 { transform: translateY(15px); }
.shape-3 { transform: translateY(0px); }
.shape-4 { transform: translateY(15px); }
.shape-5 { transform: translateY(8px); }
.shape-6 { transform: translateY(0px); }
.shape-7 { transform: translateY(8px); }
.shape-8 { transform: translateY(0px); }
.shape-9 { transform: translateY(0px); }
.shape-10 { transform: translateY(15px); }
.shape-11 { transform: translateY(0px); }
.shape-12 { transform: translateY(15px); }

/* Logo Container */
.hero-logo-container {
    position: relative;
    z-index: 10;
    padding: 2rem 0 1rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2em;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.hero-logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.25em;
    margin: 0;
    text-transform: uppercase;
}

/* Grid básico */
.hero-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 3;
    opacity: 0.3;
}



/* =====================================================
   PRIMARY PROJECTS SECTION STYLES
   ===================================================== */

.primary-projects-section {
    min-height: 100vh;
    background: var(--gradient-primary);
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}





.projects-header {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.projects-header h2.section-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.2em !important;
    margin: 0 !important;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2) !important;
    padding-bottom: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    display: inline-block !important;
}

.projects-header .section-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.25em;
    margin: 0;
    text-transform: uppercase;
}

.header-decoration {
    position: relative;
    margin-bottom: 2rem;
}

.blueprint-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px dashed rgba(116, 235, 213, 0.3);
    border-radius: 50%;
    animation: blueprintRotate 15s linear infinite;
}

.blueprint-lines::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 1px dashed rgba(172, 182, 229, 0.4);
    border-radius: 50%;
    animation: blueprintRotate 10s linear infinite reverse;
}

@keyframes blueprintRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.construction-icons {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.construction-icons i {
    font-size: 2rem;
    color: #74ebd5;
    text-shadow: 0 0 20px rgba(116, 235, 213, 0.5);
    animation: iconFloat 3s ease-in-out infinite;
}

.construction-icons i:nth-child(2) {
    animation-delay: -1s;
    color: #acb6e5;
}

.construction-icons i:nth-child(3) {
    animation-delay: -2s;
    color: #ffc107;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.construction-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.4);
    animation: constructionPulse 2s ease-in-out infinite;
}

@keyframes constructionPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Projects Showcase */
.projects-showcase {
    position: relative;
    z-index: 10;
}

.project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 500px;
    width: 100%;
    max-width: 100%;
}

.project-card.compact {
    height: 400px;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.project-video-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-video {
    transform: scale(1.05);
}

.construction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 2;
}

.progress-indicator {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.progress-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    display: block;
}

.progress-bar {
    width: 100px;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #74ebd5 0%, #acb6e5 100%);
    border-radius: 3px;
    transition: width 1s ease;
    animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        transparent 100%
    );
    color: #fff;
    padding: 2rem;
    z-index: 5;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.project-info.compact {
    padding: 1.5rem;
}

.project-card:hover .project-info {
    transform: translateY(0);
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.project-status.premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
}

.project-status.commercial {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-status.residential {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-status.office {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.project-info.compact .project-title {
    font-size: 1.2rem;
}

.project-location {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
}

.project-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-features.compact {
    gap: 1rem;
    margin-bottom: 1rem;
}

.feature {
    text-align: center;
}

.feature-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #74ebd5;
    text-shadow: 0 0 10px rgba(116, 235, 213, 0.5);
}

.project-features.compact .feature-number {
    font-size: 1.2rem;
}

.feature-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.8;
}

.btn-project-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-project-info:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.3) 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Call to Action */
.projects-cta {
    position: relative;
    z-index: 10;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.projects-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.projects-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.btn-cta-projects {
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
    color: #fff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(116, 235, 213, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta-projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-cta-projects:hover::before {
    left: 100%;
}

.btn-cta-projects:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(116, 235, 213, 0.6);
}



/* Responsive Design for Projects */
@media (max-width: 768px) {
    .primary-projects-section {
        min-height: auto;
        padding: 3rem 0;
    }
    
    .projects-showcase {
        display: flex;
        justify-content: center;
    }
    
    .projects-showcase .row {
        justify-content: center;
        width: 100%;
    }
    
    .projects-showcase .col-lg-6 {
        display: flex;
        justify-content: center;
        max-width: 450px;
    }
    
    .construction-icons {
        gap: 1rem;
    }
    
    .construction-icons i {
        font-size: 1.5rem;
    }
    
    .project-card {
        height: 350px;
        margin-bottom: 1.5rem;
    }
    
    .project-card.compact {
        height: 300px;
    }
    
    .project-features {
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .projects-cta {
        padding: 2rem 1rem;
    }
    
    .projects-cta h3 {
        font-size: 1.5rem;
    }
    
    .btn-cta-projects {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .progress-indicator {
        top: 15px;
        right: 15px;
        padding: 0.5rem 0.75rem;
    }
    
    .project-info {
        padding: 1.2rem;
    }
    
    .project-title {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .project-location {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
        display: block;
    }
    
    .btn-project-info {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Portal logo responsive */
    .portal-logo-main {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .portal-logo-subtitle {
        font-size: 0.8rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 576px) {
    .project-features {
        justify-content: center;
    }
    
    .feature {
        min-width: 80px;
    }
    
    /* Proyectos primarios en móviles pequeños */
    .project-card {
        height: 300px;
        margin-bottom: 1rem;
    }
    
    .project-info {
        padding: 1rem;
    }
    
    .project-title {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        line-height: 1.2;
    }
    
    .project-location {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }
    
    .btn-project-info {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
        border-radius: 20px;
    }
    
    .portal-logo-main {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
    }
    
    .portal-logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.15em;
    }
    
    /* Grid de proyectos responsive */
    .projects-showcase .row {
        margin: 0;
        justify-content: center;
    }
    
    .projects-showcase .col-lg-6 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
        display: flex;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .projects-showcase .project-card {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        flex-shrink: 0;
    }
}

/* Section highlight animation for smooth scrolling */
.section-highlight {
    animation: sectionHighlight 1.2s ease-in-out;
}

@keyframes sectionHighlight {
    0% { 
        background-color: transparent; 
    }
    25% { 
        background-color: rgba(116, 235, 213, 0.1); 
    }
    75% { 
        background-color: rgba(116, 235, 213, 0.05); 
    }
    100% { 
        background-color: transparent; 
    }
}

/* Button scrolling state */
.btn-hero.scrolling {
    transform: translateY(-2px) scale(0.98);
    opacity: 0.8;
}



/* Properties Search Section */
.property-search-section {
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.search-form-wrapper h3 {
    color: var(--text-dark);
    font-weight: 600;
}

.search-form-horizontal {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.search-select {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: var(--transition);
}

.search-select:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 85, 104, 0.25);
}

.search-btn {
    background: var(--gradient-accent);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: var(--transition);
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.properties-section {
    background: var(--bg-light);
}

/* Advanced Filters Styles */
.property-filters .filters-container {
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.property-filters .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.property-filters .filter-select,
.property-filters .filter-input {
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
    background: white;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.property-filters .filter-select:focus,
.property-filters .filter-input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 85, 104, 0.15);
    outline: none;
}

.property-filters .filter-select:hover,
.property-filters .filter-input:hover {
    border-color: rgba(0, 0, 0, 0.25);
}

/* Filtros colapsables */
.filters-container.collapsed .row:nth-child(2) {
    display: none;
}

.filters-container.collapsed .row:nth-child(3) {
    display: none;
}

/* Loading state para selects */
.filter-select.loading {
    background-image: url("data:image/svg+xml,%3csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M8 3V6L10 8L8 10V13' stroke='%236c757d' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

/* Responsividad mejorada */
@media (max-width: 768px) {
    .property-filters .filters-container {
        padding: 1.5rem !important;
        margin: 0 0.5rem;
    }
    
    .property-filters .form-label {
        font-size: 0.85rem;
        margin-bottom: 0.3rem;
    }
    
    .property-filters .filter-select,
    .property-filters .filter-input {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
        border-radius: 8px;
    }
    
    .property-filters .row {
        margin: 0;
    }
    
    .property-filters .col-lg-2,
    .property-filters .col-lg-3,
    .property-filters .col-md-4,
    .property-filters .col-md-6,
    .property-filters .col-sm-6 {
        padding: 0 0.5rem;
        margin-bottom: 1rem;
    }
    
    .property-filters button {
        width: 100%;
        padding: 0.7rem;
        font-size: 0.9rem;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
        text-align: center;
        padding: 0 1rem;
        line-height: 1.3;
        display: block;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
        padding: 0 1rem;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.5;
        display: block;
    }
    
    .projects-header, 
    .section-header {
        text-align: center;
        padding: 0 1rem;
    }
    
    .primary-projects-section .container,
    .properties-section .container,
    .services-section .container {
        padding: 0 1rem;
    }
}

/* Property Cards */
.property-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.property-image {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.05);
}

.property-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-accent);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.property-code-feature {
    background: rgba(74, 85, 104, 0.12) !important;
    color: var(--primary-color) !important;
    border: 1px solid rgba(74, 85, 104, 0.2) !important;
}

.property-price {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 2;
    line-height: 1.2;
}

.property-price .price-sale {
    color: var(--primary-color);
    margin-bottom: 3px;
}

.property-price .price-rental {
    color: #28a745;
    margin-bottom: 3px;
}

.property-price .price-consult {
    color: #6c757d;
    font-size: 0.9rem;
    font-style: italic;
}

/* Para propiedades con venta o alquiler */
.property-price .price-sale + .price-rental {
    font-size: 0.85rem;
    opacity: 0.9;
}

.property-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.property-location {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.property-location i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.property-features {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.property-features span {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-size: 0.85rem;
    background: rgba(74, 85, 104, 0.08);
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    font-weight: 500;
}

.property-features span i {
    margin-right: 0.3rem;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.property-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: auto;
}

.property-actions .btn {
    flex: 1;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid;
}

.property-actions .btn-outline-primary {
    color: var(--accent-color);
    border-color: var(--accent-color);
    background: transparent;
}

.property-actions .btn-outline-primary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-1px);
}

.property-actions .btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.property-actions .btn-primary:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-1px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transition: var(--transition);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Employee Access Section */
.employee-access-section {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.employee-portal-header {
    position: relative;
    z-index: 4;
    margin-bottom: 4rem;
}

.portal-logo-container {
    text-align: center;
}

.portal-logo-main {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.2em;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.portal-logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.25em;
    margin: 0;
    text-transform: uppercase;
}

.employee-portal-container {
    position: relative;
    z-index: 4;
}

.access-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    transition: all 0.4s ease;
    opacity: 0;
}

.access-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(255, 255, 255, 0.2);
}

.access-card:hover::before {
    opacity: 1;
}

.card-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    border-radius: 24px 24px 0 0;
    transition: all 0.4s ease;
}

.rems-card .card-decoration {
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
}

.ccrm-card .card-decoration {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.access-card:hover .card-decoration {
    height: 8px;
}

.access-shapes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.shape-bg {
    position: absolute;
    border-radius: 50%;
    transition: all 0.6s ease;
    opacity: 0.1;
}

.rems-card .shape-bg.shape-1 {
    width: 80px;
    height: 80px;
    background: #74ebd5;
    top: -20px;
    right: -20px;
}

.rems-card .shape-bg.shape-2 {
    width: 120px;
    height: 120px;
    background: #acb6e5;
    bottom: -40px;
    left: -40px;
}

.rems-card .shape-bg.shape-3 {
    width: 60px;
    height: 60px;
    background: #74ebd5;
    top: 50%;
    left: -15px;
}

.ccrm-card .shape-bg.shape-1 {
    width: 80px;
    height: 80px;
    background: #ffecd2;
    top: -20px;
    right: -20px;
}

.ccrm-card .shape-bg.shape-2 {
    width: 120px;
    height: 120px;
    background: #fcb69f;
    bottom: -40px;
    left: -40px;
}

.ccrm-card .shape-bg.shape-3 {
    width: 60px;
    height: 60px;
    background: #ffecd2;
    top: 50%;
    left: -15px;
}

.access-card:hover .shape-bg {
    opacity: 0.2;
    transform: scale(1.2);
}

.access-content {
    position: relative;
    z-index: 2;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-icon-container {
    margin-bottom: 2rem;
}

.access-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2.5rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.rems-icon {
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
    color: #2d3748;
}

.ccrm-icon {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #2d3748;
}

.access-card:hover .access-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.access-title {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.access-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    font-weight: 400;
}

.btn-access {
    position: relative;
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.btn-text {
    position: relative;
    z-index: 2;
    color: white;
    transition: all 0.3s ease;
}

.btn-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50px;
    transition: all 0.4s ease;
    opacity: 0;
}

.btn-rems .btn-bg {
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
}

.btn-ccrm .btn-bg {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.btn-access:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-access:hover .btn-bg {
    opacity: 1;
}

.btn-access:hover .btn-text {
    color: #2d3748;
}

.contact-section {
    background: var(--gradient-primary);
    color: var(--text-primary);
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--text-primary);
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form .form-control,
.contact-form .form-select {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 500;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    background: white;
    box-shadow: 0 0 0 0.2rem rgba(74, 85, 104, 0.25);
}

.footer {
    background: var(--primary-color);
    color: var(--text-primary);
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
}

/* Pagination Styles */
.pagination {
    margin: 2rem 0;
}

.pagination .page-link {
    color: var(--primary-color);
    border: 2px solid var(--border-color);
    margin: 0 0.25rem;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.3);
}

.pagination .page-link:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 85, 104, 0.2);
}

.pagination .page-item.disabled .page-link {
    color: var(--text-secondary);
    background: rgba(74, 85, 104, 0.1);
    border-color: rgba(74, 85, 104, 0.1);
}

/* Loading States */
.loading-container {
    padding: 4rem 2rem;
}

.loading-container .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 0.3rem;
}

.empty-state,
.error-state {
    padding: 4rem 2rem;
}

.empty-state i,
.error-state i {
    opacity: 0.6;
}

.empty-state h4,
.error-state h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.empty-state p,
.error-state p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Properties Stats */
#propertiesStats {
    font-size: 0.9rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
        padding: 2rem 0;
        min-height: 100vh;
    }
    
    .hero-section .container {
        padding: 0 1rem;
    }
    
    .hero-logo-container {
        padding: 1rem 0 0.8rem 0;
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .hero-logo-main {
        font-size: 1.8rem;
        letter-spacing: 0.12em;
        text-align: center;
    }
    
    .hero-logo-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.18em;
        text-align: center;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 2rem;
        text-align: center;
        padding: 0 0.5rem;
    }
    
    .hero-shapes {
        margin-top: 2rem;
        order: 3;
    }
    
    .shape-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 100px);
        gap: 12px 10px;
        max-width: 350px;
        margin: 0 auto;
        padding: 15px 0;
        justify-items: center;
    }
    
    .shape {
        width: 80px;
        height: 80px;
    }
    
    .shape-2, .shape-4, .shape-10, .shape-12 {
        transform: translateY(8px);
    }
    
    .shape-5, .shape-7 {
        transform: translateY(4px);
    }
    
    .action-buttons-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
        min-width: auto;
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
        max-width: 280px;
    }
    
    .search-form-horizontal {
        padding: 1.5rem;
    }
    
    .search-form-horizontal .row > * {
        margin-bottom: 1rem;
    }
    
    .property-filters .row {
        gap: 1rem;
    }
    
    .property-filters .col-md-3 {
        margin-bottom: 1rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    /* Paginación responsive - solo flechas */
    .pagination .page-link {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 0.6rem 0.7rem;
        font-size: 1rem;
        min-width: 45px;
        text-align: center;
    }
    
    .pagination .page-item:first-child .page-link .text,
    .pagination .page-item:last-child .page-link .text {
        display: none;
    }
    
    /* CENTRADO DE TARJETAS DE PROYECTOS PRIMARIOS */
    .projects-showcase {
        display: flex;
        justify-content: center;
    }
    
    .projects-showcase .row {
        justify-content: center !important;
        width: 100%;
    }
    
    .projects-showcase .col-lg-6 {
        display: flex;
        justify-content: center;
        max-width: 100%;
        flex: 0 0 100%;
        width: 100%;
        margin-bottom: 2rem;
    }
    
    .project-card {
        margin: 0 auto;
        width: 100%;
        max-width: 450px;
        flex-shrink: 0;
    }
    
    /* Employee Access Section - Tablet */
    .portal-logo-main {
        font-size: 2rem;
        letter-spacing: 0.15em;
    }
    
    .portal-logo-subtitle {
        font-size: 0.7rem;
        letter-spacing: 0.2em;
    }
    
    .access-card {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .access-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .access-title {
        font-size: 1.7rem;
    }
    
    .access-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .btn-access {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-logo-container {
        padding: 1rem 0 0.5rem 0;
        margin-bottom: 1rem;
    }
    
    .hero-logo-main {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        padding-bottom: 0.3rem;
    }
    
    .hero-logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
    }
    
    .shape-grid {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: repeat(3, 100px);
        gap: 12px 10px;
        max-width: 360px;
        padding: 10px 0;
    }
    
    .shape {
        width: 80px;
        height: 80px;
    }
    
    .shape-2, .shape-4, .shape-10, .shape-12 {
        transform: translateY(8px);
    }
    
    .shape-5, .shape-7 {
        transform: translateY(4px);
    }
    
    .property-actions {
        flex-direction: column;
        gap: 0.6rem;
    }
    
    .property-image {
        height: 200px;
    }
    
    .property-content {
        padding: 1.2rem;
    }
    
    .property-title {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .property-price {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .property-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .property-features {
        gap: 0.6rem;
        margin-bottom: 1rem;
    }
    
    .property-features span {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    /* Filtros en móviles pequeños */
    .property-filters .filters-container {
        padding: 1rem !important;
        margin: 0 0.25rem;
    }
    
    .property-filters .form-label {
        font-size: 0.8rem;
        margin-bottom: 0.2rem;
    }
    
    .property-filters .filter-select,
    .property-filters .filter-input {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
        border-radius: 6px;
    }
    
    .property-filters .col-lg-2,
    .property-filters .col-lg-3,
    .property-filters .col-md-4,
    .property-filters .col-md-6,
    .property-filters .col-sm-6 {
        padding: 0 0.25rem;
        margin-bottom: 0.8rem;
    }
    
    .property-filters button {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    /* Títulos y secciones centradas para móviles pequeños */
    .section-title {
        font-size: 1.6rem !important;
        text-align: center;
        line-height: 1.3;
        margin-bottom: 1rem !important;
        padding: 0 1rem;
        display: block;
    }
    
    .section-subtitle {
        font-size: 0.9rem !important;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 2rem !important;
        padding: 0 1rem;
        max-width: 95%;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block;
    }
    
    .projects-header, 
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .primary-projects-section .container,
    .properties-section .container,
    .services-section .container,
    .employee-access-section .container {
        padding: 0 1rem;
    }
    
    /* Paginación móviles pequeños - solo flechas */
    .pagination {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .pagination .page-link {
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
        min-width: 40px;
    }
    
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 0.5rem;
        font-size: 1.1rem;
        min-width: 40px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pagination .page-item:first-child .page-link span:not(.fas),
    .pagination .page-item:last-child .page-link span:not(.fas),
    .pagination .page-item:first-child .page-link .text,
    .pagination .page-item:last-child .page-link .text {
        display: none !important;
    }
    
    /* Hero Buttons - Mobile */
    .hero-actions {
        max-width: 100%;
    }
    
    .btn-hero {
        padding: 0.9rem 1.8rem;
        font-size: 0.95rem;
        min-width: auto;
    }
    
    .action-buttons-container {
        gap: 0.8rem;
    }
    
    /* Employee Access Section - Mobile */
    .employee-access-section {
        padding: 3rem 0;
    }
    
    .portal-logo-main {
        font-size: 1.5rem;
        letter-spacing: 0.1em;
        padding-bottom: 0.3rem;
    }
    
    .portal-logo-subtitle {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
    }
    
    .access-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .access-icon-container {
        margin-bottom: 1.5rem;
    }
    
    .access-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .access-title {
        font-size: 1.5rem;
    }
    
    .access-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
    
    .btn-access {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
}

/* Media query para tablets en portrait */
@media (max-width: 1024px) and (min-width: 769px) {
    .hero-logo-container {
        padding: 1.5rem 0 1rem 0;
        margin-bottom: 1.5rem;
    }
}

/* Media query para dispositivos muy pequeños */
@media (max-width: 375px) {
    .hero-logo-container {
        padding: 0.8rem 0 0.4rem 0;
        margin-bottom: 0.8rem;
    }
    
    .hero-logo-main {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }
    
    .hero-logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }
    
    .portal-logo-main {
        font-size: 1.3rem;
        letter-spacing: 0.08em;
    }
    
    .portal-logo-subtitle {
        font-size: 0.55rem;
        letter-spacing: 0.12em;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    /* Hero Buttons - Extra Small */
    .btn-hero {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .action-buttons-container {
        gap: 0.6rem;
    }
    
    /* Proyectos - Dispositivos muy pequeños */
    .project-card {
        height: 280px;
        margin-bottom: 0.8rem;
    }
    
    .project-info {
        padding: 0.8rem;
    }
    
    .project-title {
        font-size: 1rem;
        margin-bottom: 0.2rem;
        line-height: 1.1;
    }
    
    .project-location {
        font-size: 0.8rem;
        margin-bottom: 0.4rem;
    }
    
    .btn-project-info {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 18px;
    }
    
    /* Filtros para dispositivos muy pequeños */
    .property-filters .filters-container {
        padding: 0.8rem !important;
        margin: 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        text-align: center;
        padding: 0 0.5rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
        display: block;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
        text-align: center;
        padding: 0 0.5rem;
        max-width: 98%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.4;
        margin-bottom: 1.5rem;
        display: block;
    }
    
    .projects-header, 
    .section-header {
        text-align: center;
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .primary-projects-section .container,
    .properties-section .container,
    .services-section .container,
    .employee-access-section .container {
        padding: 0 0.5rem;
    }
    
    /* Paginación dispositivos muy pequeños - solo flechas */
    .pagination {
        justify-content: center;
        gap: 0.25rem;
        margin: 1.5rem 0;
    }
    
    .pagination .page-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.8rem;
        min-width: 35px;
        margin: 0 0.1rem;
    }
    
    .pagination .page-item:first-child .page-link,
    .pagination .page-item:last-child .page-link {
        padding: 0.4rem;
        font-size: 1rem;
        min-width: 35px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .pagination .page-item:first-child .page-link span:not(.fas):not(.fa),
    .pagination .page-item:last-child .page-link span:not(.fas):not(.fa),
    .pagination .page-item:first-child .page-link .text,
    .pagination .page-item:last-child .page-link .text {
        display: none !important;
    }
}

/* Media query para orientación horizontal en dispositivos móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-logo-container {
        padding: 0.6rem 0 0.3rem 0;
        margin-bottom: 0.8rem;
    }
    
    .hero-logo-main {
        font-size: 1.2rem;
        letter-spacing: 0.08em;
        padding-bottom: 0.2rem;
    }
    
    .hero-logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }
    
    .portal-logo-main {
        font-size: 1.2rem;
        letter-spacing: 0.08em;
        padding-bottom: 0.2rem;
    }
    
    .portal-logo-subtitle {
        font-size: 0.5rem;
        letter-spacing: 0.1em;
    }
    
    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .shape-grid {
        grid-template-rows: repeat(3, 80px);
        gap: 8px 6px;
        max-width: 320px;
    }
    
    .shape {
        width: 70px;
        height: 70px;
    }
    
    /* Hero Buttons - Landscape */
    .action-buttons-container {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn-hero {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
        min-width: 140px;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes rotate {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.1; }
}

@keyframes drift {
    0% { transform: translateX(0px) translateY(0px); }
    33% { transform: translateX(30px) translateY(-30px); }
    66% { transform: translateX(-20px) translateY(20px); }
    100% { transform: translateX(0px) translateY(0px); }
}

/* =============================================================================
   PROPERTY MODAL STYLES
   ============================================================================= */

.modal-xl {
    max-width: 1400px;
}

/* ===== NEW CAROUSEL STYLES ===== */
.property-carousel {
    position: relative;
    margin-bottom: 2rem;
}

.carousel-inner {
    border-radius: 0;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.carousel-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 10;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.7);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.thumbnail-navigation {
    padding: 1rem 2rem;
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid var(--border-color);
    position: relative;
}

.thumbnail-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 10px 0;
    /* Ocultar scrollbar */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.thumbnail-carousel::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.thumbnail-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: none; /* Oculto por defecto */
}

.thumbnail-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.thumbnail-nav-prev {
    left: 10px;
}

.thumbnail-nav-next {
    right: 10px;
}

.thumbnail-navigation.has-overflow .thumbnail-nav-btn {
    display: block;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.thumbnail-item:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.thumbnail-item.active {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== UPDATED CONTENT STYLES ===== */
.property-basic-info,
.property-detailed-info {
    padding: 2rem;
    height: 100%;
}

.property-basic-info {
    border-right: 1px solid var(--border-color);
}

.property-detailed-info {
    background: rgba(0, 0, 0, 0.02);
}

.property-header {
    margin-bottom: 2rem;
}

.property-code-badge {
    background: var(--primary-color);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-right: 10px;
}

.property-type-badge {
    background: var(--gradient-accent);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-title-modal {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 1rem 0 0.5rem 0;
    line-height: 1.3;
}

.property-location-modal {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.property-location-modal i {
    margin-right: 8px;
    color: var(--accent-color);
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.stars {
    color: #ffc107;
}

.rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.property-pricing {
    background: rgba(74, 85, 104, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.price-section .price-sale {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.price-section .price-rental {
    font-size: 1.3rem;
    font-weight: 600;
    color: #28a745;
    margin-bottom: 5px;
}

.price-section .price-consult {
    font-size: 1.2rem;
    color: var(--text-secondary);
    font-style: italic;
}

.property-features-modal h5,
.property-description h5,
.property-amenities h5,
.agent-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(74, 85, 104, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--accent-color);
}

.feature-item i {
    color: var(--accent-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.property-description {
    margin-bottom: 2rem;
}

.property-description p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.amenity-tag {
    background: rgba(74, 85, 104, 0.08);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(74, 85, 104, 0.1);
}

.environments-list,
.exterior-list,
.adjacencies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 2rem;
}

.environment-tag {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.exterior-tag {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(46, 204, 113, 0.2);
}

.adjacency-tag {
    background: rgba(155, 89, 182, 0.1);
    color: #9b59b6;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(155, 89, 182, 0.2);
}

.property-environments h5,
.property-exterior h5,
.property-adjacencies h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.agent-card {
    display: flex;
    align-items: center;
    background: rgba(74, 85, 104, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.agent-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--accent-color);
}

.agent-details h6 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.agent-details p {
    color: var(--text-secondary);
    margin-bottom: 3px;
    font-size: 0.9rem;
}

.modal-actions {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

/* Responsive styles for modal */
@media (max-width: 991px) {
    .modal-xl {
        max-width: 95%;
    }
    
    .property-gallery {
        padding: 1rem;
    }
    
    .main-image {
        height: 250px;
    }
    
    .property-details-content {
        padding: 1.5rem;
    }
    
    .property-title-modal {
        font-size: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .property-gallery {
        padding: 0.5rem;
    }
    
    .main-image {
        height: 200px;
    }
    
    .property-details-content {
        padding: 1rem;
    }
    
    .property-title-modal {
        font-size: 1.3rem;
    }
    
    .thumbnail-item {
        width: 60px;
        height: 60px;
    }
    
    .agent-card {
        flex-direction: column;
        text-align: center;
    }
    
    .agent-photo {
        margin-right: 0;
        margin-bottom: 10px;
    }
} 

/* Gradiente inverso específico para la sección de proyectos */
#proyectos-primarios .hero-overlay {
    background: linear-gradient(180deg, rgba(45, 45, 45, 0.2) 0%, rgba(45, 45, 45, 0.3) 50%, rgba(26, 26, 26, 0.8) 100%);
}

/* ==========================================
   PRELOADER MODERNO Y CORPORATIVO
   ASESORES RM - Experiencia Inmobiliaria Premium
========================================== */

.preloader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    overflow: hidden;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: auto;
    cursor: default;
}

.preloader-container.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.preloader-content {
    position: relative;
    text-align: center;
    z-index: 10;
}

/* Logo/Marca Principal */
.preloader-logo {
    margin-bottom: 3rem;
    animation: logoEntrance 1.2s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.preloader-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(116, 235, 213, 0.3);
    letter-spacing: 2px;
    position: relative;
}

.preloader-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: subtitleEntrance 1s ease-out 0.8s forwards;
}

.logo-underline {
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #74ebd5, #acb6e5);
    margin: 1rem auto;
    border-radius: 2px;
    animation: underlineGrow 1.5s ease-out 0.5s forwards;
    box-shadow: 0 0 20px rgba(116, 235, 213, 0.4);
}

/* Elementos Gráficos Corporativos */
.preloader-graphics {
    margin-bottom: 3rem;
}

.building-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    animation: iconsFloat 2s ease-in-out infinite alternate;
}

.building-icons i {
    font-size: 2.5rem;
    color: rgba(116, 235, 213, 0.8);
    transition: all 0.3s ease;
    animation: iconPulse 2s ease-in-out infinite;
}

.icon-1 {
    animation-delay: 0s;
    color: #74ebd5;
}

.icon-2 {
    animation-delay: 0.3s;
    color: #acb6e5;
    font-size: 3rem;
}

.icon-3 {
    animation-delay: 0.6s;
    color: #74ebd5;
}

/* Barra de Progreso Moderna */
.progress-container {
    margin-top: 3rem;
    animation: progressEntrance 1s ease-out 0.8s forwards;
    opacity: 0;
}

.progress-bar-custom {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill-custom {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #74ebd5, #acb6e5, #74ebd5);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: progressAnimation 3s ease-out forwards, progressShimmer 2s ease-in-out infinite;
    position: relative;
}

.progress-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, transparent, rgba(116, 235, 213, 0.4), transparent);
    border-radius: 5px;
    opacity: 0;
    animation: glowPulse 2s ease-in-out infinite;
}

.loading-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin: 1rem 0 0.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    animation: textPulse 2s ease-in-out infinite;
}

.progress-percentage {
    color: #74ebd5;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(116, 235, 213, 0.3);
}

/* Elementos Decorativos Flotantes */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(116, 235, 213, 0.3);
    border-radius: 50%;
    animation: floatAnimation 8s linear infinite;
}

.element-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.element-2 {
    top: 60%;
    left: 85%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.element-3 {
    top: 80%;
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.element-4 {
    top: 30%;
    left: 75%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.element-5 {
    top: 10%;
    left: 50%;
    animation-delay: 4s;
    animation-duration: 5s;
}

/* Partículas de Fondo */
.particles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(172, 182, 229, 0.2);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 14s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 16s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 18s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 20s;
}

.particle:nth-child(6) {
    left: 80%;
    animation-delay: 10s;
    animation-duration: 13s;
}

/* ==========================================
   ANIMACIONES DEL PRELOADER
========================================== */

@keyframes logoEntrance {
    0% {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-10px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes subtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(20px);
        letter-spacing: 8px;
    }
    100% {
        opacity: 1;
        transform: translateY(0);
        letter-spacing: 3px;
    }
}

@keyframes underlineGrow {
    0% {
        width: 0;
    }
    100% {
        width: 200px;
    }
}

@keyframes iconsFloat {
    0% {
        transform: translateY(0px);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 1;
    }
}

@keyframes progressEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes progressAnimation {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

@keyframes progressShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
}

@keyframes textPulse {
    0%, 100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(50px);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN DEL PRELOADER
========================================== */

@media (max-width: 768px) {
    .preloader-title {
        font-size: 2.5rem;
        letter-spacing: 1px;
    }
    
    .preloader-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }
    
    .building-icons {
        gap: 1.5rem;
    }
    
    .building-icons i {
        font-size: 2rem;
    }
    
    .icon-2 {
        font-size: 2.5rem;
    }
    
    .progress-bar-custom {
        width: 250px;
    }
    
    .logo-underline {
        animation: underlineGrow 1.5s ease-out 0.5s forwards;
    }
}

@media (max-width: 480px) {
    .preloader-title {
        font-size: 2rem;
    }
    
    .preloader-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .building-icons {
        gap: 1rem;
    }
    
    .building-icons i {
        font-size: 1.8rem;
    }
    
    .icon-2 {
        font-size: 2.2rem;
    }
    
    .progress-bar-custom {
        width: 200px;
    }
    
    .loading-text {
        font-size: 0.9rem;
    }
    
    .progress-percentage {
        font-size: 1.1rem;
    }
}

/* ==========================================
   SCROLLBAR PERSONALIZADA MODERNA
   Diseño Tecnológico y Elegante
========================================== */

/* Scrollbar para Webkit (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 10px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-radius: 10px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #74ebd5 0%, #acb6e5 50%, #74ebd5 100%);
    border-radius: 10px;
    border: 2px solid rgba(26, 26, 26, 0.3);
    box-shadow: 
        0 0 10px rgba(116, 235, 213, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #74ebd5 0%, #acb6e5 30%, #74ebd5 70%, #acb6e5 100%);
    box-shadow: 
        0 0 20px rgba(116, 235, 213, 0.6),
        0 0 30px rgba(172, 182, 229, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: scaleY(1.05);
    border: 2px solid rgba(116, 235, 213, 0.2);
}

::-webkit-scrollbar-thumb:active {
    background: linear-gradient(180deg, #acb6e5 0%, #74ebd5 50%, #acb6e5 100%);
    box-shadow: 
        0 0 25px rgba(116, 235, 213, 0.8),
        0 0 35px rgba(172, 182, 229, 0.6),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
    transform: scaleY(1.1);
}

::-webkit-scrollbar-corner {
    background: #1a1a1a;
    border-radius: 10px;
}

/* Scrollbar para Firefox */
html {
    scrollbar-width: thin;
    scrollbar-color: #74ebd5 #2d2d2d;
}

/* Scrollbar con efectos adicionales para contenedores específicos */
.properties-section::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #74ebd5 0%, #acb6e5 100%);
    animation: scrollGlow 3s ease-in-out infinite alternate;
}

@keyframes scrollGlow {
    0% {
        box-shadow: 0 0 10px rgba(116, 235, 213, 0.3);
    }
    100% {
        box-shadow: 0 0 15px rgba(116, 235, 213, 0.5);
    }
}

/* ==========================================
   CURSOR PERSONALIZADO MODERNO
   Experiencia Interactiva Tecnológica
========================================== */

/* Cursor base moderno */
* {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><linearGradient id="cursorGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2374ebd5;stop-opacity:1" /><stop offset="100%" style="stop-color:%23acb6e5;stop-opacity:1" /></linearGradient></defs><path d="M8.5,2.5 L8.5,11.5 L11.5,8.5 L15.5,12.5 L17,11 L13,7 L16,7 L8.5,2.5 Z" fill="url(%23cursorGrad)" stroke="%23ffffff" stroke-width="0.5"/></svg>'), auto;
}

/* Cursor para elementos clickeables */
a, button, .btn, .clickable, input[type="submit"], input[type="button"] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><defs><linearGradient id="hoverGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2374ebd5;stop-opacity:1" /><stop offset="50%" style="stop-color:%23acb6e5;stop-opacity:1" /><stop offset="100%" style="stop-color:%2374ebd5;stop-opacity:1" /></linearGradient><filter id="glow"><feGaussianBlur stdDeviation="2" result="coloredBlur"/><feMerge><feMergeNode in="coloredBlur"/><feMergeNode in="SourceGraphic"/></feMerge></filter></defs><circle cx="14" cy="14" r="8" fill="url(%23hoverGrad)" opacity="0.8" filter="url(%23glow)"/><path d="M10,8 L10,16 L13,13 L17,17 L19,15 L15,11 L18,11 L10,8 Z" fill="%23ffffff" stroke="%23000000" stroke-width="0.3"/></svg>'), pointer;
}

/* Cursor para inputs de texto */
input[type="text"], input[type="email"], input[type="password"], textarea, .form-control {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="24" viewBox="0 0 20 24"><defs><linearGradient id="textGrad" x1="0%" y1="0%" x2="0%" y2="100%"><stop offset="0%" style="stop-color:%2374ebd5;stop-opacity:1" /><stop offset="100%" style="stop-color:%23acb6e5;stop-opacity:1" /></linearGradient></defs><rect x="9" y="2" width="2" height="20" fill="url(%23textGrad)"/><rect x="6" y="2" width="8" height="2" fill="url(%23textGrad)"/><rect x="6" y="20" width="8" height="2" fill="url(%23textGrad)"/></svg>'), text;
}

/* Cursor para elementos no permitidos */
.disabled, [disabled] {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><defs><linearGradient id="disabledGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%23ff6b6b;stop-opacity:1" /><stop offset="100%" style="stop-color:%23ee5a6f;stop-opacity:1" /></linearGradient></defs><circle cx="12" cy="12" r="10" fill="url(%23disabledGrad)" opacity="0.7"/><line x1="15" y1="9" x2="9" y2="15" stroke="%23ffffff" stroke-width="2"/></svg>'), not-allowed;
}

/* ==========================================
   EFECTOS INTERACTIVOS ADICIONALES
   Mejora de Experiencia UX
========================================== */

/* Efecto de seguimiento del cursor */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle 150px at var(--mouse-x, 0) var(--mouse-y, 0), 
                rgba(116, 235, 213, 0.03) 0%, 
                transparent 50%);
    pointer-events: none;
    z-index: 1;
    transition: opacity 0.3s ease;
    opacity: 0;
}

body.mouse-active::before {
    opacity: 1;
}

/* Efectos hover mejorados para elementos importantes */
.btn-hero:hover, .property-card:hover, .access-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(116, 235, 213, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Efecto de ondas en click */
.wave-effect {
    position: relative;
    overflow: hidden;
}

.wave-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(116, 235, 213, 0.4) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.wave-effect:active::after {
    width: 300px;
    height: 300px;
}

/* Scrollbar para elementos específicos con animación */
.property-filters::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #74ebd5 0%, #acb6e5 100%);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        background: linear-gradient(90deg, #74ebd5 0%, #acb6e5 100%);
    }
    50% {
        background: linear-gradient(90deg, #acb6e5 0%, #74ebd5 100%);
    }
}

/* Efectos de cursor en elementos específicos de bienes raíces */
.property-image {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><defs><linearGradient id="viewGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2374ebd5;stop-opacity:1" /><stop offset="100%" style="stop-color:%23acb6e5;stop-opacity:1" /></linearGradient></defs><circle cx="16" cy="16" r="12" fill="url(%23viewGrad)" opacity="0.9"/><path d="M16,10 C19,10 22,13 22,16 C22,19 19,22 16,22 C13,22 10,19 10,16 C10,13 13,10 16,10 Z" fill="%23ffffff"/><circle cx="16" cy="16" r="3" fill="%23000000"/><path d="M8,8 L12,12 M24,8 L20,12 M8,24 L12,20 M24,24 L20,20" stroke="%23ffffff" stroke-width="2"/></svg>'), pointer;
}

.social-link {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" viewBox="0 0 28 28"><defs><linearGradient id="socialGrad" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:%2374ebd5;stop-opacity:1" /><stop offset="100%" style="stop-color:%23acb6e5;stop-opacity:1" /></linearGradient></defs><circle cx="14" cy="14" r="10" fill="url(%23socialGrad)"/><path d="M14,6 L14,22 M6,14 L22,14" stroke="%23ffffff" stroke-width="2"/><circle cx="14" cy="14" r="2" fill="%23ffffff"/></svg>'), pointer;
}

/* Media queries para dispositivos móviles */
@media (max-width: 768px) {
    ::-webkit-scrollbar {
        width: 8px;
    }
    
    /* En móviles, usar cursors más simples */
    *, a, button, .btn {
        cursor: default;
    }
    
    body::before {
        display: none;
    }
}

/* Scrollbar para modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #74ebd5 0%, #acb6e5 100%);
    border-radius: 6px;
    border: 1px solid rgba(26, 26, 26, 0.2);
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #acb6e5 0%, #74ebd5 100%);
    box-shadow: 0 0 10px rgba(116, 235, 213, 0.5);
}

/* ==========================================
   PROTECCIÓN DE CONTENIDO Y SEGURIDAD
   Sistema Anti-Copia y Anti-Descarga
========================================== */

/* Bloquear selección global en elementos protegidos */
img, video, .protect-content {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    -khtml-user-drag: none !important;
    -moz-user-drag: none !important;
    -o-user-drag: none !important;
    user-drag: none !important;
    pointer-events: auto;
}

/* Ocultar controles de video para evitar descarga */
video::-webkit-media-controls-download-button {
    display: none !important;
}

video::-webkit-media-controls-fullscreen-button {
    display: none !important;
}

video::-webkit-media-controls-picture-in-picture-button {
    display: none !important;
}

/* Protección específica para videos de proyectos */
.project-video {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-touch-callout: none !important;
    -webkit-user-drag: none !important;
    pointer-events: auto;
    outline: none;
}

/* Overlay invisible para proteger contenido multimedia */
.project-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
    background: transparent;
}

/* Protección para imágenes de propiedades */
.property-image img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: auto;
}

/* Estilo de advertencia para intentos de copia */
.no-select {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Protección contra print screen en navegadores compatibles */
@media print {
    * {
        display: none !important;
    }
    
    body::before {
        content: "🔒 Contenido protegido - Asesores RM";
        display: block !important;
        font-size: 24px;
        text-align: center;
        padding: 50px;
        color: #000;
    }
}

/* Overlay de protección para DevTools */
body.devtools-detected::after {
    content: '🛡️ CONTENIDO PROTEGIDO';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999998;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: #74ebd5;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(116, 235, 213, 0.5);
    pointer-events: auto;
}

/* Protección adicional para elementos interactivos */
.btn-hero, .property-card, .access-card {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Estilo para cursor bloqueado */
.blocked-cursor {
    cursor: not-allowed !important;
}

/* Animación de alerta de seguridad */
@keyframes securityAlert {
    0% { 
        transform: scale(1); 
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.02); 
        filter: brightness(1.2);
    }
    100% { 
        transform: scale(1); 
        filter: brightness(1);
    }
}

/* Aplicar animación cuando se detecta actividad sospechosa */
.security-alert {
    animation: securityAlert 0.5s ease-in-out;
    border: 2px solid #ff6b6b !important;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.5) !important;
}

/* Protección para modal de propiedades */
.modal-content img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: auto;
}

/* Overlay transparente para carousel de imágenes */
.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    background: transparent;
}

/* Protección para thumbnails */
.thumbnail-item img {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none !important;
    pointer-events: auto;
}

/* Estilos para la vista de detalle de propiedad */
.property-carousel {
    position: relative;
    margin-bottom: 2rem;
}

.main-image-container {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-image-container img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
}

.thumbnail-navigation {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.thumbnail-navigation::-webkit-scrollbar {
    display: none;
}

.thumbnail-wrapper {
    display: flex;
    gap: 10px;
}

.thumbnail-img {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.thumbnail-img:hover,
.thumbnail-img.active {
    border-color: #74ebd5;
    transform: translateY(-2px);
    opacity: 1;
}

/* Información de la propiedad */
.property-basic-info {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.property-header .badges {
    margin-bottom: 1rem;
}

.property-header .badge {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.property-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.property-location {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.property-location i {
    color: #74ebd5;
    margin-right: 0.5rem;
}

.property-description {
    margin-top: 2rem;
}

.property-description h5,
.property-features h5 {
    color: #333;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.feature-item {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    font-size: 1.25rem;
    color: #74ebd5;
}

.feature-item span {
    font-size: 0.95rem;
    color: #555;
}

/* Sidebar */
.property-sidebar {
    position: sticky;
    top: 2rem;
}

.price-box {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.price-box .price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #74ebd5 0%, #acb6e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.action-buttons .btn {
    padding: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.action-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-success {
    background: #25d366;
    border-color: #25d366;
}

.btn-success:hover {
    background: #22c55e;
    border-color: #22c55e;
}

/* Responsive */
@media (max-width: 768px) {
    .property-basic-info {
        padding: 1.5rem;
    }

    .property-title {
        font-size: 1.5rem;
    }

    .feature-item {
        padding: 0.75rem;
    }

    .price-box .price {
        font-size: 2rem;
    }
}