

.popular-section {
    position: relative;
    padding: 3rem 0;
    background:
        linear-gradient(180deg, #f7f1e8 0%, #ffffff 18%, #ffffff 100%);
    overflow: hidden;
}

.popular-section::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    /*background:*/
    /*    radial-gradient(circle at 8% 0%, rgba(255, 225, 106, 0.26), transparent 28%),*/
    /*    radial-gradient(circle at 92% 12%, rgba(255, 225, 106, 0.18), transparent 26%);*/
}

.popular-container {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 7.2rem));
    margin-inline: auto;
}

.popular-head {
    margin-bottom: 3.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.4rem;
}

.popular-head__left {
    min-width: 0;
}

.popular-title {
    margin: 0;
    color: #000;
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.popular-subtitle {
    margin: 1rem 0 0;
    max-width: 52rem;
    color: rgba(0, 0, 0, 0.54);
    font-size: 1.7rem;
    line-height: 1.45;
    font-weight: 400;
}

.popular-all-btn, .popular-all-btn-mobile {
    min-height: 5.2rem;
    padding: 0 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex: 0 0 auto;
    border: 0;
    border-radius: 1.4rem;
    background: var(--yellow);
    color: #000;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: 0.18s ease;
}

.popular-all-btn-mobile {
    display:none;
}

.popular-all-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.1rem);
}

.popular-all-btn span, .popular-all-btn-mobile span {
    font-size: 2rem;
    line-height: 1;
}

/* grid */

.popular-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.2rem;
}

/* card */

.popular-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 0.1rem solid rgba(0, 0, 0, 0.08);
    border-radius: 2.4rem;

    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease;
}
/* Защита от любых изображений в карточках */
.popular-card img,
.catalog-product-card img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
}

.popular-card:hover {
    transform: translateY(-0.4rem);
    border-color: rgba(255, 225, 106, 0.9);

}

.category-promo-card .popular-card {
    position: relative;
}

.category-promo-card__trigger {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: block;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.category-promo-card .popular-card__footer {
    position: relative;
    z-index: 2;
}

/* image */

.popular-card__media {
    position: relative;
    height: 25rem;
    padding: 4.4rem 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.popular-card__media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* empty first card */

.popular-card--empty {
    background: #fff;
}

.popular-card__media--empty {
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 225, 106, 0.22), transparent 38%),
        #fff;
}

.popular-empty-photo {
    width: 13.2rem;
    height: 13.2rem;
    display: grid;
    place-items: center;
    border-radius: 2.2rem;
    background: #fff;
    border: 0.2rem dashed rgba(0, 0, 0, 0.18);
}

.popular-empty-photo span {
    position: relative;
    width: 4.4rem;
    height: 4.4rem;
    display: block;
}

.popular-empty-photo span::before,
.popular-empty-photo span::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 4.4rem;
    height: 0.36rem;
    border-radius: 99rem;
    background: rgba(0, 0, 0, 0.36);
    transform: translate(-50%, -50%);
}

.popular-empty-photo span::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

/* badges */

.popular-badges {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    right: 1.4rem;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.popular-badge {
    min-height: 2.6rem;
    padding: 0 1rem;
    display: inline-flex;
    align-items: center;
    border-radius: 99rem;
    font-size: 1.1rem;
    line-height: 1;
    font-weight: 600;
    white-space: nowrap;
}

.popular-badge--partner {
    background: rgba(0, 0, 0, 0.08);
    color: rgba(0, 0, 0, 0.72);
}

.popular-badge--free {
    background: rgba(255, 225, 106, 0.42);
    color: #000;
}

.popular-badge--deposit {
    background: rgba(0, 0, 0, 0.86);
    color: #fff;
}

/* body */

.popular-card__body {
    padding: 1.6rem 1.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    flex: 1;
}

.popular-card__title {
    min-height: 4.2rem;
    margin: 0;
    color: #000;
    font-size: 1.85rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.025em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* prices */

.popular-prices {
    padding: 1.2rem 0 0;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.7rem 0;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.08);
}

.popular-price {
    position: relative;
    flex-direction: column;
    padding-right: 1.2rem;
    margin-right: 1.2rem;
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
    white-space: nowrap;
}

.popular-price:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 0.1rem;
    height: 1.7rem;
    background: rgba(0, 0, 0, 0.14);
    transform: translateY(-50%);
}

