.floorPlans {
    background: #ffffff;
    padding: 60px 0;
}

.floorPlans__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 44px;
}

/* ── Intro ── */

.floorPlans__intro {
    margin-bottom: 40px;
}

.floorPlans__heading {
    font-family: 'Andada Pro', serif;
    font-weight: 400;
    font-size: 55px;
    line-height: 65px;
    color: #86332e;
    margin: 0 0 16px;
    border: none !important;
    outline: none;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

.floorPlans__rule {
    height: 1px;
    background: #86332e;
    opacity: 0.3;
    margin: 0;
}

/* ── Filter pills ── */

.floorPlans__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.floorPlans__filter-btn {
    font-family: 'Work Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #86332e;
    background: transparent;
    border: 1.5px solid #86332e;
    border-radius: 50px;
    padding: 10px 24px;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.floorPlans__filter-btn.is-active,
.floorPlans__filter-btn:hover {
    background: #86332e;
    color: #ffffff;
}

/* ── Grid ── */

.floorPlans__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 120px 40px;
}

/* ── Card ── */

.floorPlans__card {
    position: relative;
    display: flex;
    flex-direction: column;
}

.floorPlans__card-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 285px;
    flex-shrink: 0;
    margin-left: 16px;
}

.floorPlans__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* ── Availability badge ── */

.floorPlans__badge-slot {
    min-height: 38px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 10px;
}

.floorPlans__badge {
    display: inline-block;
    margin-left: 16px;
    background: #86332e;
    color: #ffffff;
    font-family: 'Andada Pro', serif;
    font-weight: 400;
    font-size: 15px;
    line-height: 20px;
    border-radius: 5px;
    padding: 4px 12px;
}

/* ── Card body ── */

.floorPlans__card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding-top: 20px;
}

.floorPlans__card-name {
    font-family: 'Work Sans', sans-serif;
    font-weight: 300;
    font-size: 45px;
    line-height: 50px;
    color: #86332e;
    margin: 0 0 8px;
    border-left: 3px solid #86332e;
    padding-left: 13px;
}

.floorPlans__card-specs {
    font-family: 'Andada Pro', serif;
    font-weight: 400;
    font-size: 25px;
    line-height: 30px;
    color: #86332e;
    margin: 0 0 28px;
    padding-left: 16px;
    flex: 1;
}

.floorPlans__card-specs p {
    margin: 0;
}

/* ── CTA button ── */

.floorPlans__card-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #a47c48;
    color: #ffffff;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 30px;
    line-height: 1;
    border-radius: 5px;
    padding: 14px 24px;
    min-height: 59px;
    width: 100%;
    max-width: 278px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
    text-decoration: none;
    transition: background 0.2s ease;
}

.floorPlans__card-cta::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid #ffffff;
    border-radius: 3px;
    pointer-events: none;
}

.floorPlans__card-cta:hover {
    background: #8a6538;
    color: #ffffff;
}

.floorPlans__card-cta:focus {
    outline: 3px solid #86332e;
    outline-offset: 3px;
}

.floorPlans__card-cta:active {
    transform: scale(0.98);
}

/* ── Tablet ── */

@media (max-width: 1024px) {
    .floorPlans__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 28px;
    }

    .floorPlans__heading {
        font-size: 42px;
        line-height: 52px;
    }

    .floorPlans__card-name {
        font-size: 36px;
        line-height: 42px;
    }

    .floorPlans__card-specs {
        font-size: 20px;
    }

    .floorPlans__card-cta {
        font-size: 24px;
        max-width: 100%;
    }
}

/* ── Mobile ── */

@media (max-width: 768px) {
    .floorPlans {
        padding: 48px 0;
    }

    .floorPlans__container {
        padding: 0 24px;
    }

    .floorPlans__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .floorPlans__heading {
        font-size: 32px;
        line-height: 42px;
    }

    .floorPlans__card-image {
        height: 220px;
    }

    .floorPlans__card-name {
        font-size: 30px;
        line-height: 36px;
    }

    .floorPlans__card-specs {
        font-size: 18px;
        line-height: 26px;
    }

    .floorPlans__card-cta {
        font-size: 20px;
        max-width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .floorPlans__filter-btn,
    .floorPlans__card-cta {
        transition: none;
    }

    .floorPlans__card-cta:active {
        transform: none;
    }
}
