/* ========================================
   ENHANCED FOOTER - CARBON BLUE + PURPLE
   ======================================== */

:root {
    /* Carbon Blue Palette */
    --carbon-blue-darkest: #0F172A;
    --carbon-blue-dark: #1E293B;
    --carbon-blue-medium: #334155;
    --carbon-blue-light: #475569;
    --carbon-blue-lighter: #64748B;
    
    /* Cyan/Teal Accents */
    --cyan-primary: #06B6D4;
    --cyan-light: #22D3EE;
    --teal-accent: #14B8A6;
    
    /* Purple (existing) */
    --purple-primary: #7C3AED;
    --purple-secondary: #9333EA;
    --purple-light: #A78BFA;
    
    /* Gradient Combinations */
    --gradient-carbon-purple: linear-gradient(135deg, #0F172A 0%, #7C3AED 100%);
    --gradient-carbon-cyan: linear-gradient(135deg, #1E293B 0%, #06B6D4 100%);
    --gradient-purple-cyan: linear-gradient(135deg, #7C3AED 0%, #06B6D4 100%);
}

/* ========================================
   NEWSLETTER SECTION V2
   ======================================== */
.newsletter-section-v2 {
    position: relative;
    background: var(--gradient-purple-cyan);
    padding: 60px 0;
    overflow: hidden;
}

.newsletter-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.newsletter-wrapper-v2 {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: auto 1fr 1.5fr;
    gap: 40px;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
}

.newsletter-content-v2 {
    color: white;
}

.newsletter-content-v2 h3 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.newsletter-content-v2 p {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

.newsletter-form-v2 {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-input-wrapper {
    position: relative;
    display: flex;
    background: white;
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.newsletter-input-wrapper i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--purple-primary);
    font-size: 18px;
}

.newsletter-input-wrapper input {
    flex: 1;
    padding: 18px 25px 18px 60px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    outline: none;
    color: var(--carbon-blue-darkest);
}

.btn-subscribe-v2 {
    background: var(--gradient-carbon-purple);
    color: white;
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-subscribe-v2:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.newsletter-privacy {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 13px;
    opacity: 0.9;
    margin-left: 10px;
}

.newsletter-privacy i {
    color: var(--teal-accent);
}

/* ========================================
   FOOTER MAIN V2
   ======================================== */
.footer-main-v2 {
    background: var(--carbon-blue-darkest);
    padding: 80px 0 40px;
    color: white;
}

.footer-grid-v2 {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* Footer About Section */
.footer-about {
    padding-right: 20px;
}

.footer-logo-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.footer-logo-icon-v2 {
    width: 60px;
    height: 60px;
    background: var(--gradient-purple-cyan);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.footer-logo-text-v2 {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.footer-brand-name-v2 {
    font-size: 26px;
    font-weight: 900;
    font-family: var(--font-primary);
    background: var(--gradient-purple-cyan);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand-tagline-v2 {
    font-size: 12px;
    color: var(--cyan-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.footer-desc-v2 {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.footer-app-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.app-button {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
}

.app-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--cyan-primary);
    transform: translateY(-3px);
}

.app-button i {
    font-size: 28px;
    color: var(--cyan-light);
}

.app-button small {
    display: block;
    font-size: 11px;
    opacity: 0.7;
}

.app-button strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

/* Footer Titles */
.footer-title-v2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    font-family: var(--font-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.footer-title-v2 i {
    color: var(--cyan-light);
    font-size: 20px;
}

/* Footer Links V2 */
.footer-links-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-v2 li {
    margin-bottom: 12px;
}

.footer-links-v2 a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links-v2 a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--cyan-light);
    transition: width 0.3s ease;
}

.footer-links-v2 a:hover::before {
    width: 30px;
}

.footer-links-v2 a i {
    font-size: 10px;
    color: var(--purple-light);
    transition: transform 0.3s ease;
}

.footer-links-v2 a:hover {
    color: white;
    padding-left: 10px;
}

.footer-links-v2 a:hover i {
    transform: translateX(5px);
    color: var(--cyan-light);
}

/* Footer Cities List */
.footer-cities-list a {
    justify-content: space-between;
}

.footer-cities-list .property-badge {
    background: rgba(6, 182, 212, 0.15);
    color: var(--cyan-light);
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* Footer Contact V2 */
.footer-contact-v2 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-purple-cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
    flex-shrink: 0;
}

.contact-details {
    flex: 1;
}

.contact-details strong {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
    color: white;
    font-weight: 600;
}

.contact-details a {
    display: block;
    color: var(--cyan-light);
    font-size: 14px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
}

.contact-details a:hover {
    color: white;
    padding-left: 5px;
}

.contact-details small {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
}

/* ========================================
   TRUST SECTION
   ======================================== */
.trust-section {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.trust-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--cyan-primary);
    transform: translateY(-5px);
}

.trust-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-purple-cyan);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
}

.trust-content strong {
    display: block;
    font-size: 16px;
    margin-bottom: 3px;
    color: white;
}

.trust-content span {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   SOCIAL MEDIA SECTION
   ======================================== */
.footer-social-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links-v2 {
    text-align: center;
}

.social-links-v2 h5 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: white;
    font-family: var(--font-primary);
}

.social-icons-v2 {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon-v2 {
    position: relative;
    width: 120px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.9);
}

.social-icon-v2.animate-in {
    opacity: 1;
    transform: scale(1);
}

.social-icon-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.social-icon-v2.facebook::before { background: linear-gradient(135deg, #1877F2, #0C63D4); }
.social-icon-v2.twitter::before { background: linear-gradient(135deg, #1DA1F2, #0C85D0); }
.social-icon-v2.instagram::before { background: linear-gradient(135deg, #E4405F, #833AB4); }
.social-icon-v2.linkedin::before { background: linear-gradient(135deg, #0A66C2, #004182); }
.social-icon-v2.youtube::before { background: linear-gradient(135deg, #FF0000, #CC0000); }
.social-icon-v2.telegram::before { background: linear-gradient(135deg, #0088CC, #0066A0); }

.social-icon-v2:hover::before {
    opacity: 1;
}

.social-icon-v2:hover {
    transform: translateY(-5px);
    border-color: transparent;
}

.social-icon-v2 i {
    font-size: 24px;
    position: relative;
    z-index: 1;
}

.social-icon-v2 span {
    font-size: 11px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER BOTTOM V2
   ======================================== */
.footer-bottom-v2 {
    background: var(--carbon-blue-dark);
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
}

.copyright-v2 {
    color: rgba(255, 255, 255, 0.7);
}

.copyright-v2 p {
    font-size: 14px;
    margin-bottom: 5px;
}

.made-with {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.made-with i {
    color: #EF4444;
    animation: heartbeat 1.5s infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.footer-bottom-links-v2 {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-bottom-links-v2 a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    transition: all 0.3s ease;
}

.footer-bottom-links-v2 a:hover {
    color: var(--cyan-light);
}

.separator {
    color: rgba(255, 255, 255, 0.3);
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.payment-methods span {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.payment-icons {
    display: flex;
    gap: 10px;
}

.payment-icons i {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.payment-icons i:hover {
    color: var(--cyan-light);
    transform: translateY(-3px);
}

/* ========================================
   SCROLL TO TOP V2
   ======================================== */
.scroll-to-top-v2 {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: var(--gradient-purple-cyan);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.scroll-to-top-v2.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.6);
}

.scroll-to-top-v2 i {
    font-size: 20px;
}

.scroll-to-top-v2 span {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    z-index: 998;
    transition: all 0.3s ease;
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6); }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.8);
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: white;
    color: var(--carbon-blue-darkest);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid white;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    .newsletter-wrapper-v2 {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-icon-box {
        justify-content: center;
    }
    
    .footer-grid-v2 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .newsletter-wrapper-v2 {
        padding: 30px 20px;
    }
    
    .newsletter-icon {
        width: 70px;
        height: 70px;
        font-size: 30px;
    }
    
    .newsletter-content-v2 h3 {
        font-size: 24px;
    }
    
    .newsletter-input-wrapper {
        flex-direction: column;
        padding: 10px;
        border-radius: 15px;
    }
    
    .btn-subscribe-v2 {
        width: 100%;
        justify-content: center;
        border-radius: 12px;
    }
    
    .footer-grid-v2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-links-v2,
    .payment-methods {
        justify-content: center;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
    }
    
    .social-icons-v2 {
        gap: 10px;
    }
    
    .social-icon-v2 {
        width: 100px;
        height: 55px;
    }
    
    .scroll-to-top-v2 {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 26px;
        bottom: 85px;
        right: 20px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

@media (max-width: 480px) {
    .app-button {
        flex: 1 1 100%;
    }
    
    .footer-app-buttons {
        flex-direction: column;
    }
}