.popular-price span {
    color: rgba(0, 0, 0, 0.48);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 400;
}

.popular-price b {
    color: #000;
    font-size: 1.55rem;
    line-height: 1;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.popular-price--main b {
    font-size: 1.9rem;
}

/* footer */

.popular-card__footer {
    padding: 1.2rem 1.8rem 1.8rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.popular-rent-btn {
    height: 4.6rem;
    min-width: 0;
    padding: 0 1.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 0;
    border-radius: 1.2rem;
    background: var(--yellow);
    color: #000;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 600;
    cursor: pointer;
    transition: 0.18s ease;
}

.popular-rent-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.1rem);
}

.popular-rent-btn:disabled,
.popular-rent-btn[aria-disabled="true"] {
    background: #d7d7d7;
    color: rgba(0, 0, 0, 0.55);
    cursor: not-allowed;
    transform: none;
}

.popular-rent-btn:disabled:hover,
.popular-rent-btn[aria-disabled="true"]:hover {
    background: #d7d7d7;
    transform: none;
}

.popular-rent-btn span {
    font-size: 2rem;
    line-height: 1;
}

.popular-more-btn {
    height: 4.6rem;
    padding: 0 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
    border-radius: 1.2rem;
    background: #fff;
    color: rgba(0, 0, 0, 0.72);
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 500;
    text-decoration: none;
    transition: 0.18s ease;
}

.popular-more-btn:hover {
    border-color: var(--yellow);
    background: var(--yellow-soft);
    color: #000;
}

/* arrows bottom */

.popular-bottom {
    margin-top: 1.4rem;
    display: flex;
    justify-content: center;
}

.popular-arrows {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.popular-arrow {
    width: 5.2rem;
    height: 1.6rem;
    padding: 0;
    display: flex;
    align-items: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    transition: 0.18s ease;
}

.popular-arrow::before {
    content: "";
    display: block;
    width: 100%;
    height: 0.2rem;
    border-radius: 99rem;
    background: rgba(0, 0, 0, 0.28);
    transition: 0.18s ease;
}

.popular-arrow:hover::before {
    background: #000;
    transform: scaleX(1.12);
}

.popular-arrow svg {
    display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .popular-section {
        padding: 3rem 0;
        background:
            linear-gradient(180deg, #f7f1e8 0%, #ffffff 14%, #ffffff 100%);
    }

    .popular-container {
        width: calc(100% - 2.8rem);
    }

    .popular-head {
        margin-bottom: 2.4rem;
        align-items: flex-start;
        gap: 1.8rem;
    }

    .popular-title {
        font-size: 2.8rem;
        line-height: 1.05;
    }

    .popular-subtitle {
        margin-top: 0.8rem;
        font-size: 1.45rem;
    }

    .popular-all-btn {
        display:none;
    }

    .popular-all-btn-mobile {
        display:block;
        padding:2rem; margin-top:2rem;
    }

    .popular-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .popular-card {
        border-radius: 1.7rem;
    }

    .popular-card__media {
        height: 13.4rem;
        padding: 3.5rem 0.9rem 1rem;
    }

    .popular-badges {
        top: 0.8rem;
        left: 0.8rem;
        right: 0.8rem;
        gap: 0.4rem;
    }

    .popular-badge {
        min-height: 1.9rem;
        padding: 0 0.55rem;
        font-size: 0.82rem;
    }

    .popular-empty-photo {
        width: 8.6rem;
        height: 8.6rem;
        border-radius: 1.5rem;
    }

    .popular-empty-photo span {
        width: 3rem;
        height: 3rem;
    }

    .popular-empty-photo span::before,
    .popular-empty-photo span::after {
        width: 3rem;
        height: 0.28rem;
    }

    .popular-card__body {
        padding: 1rem 1rem 0.7rem;
        gap: 0.9rem;
    }

    .popular-card__title {
        min-height: 3.3rem;
        font-size: 1.35rem;
        line-height: 1.2;
    }

    .popular-prices {
        padding-top: 0.9rem;
        gap: 0.45rem 0;
    }

    .popular-price {
        gap: 0.35rem;
        padding-right: 0.7rem;
        margin-right: 0.7rem;
    }

    .popular-price:not(:last-child)::after {
        height: 1.3rem;
    }

    .popular-price span {
        font-size: 0.95rem;
    }

    .popular-price b {
        font-size: 1.1rem;
    }

    .popular-price--main b {
        font-size: 1.3rem;
    }

    .popular-card__footer {
        padding: 0.8rem 1rem 1rem;
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .popular-more-btn {
        display: none;
    }
    .popular-rent-btn,
    .popular-more-btn {
        width: 100%;
        height: 3.8rem;
        border-radius: 1rem;
        font-size: 1.2rem;
    }

    .popular-rent-btn span {
        font-size: 1.6rem;
    }

    .popular-bottom {
        margin-top: 1.2rem;
    }

    .popular-arrow {
        width: 4.4rem;
        height: 1.4rem;
    }
}

@media (max-width: 420px) {
    .popular-head {
        flex-direction: column;
    }

    .popular-all-btn {
        width: 100%;
    }

    .popular-card__media {
        height: 12.6rem;
    }

    .popular-card__title {
        font-size: 1.25rem;
    }

    .popular-price span {
        font-size: 0.9rem;
    }

    .popular-price b {
        font-size: 1.02rem;
    }

    .popular-price--main b {
        font-size: 1.22rem;
    }
}

     /* =========================
    WHY SECTION — DARK STYLE
 ========================= */

 .why-section {

     position: relative;
     width: 100%;
     margin: 0 auto ;
     padding: 3rem 0;

     overflow: hidden;
     background:
         linear-gradient(135deg, #f7f1e8 0%, rgb(255 225 106 / 18%), #f7f1e8 100%);
     color: #fff;
 }



.why-inner {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 7.2rem));
    margin-inline: auto;
}

.why-head {
    margin-bottom: 3.8rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.4rem;
}

.why-section .section-title {
    margin: 0;
    color: #323232;
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.045em;
}

.why-subtitle {
    margin: 1.2rem 0 0;
    max-width: 54rem;
    color: #323232;
    font-size: 1.7rem;
    line-height: 1.45;
    font-weight: 400;
}

.why-link {
    min-height: 5.2rem;
    padding: 0 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-shrink: 0;
    border-radius: 1.4rem;
    background: var(--yellow);
    color: #000;
    border: 0.1rem solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 1rem 3rem rgba(255, 225, 106, 0.18);
    font-size: 1.55rem;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: 0.18s ease;
}

.why-link span {
    font-size: 1.9rem;
    line-height: 1;
}

.why-link:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.2rem);
    box-shadow: 0 1.4rem 3.8rem rgba(255, 216, 77, 0.28);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.8rem;
}

