/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--main);
    background: var(--white);
    font-size: 16px;
    line-height: 1.5;
}

a { text-decoration: none; color: inherit; transition: opacity .2s; }
a:hover { opacity: .75; }
img { max-width: 100%; display: block; }
main { padding-top: 130px; }
@media (max-width: 480px) { main { padding-top: 70px; } }

/* =============================================
   CSS VARIABLES (из Figma)
   ============================================= */
:root {
    --main: #0e0e0e;
    --text: #616161;
    --white: #ffffff;
    --acctnt2: #1f2937;
    --border: #acacac;
    --accent: #e20d1a;
    --fon: #f0f0f0;
    --text-2: #4b5563;
    --icon: #22c55e;
    --border2: #7c8289;

    --h1-font-family: 'Oswald', sans-serif;
    --h1-font-size: 64px;
    --h1-line-height: 120%;
    --h1-font-weight: 500;

    --h2-font-family: 'Oswald', sans-serif;
    --h2-font-size: 50px;
    --h2-line-height: 120%;
    --h2-font-weight: 500;

    --h3-font-family: 'Oswald', sans-serif;
    --h3-font-size: 40px;
    --h3-line-height: 130%;
    --h3-font-weight: 400;

    --h4-font-family: 'Manrope', sans-serif;
    --h4-font-size: 28px;
    --h4-line-height: 130%;
    --h4-font-weight: 700;

    --button-font-family: 'Manrope', sans-serif;
    --button-font-size: 18px;
    --button-line-height: 120%;
    --button-font-weight: 600;

    --menu-font-family: 'Manrope', sans-serif;
    --menu-font-size: 16px;
    --menu-line-height: 120%;
    --menu-font-weight: 400;

    --podpisi-font-family: 'Manrope', sans-serif;
    --podpisi-font-size: 14px;
    --podpisi-line-height: 120%;
    --podpisi-font-weight: 400;

    --ten-box-shadow: 8px 8px 13px 0px rgba(31, 41, 55, 0.1);

    --container: 1640px;
    --gap: 140px;
}

/* =============================================
   HEADER
   ============================================= */
   .header {
    display: flex;
    flex-direction: column;
    position: relative;
    position: fixed;
    width: 100%;
    z-index: 999;
}

.header-top {
    background: var(--fon);
    padding: 10px 40px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    transition: max-height 0.3s ease, padding 0.3s ease;
    max-height: 60px;
}

.kontakt {
    display: flex;
    flex-direction: row;
    gap: 40px;
    align-items: center;
    width: 100%;
    width: 100%;
    max-width: 1640px;
    margin: 0 auto;
    justify-content: space-between;
   
}

.kontakt-left {
    display: flex;
    flex-direction: row;
    gap: 40px;
    
}

