/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base for rem units */
}

body {
    background: #000000;
    font-family: 'Manrope', sans-serif;
    color: #ababa9;
    overflow-x: hidden;
    line-height: 1.5;
}

/* Page Layout Container */
.page-container {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #000000;
    position: relative;
}

/* General Section Elements */
.section-label {
    display: inline-block;
    font-size: 0.75rem; /* 12px */
    font-weight: 500;
    color: #5c5c5c;
    text-transform: lowercase;
    margin-bottom: 1.5rem;
}

/* --- Header Section --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2.5rem;
    background: #000000;
    border-bottom: 1px solid #1f1f1f;
}

.header__logo-container {
    display: flex;
    align-items: center;
}

.header__logo {
    height: 1.875rem; /* 30px */
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.header__menu-link {
    color: #ababa9;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem; /* 14px */
    transition: color 0.3s ease;
}

.header__menu-link:hover {
    color: #fb7b34;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header__email {
    color: #ababa9;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    border-bottom: 1px solid #ababa9;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.header__email:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

.header__btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border: 1px solid #ababa9;
    border-radius: 2rem;
    color: #ababa9;
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.header__btn:hover {
    background: #fb7b34;
    border-color: #fb7b34;
    color: #000000;
}

/* --- Hero Section --- */
.hero {
    padding: 4.5rem 2.5rem 0;
    background: #000000;
}

.hero__content {
    margin-bottom: 3.5rem;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4.75rem); /* ~40px to 76px */
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.15em;
    color: #ababa9;
    margin-bottom: 2rem;
}

.hero__accent {
    color: #fb7b34;
    text-decoration: none;
    border-bottom: 2px solid #fb7b34;
    transition: all 0.3s ease;
    display: inline-block;
}

.hero__accent:hover {
    color: #ff9154;
    border-color: #ff9154;
}

.hero__desc-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 62.5rem; /* 1000px */
    gap: 2.5rem;
}

.hero__desc {
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 25rem; /* 400px */
    color: #ababa9;
}

.hero__cta-wrapper {
    margin-top: 0.5rem;
}

.hero__cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ababa9;
    text-decoration: none;
    border-bottom: 1px solid #ababa9;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.hero__cta:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

.hero__gallery {
    display: grid;
    grid-template-columns: 1fr 2.1fr 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-top: 3.5rem;
}

.hero__image-col {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.hero__image-col--left {
    aspect-ratio: 340 / 358;
}

.hero__image-col--center {
    aspect-ratio: 720 / 893;
}

.hero__image-col--right {
    aspect-ratio: 338 / 380;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hero__img:hover {
    transform: scale(1.03);
}

/* --- Results Section --- */
.results {
    padding: 5rem 2.5rem;
    background: #000000;
    border-top: 1px solid #1f1f1f;
}

.results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.results__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 12.5rem; /* 200px */
    position: relative;
}

.results__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #1f1f1f;
}

.results__number {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1;
    font-weight: 400;
    letter-spacing: -0.05em;
    color: #ababa9;
}

.results__text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ababa9;
    max-width: 11.25rem;
    align-self: flex-end;
    text-align: right;
}

/* --- Offer Section --- */
.offer {
    padding: 6.25rem 2.5rem;
    background: #000000;
    border-top: 1px solid #1f1f1f;
}

.offer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 5rem;
    align-items: start;
}

.offer__title {
    font-size: clamp(1.5rem, 2.2vw, 2rem); /* 24px to 32px */
    line-height: 1.3;
    font-weight: 500;
    color: #ababa9;
    letter-spacing: -0.03em;
}

.offer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 2rem;
}

.offer__text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ababa9;
    font-weight: 300;
    max-width: 17rem;
}