.why-card {
    min-width: 0;
    min-height: 30rem;
    padding: 2.6rem 2.4rem 2.4rem;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.065);
    border: 0.1rem solid rgba(255, 255, 255, 0.11);
    box-shadow: 0 1.6rem 4.2rem rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(1.2rem);
    -webkit-backdrop-filter: blur(1.2rem);
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease,
        border-color 0.22s ease,
        background 0.22s ease;
}

.why-card:hover {
    transform: translateY(-0.4rem);
    background: rgba(255, 255, 255, 0.095);
    border-color: #323232;
    box-shadow: 0 2.2rem 5.8rem rgba(0, 0, 0, 0.18);
}

.why-icon {
    width: 6.4rem;
    height: 6.4rem;
    margin-bottom: 2.2rem;
    display: grid;
    place-items: center;
    border-radius: 1.8rem;
    background:
        radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.22), transparent 32%),
        linear-gradient(135deg, rgba(255, 241, 168, 0.24) 0%, rgba(255, 225, 106, 0.16) 100%);
    border: 0.1rem solid rgba(255, 225, 106, 0.22);
    box-shadow: 0 1rem 2.8rem rgba(0, 0, 0, 0.24);
}

.why-icon img {
    width: 3.5rem;
    height: 3.5rem;
    object-fit: contain;
    filter: brightness(1) invert(1);
}

