/* Ajusta las dimensiones del logo desde este archivo */
.site-branding img
{
    height: auto; 
    width: 180px;
}
/* Header */
.site-header {
    background: var(--color-surface);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(31, 37, 51, 0.05);
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.topbar__tagline {
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.topbar__cta {
    color: var(--color-primary);
    font-weight: 600;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 0;
}

.site-branding {
    max-width: 420px;
}

.site-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.site-description {
    margin-top: 0.35rem;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.navigation-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: space-between;
    width: 100%;
}

.menu-toggle {
    display: none !important;
    position: relative;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(31, 37, 51, 0.1);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.menu-toggle__line {
    position: absolute;
    left: 50%;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-text);
    transform: translateX(-50%);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.menu-toggle__line:nth-child(1) {
    top: 16px;
}

.menu-toggle__line:nth-child(2) {
    top: 22px;
}

.menu-toggle__line:nth-child(3) {
    top: 28px;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(1) {
    transform: translate(-50%, 6px) rotate(45deg);
}

.menu-toggle.is-active .menu-toggle__line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-active .menu-toggle__line:nth-child(3) {
    transform: translate(-50%, -6px) rotate(-45deg);
}

.main-navigation {
    position: relative;
}

.primary-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.75rem;
    font-weight: 500;
}

.primary-menu>li>a {
    display: inline-block;
    padding: 0.3rem 0;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.primary-menu>li>a:hover,
.primary-menu>li.current-menu-item>a {
    color: var(--color-primary);
    text-decoration: none;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(47, 84, 235, 0.22);
    text-decoration: none;
}
@media (max-width: 768px) 
{
    .topbar {
        flex-direction: column;
        text-align: center;
    }

    .header-content {
        flex-direction: row;
        align-items: stretch;
        justify-content: space-between;
    }

    .navigation-wrapper {
        position: static;
        width: 100%;
        justify-content: flex-start;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .main-navigation {
        position: static;
        width: 100%;
        background: transparent;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .primary-menu {
        gap: 1rem;
    }

    .header-cta {
        display: none;
    }

    .hero__actions {
        justify-content: center;
    }

    .properties__grid {
        grid-template-columns: 1fr;
    }

    .property-card__body {
        padding: 1.5rem;
    }
}