.home-page {
    overflow: hidden;
    background: #f6f8f7;
}

.home-hero {
    position: relative;
    padding: 78px 0 86px;
    background: linear-gradient(135deg, #edf6f1 0%, #f6f8f7 52%, #e6f2eb 100%);
}

.home-hero::after {
    position: absolute;
    top: -160px;
    right: -170px;
    width: 520px;
    height: 520px;
    content: "";
    background: rgb(20 128 92 / 8%);
    border-radius: 50%;
}

.home-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(400px, .96fr);
    gap: 48px;
    align-items: center;
}

.home-eyebrow {
    margin: 0 0 12px;
    color: #08724e;
    font-size: .76rem;
    font-weight: 850;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.home-hero h1,
.home-section-head h2,
.home-value h2,
.home-seo h2 {
    margin: 0;
    color: #14231e;
    letter-spacing: -.045em;
}

.home-hero h1 {
    max-width: 680px;
    font-size: clamp(2.5rem, 5vw, 4.55rem);
    line-height: .99;
}

.home-hero__lead {
    max-width: 620px;
    margin: 22px 0 0;
    color: #52635b;
    font-size: clamp(1.05rem, 2vw, 1.22rem);
    line-height: 1.6;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 14px 20px;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    font-size: .95rem;
    font-weight: 800;
    text-decoration: none;
    transition: box-shadow .15s ease, transform .15s ease, background-color .15s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-2px);
}

.button--primary {
    color: #fff;
    background: linear-gradient(135deg, #19a874, #08724e);
    box-shadow: 0 10px 22px rgb(8 114 78 / 23%);
}

.button--primary:hover,
.button--primary:focus-visible {
    color: #fff;
    box-shadow: 0 14px 28px rgb(8 114 78 / 30%);
}

.button--secondary {
    color: #075e40;
    background: #fff;
    border: 1px solid #b9d5c6;
}

.button--secondary:hover,
.button--secondary:focus-visible {
    color: #075e40;
    background: #f4faf6;
}

.home-hero__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    padding: 0;
    margin: 25px 0 0;
    color: #52635b;
    font-size: .84rem;
    font-weight: 700;
    list-style: none;
}

.home-hero__facts li {
    display: inline-flex;
    gap: 7px;
    align-items: center;
}

.home-hero__facts li::before {
    width: 6px;
    height: 6px;
    content: "";
    background: #19a874;
    border-radius: 50%;
}

.home-hero__visual {
    position: relative;
    min-height: 410px;
}

.home-hero__visual-grid {
    position: absolute;
    inset: 6% 2% 0 8%;
    background-color: #f9fcfa;
    background-image: linear-gradient(#d6e7dc 1px, transparent 1px), linear-gradient(90deg, #d6e7dc 1px, transparent 1px);
    background-size: 28px 28px;
    border: 1px solid #cde0d4;
    border-radius: 24px;
    box-shadow: 0 24px 50px rgb(16 40 32 / 11%);
    transform: rotate(3deg);
}

.home-hero__plan {
    position: absolute;
    top: 20%;
    right: 10%;
    bottom: 17%;
    left: 20%;
    border: 11px solid #08724e;
    border-radius: 4px;
    background: rgb(255 255 255 / 74%);
    box-shadow: inset 0 0 0 8px rgb(20 128 92 / 8%);
}

.home-hero__plan-line,
.home-hero__plan-room {
    position: absolute;
    display: block;
    background: #08724e;
}

.home-hero__plan-line--top,
.home-hero__plan-line--bottom {
    right: 21%;
    left: 21%;
    height: 7px;
}

.home-hero__plan-line--top {
    top: 31%;
}

.home-hero__plan-line--bottom {
    bottom: 27%;
}

.home-hero__plan-line--left,
.home-hero__plan-line--right {
    top: 22%;
    bottom: 22%;
    width: 7px;
}

.home-hero__plan-line--left {
    left: 40%;
}

.home-hero__plan-line--right {
    right: 28%;
}

.home-hero__plan-room {
    background: #d8efe0;
    border: 4px solid #6aa77f;
}

.home-hero__plan-room--one {
    top: 9%;
    left: 8%;
    width: 31%;
    height: 19%;
}

.home-hero__plan-room--two {
    right: 8%;
    bottom: 8%;
    width: 27%;
    height: 25%;
}

.home-hero__plan-room--three {
    top: 40%;
    left: 8%;
    width: 27%;
    height: 28%;
}

.home-hero__badge {
    position: absolute;
    z-index: 1;
    display: grid;
    gap: 3px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #d7e5dc;
    border-radius: 12px;
    box-shadow: 0 12px 26px rgb(16 40 32 / 13%);
}

.home-hero__badge strong {
    color: #08724e;
    font-size: .9rem;
}

.home-hero__badge span {
    color: #61706a;
    font-size: .76rem;
    font-weight: 700;
}

.home-hero__badge--materials {
    top: 7%;
    left: 1%;
}

.home-hero__badge--estimate {
    right: 2%;
    bottom: 7%;
}

.home-categories,
.home-process,
.home-value,
.home-seo {
    padding: 92px 0;
}

.home-section-head {
    display: flex;
    gap: 28px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 32px;
}

.home-section-head h2,
.home-value h2,
.home-seo h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
}

.home-section-head > p {
    max-width: 410px;
    margin: 0;
    color: #61706a;
    line-height: 1.55;
}