.why-title {
    margin-bottom: 1rem;
    color: #323232;
    font-size: 2.2rem;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.why-text {
    color: #323232;
    font-size: 1.55rem;
    line-height: 1.5;
    font-weight: 400;
}

.why-stat {
    margin-top: auto;
    padding-top: 2.6rem;
    color: #8d7c3b;
    font-size: 3.8rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.why-stat-label {
    margin-top: 0.8rem;
    color: #323232;
    font-size: 1.15rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

/* TABLET */

@media (max-width: 1200px) {
    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .why-card {
        min-height: 27rem;
    }
}

/* MOBILE */

@media (max-width: 760px) {
    .why-section {

        padding: 3rem 0;
    }

    .why-inner {
        width: calc(100% - 1.8rem);
    }

    .why-head {
        margin-bottom: 2.6rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 1.8rem;
    }

    .why-section .section-title {
        font-size: 3.2rem;
        line-height: 1.05;
    }

    .why-subtitle {
        margin-top: 1rem;
        font-size: 1.45rem;
        line-height: 1.42;
    }

    .why-link {
        width: 100%;
        min-height: 4.8rem;
        border-radius: 1.2rem;
        font-size: 1.45rem;
    }

    .why-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .why-card {
        min-height: 22rem;
        padding: 1.6rem 1.3rem 1.5rem;
        border-radius: 1.8rem;
    }

    .why-icon {
        width: 5.2rem;
        height: 5.2rem;
        margin-bottom: 1.3rem;
        border-radius: 1.4rem;
    }

    .why-icon img {
        width: 3rem;
        height: 3rem;
    }

    .why-title {
        margin-bottom: 0.7rem;
        font-size: 1.65rem;
        line-height: 1.15;
    }

    .why-text {
        font-size: 1.22rem;
        line-height: 1.38;
    }

    .why-stat {
        padding-top: 1.6rem;
        font-size: 2.6rem;
    }

    .why-stat-label {
        margin-top: 0.6rem;
        font-size: 0.9rem;
        letter-spacing: 0.06em;
    }
}

@media (max-width: 420px) {
    .why-grid {
        gap: 1rem;
    }

    .why-card {
        padding: 1.4rem 1.1rem;
    }

    .why-title {
        font-size: 1.52rem;
    }

    .why-text {
        font-size: 1.14rem;
    }

    .why-stat {
        font-size: 2.35rem;
    }
}

     /* =========================
    CATEGORIES SECTION
 ========================= */



 .categories-section {
     width: 100%;
     max-width: var(--page-max);
     margin: 0 auto;
     padding: 3rem 0;
     background: #fff;
     overflow: hidden;
 }

.categories-container {
    width: min(var(--container), calc(100% - 7.2rem));
    margin-inline: auto;
}

.categories-head {
    margin-bottom: 3.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.4rem;
}

.categories-title {
    margin: 0;
    color: #000;
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.categories-btn-desktop, .categories-btn-mobile {
    min-height: 5.2rem;
    padding: 0 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    border-radius: 1.4rem;
    background: var(--yellow);
    color: #000;

    font-size: 1.55rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 1rem 2.4rem rgba(255, 216, 77, 0.28);
    transition: 0.18s ease;
}

.categories-btn-mobile {display:none; padding:2rem}

.categories-btn-desktop:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.15rem);
    box-shadow: 0 1.4rem 3rem rgba(255, 216, 77, 0.36);
}

.categories-btn-desktop span {
    font-size: 2rem;
    line-height: 1;
}

/* GRID */

.cat-grid {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: 28rem 23rem 25rem;
    gap: 1.8rem;
}

.cat-cell {
    position: relative;
    overflow: hidden;
    display: block;
    min-width: 0;

    border-radius: 2.8rem;
    background: #f5f5f5;
    color: #fff;
    text-decoration: none;

    box-shadow: var(--shadow-card);
    isolation: isolate;
    transition:
        transform 0.22s ease,
        box-shadow 0.22s ease;
}

.cat-cell:hover {
    transform: translateY(-0.4rem);
    box-shadow: var(--shadow-card-hover);
}

.cat-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: transform 0.45s ease;
}

.cat-cell:hover img {
    transform: scale(1.06);
}

/* dark premium overlay */

.cat-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    /*background:*/
    /*    linear-gradient(*/
    /*        180deg,*/
    /*        rgba(0, 0, 0, 0.02) 0%,*/
    /*        rgba(0, 0, 0, 0.12) 38%,*/
    /*        rgba(0, 0, 0, 0.58) 100%*/
    /*    );*/
}