.loation, .clock, .email {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

.icon-header-top-location,
.icon-header-top-clock,
.envelope { width: 24px; height: 24px; flex-shrink: 0; }

._27-202, ._8-00-22-00, .resheniekachestvo-yandex-ru {
    font-family: var(--podpisi-font-family);
    font-size: var(--podpisi-font-size);
    line-height: var(--podpisi-line-height);
    font-weight: var(--podpisi-font-weight);
    color: var(--main);
}

.social { display: flex; flex-direction: row; gap: 12px; align-items: center; }
.social a { display: flex; }
.icon-social-vk, .icon-social-telegram, .icon-social { width: 32px; height: 32px; }

/* Header bottom */
.header-bottom {
    background: var(--white);
   
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    width: 100%;
    
    margin: 0 auto;
    padding: 0 40px;
}



.icon-logo { width: 180px; height: auto; object-fit: contain; }

.menu {
    display: flex;
    flex-direction: row;
    gap: 35px;
    align-items: center;
}

.menu .div, .menu a {
    font-family: var(--menu-font-family);
    font-size: var(--menu-font-size);
    line-height: var(--menu-line-height);
    font-weight: var(--menu-font-weight);
    color: var(--main);
    transition: color .2s;
    white-space: nowrap;
}

.menu .div:hover, .menu a:hover { color: var(--accent); opacity: 1; }

.frame-3 { display: flex; flex-direction: row; gap: 24px; align-items: center; }

.konsultation { display: flex; flex-direction: row; gap: 12px; align-items: center; }

.phone { display: flex; flex-direction: row; gap: 6px; align-items: center; }
.phone2 { width: 24px; height: 24px; flex-shrink: 0; }

.frame-2 { display: flex; flex-direction: column; gap: 2px; }

._7-937-845-8000 {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: var(--main);
    white-space: nowrap;
}

.div2 {
    font-family: var(--podpisi-font-family);
    font-size: var(--podpisi-font-size);
    color: var(--accent);
   
    max-width: 100px;
    line-height: 1.1;
}

.button {
    background: var(--accent);
    border: none;
    border-radius: 10px;
    padding: 12px 24px;
    cursor: pointer;
    transition: background .2s, transform .15s;
    white-space: nowrap;
}

.button:hover { background: #c00b16; transform: translateY(-1px); }

.div3 {
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
}

/* =============================================
   АДАПТИВ
   ============================================= */
@media (max-width: 1400px) {
    :root { --gap: 40px;  }
    .menu { gap: 20px; }
    .kontakt { gap: 20px; }
}
@media (max-width: 1366px) {
    :root { --h2-font-size: 40px;  }
}

@media (max-width: 1024px) {
    :root { --h2-font-size: 36px;  }
    .header-top { display: none; }
    .header-bottom { padding: 0 20px; height: 70px; }
    .menu { display: none; }
    .frame-3 { gap: 12px; }
    
    .div2--mob { display: block; max-width: 100%; }
    .icon-logo { width: 160px; }

    /* Бургер */
    .burger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 4px;
    }
    .burger span {
        display: block;
        width: 26px;
        height: 2px;
        background: var(--main);
        border-radius: 2px;
        transition: .3s;
    }
}
@media (max-width: 640px) {
    .konsultation { display: none; }
    :root { --h2-font-size: 32px;  }
}


@media (max-width: 480px) {
    .header-bottom { padding: 0 16px; }
    ._7-937-845-8000 { font-size: 14px; }
    .button { padding: 10px 16px; }
    .div3 { font-size: 14px; }
    .icon-logo { width: 150px; }
    .div3 { font-size: 12px; }
    
}

/* =============================================
   БУРГЕР-МЕНЮ
   ============================================= */
   .burger { display: none; }

   @media (max-width: 1200px) {
       .menu { display: none; }
   
       .burger {
           display: flex;
           flex-direction: column;
           gap: 5px;
           cursor: pointer;
           padding: 4px;
           background: none;
           border: none;
           order: 3;
       }
       .burger span {
           display: block;
           width: 26px;
           height: 2px;
           background: var(--main);
           border-radius: 2px;
           transition: .3s;
       }
       .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
       .burger.open span:nth-child(2) { opacity: 0; }
       .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
   }
   
   .mobile-menu {
       display: none;
       flex-direction: column;
       background: var(--acctnt2);
       padding: 24px 20px 32px;
       gap: 0;
   }
   .mobile-menu.open {
    display: flex;
    position: fixed;
    top: 70px;
    left: 0;
    z-index: 999;
    width: 100%;
    overflow: hidden;
}
   .mobile-nav {
       display: flex;
       flex-direction: column;
       border-bottom: 1px solid rgba(255,255,255,0.15);
       padding-bottom: 20px;
       margin-bottom: 20px;
   }
   .mobile-nav a {
       color: var(--white);
       font-family: var(--menu-font-family);
       font-size: 18px;
       font-weight: 500;
       padding: 14px 0;
       border-bottom: 1px solid rgba(255,255,255,0.08);
       transition: color .2s;
   }
   .mobile-nav a:hover { color: var(--accent); opacity: 1; }
   
   .mobile-contacts {
       display: flex;
       flex-direction: column;
       gap: 12px;
       border-bottom: 1px solid rgba(255,255,255,0.15);
       padding-bottom: 20px;
       margin-bottom: 20px;
   }
   .mobile-contacts .loation,
   .mobile-contacts .clock,
   .mobile-contacts .email {
       display: flex;
       flex-direction: row;
       gap: 8px;
       align-items: flex-start;
   }
   .mobile-contacts span {
       color: rgba(255,255,255,0.8);
       font-size: 14px;
       line-height: 1.4;
   }
   
   .mobile-social {
       display: flex;
       flex-direction: row;
       gap: 16px;
   }
   .mobile-social a {
       color: var(--white);
       font-size: 14px;
       background: rgba(255,255,255,0.1);
       padding: 6px 14px;
       border-radius: 20px;
       transition: background .2s;
   }
   .mobile-social a:hover { background: var(--accent); opacity: 1; }


/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--acctnt2);
    border-top: 1px solid var(--border);
    padding: 78px var(--gap) 100px;
    display: flex;
    flex-direction: column;
    gap: 47px;
}

