* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #0f172a;
    background: #ffffff;
}

a {
    color: inherit;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    max-width: 1180px;
    margin: auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header__brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.site-header__brand span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #059669;
    color: #ffffff;
    font-weight: 900;
}

.site-header__brand strong {
    font-size: 20px;
}

.site-header__toggle {
    border: 0;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 22px;
}

.site-header__nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.site-header__nav.is-open {
    display: grid;
    gap: 8px;
}

.site-header__nav a {
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
}

.site-header__call {
    background: #059669;
    color: #ffffff !important;
    text-align: center;
}

.projects-hero {
    padding: 90px 18px;
    background:
        linear-gradient(rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.72)),
        url('../images/hero-real-estate.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
}

.projects-hero div {
    max-width: 850px;
    margin: auto;
}

.projects-hero span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.25);
    margin-bottom: 16px;
    font-weight: 900;
}

.projects-hero h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 62px);
    line-height: 1.05;
}

.projects-hero p {
    max-width: 700px;
    margin: 18px auto 0;
    color: #e2e8f0;
    line-height: 1.7;
    font-size: 17px;
}

.projects-section {
    padding: 50px 18px 80px;
    background: #f8fafc;
}

.project-filter {
    max-width: 1180px;
    margin: -90px auto 28px;
    background: #ffffff;
    border-radius: 24px;
    padding: 18px;
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.project-filter input,
.project-filter select {
    width: 100%;
    border: 1px solid #dbe3ea;
    border-radius: 15px;
    padding: 14px;
    font-size: 15px;
    outline: none;
    background: #ffffff;
}

.project-filter input:focus,
.project-filter select:focus {
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 0;
    cursor: pointer;
}

.btn--primary {
    background: #059669;
    color: #ffffff;
}

.btn--light {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.project-count {
    max-width: 1180px;
    margin: 0 auto 20px;
    color: #64748b;
    font-weight: 700;
}

.project-grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    gap: 24px;
}

.project-card {
    background: #ffffff;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.project-card__media {
    position: relative;
}

.project-card__media img,
.project-card__placeholder {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.project-card__placeholder {
    display: grid;
    place-items: center;
    background: #dcfce7;
    color: #059669;
    font-weight: 900;
    font-size: 22px;
}

.project-card__status {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #059669;
    color: #ffffff;
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.project-card__body {
    padding: 22px;
}

.project-card__type {
    display: inline-flex;
    background: #dcfce7;
    color: #166534;
    padding: 7px 11px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
    margin-bottom: 12px;
}

.project-card h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.25;
}

.project-card__location {
    color: #64748b;
    margin: 10px 0;
}

.project-card__desc {
    color: #475569;
    line-height: 1.7;
}

.project-card strong {
    display: block;
    color: #059669;
    font-size: 19px;
    margin: 14px 0 18px;
}

.project-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.empty-box {
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.empty-box h3 {
    margin-top: 0;
}

.empty-box p {
    color: #64748b;
}

.site-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 46px 18px 20px;
}

.site-footer__grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    gap: 26px;
}

.site-footer p,
.site-footer a {
    color: #cbd5e1;
    line-height: 1.7;
}

.site-footer a {
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
}

.site-footer__bottom {
    max-width: 1180px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.floating-whatsapp,
.floating-call {
    position: fixed;
    right: 16px;
    z-index: 60;
    padding: 12px 16px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.floating-whatsapp {
    bottom: 78px;
    background: #16a34a;
}

.floating-call {
    bottom: 22px;
    background: #059669;
}

@media (min-width: 760px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .project-filter {
        grid-template-columns: 1fr 180px 180px auto auto;
        align-items: center;
    }
}

@media (min-width: 900px) {
    .site-header__toggle {
        display: none;
    }

    .site-header__nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        box-shadow: none;
    }

    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
.site-header__nav a.is-active {
    background: #dcfce7;
    color: #166534;
}