.cat-cell::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background:
        radial-gradient(circle at 14% 12%, rgba(255, 225, 106, 0.28), transparent 28%),
        linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.22) 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.cat-cell:hover::before {
    opacity: 1;
}

/* desktop masonry positions */

.cat-cell--1 { grid-column: 1 / 6; grid-row: 1 / 3; }
.cat-cell--2 { grid-column: 6 / 9; grid-row: 1 / 2; }
.cat-cell--3 { grid-column: 9 / 13; grid-row: 1 / 2; }
.cat-cell--4 { grid-column: 6 / 10; grid-row: 2 / 3; }
.cat-cell--5 { grid-column: 10 / 13; grid-row: 2 / 3; }
.cat-cell--6 { grid-column: 1 / 4; grid-row: 3 / 4; }
.cat-cell--7 { grid-column: 4 / 7; grid-row: 3 / 4; }
.cat-cell--8 { grid-column: 7 / 10; grid-row: 3 / 4; }
.cat-cell--9 { grid-column: 10 / 13; grid-row: 3 / 4; }

/* INFO CARD */

.cat-info {
    position: absolute;
    left: 2rem;
    right: 2rem;
    bottom: 2rem;
    z-index: 3;

    padding: 1.4rem 1.6rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;

    border-radius: 1.8rem;
    background: rgba(9, 9, 9, 0.72);
    border: 0.1rem solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(1.4rem);
    -webkit-backdrop-filter: blur(1.4rem);
}

.cat-info::after {
    content: "→";
    margin-left: auto;

    width: 3.6rem;
    height: 3.6rem;
    flex: 0 0 3.6rem;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--yellow);
    color: #000;

    font-size: 1.8rem;
    line-height: 1;
    font-weight: 600;

    transform: translateX(0);
    transition: 0.18s ease;
}

.cat-cell:hover .cat-info::after {
    background: var(--yellow-hover);
    transform: translateX(0.2rem);
}

.cat-name {
    margin-bottom: 0.35rem;
    color: #fff;

    font-size: 1.8rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.cat-count {
    color: rgba(255, 255, 255, 0.62);
    font-size: 1.3rem;
    line-height: 1.2;
    font-weight: 400;
}

.cat-cell--1 .cat-info {
    max-width: 36rem;
}

.cat-cell--1 .cat-name {
    font-size: 2.6rem;
    line-height: 1.08;
    font-weight: 700;
}

.cat-cell--1 .cat-count {
    font-size: 1.4rem;
}

/* =========================
   TABLET
========================= */

@media (max-width: 1200px) {
    .cat-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        grid-template-rows: 28rem 22rem 22rem 22rem 22rem;
    }

    .cat-cell--1 { grid-column: 1 / 4; grid-row: 1 / 3; }
    .cat-cell--2 { grid-column: 4 / 7; grid-row: 1 / 2; }
    .cat-cell--3 { grid-column: 4 / 7; grid-row: 2 / 3; }
    .cat-cell--4 { grid-column: 1 / 4; grid-row: 3 / 4; }
    .cat-cell--5 { grid-column: 4 / 7; grid-row: 3 / 4; }
    .cat-cell--6 { grid-column: 1 / 3; grid-row: 4 / 5; }
    .cat-cell--7 { grid-column: 3 / 5; grid-row: 4 / 5; }
    .cat-cell--8 { grid-column: 5 / 7; grid-row: 4 / 5; }
    .cat-cell--9 { grid-column: 1 / 7; grid-row: 5 / 6; }
}

/* =========================
   MOBILE: HORIZONTAL SLIDER
========================= */

