body {
    padding: 0;
    margin: 0;
    font-family: 'InterTight', Arial, sans-serif;
    background-color: #E3E5E9;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

.advantages-slider {
    max-width: 100%;
}

.hero {
    background: linear-gradient(rgba(0, 0, 50, 0.6), rgba(0, 0, 50, 0.6)), url('../img/hero-bg.jpg') center/cover no-repeat;
    color: #fff;
    padding: 60px 20px;
    box-sizing: border-box;
    max-width: 100%;
}

@media (max-width: 768px) {
    .hero {
        background-position: 50% 20%;
        background-size: cover;
    }


}

.hero__container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    padding: 20px 10px 0 10px;

}

.container2 {
    max-width: 1300px;
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.hero__logo {
    /*display: flex;*/
    display: grid;
    grid-template-columns: 0.6fr 4fr 2fr;
    align-items: center;
    margin-bottom: 20px;
    justify-content: space-evenly;

}

.hero__logo-img {
    height: 85px;
}

.hero__tagline {
    font-size: 20px;
    line-height: 1.4;

}

.hero__title {
    font-size: 60px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: 18px;
    margin-bottom: 10px;
}

.hero__checkmark {
    color: #00ffcc;
    margin-right: 5px;
}

.hero__slots {
    color: #a0c4ff;
    font-size: 14px;
    margin-bottom: 20px;
}

.hero__form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 500px;
}

.hero__input {
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
}

.hero__button {
    background-color: #0066ff;
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.hero__button:hover {
    background-color: #0055dd;
}

.hero__privacy {
    font-size: 12px;
    opacity: 0.7;
}

.hero__privacy a {
    color: #a0c4ff;
    text-decoration: underline;
}

.hero__side-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.hero__company {
    font-size: 16px;
}

.hero__rating {
    font-size: 20px;
    font-weight: bold;
    color: gold;
}

/* ===== Адаптив ===== */
@media (max-width: 768px) {
    .about-section {
        display: flex;
        flex-direction: column;
    }

    .about-section__visual {
        max-width: 100% !important;
    }

    .hero__container {
        flex-direction: column;
    }

    .container2 {
        flex-direction: column;
        max-width: 100%;
    }

    .about-section__content {
        width: 100%;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__subtitle {
        font-size: 16px;
    }

    .hero__input,
    .hero__button {
        font-size: 14px;
    }
}

nav {
    display: flex;
    justify-self: flex-end;
}

nav a {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 15px 20px;
    border-right: 1px solid white;
    cursor: pointer;
    white-space: nowrap;
    font-weight: 700;
    text-decoration: none;
    color: white;
}

nav a:hover {
    color: #758EAF;
}

nav a:first-child {
    border-left: 1px solid white;;
}

.form__wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.company-info {
    color: #fff;
    font-family: Arial, sans-serif;
    padding: 20px 0;
    max-width: 600px;
}

.company-info__trust {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.company-info__trustpilot {
    height: 24px;
}

.company-info__badge {
    background-color: #e6f4ea;
    color: #1e8e3e;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 5px;
    font-weight: 600;
}

.company-info__title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
}

.company-info__rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.company-info__avatars {
    display: flex;
}

.company-info__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: -8px;
    border: 2px solid #fff;
}

.company-info__rating-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-info__reviews {
    font-size: 12px;
    color: #cbd5e1;
    margin: 0;
}

.company-info__score {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}

.company-info__stars {
    color: gold;
    margin-left: 5px;
}

.company-info__note {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 480px) {
    .company-info__rating {
        flex-direction: column;
        align-items: flex-start;
    }

    .company-info__score {
        font-size: 16px;
    }

    .company-info__title {
        font-size: 18px;
    }
}

@media (max-width: 900px) {
    .company-info__reviews {
        text-align: left;
    }

    .form__wrapper {
        flex-direction: column;
        align-items: center;

    }

    .hero__logo {
        display: grid;
        grid-template-columns: 100px auto;
        max-width: 100%;

    }

    nav {
        grid-column: span 2;
        margin: 0 auto;
        margin-top: 25px;
    }

    .hero__tagline {
        font-size: 14px;
    }

    .hero__title {
        font-size: 20px;
    }

    .hero__form {
        max-width: 100%;
        width: 100%;
    }


    nav a {
        padding: 7px 10px;
        font-size: 14px;
    }

    .hero__content {
        display: flex;
        flex-direction: column;
        max-width: 100%;
    }
}

.marquee-wrapper {
    padding: 10px 0;
    overflow: hidden;

}

.marquee {
    display: flex;
    width: fit-content;
    animation: scroll 60s linear infinite;
    height: 50px;
}

@media (max-width: 768px) {
    .marquee img {
        display: flex;
        width: fit-content;
        animation: scroll 60s linear infinite;
    }
}

.marquee2 {
    display: flex;
    gap: 20px;
}

.marquee__content {
    display: flex;
}

.marquee-wrapper p {
    font-size: 30px;
    padding-left: 50px;
}

.item {
    background-color: #1d5abf;
    color: white;
    border-radius: 50px;
    padding: 10px 20px;
    margin: 0 10px;
    display: flex;
    align-items: center;
    font-family: sans-serif;
    font-size: 16px;
    white-space: nowrap;
}

.item img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-50%);
    }
}