.pynkt-venu {
    border-bottom: 1px solid var(--border2);
    padding-bottom: 46px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    align-items: start;
}

.logo { display: flex; flex-direction: column; gap: 16px; }
.logo .icon-logo { width: 180px; height: auto; }

 .div3-f, ._1234567890123-1234567890 {
    color: var(--border2);
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 120%;
}

.uslugi, .info { display: flex; flex-direction: column; gap: 16px; }

.h-4-text-white .div,
.h-4-text-white2 .div2 {
    color: var(--white);
    font-family: 'Oswald', sans-serif;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ul-space-y-2, .ul-space-y-22 {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ul-space-y-2 .text2,
.ul-space-y-22 .text4 {
    color: var(--border);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    transition: color .2s;
    display: block;
}
.ul-space-y-2 .text2:hover,
.ul-space-y-22 .text4:hover { color: var(--white); opacity: 1; }

.seti { display: flex; flex-direction: column; gap: 16px; }

.frame-68 { display: flex; flex-direction: row; gap: 8px; align-items: center; }
.frame-68 a { display: flex; transition: transform .2s; }
.frame-68 a:hover { transform: translateY(-2px); opacity: 1; }

/* Bottom bar */
.text5 { display: flex; flex-direction: column; gap: 17px; }

.p {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

._2026 {
    color: var(--fon);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
}

.div-flex { display: flex; flex-direction: row; gap: 26px; flex-wrap: wrap; }

.text6 {
    color: var(--fon);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 140%;
    transition: color .2s;
}
.text6:hover { color: var(--accent); opacity: 1; }

._437-26-10-2002-n-127-38-149 {
    color: var(--border2);
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 120%;
}

/* Footer адаптив */
@media (max-width: 1200px) {
    .pynkt-venu { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
}

@media (max-width: 640px) {
    .footer { padding: 40px 20px 60px; }
    .pynkt-venu { grid-template-columns: 1fr; }
    .p { flex-direction: column; align-items: flex-start; }
    .div-flex { flex-direction: column; gap: 10px; }
}


/* Форма в гриде команды */
.team__grid-forma {
    background: var(--acctnt2);
    border-radius: 20px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    justify-content: center;
    box-shadow: 4px 4px 7.8px 0px rgba(0,0,0,0.25);
    grid-column: 3 / span 1;
    grid-row: 3 / span 1;
}

.team__grid-forma .team__forma-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
}

.team__grid-forma .team__forma-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 140%;
    color: var(--border);
    text-align: center;
}

.team__grid-forma .team__forma-fields { width: 100%; }

/* Мобильная форма — скрыта на десктопе */
.team__forma--mobile { display: none; }

@media (max-width: 1024px) {
    .team__grid-forma { display: none; }
    .team__forma--mobile { display: flex; }
}



/* =============================================
   СЕКЦИЯ: КОНТАКТЫ / CTA
   ============================================= */
   .cta {
    background: var(--acctnt2);
    padding: 100px 40px 120px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.cta__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
    max-width: 700px;
}

.cta__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    text-align: center;
}

.cta__title-white { color: var(--white); }
.cta__title-accent { color: var(--accent); }

.cta__line {
    width: 64px; height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.cta__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px; font-weight: 500;
    line-height: 140%;
    color: var(--border);
    text-align: center;
}

.cta__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    align-items: start;
    max-width: 1640px;
    margin: 0 auto;
}