@media (max-width: 760px) {
    .categories-section {
        padding: 3rem 0;
    }

    .categories-container {
        width: calc(100% - 2.8rem);
    }

    .categories-head {
        margin-bottom: 2.4rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 1.6rem;
    }

    .categories-title {
        font-size: 3.2rem;
    }

    .categories-btn-desktop {
        display:none;
    }

    .categories-btn-mobile {
        width: 100%;
        min-height: 4.8rem;
        border-radius: 1.2rem;
        font-size: 1.45rem;
        display:block;
    }


    .cat-grid {
        display: flex;
        overflow-x: auto;
        gap: 1.4rem;

        /*margin-inline: -1.4rem;*/
        padding: 0 1.4rem 1rem;

        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .cat-grid::-webkit-scrollbar {
        display: none;
    }

    .cat-cell,
    .cat-cell--1,
    .cat-cell--2,
    .cat-cell--3,
    .cat-cell--4,
    .cat-cell--5,
    .cat-cell--6,
    .cat-cell--7,
    .cat-cell--8,
    .cat-cell--9 {
        width: 16rem;
        height: 24rem;
        min-height: 0;
        flex: 0 0 18rem;

        grid-column: auto;
        grid-row: auto;

        border-radius: 2.4rem;
        scroll-snap-align: start;
    }

    .cat-info {
        left: 0.5rem;
        right: 0.5rem;
        bottom: 0.5rem;

        padding: 1.2rem;
        border-radius: 1.6rem;
    }

    .cat-info::after {
        display:none;
    }

    .cat-name,
    .cat-cell--1 .cat-name {
        font-size: 1.4rem;
        line-height: 1.12;
    }

    .cat-count,
    .cat-cell--1 .cat-count {
        font-size: 1.2rem;
    }
}

 .howto-section {
     position: relative;
     width: min(var(--page-max), 100%);
     margin: 0 auto;
     padding: 3rem 0;
     overflow: hidden;
     background:
         linear-gradient(135deg, #f7f1e8 0%, rgb(255 225 106 / 18%), #f7f1e8 100%);
     color: #323232;
 }



.howto-inner {
    position: relative;
    z-index: 1;
    width: min(var(--container), calc(100% - 7.2rem));
    margin-inline: auto;
}

.howto-header {
    max-width: 74rem;
    margin: 0 auto 5.6rem;
    text-align: center;
}

.howto-label {
    margin-bottom: 1.2rem;
    color: #99863c;
    font-size: 1.35rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.howto-title {
    margin: 0;
    color: #323232;
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.howto-subtitle {
    max-width: 58rem;
    margin: 1.6rem auto 0;
    color: #323232;
    font-size: 1.7rem;
    line-height: 1.5;
    font-weight: 400;
}

/* STEPS */

.howto-wrap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.8rem;
}



.howto-step {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 2.4rem 1.8rem 2.2rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    border-radius: 2.4rem;
    background: rgba(255, 255, 255, 0.065);
    border: 0.1rem solid #99863c;

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.howto-step:hover {
    transform: translateY(-0.4rem);
    background: rgba(255, 255, 255, 0.1);
    border-color: #323232;
}

.howto-icon {
    position: relative;
    width: 8.8rem;
    height: 8.8rem;
    margin-bottom: 1.8rem;

    display: grid;
    place-items: center;

    border-radius: 2.2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 0.1rem solid rgba(255, 255, 255, 0.12);
}

.howto-icon img {
    width: 4.6rem;
    height: 4.6rem;
    object-fit: contain;
    /*filter: brightness(1) invert(1);*/
    opacity: 0.92;
}

.howto-num {
    position: absolute;
    top: -0.9rem;
    right: -0.9rem;

    width: 3rem;
    height: 3rem;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--yellow);
    color: #000;
    border: 0.15rem solid #111;

    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
}

.howto-step-title {
    margin-bottom: 0.9rem;
    color: #323232;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.howto-desc {
    max-width: 22rem;
    color: #323232;
    font-size: 1.42rem;
    line-height: 1.45;
    font-weight: 400;
}

/* RETURN / PROLONG CARDS */

.howto-notes {
    margin-top: 2.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.8rem;
}

.howto-note-card {
    padding: 2.2rem 2.4rem;
    border-radius: 2.2rem;
    background: rgba(255, 255, 255, 0.07);
    border: 0.1rem solid #99863c;
}

.howto-note-title {
    margin-bottom: 0.8rem;
    color: #99863c;
    font-size: 1.8rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.howto-note-text {
    color: #323232;
    font-size: 1.45rem;
    line-height: 1.5;
}

/* ACTIONS */

.howto-actions {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.howto-btn {
    min-height: 5.4rem;
    padding: 0 3rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;

    border-radius: 1.4rem;
    border: 0;
    background: var(--yellow);
    color: #000;

    font-size: 1.6rem;
    line-height: 1;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 1.2rem 2.8rem rgba(255, 225, 106, 0.18);
    transition: 0.18s ease;
}

.howto-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.2rem);
    box-shadow: 0 1.6rem 3.4rem rgba(255, 225, 106, 0.26);
}

.howto-btn span {
    font-size: 2rem;
    line-height: 1;
}

.howto-btn--secondary {
    background: var(--yellow-soft);
    color: #000;
}

.howto-btn--secondary:hover {
    background: var(--yellow);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .howto-wrap {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1.8rem;
    }

    .howto-line {
        display: none;
    }
}

@media (max-width: 760px) {
    .howto-section {
        margin-bottom: 0;
        padding: 3rem 0;

    }

    .howto-inner {
        width: 100%;
    }

    .howto-header {
        margin-bottom: 3rem;
        text-align: left;
    }

    .howto-title {
        font-size: 3.2rem;
    }

    .howto-subtitle {
        margin-top: 1.2rem;
        font-size: 1.45rem;
    }

    .howto-wrap {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }

    .howto-step {
        min-height: auto;
        padding: 1.4rem;
        display: grid;
        grid-template-columns: 5.8rem 1fr;
        column-gap: 1.4rem;
        align-items: center;
        text-align: left;
        border-radius: 1.8rem;
    }

    .howto-icon {
        grid-row: 1 / 3;
        width: 5.8rem;
        height: 5.8rem;
        margin: 0;
        border-radius: 1.5rem;
    }

    .howto-icon img {
        width: 3.2rem;
        height: 3.2rem;
    }

    .howto-num {
        top: -0.6rem;
        right: -0.6rem;
        width: 2.4rem;
        height: 2.4rem;
        font-size: 1.1rem;
        border-width: 0.25rem;
    }

    .howto-step-title {
        margin: 0 0 0.5rem;
        font-size: 1.65rem;
    }

    .howto-desc {
        max-width: none;
        font-size: 1.28rem;
        line-height: 1.4;
    }

    .howto-notes {
        grid-template-columns: 1fr;
        gap: 1.2rem;
        margin-top: 1.6rem;
    }

    .howto-note-card {
        padding: 1.6rem;
        border-radius: 1.8rem;
    }

    .howto-note-title {
        font-size: 1.6rem;
    }

    .howto-note-text {
        font-size: 1.3rem;
    }

    .howto-actions {
        margin-top: 2.4rem;
        flex-direction: column;
    }

    .howto-btn {
        width: 100%;
        min-height: 4.8rem;
        border-radius: 1.2rem;
        font-size: 1.45rem;
    }
}

     /* =========================
    CONTACTS SECTION — LIGHT
 ========================= */

 .contacts-section {
     width: 100%;
     max-width: var(--page-max);
     margin: 0 auto;
     padding: 3rem 0;
     background: #fff;
 }

.contacts-container {
    width: min(var(--container), calc(100% - 7.2rem));
    margin-inline: auto;
}

.contacts-head {
    margin-bottom: 3.4rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2.4rem;
}

.contacts-section-title {
    margin: 0;
    color: #000;
    font-size: 5.2rem;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
}

.contacts-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(42rem, 0.92fr);
    min-height: 52rem;

    border-radius: var(--radius-lg);
    background:
        radial-gradient(circle at 92% 8%, rgba(255, 225, 106, 0.22), transparent 28%),
        linear-gradient(180deg, #fff 0%, #fff9dc 100%);

    border: 0.1rem solid rgba(0, 0, 0, 0.06);
    box-shadow: var(--shadow-card);
}

/* MAP */

.contacts-map {
    padding: 3.2rem;
    background: rgba(255, 255, 255, 0.64);
}

.contacts-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 45rem;

    border: 0;
    border-radius: 3.2rem;
    overflow: hidden;

    box-shadow: inset 0 0 0 0.1rem rgba(0, 0, 0, 0.08);
}

/* INFO */

.contacts-info {
    padding: 4.8rem 5.2rem;
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.78);
}

.contacts-city-row {
    margin-bottom: 2.2rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
}

.contacts-city-label {
    color: rgba(0, 0, 0, 0.54);
    font-size: 1.4rem;
    font-weight: 400;
}

.contacts-city-btn {
    min-height: 4.2rem;
    padding: 0 1.6rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;

    border: 0;
    border-radius: 1.2rem;
    background: var(--yellow);
    color: #000;

    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;

    transition: 0.18s ease;
}

.contacts-city-btn:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.1rem);
}

