/* ========================================
   VARIABLES
   ======================================== */
:root {
    --color-bg:           #FFFFFF;
    --color-accent:       #FF4500;
    --color-heading:      #1D1D42;
    --color-text-dark:    #FFFFFF;
    --color-text-light:   #222222;
    --color-dark:         #1D1D42;
    --color-gray-bg:      #F5F5F7;

    --font:               'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display:       'Bebas Neue', 'Arial Narrow', Impact, sans-serif;

    --container:          1280px;
    --gutter:             24px;
    --section-pad:        100px;

    --radius:             8px;
    --radius-lg:          16px;
}

/* ========================================
   RESET
   ======================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-light);
    background: var(--color-bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

address {
    font-style: normal;
}

/* ========================================
   UTILITIES
   ======================================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.section-title {
    font-family: var(--font);
    font-size: 36px;
    font-weight: 800;
    color: var(--color-heading);
    text-align: center;
    margin-bottom: 56px;
}

.accent {
    color: var(--color-accent);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color .25s ease, transform .2s ease;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-text-dark);
}

.btn--primary:hover {
    background: #e63e00;
    transform: translateY(-2px);
}

/* ========================================
   HERO — pixel-perfect по макету
   ======================================== */
.hero {
    position: relative;
    background: 
        linear-gradient(135deg, rgba(15, 15, 46, 0.88) 0%, rgba(26, 26, 78, 0.92) 50%, rgba(37, 37, 96, 0.88) 100%),
        url('assets/hero-bg.jpg') center top / cover no-repeat;
    color: #FFFFFF;
    height: 810px;
    overflow: hidden;
    border-radius: 0 0 60% 60% / 0 0 30px 30px;
}

.hero .container {
    position: relative;
    padding-top: 20px;
    padding-bottom: 0;
    height: 100%;
}

/* Header */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
    margin-bottom: 120px;
}

.logo {
    display: block;
    width: 252px;
    height: 52px;
    flex-shrink: 0;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nav {
    flex-shrink: 0;
}

.nav__list {
    display: flex;
    align-items: center;
    gap: 60px;
}

.nav a {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    white-space: nowrap;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--color-accent);
}

/* Hero content */
.hero__content {
    position: relative;
}

.hero__text {
    position: relative;
    z-index: 2;
    max-width: 730px;
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 114px;
    line-height: 0.9;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.hero__title .accent {
    color: var(--color-accent);
}

.hero__subtitle {
    font-family: var(--font);
    font-weight: 400;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    color: #FFFFFF;
    max-width: 522px;
    margin-bottom: 30px;
}

.hero__text .btn--primary {
    width: 305px;
    height: 72px;
    padding: 0;
    font-family: var(--font);
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background: var(--color-accent);
    color: #FFFFFF;
}

.hero__image {
    position: absolute;
    bottom: -233px;
    left: 320px;
    height: 688px;
    z-index: 1;
    pointer-events: none;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom center;
}

/* ========================================
   WHY US — Dlaczego warto nas wybrać?
   ======================================== */
.why-us {
    padding: 120px 0px 65px;
}

.why-us__mobile {
    display: none !important;
}

.why-us__header {
    text-align: center;
    margin-bottom: 32px;
}

.why-us__title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--color-heading);
    text-align: center;
}

.why-us__subtitle {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-light);
    text-align: center;
    margin-top: 12px;
}

.why-us__body {
    display: flex;
    align-items: center;
    gap: 56px;
}

.why-us__image {
    flex-shrink: 0;
    width: 697px;
    height: 446px;
}

.why-us__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.why-us__features {
    display: grid;
    grid-template-columns: repeat(2, 414px);
    grid-template-rows: repeat(2, 174px);
    gap: 20px;
    width: 848px;
}

.feature-card {
    width: 414px;
    height: 174px;
    background: #F6F6F7;
    border-radius: 10px;
    padding: 30px 18px 30px 30px ;
    display: flex;
    flex-direction: column;
}

.feature-card__top {
    display: flex;
    align-items: center;
    gap: 20px;
    height: 60px;
    margin-bottom: 10px;
}

.feature-card__icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.feature-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-card__title {
    font-family: var(--font);
    font-weight: 800;
    font-size: 19px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #1A194A;
}

.feature-card__text p {
    font-family: var(--font);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.5;
    color: #222222;
}

/* ========================================
   SERVICES — Oferujemy
   ======================================== */
.services {
    padding: 100px 0;
}

.services__header {
    text-align: center;
    margin-bottom: 30px;
}

.services__title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    color: #1D1D42;
    text-align: center;
    margin-bottom: 10px;
}