/* Левая колонка */
.cta__left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Инфо-блоки */
.cta__info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cta__info-item {
    border: 1px solid var(--text-2, #4b5563);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
}

.cta__info-icon {
    background: #1c2531;
    border-radius: 8px;
    padding: 6px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta__info-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cta__info-label {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--border2);
}

.cta__info-val {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 140%;
    color: var(--white);
}

.cta__info-val--muted { color: var(--border2); font-size: 16px; }

/* Форма */
.cta__forma {
    background: var(--white);
    border-radius: 20px;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 4px 4px 7.8px 0px rgba(0,0,0,0.25);
}

.cta__forma-header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: center;
}

.cta__forma-title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 500;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--main);
}

.cta__forma-sub {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
}

.cta__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta__input {
    width: 100%;
    height: 60px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 300;
    color: var(--main);
    background: var(--white);
    outline: none;
    transition: border-color .2s;
}

.cta__input::placeholder { color: #c9c9c9; }
.cta__input:focus { border-color: var(--accent); }

.cta__phone-wrap { position: relative; }


.cta__flag {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 4px;
    pointer-events: none;
    font-size: 16px;
    z-index: 1;
}

.cta__agree {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.cta__agree input { flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); }

.cta__agree span {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    line-height: 120%;
    color: var(--text);
}

.cta__submit {
    width: 100%;
    height: 52px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.cta__submit:hover { background: #c00b16; transform: translateY(-1px); }

/* Карта */
.cta__map {
    border-radius: 20px;
    overflow: hidden;
    min-height: 600px;
    height: 100%;
}

.cta__map iframe {
    width: 100%;
    height: 100%;
    min-height: 600px;
    border-radius: 20px;
    display: block;
}

/* Адаптив */

@media (max-width: 1366px) {
    
    .cta__inner { grid-template-columns: 1fr 40%; }

}

@media (max-width: 1200px) {
    .cta { padding: 60px 40px 80px; }
    .cta__inner { grid-template-columns: 1fr; }
    .cta__map { min-height: 400px; }
    .cta__map iframe { min-height: 400px; }
}

@media (max-width: 640px) {
    .cta { padding: 48px 20px 60px; }
    .cta__title { font-size: 36px; }
    .cta__info-grid { grid-template-columns: 1fr; }
    .cta__forma { padding: 20px; }
}


/* =============================================
   ХЛЕБНЫЕ КРОШКИ
   ============================================= */
   .bc-wrap {
    padding: 20px var(--gap) 0;
}

.bc {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.bc__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
}

.bc__link {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--border);
    text-decoration: none;
    transition: color .2s;
    white-space: nowrap;
}

.bc__link:hover { color: var(--accent); opacity: 1; }

.bc__sep { flex-shrink: 0; }

.bc__current {
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--main);
}

/* =============================================
   DROPDOWN МЕНЮ
   ============================================= */
   .menu__item {
    position: relative;
}

.menu__trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.menu__trigger--nolink { cursor: default; }

.menu__arrow {
    transition: transform .2s;
    flex-shrink: 0;
}

.menu__item:hover .menu__arrow {
    transform: rotate(180deg);
}

.menu__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 260px;
    z-index: 1000;
    border: 1px solid var(--border);
    transition: opacity .2s, visibility .2s;
    opacity: 0;
    visibility: hidden;
    display: block !important;
}

.menu__dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    transform: translateX(-50%) rotate(45deg);
}

.menu__item:hover .menu__dropdown {
    display: block;
}

.menu__dropdown-item {
    display: block;
    padding: 10px 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: var(--main);
    transition: background .15s, color .15s;
    white-space: nowrap;
}

