/* =====================
   MAIN NAVBAR – SIMPLIFICAR
   Dark / Premium / Fixed
===================== */

:root {
    --navbar-height: 72px;
    --gold: #d4af37;
}

/* Base */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
   
}

/* =====================
   NAVBAR CONTENEDOR
===================== */
.main-navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1200px;
    height: var(--navbar-height);

    background: rgba(0, 0, 0, 0.78);
    backdrop-filter: blur(10px);

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.35);

    z-index: 1000;
}

/* Container */
.main-navbar_container {
    height: 100%;
    padding: 0 28px;
    display: flex;
    align-items: center;
}

/* =====================
   LOGO
===================== */
.main-navbar_logo img {
    height: 120px;
    width: auto;
    margin: 0;
    transition: transform .3s ease;
}

.main-navbar_logo:hover img {
    transform: scale(1.04);
}

/* =====================
   LINKS
===================== */
.navbar-nav {
    align-items: center;
    gap: 34px;
}

.navbar-nav .nav-link {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
    padding: 4px 0;
    transition: color .3s ease;
}

/* Subrayado elegante */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        var(--gold),
        #f5e6a8
    );
    transition: width .35s ease;
}

/* Hover / Active */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--gold);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* =====================
   CTA
===================== */
.main-navbar_cta {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 999px;
    background: linear-gradient(
        135deg,
        var(--gold),
        #f0d37a
    );
    color: #000;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    box-shadow: 0 10px 25px rgba(212,175,55,0.35);
    transition: all .3s ease;
}

.main-navbar_cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(212,175,55,0.45);
}

/* =====================
   TOGGLER
===================== */
.main-navbar_toggle {
    border: none;
}

.main-navbar_toggle:focus {
    box-shadow: none;
}

/* =====================
   CTA
===================== */

.main-navbar_cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 28px;
    background: #d4af37;
    color: #000;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background .3s ease, transform .2s ease;
}

.main-navbar_cta:hover {
    background: #b8962e;
    transform: translateY(-2px);
}

/* =====================
   TOGGLER
===================== */

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    filter: invert(1); /* blanco */
}

/* =====================
   RESPONSIVE
===================== */

@media (max-width: 991px) {

    /* CONTENEDOR DEL COLLAPSE */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;              /* ancho del panel */
        height: 100vh;

        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);

        padding: 90px 24px 24px;   /* deja espacio para el navbar */

        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;

        box-shadow: -20px 0 40px rgba(0,0,0,0.4);
        z-index: 999;
    }

    /* CUANDO BOOTSTRAP LO ABRE */
    .navbar-collapse.show {
        transform: translateX(0);
    }

    /* LINKS */
    .navbar-nav {
        align-items: flex-start;
        gap: 18px;
    }

    .navbar-nav .nav-link {
        font-size: 1rem;
    }

    /* CTA */
    .main-navbar_cta {
        width: 100%;
        margin-top: 16px;
    }
}
@media (min-width: 992px) {

    /* Navbar más bajo */
    .main-navbar {
        height: 110px;
    }

    /* Container ajustado al alto */
    .main-navbar_container {
        height: 100px;
        padding: 0 50px;
        display: flex;
        align-items: center;
    }

    /* Links centrados sin inflar */
    .navbar-nav {
        height: 100%;
        align-items: center;
    }

    /* CTA más compacto */
    .main-navbar_cta {
        height: 36px;
        padding: 0 22px;
        font-size: 0.9rem;
    }

    /* Logo ligeramente más pequeño */
    .main-navbar_logo img {
        width: 110px;
    }
}


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

.footer {
    background: #0d0d0d; /* negro elegante */
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer__container {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 40px;
}

/* SECCIONES */
.footer__section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #d4af37; /* dorado */
}

.footer__desc {
    line-height: 1.7;
    opacity: 0.85;
    max-width: 340px;
}

/* LOGO */
.footer__logo {
    width: 160px;
    margin-bottom: 20px;
}

/* LINKS */
.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 10px;
}

.footer__links a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
    color: #d4af37;
    padding-left: 6px;
}

/* CONTACTO */
.footer__section p {
    margin-bottom: 8px;
    opacity: 0.85;
}

/* REDES SOCIALES */
.footer__social {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.social_icon {
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.social_icon:hover {
    transform: translateY(-4px);
    opacity: 0.85;
}

/* BOTTOM */
.footer__bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 14px;
    opacity: 0.7;
}

/* =====================
   RESET BÁSICO
===================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    background: #000;
    
}
/* =====================
   WHATSAPP FLOTANTE
===================== */

.whatsapp-float {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 56px;
    height: 56px;
    background: #25D366;
    color: #ffffff;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 28px;
    text-decoration: none;

    z-index: 9999;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
    color: #ffffff;
}
@media (min-width: 992px) {
    .main-navbar_container {
        padding: 4px 30px; /* más delgado */
    }

    .main-navbar_logo img {
        width: 115px; /* más compacto */
    }

    .navbar-nav {
        gap: 28px; /* un poco más cerrado */
    }
}
/* =====================
   FOOTER RESPONSIVE
   (SOLO TABLET Y MOBILE)
===================== */

/* TABLET */
@media (max-width: 1100px) {

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer__desc {
        max-width: 100%;
    }
}

/* MOBILE */
@media (max-width: 600px) {

    .footer {
        padding: 50px 0 20px;
    }

    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 28px;
    }

    .footer__logo {
        margin: 0 auto 16px;
        width: 140px;
    }

    .footer__social {
        justify-content: center;
    }

    .footer__links li {
        margin-bottom: 12px;
    }

    .footer__bottom {
        font-size: 13px;
        margin-top: 30px;
    }
}/* =====================
   NAVBAR MÁS DELGADO EN MOBILE / TABLET
===================== */

@media (max-width: 991px) {

    /* Navbar más bajo */
    .main-navbar {
        height: 100px;
    }

    /* Contenedor compacto */
    .main-navbar_container {
        padding: 8px 20px;   /* antes 14px */
    }

    /* Logo más pequeño */
    .main-navbar_logo img {
        width: 95px;         /* antes 130px */
    }

    /* Icono hamburguesa más centrado */
    .navbar-toggler {
        padding: 4px 6px;
    }

    /* Ajustar padding del panel lateral */
    .navbar-collapse {
        padding-top: 72px;  /* coherente con navbar más bajo */
    }
}
/* =====================
   REVIEW FLOTANTE
===================== */

.review-float {
    position: fixed;
    bottom: 100px; /* encima del WhatsApp */
    right: 26px;
    z-index: 9998;
}

/* BOTÓN */
.review-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #D4AF37; /* dorado inmobiliaria */
    color: #0F172A;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
    cursor: pointer;

    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    transition: transform .2s ease, box-shadow .2s ease;
}

.review-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0,0,0,.45);
}

/* CAJA */
.review-box {
    display: none;
    position: absolute;
    bottom: 70px;
    right: 0;

    width: 280px;
    background: #ffffff;
    border-radius: 14px;
    padding: 16px;

    box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

.review-box form {
    display: grid;
    gap: 10px;
}

.review-box input,
.review-box textarea,
.review-box select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #D1D5DB;
    font-size: .9rem;
}