.contacts-city-btn img {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
}

.contacts-city-btn .hero-nav-btn__chevron {
    width: 0.7rem;
    height: 0.7rem;
    border-right: 0.15rem solid currentColor;
    border-bottom: 0.15rem solid currentColor;
    transform: rotate(45deg) translateY(-0.2rem);
}

.contacts-title {
    margin-bottom: 2.8rem;
    color: #000;
    font-size: 3.8rem;
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.035em;
}

/* CONTACT ROWS */

.contact-row {
    padding: 1.7rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.08);
}

.contact-icon {
    width: 4.8rem;
    height: 4.8rem;
    flex: 0 0 4.8rem;

    display: grid;
    place-items: center;

    border-radius: 1.4rem;
    background: var(--yellow-soft);
}

.contact-icon img {
    width: 2.1rem;
    height: 2.1rem;
    object-fit: contain;
}

.contact-label {
    margin-bottom: 0.4rem;
    color: rgba(0, 0, 0, 0.46);
    font-size: 1.15rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.contact-val {
    color: #000;
    font-size: 1.9rem;
    line-height: 1.25;
    font-weight: 600;
}

.contact-sub {
    margin-top: 0.35rem;
    color: rgba(0, 0, 0, 0.52);
    font-size: 1.4rem;
    line-height: 1.35;
}

/* FORM */

.contacts-form {
    margin-top: auto;
    padding-top: 2.4rem;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.08);
}

