
        :root {
            --primary-color: #da342b;
            --accent-color: #0ea5e9;
            --border-soft: #e2e8f0;
            --text-muted: #64748b;
        }

        body {
            background-color: #f8fafc;
            font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        }

        /* ===== TOP BAR TELÉFONOS (SOLO DESKTOP/TABLET) ===== */

        .top-bar {
            background-color: var(--primary-color);
            color: #e5e7eb;
            font-size: 0.78rem;
        }

        .top-bar a {
            color: #e5e7eb;
            text-decoration: none;
        }

        .top-bar a:hover {
            text-decoration: underline;
        }

        .top-bar .city-label {
            font-weight: 500;
        }

        .top-bar .sep {
            opacity: 0.4;
        }

        .btn-wa-header {
            font-size: 0.78rem;
            padding: 0.25rem 0.75rem;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            gap: 0.35rem;
        }

        .btn-wa-header span.icon-wa {
            font-size: 0.95rem;
            line-height: 1;
        }

        /* ===== NAVBAR ===== */

        .navbar-brand span {
            font-weight: 300;
        }

        .hero-wrapper {
            position: relative;
            min-height: 280px;
            max-height: 440px;
            overflow: hidden;
        }

        .hero-carousel img {
            object-fit: cover;
            height: 440px;
        }

        .hero-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(120deg, rgba(15, 23, 42, 0.80), rgba(15, 23, 42, 0.45));
            color: #fff;
            display: flex;
            align-items: center;
        }

        .hero-content {
            max-width: 540px;
        }

        .section-title {
            font-weight: 400;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: var(--text-muted);
            font-size: 0.85rem;
        }

        /* ===== BUSCADOR PRINCIPAL ===== */

        .search-card {
            background-color: #ffffff;
            border-radius: 1.25rem;
            border: 1px solid rgba(148, 163, 184, 0.3);
            box-shadow: 0 14px 45px rgba(15, 23, 42, 0.35);
            padding: 1rem;
        }

        .search-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: .08em;
            color: #94a3b8;
            margin-bottom: 0.25rem;
        }

        .search-card .form-control,
        .search-card .form-select {
            border-radius: 999px;
            border-color: #cbd5e1;
            font-size: 0.85rem;
        }

        .search-card .form-control:focus,
        .search-card .form-select:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.25);
        }

        .btn-search-main {
            border-radius: 999px;
            font-size: 0.9rem;
            padding-inline: 1.5rem;
        }

        /* ===== GRID DE PROPIEDADES ===== */

        .property-card {
            border-radius: 1.25rem;
            border: 1px solid var(--border-soft);
            background-color: #ffffff;
            transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
        }

        .property-card:hover {
            background-color: #f9fafb;
            border-color: #cbd5e1;
            transform: translateY(-2px);
        }

        .property-img-wrapper {
            border-radius: 1.25rem;
            overflow: hidden;
        }

        .property-img-wrapper img {
            width: 100%;
            height: 220px;
            object-fit: cover;
            display: block;
        }

        .badge-operacion {
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: .04em;
            font-size: 0.7rem;
        }

        .price-text {
            font-size: 1.05rem;
            font-weight: 600;
        }

        .colonia-text {
            font-size: 0.95rem;
            color: var(--text-muted);
        }

        .pill-meta {
            display: inline-flex;
            align-items: center;
            padding: 0.15rem 0.6rem;
            border-radius: 999px;
            border: 1px solid #e5e7eb;
            font-size: 0.7rem;
            color: #6b7280;
            gap: 0.25rem;
        }

        .pill-meta-dot {
            width: 4px;
            height: 4px;
            border-radius: 999px;
            background-color: #9ca3af;
        }

        /* ===== BOTÓN FLOTANTE WHATSAPP ===== */
.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    z-index: 2000;
    transition: transform .18s ease, background-color .18s ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.05);
    background-color: #1ebe5c;
}


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

        @media (max-width: 991.98px) {
            .hero-carousel img {
                height: 360px;
            }

            .search-card {
                margin-top: 1.5rem;
            }
        }

        /* Mobile: ocultar carrusel y hacer hero más limpio */
        @media (max-width: 767.98px) {
            .hero-wrapper {
                max-height: none;
                min-height: auto;
            }

            .hero-carousel {
                display: none;
            }

            .hero-overlay {
                position: relative;
                padding: 2.5rem 0 1.5rem;
                background: linear-gradient(145deg, #0f172a, #1e293b);
            }

            .hero-content h1 {
                font-size: 1.4rem;
            }

            .hero-content p {
                font-size: 0.8rem;
            }

            .search-card {
                box-shadow: 0 10px 25px rgba(15, 23, 42, 0.25);
            }
        }

        @media (max-width: 575.98px) {
            .hero-overlay {
                padding: 2rem 0 1.2rem;
            }
        }
        footer {
    background-color: #f9fafb;
}

.footer-mobile-card {
    border-radius: 1rem;
    border: 1px solid var(--border-soft);
    background-color: #ffffff;
    padding: 0.9rem 1rem;
}

.footer-mobile-card .footer-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #94a3b8;
    margin-bottom: 0.35rem;
}

