@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

:root {
    --b2b-primary: #0B192C;
    --b2b-accent: #3b82f6;
    --b2b-gradient: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
    --b2b-bg-light: #F8FAFC;
    --b2b-text-main: #334155;
}

body {
    background-color: var(--b2b-bg-light);
    color: var(--b2b-text-main);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.text-dark-blue { color: var(--b2b-primary) !important; }
.bg-dark-blue { background-color: var(--b2b-primary) !important; }
.text-gradient {
    background: var(--b2b-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- NAV PREMIUM --- */
.nav-link-premium {
    color: var(--b2b-text-main);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
    cursor: pointer;
}
.nav-link-premium::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 0;
    background: var(--b2b-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}
.nav-link-premium:hover { color: var(--b2b-primary); }
.nav-link-premium:hover::after { width: 100%; }

/* --- BOTONES JUICY --- */
.btn-juicy-primary {
    background: var(--b2b-gradient);
    color: white !important;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    padding: 14px 32px;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.btn-juicy-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 25px rgba(99, 102, 241, 0.45);
}
.btn-juicy-primary:active { transform: translateY(1px); }

.btn-juicy-outline {
    background: white;
    color: var(--b2b-primary);
    font-weight: 700;
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 12px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}
.btn-juicy-outline:hover {
    border-color: var(--b2b-accent);
    color: var(--b2b-accent);
    box-shadow: 0 8px 15px rgba(59, 130, 246, 0.15);
    transform: translateY(-3px);
}

/* --- ANIMACIONES HERO --- */
.hero-b2b {
    background: #FFFFFF;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    padding: 4rem 2rem;
    position: relative;
}
.img-float {
    animation: floating 4s ease-in-out infinite;
}
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* --- TARJETAS PROPIEDAD --- */
.property-card {
    border-radius: 18px;
    background: #FFFFFF;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
}
.property-carousel { position: relative; }
.property-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    color: var(--b2b-primary);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.property-badge.badge-warning { background: #FEF08A; color: #713F12; }

.btn-adquirir {
    background: var(--b2b-bg-light);
    color: var(--b2b-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 10px;
    padding: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.property-card:hover .btn-adquirir {
    background: var(--b2b-gradient);
    color: white;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.carousel-nav-btn {
    background-color: rgba(11, 25, 44, 0.6) !important;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    background-size: 45%;
    backdrop-filter: blur(2px);
    transition: background-color 0.2s;
}
.carousel-control-prev:hover .carousel-nav-btn,
.carousel-control-next:hover .carousel-nav-btn {
    background-color: var(--b2b-accent) !important;
}

/* --- OFFCANVAS PROCESO (JUICY STEPS) --- */
.step-number-juicy {
    width: 45px;
    height: 45px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--b2b-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 2;
}
.step-item::after {
    content: '';
    position: absolute;
    left: 22px;
    top: 45px;
    bottom: -20px;
    width: 2px;
    background: #E2E8F0;
    z-index: 1;
}
.step-item:last-child::after { display: none; }
.step-final {
    background: var(--b2b-gradient);
    color: white;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

/* --- BENEFICIOS --- */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05) !important;
}

/* --- FOOTER SEGURO --- */
.footer-b2b { background-color: #0B192C !important; color: #F8FAFC !important; }
.footer-b2b h4, .footer-b2b h6 { color: #FFFFFF !important; }
.text-light-50 { color: rgba(255, 255, 255, 0.6) !important; }
.border-light-50 { border-color: rgba(255, 255, 255, 0.1) !important; }
.footer-link {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s;
    display: inline-block;
}
.footer-link:hover {
    color: var(--b2b-accent) !important;
    transform: translateX(4px);
}
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.08);
    color: #FFFFFF;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-btn:hover {
    background: var(--b2b-gradient);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}


.contract-viewer {
    line-height: 1.6;
    border: 1px solid #e2e8f0;
    scrollbar-width: thin;
    scrollbar-color: #3b82f6 #f1f5f9;
}

.contract-viewer::-webkit-scrollbar {
    width: 6px;
}

.contract-viewer::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.contract-viewer::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.proceso-steps {
    position: relative;
    padding-left: 5px;
}

.step-item {
    position: relative;
}