/* Hero */

.hero-section {
    position: relative;
    height: 600px;
    padding: 80px 0px 120px 0px;
    color: var(--text-light);
}

.hero-section__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-section__container {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-section__content {
    color: #fff;
}

.hero-section__title {
    font-weight: 800;
    font-size: 40px;
    line-height: 120%;
    margin-bottom: 32px;
    margin-top: 0;
}

.hero-section__subtitle {
    font-weight: 400;
    font-size: 24px;
    line-height: 130%;
    margin-bottom: 56px;
    width: 100%;
    max-width: 670px;
}

.hero-advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-advantages__item {
    flex: 0 1 110px;
    text-align: center;
}

.hero-advantages__icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.hero-advantages__icon img {
    filter: invert(1) brightness(2);
    width: 32px;
    height: 32px;
}

.hero-advantages__value {
    font-weight: 500;
    font-size: 24px;
    margin-bottom: 5px;
}

.hero-advantages__text {
    font-size: 12px;
    line-height: 1.4;
    opacity: 0.9;
}

.hero-section__form-wrapper {
    flex: 0 0 350px;
    z-index: 10;
}

.lead-form-block {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 22px;
    color: var(--text-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	min-width: 404px;
}

.lead-form-block__header {
    text-align: center;
    margin-bottom: 25px;
}

.lead-form-block__title {
    font-size: 24px;
    font-weight: 700;
    color: #24346F;
    margin-bottom: 10px;
}

.lead-form-block__subtitle {
    font-size: 18px;
    color: #555555;
}

.lead-form-block .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.lead-form-block__group {
    position: relative;
    margin-bottom: 16px;
}

.lead-form-block__icon {
    position: absolute;
    left: 15px;
    top: 24px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.lead-form-block__icon svg {
    display: block;
    width: 18px;
    height: 18px;
}

.lead-form-block__input {
    width: 100%;
    padding: 11px 14px 11px 44px;
    border: 1px solid #dcdfe6;
    border-radius: 6px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    background-color: #ffffff;
    line-height: 150%;
}

.lead-form-block__input::placeholder {
    color: #a8abb2;
}

.lead-form-block__input:focus {
    border-color: var(--primary-color);
}

.lead-form-block__submit {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    background: #05B46D;
    color: #ffffff;
    margin-top: 10px;
}

.lead-form-block__submit:hover {
    background: #05B46D;
}

.lead-form-block__agreement {
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.4;
    color: #666666;
}

.lead-form-block__agreement .wpcf7-list-item {
    margin: 0;
}

.lead-form-block form.wpcf7-form label:has(input[type=checkbox]) {
    display: flex;
    gap: 8px;
    font-size: 13px;
	padding: 0px;
}

.lead-form-block__agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.lead-form-block__agreement a {
	color: #05B46D;
    text-decoration: none;
}

.lead-form-block__agreement a:hover {
    text-decoration: underline;
}

.lead-form-block .wpcf7-not-valid-tip {
    font-size: 11px;
    color: #ed4848;
    margin-top: 4px;
    padding-left: 2px;
}

.lead-form-block .wpcf7-response-output {
    margin: 12px 0 0 0;
    padding: 10px;
    font-size: 12px;
    border-radius: 4px;
    text-align: center;
    border-width: 1px;
}

.lead-form-block .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    margin: 0;
}

/* Fix form height */
.lead-form-block form.wpcf7-form {
	padding-bottom: 0px!important;
}

.lead-form-block form.wpcf7-form:after {
	min-height: 0px!important;
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 60px;
        padding-bottom: 0;
		height: 660px;
    }

    .hero-section__container {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .hero-section__content {
        max-width: 100%;
        padding-bottom: 90px;
    }

    .hero-section__form-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: 450px;
        margin-top: -60px;
    }
	
	.home .services {
		padding-top: 400px;
	}
}

@media (max-width: 768px) {
    .hero-section__title {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .hero-section__subtitle {
        font-size: 16px;
        margin-bottom: 18px;
    }

    .hero-advantages {
        justify-content: flex-start;
        gap: 24px 10px;
    }

    .hero-advantages__item {
        flex: 0 0 calc(33.333% - 10px);
        text-align: left;
    }

    .hero-advantages__icon {
        margin-bottom: 8px;
    }

    .hero-advantages__value {
        font-size: 18px;
        margin-bottom: 2px;
    }

    .hero-advantages__text {
        font-size: 10px;
    }

    .lead-form-block {
        padding: 30px 20px;
		min-width: auto;
    }
}

/* Reviews */
.reviews-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.reviews-section__title {
    font-size: 32px;
    font-weight: 400;
    color: #343E47;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.reviews-slider-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 0 auto;
}

.reviews-slider {
    overflow: hidden;
    padding: 5px;
}

.reviews-slider .swiper-wrapper {
    align-items: stretch;
}

.reviews-slider .swiper-slide {
    height: auto;
    display: flex;
}

.review-card {
    background-color: #F0F0F0;
    border-radius: 5px;
    padding: 18px 16px;
    width: 100%;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
    transform: translateY(-2px);
	text-decoration: none;
}

.review-card__header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.review-card__logo {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-card__logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
	border-radius: 50%;
}

.review-card__meta {
    flex: 1;
}

.review-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 6px;
}

.star-icon {
    width: 20px;
    height: 20px;
}

.review-card__name {
    font-weight: 700;
    font-size: 20px;
    line-height: 32px;
    text-align: center;
    vertical-align: middle;
    color: #2c3643;
    margin-bottom: 4px;
	text-align: left;
}

.review-card__date {
	color: #767676;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    vertical-align: middle;
}

.review-card__body {
    font-size: 14px;
    line-height: 1.5;
    color: #4a505a;
    flex-grow: 1;
    margin-bottom: 24px;
    word-break: break-word;
}

.review-card__more {
    color: #00c46a;
    font-weight: 500;
    display: inline;
}

.review-card__footer {
    flex-shrink: 0;
}

.review-card__source {
	color: #767676;
    display: inline-block;
    font-weight: 400;
    font-size: 14px;
    line-height: 22.88px;
    text-align: center;
    vertical-align: middle;
    text-decoration: underline;
}

.reviews-slider-prev,
.reviews-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #00c46a;
    transition: color 0.3s ease;
}