.slider-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    position: relative;
}

.nav {
    background: none;
    border: 1px solid #b0b0b0;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
}

.advantages-slider {
    margin: 50px auto;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    box-sizing: border-box;
    margin: 0 10px;
    font-family: sans-serif;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 362px;
    gap: 20px;
    height: 475px;
    justify-content: start;
    position: relative;
}

.card-description {
    font-size: 15px;
    width: 100%;
    text-align: left;
}

.card img {
    max-height: 180px;
    width: 100%;
}

/* Убираем глюки переноса */
.slick-slide {
    display: flex !important;
    height: auto;
}

.slick-track {
    display: flex !important;
}

.slick-arrow {
    background: none;
    border: 1px solid #999;
    width: 40px;
    height: 40px;
    font-size: 20px;
    line-height: 38px;
    text-align: center;
    position: absolute;
    top: -60px;
    z-index: 10;
    cursor: pointer;
}

.slick-prev {
    right: 50px;
}

.slick-next {
    right: 0;
}

.card-title {
    font-size: 30px;
    text-align: left;
    width: 100%;
    color: #1a4c95;
}

.card-deskr__wrapper {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-top: auto;
}

.card-number {
    font-size: 20px;
    color: #1a4c95;
}

.card-desk {
    font-size: 13px;
    color: #768eaf;
    max-width: 70%;
}

.adv {
    font-size: 69px;
    margin-bottom: 0;
    font-weight: 400;
    margin-top: 0;
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    margin-bottom: 25px;
}

.marquee-track {
    display: flex;
    animation: scroll-marquee 20s linear infinite;
}

.marquee-track img {
    height: 140px;
    margin: 0 15px;
    flex-shrink: 0;
}

@keyframes scroll-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.trast {
    margin-bottom: 25px;
}

.trast img {
    height: 50px;
}

.about-wrapper {
    background-color: #191B37;
}

.about-section {
    display: flex;
    position: relative;
}

/* Element: content */
.about-section__content {
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
    width: 700px;
}

/* Element: logo */
.about-section__logo {
    color: #4a90e2;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

/* Element: title */
.about-section__title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    letter-spacing: -1px;
}

/* Element: description */
.about-section__description {
    color: #b8c5d6;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.about-section__description p {
    margin-bottom: 25px;
}