.services__desc {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.04em;
    text-align: center;
    color: rgba(255, 255, 255, 0.85);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    height: 467px;
    background: #1A194A;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 46px 41px 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card__thumb {
    width: 330px;
    height: 146px;
    margin-bottom: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card__title {
    width: 234px;
    font-family: var(--font);
    font-size: 26px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin-bottom: 12px;
}

.service-card__text {
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #FFFFFF;
    margin-bottom: 20px;
}

.service-card__text strong {
    font-weight: 800;
}

.btn--service {
    width: 272px;
    height: 72px;
    padding: 0;
    font-family: var(--font);
    font-weight: 500;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: 0;
    color: #FFFFFF;
    background: #FF4500;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    border: none;
    cursor: pointer;
    transition: background-color .25s ease;
}

.btn--service:hover {
    background: #e63e00;
}

/* ========================================
   OTHER SERVICES — БЛОК 4
   ======================================== */
.other-services {
    padding: 20px 0 120px 0;
}

.other-services__grid {
    display: grid;
    grid-template-columns: 414px 1fr 1fr;
    gap: 20px;
}

/* Левая колонка */
.other-services__lead {
    width: 414px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.other-services__lead h2 {
    font-family: var(--font);
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    color: #1D1D42;
    margin-bottom: 10px;
    text-align: center;
}

.other-services__lead .btn--contact {
    width: 272px;
    height: 72px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 16px;
    line-height: 0.9;
    letter-spacing: -0.04em;
    text-align: center;
    background: var(--color-accent);
    color: #FFFFFF;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.other-services__lead .btn--contact:hover {
    background: #e63e00;
    transform: translateY(-2px);
}

/* Правая колонка с карточками */
.other-services__cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.info-card {
    width: 414px;
    height: 255px;
    background: #F6F6F7;
    border-radius: 10px;
    padding: 35px 20px 53px 30px;
    display: flex;
    flex-direction: column;
}

.info-card__top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.info-card__icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.info-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.info-card__top h3 {
    font-family: var(--font);
    font-weight: 800;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #1A194A;
}

.info-card__body p {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #222222;
}

.other-services__bottom-btn{
    display: none !important;
}

/* ========================================
   TESTIMONIALS — БЛОК 5
   ======================================== */
.testimonials {
    padding: 80px 0;
    background: #F6F6F7;
    border-radius: 60% 60% 60% 60% / 30px 30px 30px 30px;
}

.testimonials__title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: center;
    color: #1D1D42;
    margin-bottom: 30px;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 414px);
    gap: 20px;
    justify-content: center;
}

.testimonial-card {
    width: 414px;
    height: 246px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 8px 26px 0px #1A194A1A;
    display: flex;
    flex-direction: column;
}

.testimonial-card__icon {
    width: 42px;
    height: 40px;
    flex-shrink: 0;
    margin-bottom: 20px;
    display: block;
}

.testimonial-card__text {
    font-family: var(--font);
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-light);
    margin-bottom: 10px;
    flex: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-card__author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.testimonial-card__author span {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-text-light);
}

/* ========================================
   CONTACT — БЛОК 6
   ======================================== */
.contact {
    padding: 80px 0;
}

.contact__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 880px;
    margin: 0 auto;
    position: relative;
}

.contact__image {
    width: 380px;
    height: 497px;
    flex-shrink: 0;
    position: relative;
    right: -25px;
    z-index: 2;
}