.contacts-form-label {
    margin-bottom: 1.2rem;
    color: #000;
    font-size: 1.6rem;
    font-weight: 600;
}

.contacts-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
}

.contacts-input {
    height: 4.8rem;
    width: 100%;
    min-width: 0;
    padding: 0 1.4rem;

    border: 0.1rem solid rgba(0, 0, 0, 0.12);
    border-radius: 1.2rem;
    background: #fff;
    color: #000;

    font-size: 1.5rem;
    font-weight: 400;
    outline: none;

    transition: 0.18s ease;
}

.contacts-input::placeholder {
    color: rgba(0, 0, 0, 0.38);
}

.contacts-input:focus {
    border-color: var(--yellow-hover);
    box-shadow: 0 0 0 0.35rem rgba(255, 225, 106, 0.28);
}

.contacts-submit {
    height: 4.8rem;
    padding: 0 2.4rem;

    border: 0;
    border-radius: 1.2rem;
    background: var(--yellow);
    color: #000;

    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;

    transition: 0.18s ease;
}

.contacts-submit:hover {
    background: var(--yellow-hover);
    transform: translateY(-0.1rem);
}

.contacts-policy {
    margin-top: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    color: rgba(0, 0, 0, 0.42);
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 400;
    cursor: pointer;
    user-select: none;
}

.contacts-policy input {
    width: 1.6rem;
    height: 1.6rem;
    margin: 0.1rem 0 0;
    flex: 0 0 1.6rem;
    accent-color: var(--yellow);
    cursor: pointer;
}

.contacts-policy span {
    min-width: 0;
}

.contacts-policy a {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 0.1rem;
    text-underline-offset: 0.22rem;
}

.contacts-policy a:hover {
    color: var(--red);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .contacts-card {
        grid-template-columns: 1fr;
    }

    .contacts-map {
        min-height: 36rem;
    }

    .contacts-map iframe {
        min-height: 36rem;
    }
}

@media (max-width: 760px) {
    .contacts-section {
        padding: 3rem 0;
    }

    .contacts-container {
        width: 100%;
        margin-bottom: 1rem;
    }

    .contacts-head {
        margin-bottom: 2.4rem;
    }

    .contacts-section-title {
        font-size: 3.2rem;
    }

    .contacts-card {
        border-radius: 3rem;
    }

    .contacts-map {
        padding: 1.4rem;
        min-height: 30rem;
    }

    .contacts-map iframe {
        min-height: 28rem;
        border-radius: 2rem;
    }

    .contacts-info {
        padding: 3rem 2.2rem;
    }

    .contacts-title {
        font-size: 3rem;
    }

    .contacts-form-row {
        grid-template-columns: 1fr;
    }

    .contacts-submit {
        width: 100%;
    }

    .contacts-city-btn {
        width: auto;
    }

    .contact-val {
        font-size: 1.7rem;
    }
}