/* Element: visual */
.about-section__visual {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background-image: url("../img/about-visual-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 50%;
}

/* Block: office-scene */
.office-scene {
    position: relative;
    width: 100%;
    max-width: 600px;
    height: 500px;
}

/* Element: main-logo */
.office-scene__main-logo {
    position: absolute;
    top: 20px;
    right: 50px;
    color: #7a8ca8;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 3px;
    z-index: 3;
}

/* Element: scales-icon */
.office-scene__scales-icon {
    position: absolute;
    top: -20px;
    right: 80px;
    width: 80px;
    height: 80px;
    color: #7a8ca8;
    z-index: 4;
}

/* Element: desk */
.office-scene__desk {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 120px;
    background: linear-gradient(45deg, #8b4513, #a0522d);
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Element: chair */
.office-scene__chair {
    position: absolute;
    bottom: 170px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 180px;
    background: linear-gradient(to bottom, #8b4513, #654321);
    border-radius: 12px 12px 0 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.office-scene__chair::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 10px;
    right: 10px;
    height: 80px;
    background: linear-gradient(to bottom, #a0522d, #8b4513);
    border-radius: 8px;
}

/* Block: laptop */
.laptop {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-30px);
    width: 200px;
    height: 120px;
    background: #2c3e50;
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

/* Element: screen */
.laptop__screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 25px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

/* Element: screen-header */
.laptop__screen-header {
    color: #4a90e2;
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.laptop__screen-header::before {
    content: '⚖';
    margin-right: 5px;
    font-size: 14px;
}

/* Element: screen-title */
.laptop__screen-title {
    color: white;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Element: screen-form */
.laptop__screen-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* Element: form-field */
.laptop__form-field {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}

/* Element: form-button */
.laptop__form-button {
    height: 12px;
    background: #4a90e2;
    border-radius: 3px;
    margin-top: 6px;
}

/* Block: floating-elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

/* Element: dot */
.floating-elements__dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

/* Modifier: first */
.floating-elements__dot--first {
    top: 20%;
    left: 10%;
    animation-delay: -1s;
}

/* Modifier: second */
.floating-elements__dot--second {
    top: 60%;
    left: 80%;
    animation-delay: -2s;
}

/* Modifier: third */
.floating-elements__dot--third {
    top: 80%;
    left: 20%;
    animation-delay: -0.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 0.8;
    }
}

/* Responsive Modifiers */
@media (max-width: 1024px) {
    /* Modifier: mobile */
    .about-section--mobile {
        flex-direction: column;
    }

    .about-section__content {
        padding: 60px 40px;
        text-align: center;
        margin-right: auto;
    }

    .about-section__title {
        font-size: 36px;
    }

    .about-section__visual {
        padding: 40px;
        min-height: 400px;
    }

    .office-scene {
        max-width: 400px;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .about-section__content {
        padding: 40px 20px;
        max-width: 100%;
    }

    .about-section__title {
        font-size: 28px;
    }

    .about-section__description {
        font-size: 16px;
    }

    .about-section__visual {
        padding: 20px;
        min-height: 300px;
    }
}

.stats-section-wrapper {
    background-color: black;
}

.stats-section {
    display: flex;
    position: relative;
    align-items: center;
}

/* Element: content */
.stats-section__content {
    flex: 1;
    padding: 80px 60px;
    z-index: 2;
}

/* Element: subtitle */
.stats-section__subtitle {
    color: #4a90e2;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
}

.stats-section__subtitle::before {
    content: '●';
    margin-right: 8px;
    color: #4a90e2;
}

/* Element: title */
.stats-section__title {
    color: white;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* Element: highlighted-text */
.stats-section__highlighted-text {
    color: #6c7b95;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Element: achievements */
.stats-section__achievements {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    align-self: flex-end;
}

/* Block: achievement-card */
.achievement-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(74, 144, 226, 0.3);
    transform: translateX(5px);
}

/* Element: icon */
.achievement-card__icon {
    width: 60px;
    height: 60px;
    background: #4a90e2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
    color: white;
}

/* Element: content */
.achievement-card__content {
    flex: 1;
}

/* Element: number */
.achievement-card__number {
    color: white;
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 10px;
}

/* Element: title */
.achievement-card__title {
    color: white;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Element: description */
.achievement-card__description {
    color: #8a95a8;
    font-size: 16px;
    line-height: 1.4;
}


@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .stats-section {
        flex-direction: column;
        min-height: auto;
    }

    .stats-section__marquee {
        display: none;
    }

    .stats-section__content {
        padding: 60px 40px;
        text-align: center;
    }

    .stats-section__achievements {
        padding: 40px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .stats-section__content {
        padding: 40px 40px 0;
    }

    .stats-section__title,
    .stats-section__highlighted-text {
        font-size: 25px;
    }

    .adv {
        font-size: 28px;
    }

    .stats-section__achievements {
        padding: 0 20px 20px 20px;
        gap: 20px;
    }

    .achievement-card {
        padding: 30px 20px;
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .achievement-card__number {
        font-size: 48px;
    }

    .achievement-card__title {
        font-size: 18px;
    }

    .achievement-card__description {
        font-size: 14px;
    }
}

.stats-section__highlighted-text span {
    color: white !important;
}

.stats-section__highlighted-text span {
    color: white !important;
}

.stats-section__achievements {
    position: relative;
    height: 300px;
    overflow: hidden;
    width: 100%;
}

/* Трек с SVG */
.marquee-vertical {
    height: 300px;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.marquee-track2 {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    will-change: transform;
}

.marquee-track2 img {
    width: 100%;
    height: auto;
    display: block;
}

/* ЗАТЕНЕНИЕ — верх и низ */
.stats-section__achievements::before,
.stats-section__achievements::after {
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 10;
    pointer-events: none;
}

/* ВЕРХ */
.stats-section__achievements::before {
    top: 0;
    background: linear-gradient(to bottom, black, rgba(15, 17, 33, 0));
}

/* НИЗ */
.stats-section__achievements::after {
    bottom: 0;
    background: linear-gradient(to top, black, rgba(15, 17, 33, 0));
}

.dot {
    border-radius: 100%;
    background-color: #4A90E2;
    width: 10px;
    height: 10px;
    display: inline-block;
}

.ppc {
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
}

.dot-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

.divider {
    width: 100%;
    opacity: 0.15;
    height: 1px;
    background-color: gray;
    margin: 35px 0 35px 0;
}

.how-can-we-help {
    background: linear-gradient(to top, #000000 0%, #001f4d 50%, #113365 100%);
    color: white;
}

.how-can-we-help .slick-arrow {
    color: white;
}

.how-can-we-help .card {
    background-color: transparent;
    border: 1px solid gray;
    border-radius: 0;
    width: 517px;
    height: auto;
}

.how-can-we-help .card-title {
    color: white;
}

.for-img {
    height: 170px;
    width: 443px;
    background-size: cover;
    background-position: 50% 63%;
}


.first {
    background-position: 50% 20%;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin-top: auto;
}

.btn {
    width: 175px;
    padding: 15px 10px;
    background-color: #004DE5;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
}

.btn:hover {
    transform: scale(1.2);
    transition: 0.3s;
}

.card-footer .btn {
    padding: 15px 10px;
    background-color: #004DE5;
    color: white;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    text-align: center;
}

.card-footer .btn:hover {
    transform: scale(1.2);
    transition: 0.3s;

}

.card-footer .cross {
    border-radius: 100%;
    overflow: hidden;
}

.card-footer .cross img {
    background-color: #2B2C38;
    box-sizing: content-box;
    height: 20px;
    width: 20px;
    padding: 35px;
    color: white;
    cursor: pointer;

}

.card-footer .cross img:hover {
    transform: scale(1.8);
    transition: 0.3s;

}


@media (max-width: 768px) {

    .how-can-we-help .card {
        background-color: transparent;
        border: 1px solid gray;
        border-radius: 0;
        width: 350px;
        height: auto;
    }

    .for-img {
        height: 150px;
        width: 300px;
        background-size: cover;
        background-position: 50% 63%;

    }

    .card-footer .cross img {
        background-color: #2B2C38;
        box-sizing: content-box;
        height: 20px;
        width: 20px;
        padding: 20px;
        color: white;
        cursor: pointer;
    }
}

.reviews-wrapper .card {
    flex-direction: row;
    max-width: 720px;
    width: auto;
    height: 355px;
    align-items: flex-start;
}


.reviews-wrapper .for-img {
    height: 100%;
    position: relative;
}

.card-right-side {
    display: flex;
    flex-direction: column;
}

.card-footer {
    display: flex;
    justify-content: space-between;
}

.card-footer .btn {
    width: 175px;
    font-size: 12px;
    font-weight: bold;
}

.card-footer .btn-transparent {
    background-color: transparent;
    border: 1px solid gray;
    color: gray;

}

.card-footer .btn-transparent:hover {
    transform: scale(1);
    color: white;
    background-color: #004DE5;
    transition: 0.3s;

}

.reviews-wrapper .card-title {
    font-size: 18px;
    margin-bottom: 15px;
    margin-top: 25px;

}

.play-btn img {
    height: 85px;
    width: 85px;
    position: absolute;
    top: 130px;
    left: 20px;
    cursor: pointer;
}

.name-age {
    position: absolute;
    bottom: 15px;
    left: 30px;
    color: white;
}

.name {
    color: white;
    font-size: 24px;
    margin-bottom: 0;
}

.age {
    color: white;
    font-size: 20px;
    margin-top: 0;
}

.client-reviews {
    width: 110px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    position: absolute;
    bottom: 25px;
    right: 10px;
}

.client-reviews img {
    width: 100%;
}

.client-reviews img:nth-child(2) {
    width: 70%;
}

.reviews-wrapper .for-img {
    min-width: 300px;
}

.reviews-wrapper .for-img img {
    min-width: 100%;
    width: 100%;
}

.card-right-side .divider {
    margin-top: 25px;

}

.card-right-side {
    height: 100%;
}

.card-right-side .card-footer {
    margin-top: auto;
}

.steps {
    padding: 60px 10px;
    background: #e3e7ed;
    font-family: sans-serif;
}

.steps-subtitle {
    font-size: 14px;
    color: #768eaf;
}

.steps-title {
    font-size: 32px;
    font-weight: bold;
    margin: 10px 0 30px;
}

/* Сетка */
.steps-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    margin-top: 30px;
}

@media (max-width: 768px) {
    .steps-grid {
        display: flex;
        gap: 20px;
        flex-direction: column;

    }
}

/* Карточки */
.step-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    color: #001d3d;
    position: relative;
    border-radius: 0;
}

.step-card.dark {
    background: linear-gradient(to bottom right, #041d52, #102d7c);
    color: #fff;
}

.step-card.lighter {
    background: #f6f8fb;
}

.step-card.light {
    background: #fff;
}

.step-number {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: inherit;
}

.step-icon {
    font-size: 24px;
    margin-bottom: 10px;

}

.step-icon img {
    width: 45px;
    height: 45px;
}

.step-title {
    font-size: 28px;
    margin: 0 0 10px;
    line-height: 1.4;
}

.step-title.blue {
    color: #1c4fc7;
}

.step-text {
    font-size: 16px;
    line-height: 1.5;
}

/* С изображением */
.step-card.with-image {
    position: relative;
    justify-content: space-between;
}

.step-image {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin-top: auto;
    border-radius: 6px;
}

/* Консультация */
.consultation-card {
    background: url('../img/bg.png') center/cover no-repeat;
    border-radius: 8px;
    padding: 20px;
    color: #fff;
    display: flex;
    align-items: flex-end;
    position: relative;
    min-height: 200px;
}

.consultation-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
}

.consultation-text {
    position: relative;
    z-index: 1;
}

.consultation-text h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.consultation-text .small {
    font-size: 14px;
    margin-bottom: 10px;
}

.consult-logo {
    max-width: 80px;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: #0051ff;
    color: #fff;
    padding: 10px 16px;
    border-radius: 4px;
    font-size: 13px;
    text-decoration: none;
}

.step-container {
    display: flex;
    justify-content: space-between;

}

.step-container .card-number {
    font-size: 40px;
    color: #768eaf;
}

.step-card:nth-child(4) {
    grid-column: span 2;
}

.text-containner-left {
    max-width: 50%;
}

@media (max-width: 768px) {
    .step-card:nth-child(4) {
        grid-column: span 1;
    }

    .text-container {
        flex-direction: column;
    }

    .text-containner-left {
        max-width: 100%;
    }
}

.text-container {
    display: flex;
    align-items: center;
}

.certification {
    background: linear-gradient(180deg, #0c1536 0%, #0f1b48 100%);
    color: #fff;
    padding: 40px 20px;
    margin-top: 30px;
}

.certification__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.certification__image-wrapper {
    flex: 1 1 400px;
    text-align: center;
}

.certification__image {
    max-width: 100%;
    height: 610px;
    border-radius: 6px;
}

.certification__content {
    flex: 1 1 500px;
    display: flex;
    flex-direction: column;
}

.certification__status {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.certification__status-icon {
    font-size: 24px;
    color: #00c2ff;
    margin-top: 5px;
}

.certification__status-title {
    margin: 0 0 10px;
    font-size: 20px;
}

.certification__status-description {
    font-size: 14px;
    color: #cbd2e0;
    margin: 0;
    line-height: 1.5;
}

.certification__form-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.certification__form-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
}

.certification__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.certification__input {
    padding: 16px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
    width: 100%;
    box-sizing: border-box;
}

.certification__phone-group {
    display: flex;
    gap: 10px;
}

.certification__phone-code {
    flex: 0 0 35%;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
}

.certification__phone-number {
    flex: 1;
    padding: 14px;
    font-size: 16px;
    border-radius: 6px;
    border: none;
}

.certification__submit {
    background-color: #0066ff;
    color: #fff;
    font-weight: bold;
    font-size: 16px;
    padding: 16px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.certification__submit:hover {
    background-color: #004dc9;
}

.certification__privacy {
    font-size: 11px;
    color: #7f8fa4;
    margin-top: 10px;
}

.certification__privacy a {
    color: #7f8fa4;
    text-decoration: underline;
}

/* Адаптив */
@media (max-width: 768px) {
    .certification__container {
        flex-direction: column;
        align-items: center;
    }

    .certification__status {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .certification__status-text {
        max-width: 100%;
    }

    .certification__form-title {
        text-align: center;
    }
}

.faq-accordion-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.faq-accordion-section * {
    box-sizing: border-box;
}

.faq-accordion-wrapper {
    padding: 60px 0;
}


.faq-accordion-header {
    margin-bottom: 50px;
}

.faq-accordion-header__badge {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.faq-accordion-header__title {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.faq-accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.faq-accordion-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.faq-accordion-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.faq-accordion-item__trigger {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    color: #1f2937;
    transition: background-color 0.3s ease;
    line-height: 1.4;
}

.faq-accordion-item__trigger:hover {
    background: #f9fafb;
}

.faq-accordion-item__trigger:focus {
    outline: none;
    background: #f3f4f6;
}

.faq-accordion-item__icon {
    width: 40px;
    height: 40px;
    background: #2563eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-accordion-item__icon::before {
    content: '+';
    color: white;
    font-size: 20px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-accordion-item_active .faq-accordion-item__icon {
    background: #1d4ed8;
    transform: rotate(45deg);
}

.faq-accordion-item_active .faq-accordion-item__icon::before {
    transform: rotate(45deg);
}

.faq-accordion-item__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-accordion-item_active .faq-accordion-item__content {
    max-height: 500px;
}

.faq-accordion-item__text {
    padding: 0 30px 30px 30px;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

/* Адаптивность */
@media (max-width: 768px) {
    .faq-accordion-wrapper {
        padding: 40px 15px;
    }

    .faq-accordion-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .faq-accordion-header__title {
        font-size: 28px;
    }

    .faq-accordion-item__trigger {
        padding: 20px;
        font-size: 16px;
    }

    .faq-accordion-item__icon {
        width: 35px;
        height: 35px;
        margin-left: 15px;
    }

    .faq-accordion-item__icon::before {
        font-size: 18px;
    }

    .faq-accordion-item__text {
        padding: 0 20px 25px 20px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq-accordion-wrapper {
        padding: 30px 10px;
    }

    .faq-accordion-header__title {
        font-size: 24px;
    }

    .faq-accordion-item__trigger {
        padding: 15px;
        font-size: 15px;
    }

    .faq-accordion-item__icon {
        width: 30px;
        height: 30px;
        margin-left: 10px;
    }

    .faq-accordion-item__icon::before {
        font-size: 16px;
    }

    .faq-accordion-item__text {
        padding: 0 15px 20px 15px;
        font-size: 14px;
    }
}

.iti {
    min-width: 100%;
    width: 100%;
    color: black;
}

@media (max-width: 768px) {
    .reviews-wrapper .card {
        flex-direction: column;
        height: 700px;
        align-items: flex-start;
        max-width: 350px;

    }

    .reviews-wrapper .for-img {
        min-height: 300px;
        height: 300px;
        position: relative;
    }

    .card-right-side {
        max-width: 100%;
        width: 100%;
        display: flex;
    }

    .card-title {
        max-width: 100%;
    }

    .adv {
        margin-bottom: 15px;
    }

    .card-footer .btn {
        width: 150px;
        font-size: 14px;
    }

    .card-footer {
        margin-top: auto;
    }

}

.contacts-footer-section {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.contacts-footer-section * {
    box-sizing: border-box;
}

.contacts-footer-wrapper {
    padding: 60px 0 0 0;
}


.contacts-footer-header {
    margin-bottom: 50px;
}

.contacts-footer-header__badge {
    display: inline-block;
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.contacts-footer-header__title {
    font-size: 36px;
    font-weight: bold;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
}

.contacts-footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.contacts-footer-info {
    display: flex;
    flex-direction: column;
}

.contacts-footer-info__logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.contacts-footer-info__logo-icon {
    width: 80px;
    height: 80px;
    margin-right: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    line-height: 1.2;
}

.contacts-footer-info__logo-icon img {
    height: 80px;
    width: 80px;
}

.contacts-footer-info__company-details {
    flex: 1;
}

.contacts-footer-info__company-name {
    font-size: 24px;
    font-weight: bold;
    color: #1f2937;
    margin-bottom: 5px;
}

.contacts-footer-info__detail {
    font-size: 14px;
    color: #6b7280;
    margin: 2px 0;
}

.contacts-footer-info__phone {
    background: #2563eb;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin: 20px 0;
    display: block;
    transition: background-color 0.3s ease;
}

.contacts-footer-info__phone:hover {
    background: #1d4ed8;
}

.contacts-footer-info__email {
    color: #2563eb;
    text-decoration: none;
    font-size: 16px;
    margin-bottom: 30px;
    display: block;
}

.contacts-footer-info__email:hover {
    text-decoration: underline;
}

.contacts-footer-map {
    background: #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    position: relative;
}

.contacts-footer-map__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #e5e7eb 25%, #f3f4f6 25%, #f3f4f6 50%, #e5e7eb 50%, #e5e7eb 75%, #f3f4f6 75%);
    background-size: 20px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 16px;
    position: relative;
}

.contacts-footer-map__marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: #ef4444;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg) translate(-50%, -50%);
    transform-origin: 0 0;
}

.contacts-footer-map__marker::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
}

.contacts-footer-map__address {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: white;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-width: 250px;
}

.contacts-footer-map__address-title {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.contacts-footer-map__address-text {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.4;
}

.contacts-footer-bottom {
    border-top: 1px solid #e5e7eb;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contacts-footer-bottom__links {
    display: flex;
    gap: 30px;
    margin-bottom: 10px;
}

.contacts-footer-bottom__link {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
}

.contacts-footer-bottom__link:hover {
    color: #2563eb;
    text-decoration: underline;
}

.contacts-footer-bottom__copyright {
    color: #9ca3af;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-footer-wrapper {
        padding: 40px 0 30px 0;
    }

    .contacts-footer-container {
        padding: 0 15px;
    }

    .contacts-footer-header__title {
        font-size: 28px;
    }

    .contacts-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contacts-footer-info__logo {
        margin-bottom: 20px;
    }

    .contacts-footer-info__logo-icon {
        width: 60px;
        height: 60px;
        margin-right: 15px;
        font-size: 10px;
    }

    .contacts-footer-info__company-name {
        font-size: 20px;
    }

    .contacts-footer-map {
        height: 300px;
    }

    .contacts-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .contacts-footer-bottom__links {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .contacts-footer-wrapper {
        padding: 30px 0 20px 0;
    }

    .contacts-footer-container {
        padding: 0 10px;
    }

    .contacts-footer-header__title {
        font-size: 24px;
    }

    .contacts-footer-info__logo {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 15px;
    }

    .contacts-footer-info__logo-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .contacts-footer-info__company-name {
        font-size: 18px;
    }

    .contacts-footer-info__phone {
        font-size: 16px;
        padding: 10px 15px;
    }

    .contacts-footer-map {
        height: 250px;
    }

    .contacts-footer-map__address {
        bottom: 10px;
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

.modal.hidden {
    display: none;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    z-index: 999;
    overflow-y: auto; /* <--- это позволяет скроллить модалку */
    padding: 40px 20px;
    flex-direction: column;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.close-modal {
    position: absolute;
    top: 0;
    right: 20px;
    font-size: 48px;
    cursor: pointer;
    color: white;
}

.close-button {
    justify-self: center;
    margin-bottom: 20px;
    border: none;
    width: auto;
    font-size: 24px;
}

.modal-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 10px;
    min-height: 200px;

}

.modal-video iframe {
    width: 100%;
    height: 300px;
    margin-top: 15px;
    border: none;
    border-radius: 8px;
}

.modal-name {
    text-align: left;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
}

.modal-back {
    font-size: 15px;
    color: rgb(26, 76, 149);
    display: inline-block;
}

.modal-back-wrapper span {
    color: rgb(26, 76, 149);
    font-weight: 700;
}

.modal-back-wrapper {
    margin-top: 10px;
}

.modal-text-wrapper {
    padding: 0 18px;
    text-align: left;
    display: flex;
    flex-direction: column;
}

.more {
    font-size: 24px;
    margin-left: 15px;
    padding: 20px 30px;
    width: auto;
    border-radius: 10px;
    animation: pulse 3s infinite ease-in-out;
}

.modal-text-wrapper a {
    align-self: center;
}

.modal-video iframe {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    border: none;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .contacts-footer-info__logo {
        display: flex;
        align-items: center;
    }
}

.no-scroll {
    overflow-y: hidden;
}

.video-popup {
    position: fixed;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* по умолчанию скрыт */
.video-popup.hidden {
    display: none;
}

/* затемнение фона */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

/* контейнер видео */
.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    background: black;
    z-index: 10;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
}

/* крестик */
.close-video {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    z-index: 20;
    cursor: pointer;
    text-shadow: 0 0 5px black;
}

/* iframe */
.video-popup-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.back-wrapper {
    display: flex;
    margin-bottom: 15px;
    gap: 5px;
}

.back-wrapper span, .bold-blue-text {
    color: rgb(26, 76, 149);
    font-size: 16px;
    font-weight: bold;
}

.back-wrapper div, .blue-text {
    color: rgb(26, 76, 149);
    font-size: 16px;
    font-weight: 400;
}

.client-review-html__name {
    margin-top: 0px;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-around;
}


.container2 .card {
    display: flex;
    margin: 0;
    max-width: 620px;
    height: auto;
}

.container2 .card-footer {
    flex-direction: column;
    gap: 10px;
}

@media screen and (max-width: 768px) {
    .reviews-wrapper .container2 .cards .card {
        width: 100%;
        max-width: 100%;
    }

    .container2 .card-footer {
        flex-direction: row;
        gap: 10px;
    }

}

.breadcrumbs {
    display: flex;
    gap: 10px;
    font-size: 12px;
}

.breadcrumbs a {
    text-decoration: none;
    color: gray;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1); /* увеличение на 20% */
    }
}