.offer__more {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ababa9;
    text-decoration: none;
    border-bottom: 1px solid #ababa9;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.offer__more:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

/* --- Catalog Section --- */
.catalog {
    padding: 3.75rem 2.5rem;
    background: #000000;
}

.catalog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.catalog__card {
    background: #151515;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    min-height: 16.25rem; /* 260px */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.catalog__card:hover {
    transform: translateY(-5px);
    background: #1f1f1f;
}

.catalog__card-title {
    font-size: 1.25rem; /* 20px */
    font-weight: 500;
    color: #ababa9;
    letter-spacing: -0.03em;
    margin: 0;
    z-index: 2;
}

.catalog__card-image-box {
    width: 18.125rem; /* 290px */
    height: 10rem; /* 160px */
    border-radius: 12px;
    overflow: hidden;
    z-index: 2;
}

.catalog__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Advantages Section --- */
.advantages {
    padding: 6.25rem 2.5rem;
    background: #151515;
}

.advantages__title {
    font-size: clamp(1.5rem, 2.2vw, 2rem);
    line-height: 1.3;
    font-weight: 500;
    color: #ababa9;
    margin-bottom: 5rem;
    max-width: 62.5rem;
    letter-spacing: -0.03em;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.advantages__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 21.875rem; /* 350px */
    position: relative;
}

.advantages__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1.25rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: #1f1f1f;
}

.advantages__header {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.advantages__item-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ababa9;
    letter-spacing: -0.02em;
}

.advantages__icon {
    width: 8.25rem; /* 132px */
    height: 8.25rem;
    object-fit: contain;
    align-self: flex-start;
}

.advantages__item-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #ababa9;
    font-weight: 300;
    text-align: right;
    max-width: 15rem;
    align-self: flex-end;
}

/* --- Portfolio Section --- */
.portfolio {
    padding: 6.25rem 2.5rem;
    background: #000000;
}

.portfolio__title {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #ababa9;
    margin-bottom: 3.75rem;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.portfolio__card {
    grid-column: span 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.portfolio__card--large,
.portfolio__card--wide {
    grid-column: span 2;
}

.portfolio__card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #ababa9;
    letter-spacing: -0.02em;
}

.portfolio__card-image-box {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    background: #151515;
}

.portfolio__card-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.portfolio__card-img:hover {
    transform: scale(1.02);
}

.portfolio__details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.portfolio__detail-row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.portfolio__detail-label {
    font-size: 0.8125rem; /* 13px */
    font-weight: 500;
    color: #5c5c5c;
    width: 5rem; /* 80px */
}

.portfolio__detail-val {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #ababa9;
}

/* --- Partners Section --- */
.partners {
    padding: 6.25rem 2.5rem;
    background: #aeaeae;
    color: #000000;
}

.partners__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.partners__title {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #000000;
    margin-bottom: 2.5rem;
}

.partners__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.partners__item {
    font-size: 0.875rem;
    font-weight: 500;
    color: #000000;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #9c9c9c;
}

.partners__card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.partners__card-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.02em;
}

.partners__card-image-box {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.partners__card-img {
    width: 100%;
    height: auto;
    display: block;
}

.partners__card-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    padding-bottom: 4px;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.partners__card-btn:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

/* --- We Work Section --- */
.wework {
    padding: 6.25rem 2.5rem;
    background: #bbbbb9;
    color: #000000;
}

.wework__title {
    font-size: clamp(2.5rem, 5vw, 4.75rem);
    line-height: 1.1;
    font-weight: 500;
    letter-spacing: -0.05em;
    color: #000000;
    margin-bottom: 3.75rem;
}

.wework__steps {
    display: flex;
    flex-direction: column;
}

.wework__step {
    border-top: 1px solid #9c9c9c;
    padding: 2rem 0;
}

.wework__step:last-child {
    border-bottom: 1px solid #9c9c9c;
}

.wework__step-header {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.wework__step-num {
    font-size: 2rem;
    font-weight: 500;
    color: #000000;
    width: 3.125rem;
}

.wework__step-icon {
    width: 2.375rem; /* 38px */
    height: 2.375rem;
    object-fit: contain;
}

.wework__step-title {
    font-size: 2rem;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.03em;
}

.wework__step-content {
    margin-top: 2rem;
    padding-left: 5.625rem; /* 90px */
}

.wework__form-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.wework__form {
    background: #aeaeae;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 17.5rem; /* 280px */
}

.wework__form-heading {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

.wework__form-row {
    display: flex;
    gap: 1.25rem;
    align-items: flex-end;
}

.wework__input-group {
    flex: 1;
}

.wework__input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #7a7a7a;
    color: #000000;
    padding: 0.625rem 0;
    font-size: 1rem;
    outline: none;
}

.wework__input::placeholder {
    color: #5c5c5c;
}

.wework__submit-btn {
    background: #fb7b34;
    border: none;
    color: #000000;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.wework__submit-btn:hover {
    background: #ff9154;
}

.wework__consent {
    font-size: 0.75rem;
    color: #5c5c5c;
    margin-top: 1.25rem;
}

.wework__contact-box {
    background: #aeaeae;
    border-radius: 12px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 17.5rem;
}

.wework__contact-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.02em;
    line-height: 1.4;
}

.wework__contact-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    padding-bottom: 4px;
    align-self: flex-end;
    transition: all 0.3s ease;
}