.contact__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contact__form-box {
    width: 520px;
    height: 495px;
    background: #1D1D42;
    border-radius: 10px;
    padding: 80px 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Фоновое изображение внутри формы с mix-blend-mode */
.contact__form-bg {
    position: absolute;
    top: -160px;
    left: -25px;
    width: 105%;
    height: 130%;
    background: url('../img/bgform.jpg') center center / cover no-repeat;
    mix-blend-mode: soft-light;
    opacity: 1;
    pointer-events: none;
    z-index: 0;
}

.contact__form-content {
    width: 100%;
    text-align: center;
}

.contact__form-content h3 {
    font-family: var(--font);
    font-weight: 700;
    font-size: 50px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    text-align: center;
    color: #FFFFFF;
    margin-bottom: 10px;
}

.contact__form-content p {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-align: center;
    color: #FFFFFF;
    opacity: 0.9;
    margin-bottom: 20px;
}

.contact__form-placeholder {
    width: 380px;
    height: 60px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.08);
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

/* ========================================
   FOOTER — БЛОК 7
   ======================================== */

/* Верхняя часть футера */
.footer__top {
    background: #1D1D42;
    padding: 40px 0 30px;
}

.footer__grid--mobile{
display: none !important;
}

.footer__grid {
    display: grid;
    grid-template-columns: 136px 180px 283px 142px 298px;
    gap: 70px;
}

.footer__col h4 {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.footer__col address {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #FFFFFF;
    font-style: normal;
}

.footer__link {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #FFFFFF;
    transition: color 0.2s ease;
    display: inline-block;
    margin-bottom: 12px;
}

.footer__link:hover {
    color: #FF4500;
}

.footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.footer__social-link {
    display: inline-block;
    transition: transform 0.25s ease;
    line-height: 0;
}

.footer__social-link:hover {
    transform: translateY(-4px);
}

.footer__social-link img {
    width: 24px;
    height: 24px;
    display: block;
}

.footer__col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col ul li:last-child {
    margin-bottom: 0;
}

.footer__col ul li a {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1;
    color: #FFFFFF;
    transition: color 0.2s ease;
    text-decoration: none;
}

.footer__col ul li a:hover {
    color: #FF4500;
}

/* Нижняя часть футера (на всю ширину, отдельный фон) */
.footer__bottom {
    background: #1D1D1D;
    padding: 10px 0;
    text-align: center;
}

.footer__bottom p {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
    
}

/* ========================================
   МОБИЛЬНОЕ МЕНЮ (выезжающее)
   ======================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(29, 29, 66, 0.98);
    backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 24px;
}

.mobile-menu__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-menu__list li {
    margin-bottom: 32px;
}

.mobile-menu__list li:last-child {
    margin-bottom: 0;
}

.mobile-menu__list li a {
    font-family: var(--font);
    font-weight: 600;
    font-size: 24px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.mobile-menu__list li a:hover {
    color: var(--color-accent);
}

/* Бургер-кнопка */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 24px;
    justify-content: center;
    position: relative;
    z-index: 1001;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #FFFFFF;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger span:nth-child(2) {
    width: 70%;
    align-self: flex-end;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    width: 100%;
}

.burger.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 100%;
}



/* ========================================
   АДАПТИВ — 375px И НИЖЕ
   ======================================== */
