/* Контейнеры */
.landing {
    width: 100%;
}

.landing__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 4rem 1rem;
}

@media (min-width: 640px) {
    .landing__container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .landing__container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

.landing__section {
    padding: 4rem 0;
}

.landing__section--gray {
    background-color: #F5F5F5;
}

/* Заголовки */
.landing__title {
    color: #052E31;
    font-size: 2.125rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .landing__title {
        font-size: 3rem;
    }
}

.landing__title--left {
    text-align: left;
}

/* Тег */
.landing__tag {
    display: inline-block;
    width: fit-content;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    background-color: rgba(12, 175, 96, 0.1);
    color: #0CAF60;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1;
}

/* Сетки */
.landing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .landing__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .landing__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

.landing__grid--cols-2 {
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .landing__grid--cols-2 {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

/* Карточки */
.landing-card {
    background-color: #ffffff;
    border: 1px solid #D7DFE0;
    border-radius: 1rem;
    padding: 2rem;
    transition: all 0.3s ease;
}

.landing-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.landing-card__icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(12, 175, 96, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.landing-card:hover .landing-card__icon {
    transform: scale(1.1);
}

.landing-card__icon svg {
    width: 2rem;
    height: 2rem;
    color: #0CAF60;
}

.landing-icon--petal {
    transform: rotate(145deg);
}

.landing-card__title {
    color: #052E31;
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.landing-card__text {
    color: #5F777B;
    line-height: 1.6;
}

.landing-card__paragraph {
    margin: 0;
}

.landing-card__paragraph + .landing-card__paragraph {
    margin-top: 0.75rem;
}

.landing-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0;
}

.landing-card__list li {
    position: relative;
    padding-left: 1.6rem;
}

.landing-card__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0.05rem;
    color: #0CAF60;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1;
}

.landing-card--compact {
    padding: 1.5rem;
}

.landing-trust__description {
    margin: -1.5rem auto 2rem;
    max-width: 900px;
    text-align: center;
    color: #5F777B;
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Двухколоночный макет */
.landing-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .landing-split {
        grid-template-columns: repeat(2, 1fr);
        gap: 4rem;
    }
}

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

.landing-split__title {
    color: #052E31;
    font-size: 2.125rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

@media (min-width: 1200px) {
    .landing-split__title {
        font-size: 3rem;
    }
}

.landing-split__description {
    color: #5F777B;
    font-size: 1.125rem;
    line-height: 1.6;
    margin: 0;
}

.landing-split__paragraph {
    margin: 0;
}

.landing-split__paragraph + .landing-split__paragraph {
    margin-top: 0.85rem;
}

.landing-split__paragraph--spaced {
    margin-top: 0.75rem;
}

.landing-split__list {
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.7rem;
}

.landing-split__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
}

.landing-split__list-marker {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
}

.landing-split__list-text {
    flex: 1 1 auto;
}

/* Кнопки */
.landing-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 1rem;
}

@media (min-width: 640px) {
    .landing-buttons {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

.landing-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 0 1 auto;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
}

.landing-btn svg {
    width: 1.25rem;
    height: 1.25rem;
    flex: 0 0 auto;
}

@media (min-width: 1024px) and (max-width: 1180px) {
    .landing-btn {
        padding: 0.75rem 1.3rem;
        font-size: 0.95rem;
    }
}

.landing-btn--primary {
    background-color: #0CAF60;
    color: #ffffff;
}

.landing-btn--primary:hover {
    background-color: rgba(12, 175, 96, 0.9);
}

.landing-btn--outline {
    background-color: transparent;
    border: 2px solid #0CAF60;
    color: #0CAF60;
}

.landing-btn--outline:hover {
    background-color: #0CAF60;
    color: #ffffff;
}

/* Галерея изображений */
.landing-gallery {
    position: relative;
}

.landing-gallery__main {
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.landing-gallery__main:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.landing-gallery__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.22s ease;
    display: block;
    opacity: 1;
}

.landing-gallery__main img.landing-gallery__main-image--changing {
    opacity: 0;
}

.landing-gallery__main:hover img {
    transform: scale(1.05);
}

.landing-gallery__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    height: 0.2rem;
    border-radius: 0;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.22);
    pointer-events: none;
}

.landing-gallery__progress-bar {
    display: block;
    height: 100%;
    width: 100%;
    border-radius: inherit;
    background: #0CAF60;
    transform-origin: left center;
    transform: scaleX(0);
}

.landing-gallery__progress-bar.landing-gallery__progress-bar--animating {
    animation-name: landing-gallery-progress;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
}

.landing-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    border-radius: 9999px;
    background: rgba(12, 175, 96, 0.92);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: background-color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

.landing-gallery__main:hover .landing-gallery__nav {
    opacity: 1;
    pointer-events: auto;
}

.landing-gallery__nav:hover {
    background: #0a954f;
}

.landing-gallery__nav--prev {
    left: 0.75rem;
}

.landing-gallery__nav--next {
    right: 0.75rem;
}

.landing-gallery__thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.landing-gallery__thumb {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 1rem;
    overflow: hidden;
    border: none;
    padding: 0;
    background: transparent;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    cursor: pointer;
}

.landing-gallery__thumb:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.landing-gallery__thumb.landing-gallery__thumb--changing {
    transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.3s ease;
    transform: translateY(0.2rem);
    opacity: 0.78;
}

.landing-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.22s ease;
    display: block;
}