.menu__dropdown-item:hover {
    background: var(--fon);
    color: var(--accent);
    opacity: 1;
}

.menu__item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 16px;
}



.menu__item:hover .menu__dropdown {
    opacity: 1;
    visibility: visible;
}

/* Мобильный аккордеон меню */
.mob-acc { border-bottom: 1px solid rgba(255,255,255,0.08); }

.mob-acc__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

.mob-acc__trigger svg { transition: transform .25s; }
.mob-acc.open .mob-acc__trigger svg { transform: rotate(180deg); }

.mob-acc__sub {
    display: none;
    flex-direction: column;
    padding-bottom: 8px;
}

.mob-acc.open .mob-acc__sub { display: flex; }

.mob-acc__sub a {
    color: rgba(255,255,255,0.7);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color .2s, background .2s;
}

.mob-acc__sub a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.08);
    opacity: 1;
}
/* =============================================
   МОДАЛЬНОЕ ОКНО
   ============================================= */
.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal.active { display: flex; }

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
}

.modal__box {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    padding: 48px 40px;
    width: 100%;
    max-width: 480px;
    z-index: 1;
    box-shadow: 0 24px 64px rgba(0,0,0,0.2);
    animation: modalIn .25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal__box--success {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    border-radius: 8px;
    transition: background .2s;
}

.modal__close:hover { background: var(--fon); }

.modal__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal__title {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
}

.modal__sub {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: var(--text);
    text-align: center;
    margin-bottom: 16px;
}

.modal__form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modal__input {
    width: 100%;
    height: 56px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0 20px;
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    color: var(--main);
    background: var(--white);
    outline: none;
    transition: border-color .2s;
}

.modal__input:focus { border-color: var(--accent); }
.modal__input::placeholder { color: #c9c9c9; }

.modal__phone-wrap { position: relative; }


.modal__flag {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    pointer-events: none;
}

.modal__agree {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    margin: 16px 0;
}

.modal__agree input { flex-shrink: 0; margin-top: 3px; accent-color: var(--accent); }

.modal__agree span {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    color: var(--text);
    line-height: 1.4;
}

.modal__submit {
    width: 100%;
    height: 52px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.modal__submit:hover { background: #c00b16; transform: translateY(-1px); }

.modal__success-icon { margin-bottom: 8px; }

@media (max-width: 520px) {
    .modal__box { margin: 16px; padding: 32px 24px; }
}

/* Типографика внутри FAQ */
.faq__answer-inner ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}

.faq__answer-inner ul li {
    padding-left: 20px;
    position: relative;
}

.faq__answer-inner ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.faq__answer-inner ol {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 8px 0;
}

.faq__answer-inner p { margin-bottom: 8px; }
.faq__answer-inner strong { font-weight: 700; }

.faq__answer-inner blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 16px;
    color: var(--text);
    font-style: italic;
    margin: 8px 0;
}






/* =============================================
   СЕКЦИЯ: КАЛЬКУЛЯТОР
   ============================================= */
   .calc {
    padding: 50px 40px 0;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
    max-width: 1494px;
    margin: 0 auto;
}

.calc__header {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.calc__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.calc__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
}

.calc__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.calc__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
    text-align: center;
}

.calc__body {
    background: var(--fon);
    border-radius: 30px;
    padding: 80px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    position: relative;
    overflow: hidden; /* уже должно быть или добавь */
  
}

.calc__body::after {
    content: '';
    position: absolute;
    right: -90px;
    bottom: 50px;
    width: 840px;
    height: 100%;
    background-image: url('/img/bg-calc1.webp');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    pointer-events: none;
    opacity: 0.7;
}


.calc__block { display: flex; flex-direction: column; gap: 16px; z-index: 10;}

.calc__row-between {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.calc__label {
    font-family: 'Manrope', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 130%;
    color: var(--main);
}

.calc__sum-val {
    font-family: var(--h3-font-family);
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    color: var(--accent);
}

.calc__hints span {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
}

/* Слайдер */
.calc__slider-wrap { padding: 8px 0; }

.calc__slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--accent) 0%, var(--accent) 20%, #d1d5db 20%, #d1d5db 100%);
    border-radius: 2px;
    outline: none;
}