.wework__contact-btn:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

/* --- Footer Top (Payment & Delivery info) --- */
.footer-top {
    padding: 5rem 2.5rem;
    background: #aeaeae;
}

.footer-top__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.footer-top__card {
    border-top: 1px solid #666666;
    border-bottom: 1px solid #666666;
    padding: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-top__card-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 500;
    color: #000000;
    letter-spacing: -0.05em;
}

.footer-top__card-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #000000;
    max-width: 20rem;
}

.footer-top__card-btn {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    border: 1px solid #000000;
    border-radius: 2rem;
    padding: 0.625rem 1.5rem;
    align-self: flex-end;
    margin-top: 1.25rem;
    transition: all 0.3s ease;
}

.footer-top__card-btn:hover {
    background: #000000;
    color: #aeaeae;
}

/* --- Footer Bottom Section --- */
.footer {
    padding: 5rem 2.5rem;
    background: #aeaeae;
    border-top: 1px solid #9c9c9c;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3.75rem;
    align-items: start;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__logo {
    height: 2.1875rem; /* 35px */
    width: auto;
    align-self: flex-start;
}

.footer__tagline {
    font-size: 0.875rem;
    color: #000000;
}

.footer__email {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    align-self: flex-start;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.footer__email:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

.footer__telegram {
    font-size: 0.875rem;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__telegram:hover {
    color: #fb7b34;
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer__nav-title {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
}

.footer__nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer__nav-link {
    font-size: 0.875rem;
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__nav-link:hover {
    color: #fb7b34;
}

.footer__legal {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 1.25rem;
}

.footer__copy-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer__year {
    font-size: 2rem;
    font-weight: 600;
    color: #000000;
    line-height: 1;
}

.footer__copy {
    font-size: 0.875rem;
    color: #000000;
    margin-top: 0.625rem;
}

.footer__privacy {
    font-size: 0.875rem;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
    border-bottom: 1px solid #000000;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.footer__privacy:hover {
    color: #fb7b34;
    border-color: #fb7b34;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
    .hero__gallery {
        grid-template-columns: 1fr 2.1fr 1fr;
        gap: 1.5rem;
    }
    .portfolio__grid {
        gap: 1.5rem;
    }
}

@media (max-width: 992px) {
    .header {
        padding: 1.5rem 2rem;
    }
    .header__menu {
        gap: 1.5rem;
    }
    .hero__gallery {
        gap: 1rem;
    }
    .results__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    .results__item:not(:last-child)::after {
        display: none;
    }
    .advantages__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 2rem;
    }
    .advantages__item:not(:last-child)::after {
        display: none;
    }
    .portfolio__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .portfolio__card--large,
    .portfolio__card--wide {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    /* Header Stack & Scroll */
    .header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 1rem;
        align-items: stretch;
    }
    .header__logo-container {
        justify-content: center;
    }
    .header__nav {
        overflow-x: auto;
        padding-bottom: 8px;
        margin: 0 -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
        scrollbar-width: none;
    }
    .header__nav::-webkit-scrollbar {
        display: none;
    }
    .header__menu {
        display: flex;
        gap: 1.5rem;
        width: max-content;
    }
    .header__contacts {
        justify-content: space-between;
        width: 100%;
    }
    .header__email {
        font-size: 0.8125rem;
    }
    .header__btn {
        font-size: 0.8125rem;
        padding: 0.4rem 1rem;
    }

    /* Hero Responsive */
    .hero {
        padding: 3rem 1rem 0;
    }
    .hero__title {
        font-size: clamp(2rem, 6vw, 3rem);
        letter-spacing: -0.04em;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }
    .hero__desc-container {
        flex-direction: column;
        gap: 1.5rem;
    }
    .hero__desc {
        max-width: 100%;
        font-size: 0.875rem;
    }
    .hero__gallery {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2.5rem;
    }
    .hero__image-col {
        aspect-ratio: auto;
        height: 250px;
    }

    /* Results */
    .results {
        padding: 4rem 1rem;
    }
    .results__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .results__item {
        height: auto;
        gap: 0.5rem;
    }
    .results__number {
        font-size: 3rem;
    }
    .results__text {
        text-align: left;
        align-self: flex-start;
        max-width: 100%;
    }

    /* Offer */
    .offer {
        padding: 4rem 1rem;
    }
    .offer__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .offer__title {
        font-size: 1.375rem;
        line-height: 1.4;
    }
    .offer__right {
        align-items: flex-start;
        text-align: left;
    }
    .offer__text {
        max-width: 100%;
    }

    /* Catalog Cards Stacking */
    .catalog {
        padding: 3rem 1rem;
    }
    .catalog__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .catalog__card {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem;
        min-height: auto;
    }
    .catalog__card-image-box {
        width: 100%;
        height: 180px;
    }

    /* Advantages */
    .advantages {
        padding: 4rem 1rem;
    }
    .advantages__title {
        font-size: 1.375rem;
        line-height: 1.4;
        margin-bottom: 3.5rem;
    }
    .advantages__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .advantages__item {
        height: auto;
        gap: 1rem;
    }
    .advantages__icon {
        width: 5rem;
        height: 5rem;
    }
    .advantages__item-text {
        text-align: left;
        align-self: flex-start;
        max-width: 100%;
    }

    /* Portfolio Grid */
    .portfolio {
        padding: 4rem 1rem;
    }
    .portfolio__title {
        margin-bottom: 2.5rem;
    }
    .portfolio__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .portfolio__card,
    .portfolio__card--large,
    .portfolio__card--wide {
        grid-column: span 1;
    }

    /* Partners */
    .partners {
        padding: 4rem 1rem;
    }
    .partners__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .partners__list {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .partners__card-btn {
        align-self: flex-start;
    }

    /* We Work Steps */
    .wework {
        padding: 4rem 1rem;
    }
    .wework__title {
        margin-bottom: 2.5rem;
    }
    .wework__step-header {
        gap: 1.5rem;
    }
    .wework__step-num {
        font-size: 1.5rem;
        width: auto;
    }
    .wework__step-title {
        font-size: 1.5rem;
    }
    .wework__step-content {
        padding-left: 0;
        margin-top: 1.5rem;
    }
    .wework__form-wrapper {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .wework__form {
        padding: 1.5rem;
        min-height: auto;
        gap: 2rem;
    }
    .wework__form-heading {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }
    .wework__form-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    .wework__submit-btn {
        width: 100%;
        text-align: center;
        padding: 0.875rem;
    }
    .wework__consent {
        margin-top: 0;
    }
    .wework__contact-box {
        padding: 1.5rem;
        min-height: auto;
        gap: 2rem;
    }
    .wework__contact-text {
        font-size: 1.125rem;
    }
    .wework__contact-btn {
        align-self: flex-start;
    }

    /* Footer Top */
    .footer-top {
        padding: 4rem 1rem;
    }
    .footer-top__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .footer-top__card {
        padding: 1.5rem 0;
    }
    .footer-top__card-title {
        font-size: 2rem;
    }
    .footer-top__card-btn {
        align-self: flex-start;
    }

    /* Footer */
    .footer {
        padding: 4rem 1rem;
    }
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .footer__legal {
        align-items: flex-start;
        text-align: left;
    }
    .footer__copy-container {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .header__contacts {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    .header__btn {
        width: 100%;
        text-align: center;
    }
    .hero__title {
        font-size: 2rem;
    }
    .results__number {
        font-size: 2.5rem;
    }
    .portfolio__detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .portfolio__detail-label {
        width: auto;
    }
}

