* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


html,
body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    height: 100%;
}


.hero {
    position: relative;
    /* УДАЛИ вот это ↓ */
    background-size: cover;
    /* background-image и position перемещаем */
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-top {
    position: fixed;
    /* ← фиксируем */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background-color: rgba(81, 80, 80, 0.95);
    /* полупрозрачный фон */
    backdrop-filter: blur(6px);
    border-bottom: 1px solid grey;
}

.logo img {
    height: 70px;
}

.nav-center {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-center button {
    padding: 10px 20px;
    color: #fff;
    background: none;
    border: none;
    font-weight: 500;
    font-size: 16px;
    border-radius: 5px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-right button {
    padding: 15px 50px;
    background: none;
    border: 1px solid red;
    color: #fff;
    font-weight: 400;
    font-size: 16px;
    border-radius: 50px;
    text-transform: uppercase;
    cursor: pointer;
}

.nav-right {
    display: flex;
    justify-content: flex-end;
}

/* Нижний блок хедера */
.hero-bottom {
    margin-top: 111px;
    position: relative;
    height: 90vh;
    /* ← вот это главное */
    z-index: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    align-items: flex-start;
    padding-left: 20px;
    background-image: url('../img/bg.jpg');

    background-size: cover;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
}

.hero-bottom::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    /* ← затемнение */
    z-index: 0;
}

.hero-bottom h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

.hero-bottom p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.cta-button {
    padding: 12px 24px;
    background-color: #ffcc00;
    color: black;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
}


.hero-bottom .line-1,
.hero-bottom .line-2,
.hero-bottom .line-3 {
    position: relative;
    z-index: 1;
    text-align: left;
    padding-left: 50px;
}

.line-1 {
    font-size: 30px;
    max-width: 1000px;
    text-align: left;
    color: whitesmoke;
}

.line-2 {
    margin-top: 100px;
    color: rgb(204, 52, 52);
    font-weight: 600;
    font-size: 80px;
}


.line-3 {
    font-size: 60px;
    max-width: 1000px;
    text-align: left;
    color: whitesmoke;
}

/* Адаптивность */
@media (max-width: 768px) {

    .btn-1 {
        top: -812px;
        left: 255px;
        width: 29px;
        height: 27px;
    }

    .hero-top {
        flex-direction: row;
        /* ← важно: горизонтально */
        align-items: flex-start;
        justify-content: space-between;
        gap: 10px;
        padding: 15px 20px;
        background-color: rgb(170, 169, 169);
        backdrop-filter: blur(6px);
    }

    .logo {
        display: flex;
        justify-content: center;
        width: 100%;
    }


    .nav-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 15px;
        max-width: 100%;
    }


    .nav-center button {
        flex: 0 0 calc(50% - 10px);
        /* 2 кнопки в ряд */
        min-width: 120px;
        padding: 8px 10px;
        font-size: 13px;
        text-align: center;
    }

    .nav-right {
        display: none;
    }

    .hero-bottom h1 {
        font-size: 2em;
    }

    .hero-bottom p {
        font-size: 1em;
    }

    .hero {
        background-position: center center;
        background-size: cover;
    }

    .mobile-darken {
        display: block;
    }

    .hero-top {
        flex-direction: row;
        background-color: rgb(81, 80, 80);
        backdrop-filter: blur(6px);
    }
}

.burger-menu {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(6px);
    padding: 20px;
    z-index: 1000;
    gap: 10px;
    border-top: 1px solid #444;
}

.mobile-menu button {
    background: none;
    color: #fff;
    border: 1px solid #444;
    padding: 12px;
    font-size: 16px;
    border-radius: 8px;
    text-transform: uppercase;
}

.mobile-menu .cta {
    background-color: #e6243d;
    border: none;
    font-weight: bold;
    color: #fff;
}

/* Показываем бургер только на мобилках */
@media (max-width: 768px) {

    .nav-center,
    .nav-right {
        display: none;
    }

    .burger-menu {
        display: block;
    }
}

/* =================================================================== header 2 */
.hero-form {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    gap: 15px;
    align-items: stretch;
    padding-left: 50px;
    z-index: 1;
    position: relative;
    flex-wrap: nowrap;
    flex-shrink: 1;
    flex-grow: 1;
}

.hero-form input,
.hero-form button {
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 16px;
    border: none;
    flex: 1 1 0;
    max-width: 100%;
}

.hero-form button {
    background-color: #ff2e2e;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    height: auto;
    white-space: nowrap;
}

.valid {
    background-color: rgba(25, 230, 25, 0.45) !important;
}

.invalid {
    background-color: rgba(230, 25, 25, 0.45) !important;
}

.invalid:focus {
    border: 1px solid rgba(230, 25, 25, 0.45) !important;
}

@media (max-width: 768px) {
    .hero-form {
        flex-direction: column;
        padding-left: 0;
    }

    .hero-form input,
    .hero-form button {}
}

.advantages-block {
    margin: 0;
    position: relative;
    width: 100%;
    height: 200px;
    /* можно увеличить при необходимости */
    background-color: #202020;
    /* светло-серый фон */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}


.text-inner {
    font-size: 50px;
    font-weight: 300;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
}

.cards-grid {
    display: grid;
    background-color: #202020;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 0 100px;
    padding-bottom: 100px;
}

.cards-grid img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 480px) {

    .btn-1 {
        top: -812px;
        left: 255px;
        width: 29px;
        height: 27px;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

.section-1 {
    padding: 40px 20px;
    border-bottom: 1px solid grey;
}

.advantages-block .text-inner {
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
    color: #fff;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    justify-items: center;
}

.card-with-button {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.card-with-button img {
    width: 100%;
    border-radius: 16px;
    display: block;
}

.custom-button {
    position: absolute;
    bottom: 181px;
    right: -9px;
    width: 48px;
    height: 48px;
    z-index: 10;
}

.custom-button a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 24px;
    background-color: #1a1919;
    color: red;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: background 0.3s ease;
}

.custom-button a:hover {
    background-color: #f0f0f0;
}

/* Адаптивность */
@media (max-width: 480px) {
    .advantages-block .text-inner {
        font-size: 22px;
    }

    .custom-button {
        width: 36px;
        height: 36px;
        position: absolute;
        bottom: 144px;
        right: -6px;
    }

    .custom-button a {
        font-size: 18px;
    }

    .cards-grid {
        padding: 40px;
        grid-template-columns: repeat(auto-fit, minmax(320px, 0fr));
    }

    .section-1 {
        padding: 0;
    }

}

/* ==============================================================  2 section */
.cases-section {
    background: linear-gradient(to bottom, #111, #1a1a1a);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.subtitle {
    font-size: 40px;
    color: #777;
    margin-bottom: 20px;
    font-weight: 400;
}

.subtitle .accent {
    color: #ff2e2e;
    margin-right: 5px;
}

.main-title {
    font-size: 42px;
    line-height: 1.4;
    font-weight: 300;
    text-transform: uppercase;
    color: white;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 28px;
    }

    .subtitle {
        font-size: 16px;
    }
}

.process-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 60px 20px;
    background-color: #121212;
    color: #fff;
}

.card {
    background-color: transparent;
    text-align: center;
    padding: 0 10px;
}

.card-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.card-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.card-icon {
    position: absolute;
    top: 8px;
    right: -2px;
    background: #1a1a1a;
    color: red;
    font-size: 18px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 18px;
    margin-top: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

.card-number {
    color: #ff2e2e;
    margin-left: 10px;
}

.card-text {
    margin-top: 15px;
    font-size: 15px;
    color: #ccc;
}

.card-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    border: 1px solid #ff2e2e;
    border-radius: 30px;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.card-button:hover {
    background-color: #ff2e2e;
    color: #fff;
}

.about-section {
    display: flex;
    flex-wrap: wrap;
    background: linear-gradient(to bottom, #111, #1a1a1a);
    color: #fff;
    padding: 80px 40px;
    gap: 40px;
    align-items: flex-start;
}

.about-text {
    flex: 1 1 60%;
    font-size: 16px;
    line-height: 1.6;
}

.about-subtitle {
    color: #777;
    font-size: 35px;
    margin-bottom: 10px;
}

.accent {
    color: #ff2e2e;
}

.about-title {
    font-size: 55px;
    font-weight: 300;
    margin-bottom: 30px;
    color: white;
}

.about-video {
    flex: 1 1 35%;
    background-color: #1a1a1a;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.video-wrapper img {
    width: 100%;
    display: block;
    border-radius: 24px 24px 0 0;
}

.video-caption {
    padding: 20px;
    display: flex;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.caption-top {
    font-size: 18px;
    color: #747171;
    margin-right: 19px;
    margin-bottom: 15px;
    font-weight: 400;
}

.video-button {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

.video-label {
    background: #fff;
    color: #444;
    font-size: 14px;
    border-radius: 999px;
    padding: 20px 43px;
    margin-left: 30px;

}

.play-button {
    position: relative;
    left: -38px;
    background-color: #c00;
    border: none;
    border-radius: 999px;
    width: 82px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-button svg {
    display: block;
}

.caption-name {
    font-size: 30px;
    color: white;
    line-height: 1.4;
    text-align: left;
    /* ← прижимаем влево */
    width: 100%;
    padding: 0 20px 20px;
    box-sizing: border-box;
}

.caption-sub {
    font-size: 25px;

    color: #aaa;
}

.first-txt {
    margin-bottom: 40px;
    font-size: 22px;
    color: grey;
}

.second-txt {
    margin-bottom: 40px;
    font-size: 22px;
    color: grey;
}

@media (max-width: 768px) {
    .about-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .about-title {
        font-size: 28px;
    }

    .about-text,
    .about-video {
        flex: 1 1 100%;
    }
}

.results-wrapper {
    background-color: #0d0d0d;
    /* Тёмный фон всего блока */
    padding: 60px 0;
}

.results-section {
    max-width: 1200px;
    margin: 0 auto;
    background: linear-gradient(to bottom, #1a1a1a, #222);
    color: #fff;
    padding: 60px 40px;
    border-radius: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.results-section h2 {
    font-size: 30px;
    font-weight: 300;
    color: grey;
}

.white {
    color: #fff;
    font-weight: 300;
}

.results-left {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.results-left h2 {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
    color: #ccc;
}

.results-left h2 strong {
    color: white;
    font-weight: 700;
}

.faq-button {
    margin-top: 40px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #e6323b;
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    padding: 16px 88px;
    border-radius: 999px;
    transition: background 0.3s ease;
}

.faq-button .arrow {
    font-size: 20px;
    margin-right: 4px;
}

.faq-button:hover {
    background-color: #ff3b47;
}

.results-right {
    flex: 1 1 51%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.result-card {
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 24px;
    text-align: center;
}

.result-number {
    font-size: 22px;
    font-weight: bold;
    color: #ff2e2e;
    margin-bottom: 10px;
}

.result-number span {
    font-size: 26px;
    color: white;
    margin-left: 4px;
}

.result-label {
    font-size: 22px;
    color: #ccc;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .results-section {
        flex-direction: column;
        padding: 40px 20px;
    }

    .results-right {
        grid-template-columns: 1fr;
    }

    .results-left h2 {
        font-size: 20px;
    }

    .faq-button {
        padding: 14px 24px;
        font-size: 13px;
    }
}

/* ============================================== Основатели */

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #0d0d0d;
    color: #fff;
}

.founders-section {
    display: flex;
    flex-wrap: wrap;
    padding: 90px;
    justify-content: space-between;
    background-color: #0d0d0d;
}

.text-block {
    flex: 1 1 300px;
    max-width: 400px;
}

.subtitle2 {
    color: #999;
    font-size: 40px;
    margin-bottom: 10px;
}

.subtitle2::before {
    content: "// ";
    color: #e6243d;
}

.main-title2 {
    font-size: 70px;
    line-height: 1;
    font-weight: 500;
    color: white;
    margin-bottom: 30px;
}

.consult-button {
    margin-top: 70px;
    display: inline-flex;
    align-items: center;
    background-color: #e6243d;
    color: white;
    padding: 16px 100px;
    border-radius: 40px;
    font-size: 18px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s ease;
}

.consult-button:hover {
    background-color: #c51d34;
}

.arrow {
    margin-left: 12px;
    font-size: 20px;
}

.founders {
    flex: 2 1 600px;
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.founder-card {
    background-color: #1c1c1c;
    border-radius: 24px;
    max-width: 345px;

    text-align: center;
    color: #ccc;
}

.founder-card img {
    width: 100%;
    border-radius: 16px;
    margin-bottom: 16px;
}

.founder-card h3 {
    font-size: 20px;
    color: white;
    margin-bottom: 12px;
}

.founder-card p {
    padding: 0 25px;
    font-size: 14px;
    line-height: 1.6;
}

/* ====================================================================== */


.process-section {
    background-color: #1c1c1c;
    padding: 60px 40px;
    border-radius: 40px;
    max-width: 1600px;
    margin: 40px auto;
}

.process-subtitle {
    text-align: center;
    color: #888;
    font-size: 43px;
    margin-bottom: 10px;
}

.process-subtitle::before {
    content: "// ";
    color: #e6243d;
}

.process-title {
    text-transform: uppercase;
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 40px;
    color: white;
}

.process-steps {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
}

.step-card {
    background-color: #111;
    border-radius: 30px;
    max-width: 330px;
    flex: 1 1 300px;
}

.image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

.image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 20px;
}

.corner-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #333;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #e6243d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-card h3 {
    padding: 20px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 18px;
    margin: 16px 0 8px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-number {
    color: #e6243d;
    font-size: 43px;
    font-weight: 100;
    margin-left: 10px;
}

.step-card p {

    padding: 20px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
}

.team-title-section {
    background-color: #0d0d0d;
    padding: 60px 40px;
    text-align: center;
    color: #fff;
}

.team-title-section .tsubtitle {
    font-size: 40px;
    color: #666;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.t-sub {
    font-size: 40px;
    color: #fff;
    margin-bottom: 10px;
    font-weight: 300;
}

.team-title-section .tsubtitle::before {
    content: "// ";
    color: #e6243d;
    margin-right: 5px;
}

.team-title-section h2 {
    font-size: 42px;
    font-weight: bold;
    margin: 0;
    line-height: 1.3;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 60px;
    margin-top: 60px;
    justify-items: center;
}

.team-card {
    background-color: #111;
    border-radius: 32px;
    text-align: center;
    max-width: 450px;
    width: 100%;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
}

.team-card img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    margin-bottom: 20px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}

.team-card h3 {
    text-align: left;
    font-size: 29px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.team-card p {
    text-align: left;
    font-size: 19px;
    color: #aaa;
    line-height: 1.5;
}

.testimonial-section {
    background-color: #0d0d0d;
    padding: 40px 250px;
    color: #fff;
}

.testimonial-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.testimonial-tabs button {
    background: none;
    color: grey;
    padding: 10px 16px;
    cursor: pointer;
    border: 0;
    transition: background 0.3s ease;
    font-size: 14px;
}

.testimonial-tabs button:hover {
    color: rgb(154, 153, 153);
}

.testimonial-tabs button.active {
    color: #fff;
    border-top: 3px solid #fff;
    background-color: #666;
}

.testimonial-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-inner {
    display: flex;
    max-width: 1000px;
    background-color: #202020;
    padding: 50px;
    width: 100%;
    gap: 40px;
    align-items: flex-start;
}

.testimonial-inner.hidden {
    display: none;
}

.testimonial-photo img {
    width: 450px;
    object-fit: cover;
    background: #222;
}

.testimonial-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
}


/* ============================================== accordion */

.faq-section {
    background: #0d0d0d;
    color: #fff;
    padding: 60px 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-subtitle {
    color: #777;
    font-size: 16px;
}

.faq-subtitle::before {
    content: "// ";
    color: #e6243d;
}

.faq-header h2 {
    font-size: 36px;
    margin-top: 10px;
}

.faq-item {
    border-bottom: 1px solid #fff;
    border-top: 1px solid #fff;

}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    padding: 20px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question:hover {
    background-color: #111;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.8s ease;
    padding: 0 20px;
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding-bottom: 20px;
}

.faq-answer ul {
    margin: 10px 0 0;
    padding-left: 20px;
}

.faq-list {
    padding: 50px 235px;
}


.faq-item.active .icon {
    transform: rotate(45deg);
}

.icon {
    background-color: #6e6d6d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 100;
    font-size: 42px;
    color: #fff;
    transition: transform 0.3s ease;
}

.icon:hover {
    color: red;
}

/* ================================================== */

.certification-section {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    /* justify-content: space-between; */
    padding: 60px 150px;
    border-radius: 32px;
    color: white;
    /* gap: 40px; */
    position: relative;
    z-index: 1;
}

.bg-license {
    margin: 0 100px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/bg-license.jpg');
}

.bg-license2 {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('../img/bg-license.jpg');
}

.cert-text {
    flex: 1 1 500px;
    z-index: 2;
}

.cert-subtitle {
    color: #777;
    font-size: 18px;
    margin-bottom: 10px;
}

.cert-subtitle::before {
    content: "// ";
    color: #e6243d;
}

.cert-text h2 {
    font-size: 40px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cert-desc {
    font-size: 20px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cert-desc .highlight {
    color: #e6243d;
    font-weight: bold;
}

.eu-badge {
    width: 80px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.note {
    color: #888;
    font-size: 14px;
    line-height: 1.5;
}

.cert-image {
    flex: 1 1 400px;
    text-align: center;
    z-index: 2;
}

.cert-image img {
    max-width: 90%;
    border: 2px solid #2e2e2e;
    border-radius: 8px;
}


/* =================================================== */


.request-section {
    margin-top: 100px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    max-height: 470px;
}

.request-left,
.request-right {
    flex: 1 1 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.request-left img {

    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
}

.request-content {
    width: 100%;
    max-width: 500px;
    background-color: rgba(0, 0, 0, 0.5);
    /* тень под форму */
    padding: 40px;
    border-radius: 20px;
}

/* ====================================================== */

.footer-contact-section {
    margin-top: 100px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.95), rgba(0, 0, 0, 0.85)), url('img/pravosudie.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 30px 30px;
    color: white;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 1500px;
    margin: 0 auto;
}

.footer-left,
.footer-center,
.footer-right {
    flex: 1 1 30%;
    text-align: center;
}

.footer-logo {
    max-height: 70px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.6;
}

.footer-links a {
    font-weight: 100;
    color: white;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-center {
    display: flex;
    gap: 50px;
}

.footer-center a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    font-weight: 500;
}

.footer-center a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

}


/*  */

@media (max-width: 480px) {
    .advantages-block .text-inner {
        font-size: 22px;
    }

    .custom-button {
        width: 36px;
        height: 36px;
        position: absolute;
        bottom: 144px;
        right: -6px;
    }

    .custom-button a {
        font-size: 18px;
    }

    .cards-grid {
        padding: 40px;
        grid-template-columns: repeat(auto-fit, minmax(320px, 0fr));
    }

    .section-1 {
        padding: 0;
    }

    .main-title2 {
        font-size: 40px;
    }

    .team-grid {
        grid-template-columns: repeat(1, 0fr);
    }

    .testimonial-section {
        padding: 40px 0px;
    }

    .testimonial-inner {
        display: flex;
        padding: 0;
        flex-direction: column;
    }

    .testimonial-photo img {
        width: 424px;
        padding: 20px;
    }

    .faq-list {
        margin: 0px;
        padding: 0;
    }

    .certification-section {
        flex-direction: column;
        padding: 30px 20px;
        border-radius: 20px;
        text-align: center;
    }

    .bg-license {
        margin: 0;
        border-radius: 24px;
    }

    .cert-text h2 {
        font-size: 24px;
        line-height: 1.3;
    }

    .cert-desc {
        font-size: 16px;
        line-height: 1.5;
    }

    .cert-subtitle {
        font-size: 16px;
    }

    .eu-badge {
        width: 60px;
        margin: 20px auto;
    }

    .note {
        font-size: 13px;
        color: #999;
    }

    .cert-image {
        margin-top: 20px;
    }

    .cert-image img {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        border-radius: 12px;
        border: 1px solid #444;
    }

    .hero-bottom {
        margin-top: 100px;
        align-items: center;
        padding: 20px 10px;
        height: auto;
        background-position: right;
    }
   

    .hero-bottom .line-2,
    .hero-bottom .line-3 {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin: 10px 0;
    }

   .hero-bottom .line-1 {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin: 10px 0;
        margin-bottom: 110px;
        font-size: 31px;
        font-weight: 100;
    }

    .hero-bottom .line-2 {
        font-size: 32px;
        margin-top: 30px;
    }

    .hero-bottom .line-3 {
        font-size: 24px;
    }

    .form-container2 {
        flex-direction: column !important;
        width: 100%;
        align-items: stretch;
        gap: 10px;
        margin-top: 20px;
    }

    .form-container2 input,
    .form-container2 button {
        width: 100% !important;
        max-width: 100%;
    }

    .form-container2 .btnbtnbtn {
        font-size: 16px;
        padding: 12px;
    }

    .advantages-block {
        padding-top: 32px;
        height: auto;

    }

    .cards-grid {
        padding: 65px;
    }

    .subtitle {

        font-size: 28px;

    }

    .about-section {
        flex-direction: column;
        padding: 40px 20px;
        gap: 30px;
        align-items: center;
    }

    .about-video {
        order: -1;
        width: 100%;
        border-radius: 20px;
    }

    .about-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .about-title {
        font-size: 24px;
        text-align: center;
        margin-bottom: 15px;
    }

    .about-subtitle {
        font-size: 16px;
        text-align: center;
    }

    .first-txt,
    .second-txt {
        font-size: 14px;
        color: #ccc;
        margin-bottom: 20px;
    }

    .caption-top {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .video-label {
        font-size: 25px;
        padding: 10px 25px;
        padding-bottom: 67px;
        margin-left: 20px;
    }

    .play-button {
        width: 50px;
        height: 38px;
        top: 25px;
        left: -102px;
    }

    .caption-name {
        font-size: 18px;
        padding: 0 20px 15px;
        text-align: center;
    }

    .caption-sub {
        font-size: 14px;
        color: #aaa;
    }

    .video-caption {
        flex-direction: column;
        align-items: center;
        text-align: center;

    }

    .video-wrapper img {
        margin-left: 40px;
        width: 80%;
    }

    .about-subtitle {
        display: none;
    }

    .results-section {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 40px 20px;
    }

    .results-left {
        order: -1;
        /* Заголовок остаётся сверху */
        text-align: center;
    }

    .results-left h2 {
        font-size: 20px;
        line-height: 1.4;
    }

    .results-right {
        display: flex;
        flex-direction: column;
        gap: 20px;
        order: 1;
    }

    .faq-button {
        order: 2;
        display: inline-block;
        background-color: #e6243d;
        color: #fff;
        padding: 12px 24px;
        border-radius: 30px;
        font-size: 14px;
        text-decoration: none;
        margin-top: 20px;
    }

    .faq-button .arrow {
        margin-right: 10px;
    }

    .results-section {
        flex-direction: column;
        align-items: center;
    }

    .results-left {
        order: 2;
        /* опускаем блок вниз */
        text-align: center;
        margin-top: 30px;
    }

    .results-right {
        order: 1;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .faq-button {
        margin-top: 30px;
        display: inline-block;
        padding: 12px 20px;
        background-color: #e6243d;
        color: white;
        border: none;
        border-radius: 30px;
        font-size: 16px;
        text-decoration: none;
    }

    .results-left h2 {
        font-size: 20px;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    .results-section h2 {
        font-size: 24px;
        font-weight: 300;
        text-align: center;
        align-items: center;
        color: grey;
    }

    .founders-section {
        display: flex;
        flex-wrap: wrap;
        padding: 90px;
        padding-left: 47px;
        justify-content: space-between;
        background-color: #0d0d0d;
    }

    .subtitle2 {
        color: #999;
        font-size: 40px;
        margin-bottom: 10px;
        margin-left: 40px;
    }

    .main-title2 {
        text-align: center;
        font-size: 40px;
    }

    .consult-button {
        margin-top: 0px;
    }

    .founders {
        flex: 1 1 631px;
        display: flex;
        width: auto;
        margin-top: 65px;
        gap: 40px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .team-title-section h2 {
        font-size: 27px;
        font-weight: bold;
        margin: 0;
        line-height: 1.3;
    }

    .team-card {
        background-color: #111;
        border-radius: 32px;
        text-align: center;
        max-width: 450px;
        margin-left: 69px;
        width: 128%;
        transition: transform 0.3s ease;
    }

    .testimonial-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 30px;
        margin-left: 60px;
    }

    .testimonial-text p {
        padding: 20px 0;
    }

    .icon {
        background-color: #6e6d6d;
        border-radius: 50%;
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        font-weight: 100;
        font-size: 30px;
        color: #fff;
        transition: transform 0.3s ease;
    }

    .footer-compact {
        background: url('../img/pravosudie.jpg') center/cover no-repeat;
        background-color: rgba(0, 0, 0, 0.85);
        background-blend-mode: darken;
        padding: 30px 20px;
        color: white;
        text-align: center;
        font-family: sans-serif;
    }

    .footer-logo-block {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .footer-logo-block img {
        height: 60px;
    }

    .footer-name p {
        margin: 0;
        font-size: 14px;
        text-align: left;
    }

    .footer-address {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .footer-address strong {
        color: #e6243d;
    }

    .footer-address a {
        color: white;
        text-decoration: none;
    }

    .footer-address a:hover {
        text-decoration: underline;
    }

    .footer-links-vertical {
        display: flex;
        flex-direction: column;
        gap: 5px;
        opacity: 0.6;
        font-size: 13px;
        margin-bottom: 20px;
    }

    .footer-links-vertical a {
        color: white;
        text-decoration: none;
    }

    .footer-links-vertical a:hover {
        text-decoration: underline;
    }

    .footer-madein {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 5px;
        font-size: 12px;
        opacity: 0.4;
    }

    .footer-madein img {
        width: 18px;
        height: 18px;
    }

    .footer-links {
        display: none;
    }

    .footer-right {
        margin-left: 85px;
    }

    .footer-left {
        display: flex;
    }

    .footer-left p {
        font-size: 23px;
    }

    .footer-center a {
        color: white;
        font-size: 16px;
        margin-left: 0px;
        text-decoration: none;
        font-weight: 500;
    }

    .footer-contact-section {
        margin-top: 94px;
    }

    .certification-section {
        flex-direction: column;
        padding: 30px 20px;
        text-align: center;
    }

    .cert-text,
    .cert-image {
        flex: 1 1 100%;
        max-width: 100%;
        text-align: center;
    }

    .cert-image img {
        max-width: 90%;
        margin: 0 auto 20px;
        border: 2px solid #333;
        border-radius: 10px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .cert-subtitle {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .cert-text h2 {
        font-size: 22px;
        line-height: 1.3;
        margin-bottom: 16px;
    }

    .cert-desc {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    .eu-badge {
        width: 50px;
        margin: 10px auto 20px;
    }

    .note {
        font-size: 12px;
        color: #999;
        line-height: 1.4;
    }

    .founder-card {
        background-color: #1c1c1c;
        border-radius: 24px;
        text-align: center;
        width: 350px;
        color: #ccc;
    }

    .testimonial-text p {
        padding: 0px 50px;
        padding-bottom: 30px;
    }
    .hero-bottom .line-1 {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin: 10px 0;
        margin-bottom: 110px;
        font-size: 31px;
        font-weight: 100;
    }

     .hero-bottom .line-1 {
        text-align: center;
        padding-left: 0;
        padding-right: 0;
        margin: 10px 0;
        margin-bottom: 110px;
        font-size: 31px !important; 
        font-weight: 100;
    }
}