.calc__slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--white);
    border: none;
    box-shadow: 0 4px 12px rgba(211,47,47,0.25);
    cursor: pointer;
    position: relative;
}

.calc__slider::-webkit-slider-thumb::after {
    content: '';
    width: 28px;
    height: 28px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Select */
.calc__select-wrap {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.calc__select {
    width: 100%;
    height: 56px;
    border: 2px solid var(--accent);
    border-radius: 12px;
    padding: 0 48px 0 18px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--main);
    background: var(--white);
    outline: none;
    appearance: none;
    cursor: pointer;
}

.calc__select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Toggle вопросы */
.calc__questions {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: flex-start;
    z-index: 10;
}

.calc__q-group { display: flex; flex-direction: column; gap: 16px; }

.calc__toggle-group { display: flex; flex-direction: row; gap: 12px; }

.calc__toggle {
    border: 2px solid var(--border);
    border-radius: 10px;
    padding: 12px 48px;
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.calc__toggle--active {
    border-color: var(--accent);
    color: var(--accent);
}

/* Табы способа связи */
.calc__contact-tabs {
    display: flex;
    flex-direction: row;
    gap: 8px;
    flex-wrap: wrap;
}

.calc__tab {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    cursor: pointer;
    transition: border-color .2s, color .2s;
}

.calc__tab--active {
    border-color: var(--main);
    color: var(--main);
}

/* Форма */
.calc__form { display: flex; flex-direction: column; gap: 16px; }

.calc__phone-field {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    overflow: hidden;
    max-width: 400px;
    height: 52px;
}

.calc__phone-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 16px;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: var(--main);
    background: transparent;
}

.calc__phone-input::placeholder { color: var(--border); }

.calc__agree {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    max-width: 740px;
}

.calc__agree input {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--accent);
}

.calc__agree span {
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    color: var(--text);
    line-height: 120%;
    max-width: 400px;
}

.calc__agree span a{ text-decoration: underline; }

.calc__submit {
    width: 345px;
    height: 54px;
    background: var(--accent);
    border: none;
    border-radius: 10px;
    font-family: var(--button-font-family);
    font-size: var(--button-font-size);
    font-weight: var(--button-font-weight);
    color: var(--white);
    cursor: pointer;
    transition: background .2s, transform .15s;
}

.calc__submit:hover { background: #c00b16; transform: translateY(-1px); }

/* Адаптив */
@media (max-width: 1200px) {
    .calc { padding: 60px 40px; }
    .calc__body { padding: 48px 40px; }
    .calc__questions { flex-direction: column; gap: 32px; }
    .calc__label { font-size: 22px; }
    .calc__body::after {
    bottom: 150px;
    width: 690px;
    }

}

@media (max-width: 768px) {
    .calc { padding: 48px 20px; }
    .calc__body { padding: 32px 20px; border-radius: 20px; }
    
    .calc__desc { font-size: 18px; }
    .calc__sum-val { font-size: 28px; }
    .calc__toggle { padding: 12px 24px; }
    .calc__submit { width: 100%; }
        .calc__body::after { display:none;}
}

@media (max-width: 480px) {
    .calc__label--mob {padding-right: 20px; width: 50%;}
    .calc__label { font-size: 20px; }

}


/* =============================================
   СЕКЦИЯ: ЭТАПЫ
   ============================================= */
   .etap {
    background: var(--acctnt2);
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.etap__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    max-width: 768px;
    text-align: center;
}

.etap__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.etap__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--white);
    text-align: center;
}

.etap__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.etap__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 140%;
    color: var(--border);
    text-align: center;
}

.etap__grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 45px;
    justify-content: center;
    width: 100%;
    max-width: 1640px;
}

.etap__item {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: flex-start;
    flex: 0 0 calc(50% - 23px);
    max-width: calc(50% - 23px);
}

