/* ============================================
   RESPONSIVE STYLES - RENDER-MATCHED
   ============================================ */

/* ---- 1280px ---- */
@media (max-width: 1280px) {
    :root {
        --container-width: 1260px;
    }

    .home-hero__image {
        height: 340px;
    }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
    :root {
        --container-width: 100%;
        --container-padding: 1.5rem;
    }

    .home-hero__inner {
        gap: 1.5rem;
    }

    .home-hero__image {
        height: 300px;
    }

    .home-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header__nav {
        display: none;
    }

    .header__cta {
        display: none;
    }

    .header__hamburger {
        display: flex;
    }

    .home-hero {
        padding-top: calc(var(--header-height) + 1.5rem);
        padding-bottom: 1.5rem;
    }

    .home-hero__inner {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .home-hero__content {
        padding-right: 0;
        text-align: center;
        order: 2;
    }

    .home-hero__desc {
        max-width: 100%;
        margin: 0 auto;
    }

    .home-hero__heart {
        justify-content: center;
    }

    .home-hero__image-wrapper {
        order: 1;
        margin-right: 0;
        justify-content: center;
    }

    .home-hero__image {
        max-width: 480px;
        width: 100%;
        height: 260px;
        margin: 0 auto;
        border-radius: var(--radius-large);
    }

    .home-cards {
        padding: 1rem 0;
    }

    .home-cards__grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .home-info__bar {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0.75rem 0;
    }

    .home-info__item:not(:last-child)::after {
        right: 20%;
        top: auto;
        bottom: 0;
        width: 60%;
        height: 1px;
    }

    .home-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .home-cta__btn {
        width: 100%;
        justify-content: center;
    }

    .home-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer {
        padding: 1.5rem 0 1.25rem;
    }
}

/* ---- 480px ---- */
@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }

    .home-hero__title {
        font-size: 2.4rem;
    }

    .home-hero__title-script {
        font-size: 2.6rem;
    }

    .home-card {
        padding: 1.25rem 1rem;
    }

    .home-info__item {
        flex-direction: column;
        gap: 0.5rem;
    }

    .home-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .footer__text {
        font-size: 1.25rem;
    }
}
