.about {
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__hero-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 60px;
    border-right: 1px solid var(--clr-brown-light);
}

.about__hero-text {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about__title-h3 {
    text-transform: uppercase;
}

.about__hero-text h1,
.about__hero-text p {
    margin: 0;
}

.about__hero-media {
    display: block;
    min-height: 728px;
}

.about__social {
    justify-content: flex-start;
    gap: 18px;
}

.about__social .social__item {
    width: 48px;
    height: 48px;
}

.about__social .social__item::before {
    width: 24px;
    height: 24px;
}

.about__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about__text-section {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__text-content {
    width: 100%;
    padding: calc(80 / 1440 * 100vw);
    display: flex;
    flex-direction: column;
    gap: 24px;
    text-align: center;
}

.about__text-content h2,
.about__text-content p {
    margin: 0;
}

.about__text-content p {
    max-width: 1280px;
    align-self: center;
}

.about__about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__about-title {
    position: sticky;
    top: 0;

    height: fit-content;
    padding: 80px;
}

.about__about-title h2 {
    margin: 0;
}

.about__benefits {
    border-left: 1px solid var(--clr-brown-light);
}

.about__benefit {
    padding: calc(80 / 1440 * 100vw);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about__benefit:not(:last-child) {
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__benefit h3,
.about__benefit p {
    margin: 0;
}

.about__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__gallery-item {
    min-height: 360px;
    display: block;
}

.about__gallery-item:not(:first-child) {
    border-left: 1px solid var(--clr-brown-light);
}

.about__cta {
    border-bottom: 1px solid var(--clr-brown-light);
}

.about__cta-content {
    padding: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.about__cta-content h2,
.about__cta-content p {
    margin: 0;
}

.about__cta-content p {
    max-width: 638px;
}

.about__cta-button {
    margin-top: 24px;
}

/*care*/

.care {
    display: flex;
    flex-direction: column;

    border-bottom: 1px solid var(--clr-brown-light);
}

.care__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.care__item {
    padding: calc(40 / 1440 * 100vw);

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 14px;

    box-sizing: border-box;
}

.care__item:not(:first-child) {
    border-left: 1px solid var(--clr-brown-light);
}

.care__title {
    margin: 0;
}

.care__subtitle {
    margin: 0;
}

.care__link {
    margin: 0;

    display: flex;
    justify-content: center;

    text-decoration: none;
}

.care__link::after {
    margin-left: 4px;
    content: '';

    display: block;
    height: calc(24 / 1440 * 100vw);
    width: calc(24 / 1440 * 100vw);

    background: no-repeat url(../icons/arrow-right.svg) center / cover;
    transition: .3s ease-in-out;
}

.care__link:hover::after {
    margin-left: 8px;
}

@media screen and (max-width: 1024px) {

    .care {
        border-bottom: 0;
    }
    
    .care__list {
        grid-template-columns: repeat(2, 1fr);
    }

    .care__item {
        padding: 40px;
    }

    .care__item:not(:first-child) {
        border-left: 0;
    }

    .care__item:nth-child(2n) {
        border-left: 1px solid var(--clr-brown-light);
    }

    .care__item {
        border-bottom: 1px solid var(--clr-brown-light);
    }

}

@media screen and (max-width: 480px) {

    .care__list {
        display: flex;
        flex-direction: column;
    }

    .care__item {
        padding: 40px 20px;
    }

    .care__item:nth-child(2n) {
        border-left: 0;
    }

}

@media screen and (max-width: 1280px) {
    .about__hero-content,
    .about__text-content,
    .about__about-title,
    .about__benefit,
    .about__cta-content {
        padding: 60px;
    }
}

@media screen and (max-width: 1024px) {
    .about__hero,
    .about__about-grid {
        grid-template-columns: 1fr;
    }

    .about__hero-content,
    .about__about-title {
        text-align: center;
        border-right: none;
        border-bottom: 1px solid var(--clr-brown-light);
    }

    .about__benefits {
        border-left: none;
    }

    .about__gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .about__gallery-item:nth-child(3),
    .about__gallery-item:nth-child(4) {
        border-top: 1px solid var(--clr-brown-light);
    }

    .about__gallery-item:nth-child(3) {
        border-left: none;
    }
}

@media screen and (max-width: 768px) {
    .about__hero-content,
    .about__text-content,
    .about__about-title,
    .about__benefit,
    .about__cta-content {
        padding: 40px;
    }

    .about__hero-content {
        gap: 40px;
    }

    .about__hero-media {
        min-height: 420px;
    }
}

@media screen and (max-width: 480px) {
    .about__hero-content,
    .about__text-content,
    .about__about-title,
    .about__benefit,
    .about__cta-content {
        padding: 20px;
    }

    .about__gallery {
        grid-template-columns: 1fr;
    }

    .about__gallery-item {
        min-height: 260px;
    }

    .about__gallery-item:not(:first-child) {
        border-left: none;
        border-top: 1px solid var(--clr-brown-light);
    }
}