.etap__num {
    font-family: 'Oswald', sans-serif;
    font-size: 128px;
    font-weight: 500;
    line-height: 100%;
    text-transform: uppercase;
    color: var(--border);
    opacity: 0.5;
    flex-shrink: 0;
    line-height: 1;
    user-select: none;
}

.etap__text {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
    padding-top: 16px;
}

.etap__item-title {
    font-family: var(--h3-font-family);
    font-size: var(--h3-font-size);
    font-weight: var(--h3-font-weight);
    line-height: var(--h3-line-height);
}

.etap__item-title--white { color: var(--white); }
.etap__item-title--light { color: var(--fon); font-weight: 600; font-family: 'Oswald', sans-serif; }
.etap__item-title--green { color: #22c55e; }

.etap__item-desc {
    font-family: 'Manrope', sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 140%;
    color: var(--border);
}

/* Адаптив */
@media (max-width: 1024px) {
    .etap { padding: 60px 40px; }
    .etap__item { flex: 0 0 100%; max-width: 100%; }
    .etap__num { font-size: 80px; }
}

@media (max-width: 640px) {
    .etap { padding: 60px 16px; }
    .etap__text {  padding-top: 8px; }      
    .etap__num { font-size: 60px; }
    .etap__item-title { font-size: 28px; }
    .etap__item-desc { font-size: 16px; }
    .etap__grid { gap: 32px; }
}



/* =============================================
   СЕКЦИЯ: ПРАКТИКА
   ============================================= */
   .prak {
    background: var(--fon);
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.prak__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.prak__title-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.prak__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    line-height: var(--h2-line-height);
    text-transform: uppercase;
    color: var(--main);
    text-align: center;
}

.prak__line {
    width: 64px;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.prak__desc {
    font-family: 'Manrope', sans-serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 140%;
    color: var(--text);
    text-align: center;
}

.prak__swiper {
    width: 100%;
    padding-bottom: 48px !important;
}

.prak__slide {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.prak__img {
    width: 100%;
    aspect-ratio: 381/540;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.prak__stub {
    width: 100%;
    aspect-ratio: 381/540;
    background: #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 32px;
}

.prak__stub-badge {
    background: #22c55e;
    color: #000;
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: center;
    padding: 12px 24px;
    border-radius: 8px;
    line-height: 1.3;
}

.prak__caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.55);
    color: var(--white);
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    padding: 10px 16px;
    text-align: center;
}

/* Dots */
.prak__pagination {
    display: flex !important;
    justify-content: center;
    gap: 6px;
}

.prak__pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--border);
    opacity: 1;
    border-radius: 50%;
    transition: background .2s;
}

.prak__pagination .swiper-pagination-bullet-active {
    background: var(--accent);
}

/* Кнопка */
.prak__more {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 600;
    color: var(--accent);
    transition: gap .2s;
}

.prak__more:hover { gap: 14px; opacity: 1; }

/* Адаптив */
@media (max-width: 1200px) {
    .prak { padding: 60px 40px; }
}

@media (max-width: 640px) {
    .prak { padding: 48px 20px; }
   
}

/* =============================================
   СТРАНИЦЫ: ПОЛИТИКА / СОГЛАШЕНИЕ
   ============================================= */
.policy {
    padding: 60px var(--gap) 100px;
}

.policy__inner {
    max-width: 900px;
    margin: 0 auto;
}

.policy__title {
    font-family: var(--h2-font-family);
    font-size: var(--h2-font-size);
    font-weight: var(--h2-font-weight);
    text-transform: uppercase;
    color: var(--main);
    margin-bottom: 40px;
}

.policy__body {
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 170%;
    color: var(--main);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.policy__body h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--main);
    margin-top: 16px;
}

.policy__body ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy__body ul li {
    padding-left: 20px;
    position: relative;
}

.policy__body ul li::before {
    content: '';
    position: absolute;
    left: 0; top: 10px;
    width: 6px; height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.policy__body a {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 640px) {
    .policy { padding: 40px 20px 60px; }
    .policy__title { font-size: 28px; }
    .policy__body { font-size: 16px; }
}