.reviews-slider-prev:hover,
.reviews-slider-next:hover {
    color: #00a85a;
}

.reviews-slider-prev {
    left: 0;
}

.reviews-slider-next {
    right: 0;
}

.reviews-slider-prev.swiper-button-disabled,
.reviews-slider-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.reviews-section__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}

.reviews-section__action-btn {
    display: inline-block;
	padding: 10px 30px;
    border: 1px solid #4B4D6A;
    border-radius: 4px;
    color: #4B4D6A;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.reviews-section__action-btn:hover {
	text-decoration: none;
}

@media (max-width: 1024px) {
    .reviews-slider-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .reviews-section {
        padding: 40px 0;
    }
    
    .reviews-section__title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .reviews-slider-wrapper {
        padding: 0 30px;
    }

    .reviews-slider-prev,
    .reviews-slider-next {
        width: 30px;
        height: 30px;
    }
    
    .reviews-slider-prev {
        left: -5px;
    }

    .reviews-slider-next {
        right: -5px;
    }

    .reviews-section__actions {
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
    }

    .reviews-section__action-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* Advantages */

.advantages {
    background-color: #8dbed6;
    padding: 50px 0;
    color: #ffffff;
}

.advantages__list {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.advantages__item {
    flex: 1 1 150px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages__icon {
    height: 48px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages__icon img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: invert(1) brightness(2);
}

.advantages__value {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 4px;
}

.advantages__text {
	font-size: 16px;
    font-weight: 400;
    color: #343E47;
}

@media (max-width: 992px) {
    .advantages__list {
        justify-content: center;
    }
    
    .advantages__item {
        flex: 0 0 calc(33.333% - 20px);
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .advantages {
        padding: 40px 0;
    }

    .advantages__list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 10px;
    }

    .advantages__item {
        flex: none;
        text-align: left;
        align-items: flex-start;
        margin-bottom: 0;
    }

    .advantages__icon {
		width: 32px;
        height: 32px;
        margin-bottom: 4px;
        justify-content: flex-start;
    }
    
    .advantages__value {
        font-size: 24px;
    }

    .advantages__text {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .advantages__list {
        gap: 24px 5px;
    }
}

/* Experts */

.experts-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.experts-section__title {
    font-size: 32px;
    font-weight: 400;
    color: #343E47;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.experts-slider-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 0 auto;
}

.experts-slider {
    overflow: hidden;
    padding: 5px;
}

.experts-slider .swiper-wrapper {
    align-items: stretch;
}

.experts-slider .swiper-slide {
    height: auto;
    display: flex;
}

.expert-card {
    background-color: #F0F0F0;
    border-radius: 5px;
    padding: 24px;
    width: 100%;
    display: flex;
    gap: 24px;
    box-sizing: border-box;
}

.expert-card__photo {
    flex: 0 0 190px;
    width: 190px;
}

.expert-card__photo img {
    width: 100%;
    height: 100%;
    max-height: 190px;
    object-fit: cover;
    border-radius: 5px;
    display: block;
}

.expert-card__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.expert-card__name {
    font-size: 22px;
    font-weight: 600;
    color: #00C96D;
    margin-bottom: 16px;
}

.expert-card__stats {
    font-size: 14px;
    color: #424242;
    margin-bottom: 20px;
}

.expert-card__stats p {
    margin: 0 0 6px;
}

.expert-card__stats p:last-child {
    margin-bottom: 0;
}

.expert-card__stats strong {
    font-weight: 700;
    color: #2c3643;
}

.expert-card__phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #05B46D;
    text-decoration: none;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.expert-card__phone svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.expert-card__phone:hover {
    color: var(--primary-hover, #00a85a);
}

.expert-card__socials {
    display: flex;
    gap: 24px;
    margin-top: auto;
	filter: brightness(0) saturate(100%) invert(49%) sepia(100%) saturate(589%) hue-rotate(109deg) brightness(94%) contrast(101%);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--primary-color, #00c46a);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-link svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.social-link:hover {
    color: var(--primary-hover, #00a85a);
    transform: scale(1.1);
}

/* Стилизация стрелок */
.experts-slider-prev,
.experts-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color, #00c46a);
    transition: color 0.3s ease;
}

.experts-slider-prev:hover,
.experts-slider-next:hover {
    color: var(--primary-hover, #00a85a);
}

.experts-slider-prev {
    left: 0;
}

.experts-slider-next {
    right: 0;
}

.experts-slider-prev.swiper-button-disabled,
.experts-slider-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

@media (max-width: 992px) {
    .experts-slider-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .experts-section {
        padding: 40px 0;
    }
    
    .experts-section__title {
        font-size: 28px;
        margin-bottom: 30px;
        line-height: 1.3;
        padding: 0 20px;
    }

    .experts-slider-wrapper {
        padding: 0 30px;
    }

    .expert-card {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .expert-card__photo {
        flex: none;
        width: 100%;
    }

    .expert-card__photo img {
        max-height: 280px;
    }

    .expert-card__name {
        font-size: 22px;
    }

    .experts-slider-prev,
    .experts-slider-next {
        width: 30px;
        height: 30px;
    }
    
    .experts-slider-prev {
        left: -10px;
    }

    .experts-slider-next {
        right: -10px;
    }
}

/* Certificates */

.certificates-section {
    padding: 60px 0;
    background-color: #ffffff;
}

.certificates-section__title {
	font-size: 32px;
    font-weight: 400;
    color: #343E47;
    text-align: center;
    margin-top: 0;
    margin-bottom: 20px;
}

.certificates-section__description {
    font-size: 20px;
    line-height: 32px;
    color: #343E47;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 20px;
}

.certificates-slider-wrapper {
    position: relative;
    padding: 0 50px;
    margin: 0 auto;
}

.certificates-slider {
    overflow: hidden;
    padding: 10px 5px;
}

.certificates-slider .swiper-wrapper {
    align-items: stretch;
}

.certificates-slider .swiper-slide {
    height: auto;
    display: flex;
}

.certificate-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.certificate-card:hover {
    transform: translateY(-2px);
}

.certificate-card__image {
    width: 100%;
    background: #fff;
    border: 1px solid #eaeaea;
    padding: 10px;
    box-sizing: border-box;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certificate-card__image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}

.certificate-card__title {
    font-size: 14px;
    line-height: 1.3;
    color: var(--primary-color, #00c46a);
    text-align: center;
    text-decoration: underline;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.3s ease;
}

.certificate-card:hover .certificate-card__title {
    text-decoration-color: var(--primary-color, #00c46a);
}

.certificates-slider-prev,
.certificates-slider-next {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color, #00c46a);
    transition: color 0.3s ease;
}

.certificates-slider-prev:hover,
.certificates-slider-next:hover {
    color: var(--primary-hover, #00a85a);
}

.certificates-slider-prev {
    left: 0;
}

.certificates-slider-next {
    right: 0;
}

.certificates-slider-prev.swiper-button-disabled,
.certificates-slider-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: default;
    pointer-events: none;
}

.certificates-section__actions {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.certificates-section__btn {
    display: inline-block;
    padding: 10px 30px;
    border: 1px solid #4B4D6A;
    border-radius: 4px;
    color: #4B4D6A;
    font-weight: 400;
    font-size: 14px;
    line-height: 20px;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

@media (max-width: 992px) {
    .certificates-slider-wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 768px) {
    .certificates-section {
        padding: 40px 0;
    }
    
    .certificates-section__title {
        font-size: 28px;
        line-height: 1.3;
        margin-bottom: 20px;
        padding: 0 15px;
    }

    .certificates-section__description {
        text-align: left;
        font-size: 15px;
        padding: 0 15px;
        margin-bottom: 30px;
    }

    .certificates-slider-wrapper {
        padding: 0 30px;
    }

    .certificate-card__image {
        padding: 5px;
    }
    
    .certificate-card__title {
        font-size: 16px;
    }

    .certificates-slider-prev,
    .certificates-slider-next {
        width: 30px;
        height: 30px;
        top: 45%;
    }
    
    .certificates-slider-prev {
        left: -5px;
    }

    .certificates-slider-next {
        right: -5px;
    }

    .certificates-section__btn {
        width: 100%;
        margin: 0 15px;
        box-sizing: border-box;
    }
}

/* Steps */

.steps-slider-wrapper {
    position: relative;
    margin: 0 auto;
}

.steps-slider-prev,
.steps-slider-next {
    display: none;
}

@media (min-width: 768px) {
    .steps-slider .swiper-wrapper.layout-steps {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        transform: none !important;
        width: 100% !important;
    }

    .steps-slider .swiper-slide.layout-item {
        width: auto !important;
        flex: 1 1 auto !important;
        margin-right: 0 !important;
    }

    .steps-slider .element-arrow {
        display: block !important;
    }
}

@media (max-width: 768px) {
    .steps-slider-wrapper {
        padding: 0 35px;
    }

    .steps-slider {
        overflow: hidden;
    }

    .steps-slider .swiper-wrapper.layout-steps {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: stretch !important;
    }

    .steps-slider .swiper-slide.layout-item {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-bottom: 0 !important;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .steps-slider .element-arrow {
        display: none !important;
    }

    .steps-slider-prev,
    .steps-slider-next {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
    }

    .steps-slider-prev {
        left: 0;
    }

    .steps-slider-next {
        right: 0;
    }

    .steps-slider-prev.swiper-button-disabled,
    .steps-slider-next.swiper-button-disabled {
        opacity: 0.3;
        cursor: default;
        pointer-events: none;
    }
}

/* Контент */

.content__text .aligncenter,
figure.aligncenter {
    display: block;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
}