.home-categories__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.home-category-card a {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
    min-height: 164px;
    padding: 22px;
    overflow: hidden;
    color: #14231e;
    text-decoration: none;
    background: #fff;
    border: 1px solid #dce6e0;
    border-radius: 18px;
    box-shadow: 0 10px 24px rgb(16 40 32 / 5%);
    transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.home-category-card a::after {
    position: absolute;
    right: -22px;
    bottom: -36px;
    width: 120px;
    height: 120px;
    content: "";
    background: #edf7f1;
    border-radius: 50%;
    transition: transform .2s ease;
}

.home-category-card a:hover,
.home-category-card a:focus-visible {
    color: #14231e;
    border-color: #91c7a8;
    box-shadow: 0 16px 30px rgb(16 40 32 / 11%);
    outline: 0;
    transform: translateY(-4px);
}

.home-category-card a:hover::after,
.home-category-card a:focus-visible::after {
    transform: scale(1.22);
}

.home-category-card__number,
.home-category-card__content,
.home-category-card__arrow {
    position: relative;
    z-index: 1;
}

.home-category-card__number {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #08724e;
    font-size: .76rem;
    font-weight: 850;
    background: #e5f4eb;
    border-radius: 50%;
}

.home-category-card__content {
    display: grid;
    gap: 8px;
}

.home-category-card__title {
    font-size: 1.06rem;
    font-weight: 850;
    line-height: 1.3;
}

.home-category-card__description {
    color: #61706a;
    font-size: .86rem;
    line-height: 1.45;
}

.home-category-card__arrow {
    color: #08724e;
    font-size: 1.4rem;
    font-weight: 800;
    transition: transform .15s ease;
}

.home-category-card a:hover .home-category-card__arrow,
.home-category-card a:focus-visible .home-category-card__arrow {
    transform: translateX(4px);
}

.home-process {
    background: #102820;
}

.home-process .home-eyebrow,
.home-process h2 {
    color: #e6f4eb;
}

.home-process__list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
    background: rgb(255 255 255 / 16%);
    border: 1px solid rgb(255 255 255 / 16%);
    border-radius: 18px;
}

.home-process__list li {
    min-height: 232px;
    padding: 28px;
    background: #17372c;
}

.home-process__number {
    color: #83d6ac;
    font-size: .8rem;
    font-weight: 850;
    letter-spacing: .08em;
}

.home-process h3 {
    margin: 24px 0 10px;
    color: #fff;
    font-size: 1.16rem;
}

.home-process p {
    margin: 0;
    color: #c4d6ce;
    font-size: .92rem;
    line-height: 1.55;
}

.home-value__grid,
.home-seo__grid {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    gap: 72px;
    align-items: start;
}

.home-value p:not(.home-eyebrow) {
    max-width: 560px;
    margin: 20px 0 0;
    color: #52635b;
    font-size: 1.05rem;
    line-height: 1.65;
}

.home-value__list {
    display: grid;
    gap: 1px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    list-style: none;
    background: #dce6e0;
    border: 1px solid #dce6e0;
    border-radius: 16px;
}

.home-value__list li {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
    gap: 16px;
    padding: 21px;
    background: #fff;
}

.home-value__list strong {
    color: #08724e;
}

.home-value__list span {
    color: #61706a;
    font-size: .9rem;
    line-height: 1.5;
}

.home-seo {
    padding-top: 0;
}

.home-seo__grid {
    padding: 38px;
    background: #edf4ef;
    border: 1px solid #d7e5dc;
    border-radius: 20px;
}

.home-seo h2 {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.home-seo article p {
    margin: 16px 0 0;
    color: #52635b;
    line-height: 1.65;
}

.home-faq {
    background: #fff;
    border: 1px solid #dce6e0;
    border-radius: 14px;
}

.home-faq details {
    padding: 17px 19px;
}

.home-faq details + details {
    border-top: 1px solid #dce6e0;
}

.home-faq summary {
    color: #14231e;
    font-weight: 800;
    cursor: pointer;
}

.home-faq p {
    margin: 10px 0 0;
    color: #61706a;
    font-size: .9rem;
    line-height: 1.5;
}

@media (max-width: 960px) {
    .home-hero__grid,
    .home-value__grid,
    .home-seo__grid {
        grid-template-columns: 1fr;
    }

    .home-hero__visual {
        max-width: 620px;
        width: 100%;
        margin: 0 auto;
    }

    .home-value__grid,
    .home-seo__grid {
        gap: 36px;
    }

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

@media (max-width: 720px) {
    .home-hero,
    .home-categories,
    .home-process,
    .home-value,
    .home-seo {
        padding: 64px 0;
    }

    .home-hero__grid {
        gap: 30px;
    }

    .home-hero__visual {
        min-height: 335px;
    }

    .home-section-head {
        display: block;
        margin-bottom: 24px;
    }

    .home-section-head > p {
        margin-top: 14px;
    }

    .home-categories__grid,
    .home-process__list {
        grid-template-columns: 1fr;
    }

    .home-process__list li {
        min-height: auto;
    }

    .home-seo {
        padding-top: 0;
    }

    .home-seo__grid {
        padding: 24px;
    }
}

@media (max-width: 480px) {
    .home-hero {
        padding-top: 48px;
    }

    .home-hero__actions {
        display: grid;
    }

    .button {
        width: 100%;
    }

    .home-hero__facts {
        display: grid;
        gap: 7px;
    }

    .home-hero__visual {
        min-height: 280px;
    }

    .home-hero__badge {
        padding: 9px 10px;
    }

    .home-hero__badge strong {
        font-size: .76rem;
    }

    .home-hero__badge span {
        font-size: .65rem;
    }

    .home-category-card a {
        min-height: 136px;
        padding: 18px;
    }

    .home-value__list li {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 18px;
    }
}