@media (max-width: 375px) {
    .container {
        max-width: 346px;
        padding: 0 15px;
        margin: 0 auto;
    }

    /* ========================================
       БЛОК 1: HERO (АДАПТИВ)
       ======================================== */
    .hero {
        height: 756px;
        border-radius: 0 0 60% 60% / 0 0 30px 30px;
        background: url('../img/bgpicmob.png') center center / cover no-repeat;
    }

    .hero .container {
        padding-top: 0;
        padding-left: 15px;
        padding-right: 15px;
        height: 100%;
        display: flex;
        flex-direction: column;
        position: relative;
    }

    /* Header с бургером */
    .header {
        height: 34px;
        margin-top: 20px;
        margin-bottom: 75px;
    }

    .logo {
        width: 168px;
        height: 34px;
    }

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .nav {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .nav__list {
        display: none;
    }

    /* Показываем бургер */
    .burger {
        display: flex;
    }

    /* Hero content */
    .hero__content {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1;
        text-align: center;
        padding-bottom: 40px;
    }

    .hero__text {
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero__title {
        font-family: var(--font-display);
        font-weight: 400;
        font-size: 53px;
        line-height: 0.9;
        letter-spacing: -0.02em;
        text-align: center;
        text-transform: uppercase;
        color: #FFFFFF;
        margin-bottom: 10px;
    }

    .hero__title .accent {
        color: var(--color-accent);
    }

    .hero__subtitle {
        font-family: var(--font);
        font-weight: 400;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: -0.04em;
        text-align: center;
        color: #FFFFFF;
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero__text .btn--primary {
        width: 305px;
        height: 72px;
        font-size: 16px;
        font-weight: 600;
        border-radius: 8px;
        background: var(--color-accent);
        color: #FFFFFF;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* Скрываем картинку мужчины */
    .hero__image {
        display: none !important;
    }


    /* ========== БЛОК 2: WHY US — МОБИЛЬНАЯ ВЕРСИЯ ========== */
    .why-us__desktop {
        display: none !important;
    }

    .why-us__mobile {
        display: block !important;
        padding: 0 15px;
    }

    .why-us {
        padding: 70px 0;
    }

    .why-us__header {
        margin-bottom: 20px;
    }

    .why-us__title {
        font-family: var(--font);
        font-weight: 700;
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.04em;
        text-align: center;
        color: var(--color-heading);
    }

    .why-us__mobile .why-us__features {
        display: grid;
        grid-template-columns: 1fr;
        gap: 25px;
        width: 100%;
        margin-bottom: 30px;
    }

    .why-us__mobile .feature-card {
        width: 100%;
        height: 191px;
        background: #F6F6F7;
        border-radius: 10px;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .why-us__mobile .feature-card__top {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    .why-us__mobile .feature-card__icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }

    .why-us__mobile .feature-card__icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .why-us__mobile .feature-card__title {
        font-family: var(--font);
        font-weight: 800;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-transform: uppercase;
        color: #1A194A;
    }

    .why-us__mobile .feature-card__text p {
        font-family: var(--font);
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: #222222;
    }

    .why-us__mobile .why-us__image {
        width: 345px;
        height: 205px;
        margin: 0 auto;
    }

    .why-us__mobile .why-us__image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* ========== БЛОК 3: SERVICES ========== */
    .services {
        padding: 70px 0;
    }

    .services .container {
        max-width: 100% !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .services__header {
        margin-bottom: 30px;
    }

    .services__title {
        font-family: var(--font);
        font-weight: 700;
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.04em;
        text-align: center;
        color: #1D1D42;
    }

    .services__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        width: 345px;
        height: 467px;
        background: #1A194A;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 10px;
        padding: 46px 8px 50px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 auto;
    }

    .service-card__thumb {
        width: 330px;
        height: 146px;
        margin-bottom: 17px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-card__thumb img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .service-card__title {
        width: 196px;
        font-family: var(--font);
        font-weight: 800;
        font-size: 21px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-align: center;
        text-transform: uppercase;
        color: #FFFFFF;
        margin-bottom: 10px;
    }

    .service-card__text {
        width: 315px;
        font-family: var(--font);
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.04em;
        text-align: center;
        color: #FFFFFF;
        margin-bottom: 20px;
    }

    .service-card__text strong {
        font-weight: 800;
    }

    .btn--service {
        width: 272px;
        height: 72px;
        padding: 0;
        font-family: var(--font);
        font-weight: 500;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: 0;
        color: #FFFFFF;
        background: #FF4500;
        border-radius: 8px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: none;
        cursor: pointer;
        transition: background-color 0.25s ease;
        margin-top: auto;
    }

    .btn--service:hover {
        background: #e63e00;
    }

    /* ========== БЛОК 4: OTHER SERVICES ========== */
    .other-services {
        padding: 70px 0;
    }

    .other-services .container {
        max-width: 100% !important;
        padding: 0 !important;
        width: 100% !important;
    }

    .other-services__bottom-btn {
        display: block !important;
        margin: 0 auto;
    }

    .other-services__grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .other-services__lead {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .other-services__lead h2 {
        font-family: var(--font);
        font-weight: 700;
        font-size: 34px;
        line-height: 0.9;
        letter-spacing: -0.04em;
        text-align: center;
        color: #1D1D42;
        margin-bottom: 0;
    }

    .other-services__lead .btn--contact {
        display: none;
    }

    .other-services__cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .info-card {
        width: 345px;
        height: 228px;
        background: #F6F6F7;
        border-radius: 10px;
        padding: 20px 20px 30px;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .info-card__top {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-bottom: 10px;
    }

    .info-card__icon {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .info-card__icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .info-card__top h3 {
        font-family: var(--font);
        font-weight: 800;
        font-size: 20px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-transform: uppercase;
        color: #1A194A;
    }

    .info-card__body p {
        font-family: var(--font);
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: #222222;
    }

    .other-services__bottom-btn {
        display: flex;
        justify-content: center;
        margin-top: 30px;
    }

    .other-services__bottom-btn .btn--contact {
        width: 272px;
        height: 72px;
        font-family: var(--font);
        font-weight: 500;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: 0;
        text-align: center;
        background: var(--color-accent);
        color: #FFFFFF;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: background-color 0.25s ease, transform 0.2s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .other-services__bottom-btn .btn--contact:hover {
        background: #e63e00;
        transform: translateY(-2px);
    }

    /* ========== БЛОК 5: TESTIMONIALS ========== */
    .testimonials {
        padding: 50px 0 50px;
        background: #F6F6F7;
        border-radius: 60% 60% 60% 60% / 30px 30px 30px 30px;
    }

    .testimonials__title {
        font-family: var(--font);
        font-weight: 700;
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.04em;
        text-align: center;
        color: #1D1D42;
        margin-top: 50px;
        margin-bottom: 30px;
    }

    .testimonials__grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        justify-content: center;
        margin-bottom: 50px;
    }

    .testimonial-card {
        width: 345px;
        height: 268px;
        background: #FFFFFF;
        border-radius: 10px;
        padding: 30px;
        box-shadow: 0px 8px 26px 0px #1A194A1A;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
    }

    .testimonial-card__icon {
        width: 40px;
        height: 42px;
        flex-shrink: 0;
        margin-bottom: 20px;
        display: block;
    }

    .testimonial-card__icon img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .testimonial-card__text {
        font-family: var(--font);
        font-weight: 700;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: var(--color-text-light);
        margin-bottom: 10px;
        flex: 1;
    }

    .testimonial-card__author {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .testimonial-card__author img {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        object-fit: cover;
        flex-shrink: 0;
    }

    .testimonial-card__author span {
        font-family: var(--font);
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        color: var(--color-text-light);
    }

    /* ========== БЛОК 6: CONTACT ========== */
    .contact {
        padding: 70px 0;
    }

    .contact__wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 100%;
        margin: 0 auto;
    }

    .contact__image {
        display: none !important;
    }

    .contact__form-box {
        width: 346px;
        height: 429px;
        background: #1D1D42;
        border-radius: 10px;
        padding: 50px 20px 0px 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }

        .contact__form-bg {
        position: absolute;
        top: -160px;
        left: -0px;
        width: 100%;
        height: 130%;
        background: url(/img/bgform.jpg) center center / cover no-repeat;
        mix-blend-mode: soft-light;
        opacity: 1;
        pointer-events: none;
        z-index: 0;
    }

    .contact__form-content {
        width: 100%;
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .contact__form-content h3 {
        font-family: var(--font);
        font-weight: 700;
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.04em;
        text-align: center;
        color: #FFFFFF;
        margin-bottom: 10px;
    }

    .contact__form-content p {
        font-family: var(--font);
        font-weight: 400;
        font-size: 18px;
        line-height: 1.2;
        letter-spacing: -0.02em;
        text-align: center;
        color: #FFFFFF;
        opacity: 0.9;
        margin-bottom: 20px;
    }

    .contact__form-placeholder {
        width: 100%;
        height: 60px;
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.08);
        border: 1px dashed rgba(255, 255, 255, 0.25);
        border-radius: 8px;
    }

    /* ========== БЛОК 7: FOOTER ========== */
    .footer__top {
        padding: 40px 0;
    }

    .footer__top .container {
        padding-left: 15px;
        padding-right: 28px;
    }

    .footer__grid--desktop {
        display: none !important;
    }

    .footer__grid--mobile {
        display: flex !important;
        flex-direction: column;
    }

    .footer__row-top {
        display: flex;
        gap: 20px;
        width: 100%;
    }

    .footer__row-top .footer__col--phone {
        width: 50%;
        flex: 0 0 50%;
    }

    .footer__row-top .footer__col--address {
        width: 50%;
        flex: 0 0 50%;
    }

    .footer__grid--mobile .footer__col--links {
        width: 100%;
        flex: 0 0 100%;
    }

    .footer__col h4 {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 1;
        letter-spacing: 0;
        color: #FFFFFF;
        margin-bottom: 8px;
        text-transform: none;
    }

    .footer__col address {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 0.7);
        font-style: normal;
    }

    .footer__link {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 0.7);
        display: inline-block;
        margin-bottom: 8px;
    }

    .footer__socials {
        display: flex;
        gap: 8px;
        margin-top: 4px;
    }

    .footer__social-link img {
        width: 20px;
        height: 20px;
        display: block;
    }

    .footer__col ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer__col ul li {
        margin-bottom: 12px;
    }

    .footer__col ul li:last-child {
        margin-bottom: 0;
    }

    .footer__col ul li a {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 0.7);
        text-decoration: none;
    }

    .footer__col ul li a:hover {
        color: #FF4500;
    }

    .footer__bottom {
        background: #1D1D1D;
        padding: 12px 0;
        
    }

    .footer__bottom .container {
        padding-left: 15px;
        padding-right: 28px;
    }

    .footer__bottom p {
        font-family: 'Helvetica Neue', Arial, sans-serif;
        font-weight: 400;
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0;
        color: rgba(255, 255, 255, 0.4);
        margin: 0;
        text-align: center;
    }
}

/* ========================================
           СТИЛИЗАЦИЯ БИТРИКС ФОРМЫ
           Скрываем ВСЁ лишнее, оставляем только
           поля ввода и кнопку
        ======================================== */

        /* --- Убираем весь мусор: заголовки, описания, согласия, копирайты, тени, фоны --- */
        .b24-form-wrapper,
        .b24-form-wrapper * {
            box-shadow: none !important;
            text-shadow: none !important;
        }

        /* Скрываем заголовок формы */
        .b24-form-wrapper .b24-form-header,
        .b24-form-wrapper .b24-form-header-block {
            display: none !important;
        }

        /* Скрываем описание */
        .b24-form-wrapper .b24-form-desc,
        .b24-form-wrapper .b24-form-description {
            display: none !important;
        }

        /* Скрываем согласие на обработку данных */
        .b24-form-wrapper .b24-form-consent,
        .b24-form-wrapper .b24-form-agreement,
        .b24-form-wrapper [class*="consent"],
        .b24-form-wrapper [class*="agreement"],
        .b24-form-wrapper label[class*="consent"],
        .b24-form-wrapper div[class*="consent"] {
            display: none !important;
        }

        .b24-form-btn-container{
            margin: 0px !important;
        }

        /* Скрываем футер / копирайт Битрикс */
        .b24-form-wrapper .b24-form-footer,
        .b24-form-wrapper .b24-form-sign,
        .b24-form-wrapper a[href*="bitrix24"] {
            display: none !important;
        }

        /* Скрываем любые уведомления / алерты */
        .b24-form-wrapper .b24-form-alert,
        .b24-form-wrapper .b24-form-error-text {
            display: none !important;
        }

        /* Скрываем иконки внутри полей, если есть */
        .b24-form-wrapper .b24-form-field-icon {
            display: none !important;
        }

        /* Скрываем лейблы над полями (название поля) 
        .b24-form-wrapper .b24-form-field-label,
        .b24-form-wrapper .b24-form-control-label {
            display: none !important;
        }*/

        /* Скрываем обёртку кнопки, если она добавляет лишние отступы */
        .b24-form-wrapper .b24-form-btn-block {
            padding: 0 !important;
            margin: 0 !important;
        }

        /* --- Сама обёртка формы --- */
        .b24-form-wrapper {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            margin: 0 !important;
            width: auto !important;
            max-width: none !important;
            min-width: 0 !important;
            border-radius: 0 !important;
            overflow: visible !important;
        }

        /* Внутренний контент */
        .b24-form-wrapper .b24-form-content {
            padding: 0 !important;
            margin: 0 !important;
            background: transparent !important;
        }

        /* Внутренний контейнер полей */
        .b24-form-wrapper .b24-form-fields {
            position: relative !important;
            margin-bottom: 8px !important;
            padding: 0 0 0 16px !important;
            background: transparent !important;
            border: none !important;
            width: auto !important;
            max-width: none !important;
        }

        /* --- Каждое поле --- */
        .b24-form-wrapper .b24-form-field {
            margin-bottom: 8px !important;
            padding: 0 !important;
            background: transparent !important;
            border: none !important;
            width: auto !important;
            max-width: none !important;
        }

        .b24-form-control-icon-after .b24-form-control, .b24-form-control-icon-after .b24-form-control-label {
            padding-right: 0 !important;
            margin: 0px !important;
            text-align: left !important;
        }

        /* Последнее поле перед кнопкой — тоже 8px */
        .b24-form-wrapper .b24-form-field:last-of-type {
            margin-bottom: 8px !important;
        }

        /* --- Инпуты (текстовые и телефонные) --- */
        .b24-form-wrapper .b24-form-control,
        .b24-form-wrapper input[type="text"],
        .b24-form-wrapper input[type="tel"],
        .b24-form-wrapper input[type="name"],
        .b24-form-wrapper input {
            width: 380px !important;
            height: 56px !important;
            max-width: 380px !important;
            min-width: 380px !important;
            min-height: 56px !important;
            max-height: 56px !important;
            background: #FFFFFF !important;
            border: 1px solid #D1D1D1 !important;
            border-radius: 4px !important;
            padding: 0 16px !important;
            margin: 0 !important;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
            font-size: 16px !important;
            line-height: 56px !important;
            color: #1A1A1A !important;
            outline: none !important;
            box-sizing: border-box !important;
            -webkit-appearance: none !important;
            -moz-appearance: none !important;
            appearance: none !important;
            transition: border-color 0.2s ease !important;
        }

        /* Placeholder */
        .b24-form-wrapper .b24-form-control::placeholder,
        .b24-form-wrapper input::placeholder {
            color: #999999 !important;
            font-size: 16px !important;
            font-weight: 400 !important;
            opacity: 1 !important;
        }

        /* Фокус на поле */
        .b24-form-wrapper .b24-form-control:focus,
        .b24-form-wrapper input:focus {
            border-color: #F58220 !important;
        }

        /* Убираем обводку при фокусе (Chrome) */
        .b24-form-wrapper .b24-form-control:focus-visible,
        .b24-form-wrapper input:focus-visible {
            outline: none !important;
        }

        /* --- Кнопка отправки --- */
        .b24-form-wrapper .b24-form-btn,
        .b24-form-wrapper button.b24-form-btn {
            width: 380px !important;
            height: 56px !important;
            max-width: 380px !important;
            min-width: 380px !important;
            min-height: 56px !important;
            max-height: 56px !important;
            background: #FF4500 !important;
            border: none !important;
            border-radius: 4px !important;
            padding: 0 !important;
            margin: 0 !important;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
            font-size: 16px !important;
            font-weight: 600 !important;
            color: #FFFFFF !important;
            cursor: pointer !important;
            line-height: 56px !important;
            text-align: center !important;
            box-sizing: border-box !important;
            transition: background 0.2s ease !important;
            display: block !important;
            letter-spacing: 0.3px !important;
        }

        .b24-form-header-padding{
            padding:0px !important;
        }

        /* Ховер на кнопку */
        .b24-form-wrapper .b24-form-btn:hover,
        .b24-form-wrapper button.b24-form-btn:hover {
            background: #E07418 !important;
        }

        /* Активное состояние кнопки */
        .b24-form-wrapper .b24-form-btn:active,
        .b24-form-wrapper button.b24-form-btn:active {
            background: #CC6610 !important;
        }

        /* Скрываем спиннер загрузки на кнопке, если он мешает */
        .b24-form-wrapper .b24-form-btn-icon {
            display: none !important;
        }

        /* --- Мобильная адаптация (ширина 306px) --- */
        @media (max-width: 480px) {
            .b24-form-wrapper .b24-form-control,
            .b24-form-wrapper input[type="text"],
            .b24-form-wrapper input[type="tel"],
            .b24-form-wrapper input[type="name"],
            .b24-form-wrapper input {
                width: 276px !important;
                max-width: 276px !important;
                min-width: 276px !important;
                height: 56px !important;
                line-height: 56px !important;
            }

            .b24-form-wrapper .b24-form-btn,
            .b24-form-wrapper button.b24-form-btn {
                width: 276px !important;
                max-width: 276px !important;
                min-width: 276px !important;
                height: 56px !important;
                line-height: 56px !important;
            }
        }

        /* --- Дополнительная очистка: убираем любые лишние обёртки --- */
        .b24-form-wrapper div[style*="padding"],
        .b24-form-wrapper div[style*="margin"] {
            /* Не трогаем — !important в наших правилах перезапишет */
        }

        /* Если Битрикс обернул форму в таблицу (старые версии) */
        .b24-form-wrapper table,
        .b24-form-wrapper tbody,
        .b24-form-wrapper tr,
        .b24-form-wrapper td {
            background: transparent !important;
            border: none !important;
            padding: 0 !important;
            margin: 0 !important;
        }

        /* Убираем фиксированную ширину, если Битрикс её задал инлайном */
        .b24-form-wrapper [style*="width"] {
            width: auto !important;
            min-width: 0 !important;
            max-width: none !important;
        }

        /* Но возвращаем ширину инпутам и кнопке (перекрываем предыдущее правило) */
        .b24-form-wrapper .b24-form-control,
        .b24-form-wrapper input,
        .b24-form-wrapper .b24-form-btn,
        .b24-form-wrapper button.b24-form-btn {
            width: 380px !important;
            max-width: 380px !important;
            min-width: 380px !important;
        }

        @media (max-width: 480px) {
            .b24-form-wrapper .b24-form-control,
            .b24-form-wrapper input,
            .b24-form-wrapper .b24-form-btn,
            .b24-form-wrapper button.b24-form-btn {
                width: 276px !important;
                max-width: 276px !important;
                min-width: 276px !important;
        }
}

/* ========================================
   ПОПАП
   ======================================== */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popup.active {
    opacity: 1;
    visibility: visible;
}

.popup__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.popup__content {
    position: relative;
    z-index: 1;
    width: 580px;
    max-width: 90%;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px;
    box-shadow: 0px 20px 60px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.popup.active .popup__content {
    transform: scale(1);
}

.popup__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.popup__close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.popup__close svg {
    width: 24px;
    height: 24px;
}

.popup__body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.popup__title {
    font-family: var(--font);
    font-weight: 700;
    font-size: 34px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: #1D1D42;
    margin-bottom: 8px;
}

.popup__desc {
    font-family: var(--font);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #222222;
    margin-bottom: 30px;
    text-align:center;
}

.popup__form {
    width: 380px;
}

.popup__policy {
    width: 400px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;
    color: #222222;
    margin: 0;
    text-align: center;
}

.poplink{
    color: var(--color-accent);
}

/* ========================================
   ФОРМА В ПОПАПЕ
   ======================================== */

/* Скрываем всё лишнее в форме внутри попапа */
.popup__form .b24-form-wrapper {
    background: transparent !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    width: 380px !important;
    height: 200px !important;
}

.popup__form .b24-form{
    width: 380px !important;
    height: 210px !important;
}

.popup__form .b24-form-header {
    display: none !important;
}

.popup__form .b24-form-title {
    display: none !important;
}

.popup__form .b24-form-description {
    display: none !important;
}

.popup__form .b24-form-footer {
    display: none !important;
}

.popup__form .b24-form-field-label {
    display: none !important;
}

.popup__form .b24-form-required {
    display: none !important;
}

.popup__form .b24-form-field-error {
    display: none !important;
}

.popup__form .b24-form-field-container {
    margin-bottom: 8px !important;
}

.popup__form .b24-form-wrapper form {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    align-items: center;
}

.popup__form .b24-form-wrapper .b24-form-field {
    width: 100% !important;
    margin: 0 !important;
}

.popup__form .b24-form-wrapper input[type="text"],
.popup__form .b24-form-wrapper input[type="tel"],
.popup__form .b24-form-wrapper input[type="email"],
.popup__form .b24-form-wrapper input[type="number"] {
    width: 100% !important;
    height: 56px !important;
    padding: 0 20px !important;
    background: #FFFFFF!important;
    font-family: var(--font) !important;
    font-size: 16px !important;
    color: #1D1D42 !important;
    outline: none !important;
    box-sizing: border-box !important;
    transition: border-color 0.3s ease !important;
}

.popup__form .b24-form-wrapper input[type="text"]::placeholder,
.popup__form .b24-form-wrapper input[type="tel"]::placeholder,
.popup__form .b24-form-wrapper input[type="email"]::placeholder,
.popup__form .b24-form-wrapper input[type="number"]::placeholder {
    color: #B8B8B8 !important;
}

.popup__form .b24-form-wrapper input[type="text"]:focus,
.popup__form .b24-form-wrapper input[type="tel"]:focus,
.popup__form .b24-form-wrapper input[type="email"]:focus,
.popup__form .b24-form-wrapper input[type="number"]:focus {
    border-color: #FF4500 !important;
}

.popup__form .b24-form-btn-container {
    margin-top: 0 !important;
}

.popup__form .b24-form-wrapper button[type="submit"] {
    width: 100% !important;
    height: 56px !important;
    padding: 0 !important;
    background: #FF4500 !important;
    border: none !important;
    border-radius: 8px !important;
    font-family: var(--font) !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
    transition: background-color 0.25s ease, transform 0.2s ease !important;
}

.popup__form .b24-form-wrapper button[type="submit"]:hover {
    background: #e63e00 !important;
    transform: translateY(-2px) !important;
}

/* ========================================
   АДАПТИВ ПОПАПА (экраны 380px и меньше)
   ======================================== */
@media (max-width: 380px) {
    
    /* Убираем фиксированную ширину, чтобы форма не вылезала за экран */
    .popup__form .b24-form-wrapper {
        width: 100% !important;
        height: 210px !important; /* auto вместо 200px, чтобы ничего не обрезалось */
    }

    .popup__form .b24-form {
        width: 100% !important;
        height: 210px !important; /* auto вместо 210px */
    }

    /* Инпуты уже 100%, но чуть уменьшим боковой отступ, 
       чтобы текста помещалось больше на узких экранах */
    .popup__form .b24-form-wrapper input[type="text"],
    .popup__form .b24-form-wrapper input[type="tel"],
    .popup__form .b24-form-wrapper input[type="email"],
    .popup__form .b24-form-wrapper input[type="number"] {
        padding: 0 16px !important; /* было 20px */
    }

    /* Кнопка: чуть уменьшаем шрифт, чтобы надпись точно влезла */
    .popup__form .b24-form-wrapper button[type="submit"] {
        font-size: 16px !important; /* было 18px */
    }

    .popup__content{
        padding: 30px;
    }

    .popup__title{
        text-align: center;
    }

    .popup__form .b24-form-wrapper{
        height: 210px !important;
    }

    .popup__title{
        font-size: 30px;
    }

    .popup__policy {
    width: 240px;
    font-family: var(--font);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    color: #222222;
    margin: 0;
    text-align: center;
}
}