.footer-mobile-card a {
    text-decoration: none;
}

.footer-mobile-card a span {
    font-weight: 500;
}

.footer-mobile-card a:hover {
    text-decoration: underline;
}

.footer-mobile-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f5f9;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}
/* Que el toggler no se vea empalmado ni gigante */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.4rem;
}

/* Si el ícono por defecto no se ve, fuerza el background */
.navbar-light .navbar-toggler-icon,
.navbar .navbar-toggler-icon {
    background-image: none;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 0.75rem;
    border: 2px solid #9ca3af;
    position: relative;
}

.navbar .navbar-toggler-icon::before,
.navbar .navbar-toggler-icon::after,
.navbar .navbar-toggler-icon span {
    content: "";
    position: absolute;
    left: 20%;
    right: 20%;
    height: 2px;
    background-color: #4b5563;
    border-radius: 999px;
}

.navbar .navbar-toggler-icon::before {
    top: 35%;
}

.navbar .navbar-toggler-icon::after {
    bottom: 35%;
}

/* Offcanvas: que se vea limpio */
.offcanvas-start {
    width: 260px;
}

.offcanvas-header {
    border-bottom: 1px solid #e5e7eb;
}

.offcanvas .nav-link {
    color: #4b5563;
}

.offcanvas .nav-link.active {
    font-weight: 600;
    color: #111827;
}
.brand-title {
    color: #1f3b82 !important; /* tono azul del logo */
    font-family: 'Poppins' !important;
    font-size: 1.25rem;
    line-height: 1.1;
    font-weight: 500;
}

/* Ahora visible en desktop y mobile */

.brand-subtitle {
    font-family: 'Poppins' !important;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    color: var(--primary-color);
}


.footer-social-icons .social-icon {
    font-size: 1.3rem;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f1f5f9;
    transition: all .2s ease;
    text-decoration: none;
}

.footer-social-icons .social-icon:hover {
    color: #ffffff;
    background-color: var(--primary-color); /* tu naranja */
    transform: translateY(-2px);
}
.btn-wa-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #25D366;
    color: #ffffff !important;
    font-size: 0.82rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: background-color .2s ease, transform .15s ease;
}

.btn-wa-modern i {
    font-size: 1rem;
}

.btn-wa-modern:hover {
    background-color: #1ebe5c;
    color: #fff;
    transform: translateY(-1px);
}
.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background-color: #25D366;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem; /* tamaño del icono */
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    z-index: 1050;
    transition: background-color .2s ease, transform .15s ease;
}

.whatsapp-float:hover {
    color: #ffffff;
    background-color: #1ebe5c;
    transform: translateY(-2px);
}
.offcanvas .nav-link i {
    font-size: 1.1rem;
    color: #6b7280;
}

.offcanvas .nav-link.active i {
    color: var(--primary-color);
}
.footer-mobile-icon-wa {
    background-color: #22c55e1a;
    color: #16a34a;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.footer-mobile-wa-link {
    color: #16a34a;
    text-decoration: none;
    font-size: 0.85rem;
}

.footer-mobile-wa-link:hover {
    text-decoration: underline;
}
.property-img-wrapper {
    aspect-ratio: 4 / 3;          /* relación fija: 4:3 */
    overflow: hidden;
    border-radius: 0.75rem;
    background: #f3f4f6;          /* fondo gris clarito si tarda en cargar */
}

.property-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* clave: no deforma, recorta */
    display: block;
}
.badge-inmueble {
    background: rgba(0,0,0,0.05) !important;
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    font-weight: 500;
}

.badge-operacion {
    background: var(--primary-color) !important;
    color: #fff !important;
    font-weight: 500;
}

.footer-office-list{
  display: grid;
  gap: .75rem;
}

.footer-office-item{
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 14px;
  padding: .75rem .85rem;
}

.footer-tel-link{
  font-weight: 600;
  color: #2563eb; /* azul link */
}

.footer-wa-pill{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .85rem;
  padding: .25rem .55rem;
  border-radius: 999px;
  background: rgba(22,163,74,.12);
  color: #16a34a;
  border: 1px solid rgba(22,163,74,.18);
  white-space: nowrap;
}