.landing-gallery__thumb:hover img {
    transform: scale(1.05);
}

.landing-gallery__thumb img.landing-gallery__thumb-image--changing {
    opacity: 0;
}

.landing-gallery__thumb:focus-visible,
.landing-gallery__nav:focus-visible {
    outline: 2px solid #0CAF60;
    outline-offset: 2px;
}

@keyframes landing-gallery-progress {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

/* Отзывы */
.landing-review {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    border: 1px solid #D7DFE0;
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.3s ease;
    height: 100%;
}

.landing-review:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.landing-review__header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.landing-review__avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #E8EEEF;
    box-shadow: inset 0 0 0 1px rgba(5, 46, 49, 0.06);
}

.landing-review__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.landing-review__info {
    flex: 1;
}

.landing-review__name {
    color: #052E31;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.landing-review__role {
    color: #5F777B;
    font-size: 0.875rem;
    margin: 0;
    line-height: 1.4;
}

.landing-review__rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.landing-review__star {
    width: 1.25rem;
    height: 1.25rem;
    fill: #0CAF60;
}

.landing-review__star--empty {
    fill: #D7DFE0;
}

.landing-review__text {
    color: #5F777B;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.landing-review__date {
    color: rgba(95, 119, 123, 0.6);
    font-size: 0.875rem;
    margin: auto 0 0;
}

/* Контакты */
.landing-contact {
    background-color: #ffffff;
    border: 1px solid #D7DFE0;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.landing-contact:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.landing-contact__icon {
    width: 4rem;
    height: 4rem;
    background-color: rgba(12, 175, 96, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.landing-contact:hover .landing-contact__icon {
    transform: scale(1.1);
}

.landing-contact__icon svg {
    width: 2rem;
    height: 2rem;
    color: #0CAF60;
}

.landing-contact__title {
    color: #052E31;
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

@media (max-width: 1023px) {
    .landing__title {
        font-size: 1.875rem;
        margin-bottom: 2.25rem;
    }

    .landing-split__title {
        font-size: 1.875rem;
        line-height: 1.18;
    }
}

@media (max-width: 767px) {
    .landing__title,
    .landing-split__title {
        font-size: 1.5rem;
    }

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

    .landing-contact__title {
        font-size: 1.05rem;
    }
}

.landing-contact__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.landing-contact__link {
    display: inline-flex;
    width: fit-content;
    align-self: center;
    color: #5F777B;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.5;
}

.landing-contact__link:hover {
    color: #0CAF60;
}

.landing-contact__note {
    color: #5F777B;
    font-size: 0.875rem;
    margin: 0.5rem 0 0;
    line-height: 1.4;
}

.landing-contact__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.landing-social {
    width: 2rem;
    height: 2rem;
    background-color: rgba(12, 175, 96, 0.1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.landing-social:hover {
    background-color: rgba(12, 175, 96, 0.2);
}

.landing-social svg {
    width: 1rem;
    height: 1rem;
    color: #0CAF60;
}

/* Центрирование */
.landing-center {
    text-align: center;
}

/* Отступы */
.landing-mb-12 {
    margin-bottom: 3rem;
}
