/* ============================================================
   TUPROXIMOHOGAR — RESPONSIVE FIXES
   Agregar al FINAL de main.css (o linkear después de main.css)
   Complementa sin pisar los estilos existentes.
============================================================ */
 
/* ── NAVBAR TOGGLE ANIMACIÓN ───────────────────────────────── */
 
.navbar__toggle.is-active .navbar__toggle-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.navbar__toggle.is-active .navbar__toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.navbar__toggle.is-active .navbar__toggle-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}
 
/* ── TABLET (max 992px) ────────────────────────────────────── */
 
@media (max-width: 992px) {
 
    /* About: acento decorativo más pequeño para que no se salga */
    .about__img-accent {
        bottom: -15px;
        left: -15px;
    }
 
    /* CTA inner: menos padding */
    .cta__inner {
        padding: 80px 30px;
    }
 
    /* Hero: título un poco más chico */
    .hero__title {
        font-size: clamp(2.8rem, 5vw, 4rem);
    }
}
 
/* ── MOBILE (max 768px) ────────────────────────────────────── */
 
@media (max-width: 768px) {
 
    /* ── Hero ── */
    .hero {
        padding-top: 0;
        align-items: flex-end;
        padding-bottom: 60px;
    }
 
    .hero__content {
        padding-top: 100px;
        max-width: 100%;
    }
 
    .hero__title {
        font-size: clamp(2.2rem, 8vw, 3rem);
    }
 
    .hero__desc {
        font-size: 16px;
        margin-bottom: 30px;
    }
 
    .hero__actions {
        gap: 12px;
    }
 
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
 
    .hero__stats {
        gap: 15px;
        padding-top: 20px;
    }
 
    .hero__stat strong {
        font-size: 24px;
    }
 
    .hero__stat span {
        font-size: 12px;
    }
 
    /* ── Filtros propiedades ── */
    .properties__filters {
        gap: 10px;
        margin-bottom: 30px;
    }
 
    .filter-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
 
    /* ── Propiedades vacías ── */
    .properties__empty {
        padding: 40px 20px;
        text-align: center;
    }
 
    .properties__empty svg {
        width: 60px;
        height: 60px;
        margin: 0 auto 16px;
    }
 
    /* ── About ── */
    .about {
        padding-left: var(--container-padding);
        padding-right: var(--container-padding);
    }
 
    /* Quitar el acento en mobile — se sale de pantalla */
    .about__img-accent {
        display: none;
    }
 
    .about__image-wrap img {
        height: 320px;
        border-radius: var(--radius-md);
    }
 
    .about__title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
 
    .about__desc {
        font-size: 16px;
        margin-bottom: 28px;
    }
 
    .about__features {
        gap: 14px;
        margin-bottom: 32px;
    }
 
    /* ── CTA ── */
    .cta__inner {
        padding: 60px 24px;
        border-radius: var(--radius-md);
    }
 
    .cta__title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
        margin-bottom: 14px;
    }
 
    .cta__desc {
        font-size: 16px;
        margin-bottom: 28px;
    }
 
    .cta__inner .btn {
        width: 100%;
        justify-content: center;
        font-size: 15px;
        padding: 16px 24px;
    }
 
    /* ── Footer ── */
    .footer {
        padding-top: 50px;
    }
 
    .footer__logo {
        font-size: 26px;
    }
 
    .footer__tagline {
        font-size: 14px;
        max-width: 100%;
    }
 
    .footer__heading {
        font-size: 18px;
        margin-bottom: 16px;
    }
 
    .footer__links,
    .footer__contact {
        gap: 12px;
    }
 
    .footer__contact li {
        font-size: 14px;
    }
 
    .footer__bottom {
        font-size: 13px;
        padding: 24px var(--container-padding);
    }
 
    /* ── WhatsApp FAB: más chico en mobile ── */
    .whatsapp-fab {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
 
    .whatsapp-fab svg {
        width: 26px;
        height: 26px;
    }
 
    /* Ocultar tooltip en mobile (se toca, no se hace hover) */
    .whatsapp-fab__tooltip {
        display: none;
    }
}
 
/* ── MOBILE PEQUEÑO (max 480px) ────────────────────────────── */
 
@media (max-width: 480px) {
 
    /* Hero */
    .hero__title {
        font-size: clamp(1.9rem, 7vw, 2.4rem);
    }
 
    .hero__scroll {
        display: none; /* Muy justo en pantallas chicas */
    }
 
    /* Tarjetas: ancho casi completo */
    .prop-card {
        min-width: 90vw;
    }
 
    /* Section headers */
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
 
    .section-desc {
        font-size: 15px;
    }
 
    /* About */
    .about__image-wrap img {
        height: 260px;
    }
 
    /* Footer grid más compacto */
    .footer__grid {
        gap: 28px;
        padding-bottom: 40px;
    }
}
 
/* ── FIX: propiedades__empty centrado en grid flex ─────────── */
@media (max-width: 768px) {
    .properties__grid:has(.properties__empty) {
        overflow-x: hidden;
        display: flex;
        justify-content: center;
    }
}