@font-face {
    font-family: "Atyp Display";
    src: url("../fonts/atyp-display-semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Font Awesome 6 Free";
    src: url("../fonts/FontAwesome6FreeSolid.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Poppins";
    src: url("../fonts/Poppins-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ОСНОВА */

:root {
    --font-family: "Inter", sans-serif;
    --second-family: "Bricolage Grotesque", sans-serif;
    --third-family: "Open Sans", sans-serif;
    --font3: "Font Awesome 6 Free", sans-serif;
    --font4: "Poppins", sans-serif;
    --font5: "Montserrat", sans-serif;
    --font6: "Atyp Display", sans-serif;
    --font7: "Roboto", sans-serif;
    --color-dark: #051c28;
    --color-accent: #0098bf;
    --color-muted: #61646b;
    --color-card: #edf1f2;
    --section-space: clamp(56px, 8vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
body {
    width: 100%;
    position: relative;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    background: #fff;
}
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 4px;
}
.container {
    width: 100%;
    max-width: 1324px;
    margin-inline: auto;
    padding-inline: clamp(16px, 3vw, 32px);
}

/* ХЕДЕР */

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background: transparent;
    z-index: 100;
}
.navbar { display: flex; justify-content: space-between; align-items: center; gap: 24px; }
.navbar_logo { display: flex; flex-shrink: 0; }
.navbar_logo--icon, .navbar_logo--icon-dark {
    width: 91px;
    height: 56px;
    object-fit: contain;
}
.navbar_logo--icon { display: block; }
.navbar_logo--icon-dark { display: none; }
.navbar_menu { display: flex; align-items: center; gap: clamp(20px, 3.5vw, 48px); }
.navbar_menu--link, .navbar_lang--link, .navbar_lang--label {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #fff;
}
.navbar_item, .navbar_lang {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
}
.navbar_lang { flex-shrink: 0; gap: 8px; }
.navbar_lang--icon, .navbar_lang--icon-blue { width: 24px; height: 24px; }
.navbar_lang--icon-blue { display: none; }
.navbar_drop--toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 36px;
    padding: 4px;
    border: 0;
    background: none;
    color: inherit;
}
.navbar_drop--icon { display: block; width: 20px; height: 20px; transition: transform .2s; }
.navbar_drop--toggle[aria-expanded="true"] .navbar_drop--icon { transform: rotate(180deg); }
.navbar_dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 8px 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgb(0 0 0 / 10%);
    z-index: 110;
}
.navbar_dropdown.is-open { display: block; }
.navbar_dropdown--right { right: 0; left: auto; min-width: 80px; }
.navbar_dropdown a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-dark);
    white-space: nowrap;
}
.navbar_dropdown a:hover, .navbar_dropdown a[aria-current="true"] {
    background: #edf5f7;
    color: var(--color-accent);
}
@media (hover: hover) and (pointer: fine) {
    .navbar_item:hover > .navbar_dropdown,
    .navbar_lang:hover > .navbar_dropdown { display: block; }
}

/* Поддержка светлого состояния хедера */
.header.is-scrolled, .header.header--solid {
    background: #fff;
    box-shadow: 0 4px 24px rgb(5 28 40 / 8%);
}
.header:is(.is-scrolled, .header--solid) .navbar_logo--icon,
.header:is(.is-scrolled, .header--solid) .navbar_lang--icon { display: none; }
.header:is(.is-scrolled, .header--solid) .navbar_logo--icon-dark,
.header:is(.is-scrolled, .header--solid) .navbar_lang--icon-blue { display: block; }
.header:is(.is-scrolled, .header--solid) .navbar_menu--link,
.header:is(.is-scrolled, .header--solid) .navbar_lang--label { color: var(--color-dark); }
.header:is(.is-scrolled, .header--solid) .navbar_drop--icon { filter: brightness(0); }
.header:is(.is-scrolled, .header--solid) .navbar_burger--line { background: var(--color-dark); }

/* МОБИЛЬНОЕ МЕНЮ */

.navbar_burger {
    display: none;
    position: relative;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 4px;
    border: 0;
    background: none;
}
.navbar_burger--line {
    display: block;
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: transform .3s, opacity .3s;
}
.mobile_menu {
    position: fixed;
    top: 0;
    right: -100%;
    display: flex;
    flex-direction: column;
    width: 340px;
    max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    padding: 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    background: #fff;
    overflow-y: auto;
    overscroll-behavior: contain;
    visibility: hidden;
    transition: right .35s, visibility .35s;
    z-index: 1100;
}
.mobile_menu.is-open { right: 0; visibility: visible; }
.mobile_menu--head { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 24px; }
.mobile_menu--phone { margin-right: auto; font-size: 16px; color: #111; text-decoration: underline; }
.mobile_menu--close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: none;
    font-size: 24px;
    line-height: 1;
    color: #111;
}
.mobile_menu--links { flex: 1; }
.mobile_menu--links > li { border-bottom: 1px solid #f0f0f0; }
.mobile_menu--links .navbar_item { display: block; position: static; }
.mobile_link--row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.mobile_menu--link { display: block; padding: 16px 0; font-size: 17px; color: #111; }
.mobile_drop--toggle {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 0;
    background: none;
}
.mobile_drop--toggle .navbar_drop--icon { width: 18px; height: 18px; filter: brightness(0); }
.mobile_menu .navbar_item.is-open .mobile_drop--toggle .navbar_drop--icon { transform: rotate(180deg); }
.mobile_dropdown { display: none; padding: 0 0 12px 16px; }
.mobile_menu .navbar_item.is-open .mobile_dropdown { display: block; }
.mobile_dropdown a { display: block; padding: 10px 0; font-size: 15px; color: #555; }
.mobile_menu--footer { padding-top: 28px; }
.mobile_menu--lang { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.lang-option { display: inline-block; padding: 12px 0; font-size: 15px; color: #767676; }
.lang-option.active, .lang-option:hover { color: var(--color-dark); font-weight: 600; }
.lang-divider { color: #ccc; }
.mobile_overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgb(0 0 0 / 45%);
    backdrop-filter: blur(2px);
    z-index: 1099;
}
.mobile_overlay.is-active { display: block; }

/* ПЕРВЫЙ ЭКРАН */

.hero_wrapper { position: relative; }
.hero_bg {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 680px;
    min-height: max(680px, 100svh);
    background: var(--color-dark);
}
.hero_bg--img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}
.hero_bg--overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 50%), rgb(0 0 0 / 20%) 55%, rgb(0 0 0 / 10%));
    z-index: 2;
}
.hero { position: relative; width: 100%; padding: 150px 0 90px; z-index: 3; }
.hero_content { width: 100%; max-width: 780px; min-width: 0; }
.hero_title {
    margin-bottom: 22px;
    font-family: var(--second-family);
    font-size: clamp(32px, 4vw, 49px);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    text-shadow: 0 2px 8px rgb(0 0 0 / 20%);
    overflow-wrap: anywhere;
}
.hero_desc {
    max-width: 660px;
    margin-bottom: 40px;
    font-size: clamp(16px, 1.7vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
}
.hero_btns { display: flex; align-items: center; gap: 8px; max-width: 100%; }
.hero_btn {
    min-width: 0;
    min-height: 50px;
    padding: 14px 32px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #fff;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    color: #000;
    transition: background .2s, color .2s;
}
.hero_btn--img {
    display: grid;
    place-items: center;
    flex: 0 0 50px;
    width: 50px;
    height: 50px;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: #fff;
    transition: background .2s;
}
.hero_btn--img img { display: block; width: 30px; height: 30px; transition: filter .2s; }

/* ОБЩИЕ СТИЛИ СЕКЦИЙ */

.service, .innovation { padding-block: var(--section-space); }
.whatwedo, .tsho, .solution { padding-bottom: var(--section-space); }
.service_text, .whatwedo_text, .advantage_text, .innovation_text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 820px;
    margin: 0 auto 32px;
    text-align: center;
}
.service_title, .whatwedo_title, .advantage_title, .tsho_title {
    font-family: var(--second-family);
    font-size: clamp(28px, 3.2vw, 39px);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.innovation_title {
    font-family: var(--second-family);
    font-size: clamp(27px, 2.8vw, 31px);
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}
.service_desc, .whatwedo_desc, .advantage_desc, .innovation_desc {
    max-width: 740px;
    font-size: 16px;
    line-height: 1.6;
}
.service_card--title, .whatwedo_card--title,
.advantage_card--title, .innovation_card--title {
    font-family: var(--second-family);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}
.service_card--desc, .whatwedo_card--desc,
.advantage_card--desc, .innovation_card--desc {
    font-size: 16px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

/* УСЛУГИ */

.service_items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service_card { display: flex; flex-direction: column; align-items: center; min-width: 0; gap: 20px; }
.service_card--icon { display: block; width: min(100%, 220px); height: auto; aspect-ratio: 1; object-fit: contain; }
.service_card--text { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 320px; text-align: center; }
.service_card--desc { color: var(--color-muted); }

/* НАПРАВЛЕНИЯ */

.whatwedo_items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.whatwedo_card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 20px;
    padding: 24px;
    border-radius: 16px;
    background: var(--color-card);
    transition: background .25s;
}
.whatwedo_card--arrow {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    padding: 8px;
    border: 10px solid #fff;
    border-radius: 50%;
    background: var(--color-card);
    transition: background .25s;
}
.whatwedo_card--icon { display: block; width: 64px; height: 64px; object-fit: contain; transition: transform .25s; }
.whatwedo_card-text { display: flex; flex: 1; flex-direction: column; min-width: 0; gap: 8px; }
.whatwedo_card--desc { width: auto; color: var(--color-muted); }
.whatwedo_card--learn { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.whatwedo_card--link { font-family: var(--second-family); font-size: 16px; font-weight: 600; color: var(--color-dark); }
.whatwedo_card--img { width: 24px; height: 24px; flex-shrink: 0; }
.whatwedo_card--img.hover { display: none; }

/* ПРЕИМУЩЕСТВА */

.advantageSwiper { position: relative; width: 100%; min-width: 0; margin-bottom: 32px; overflow: hidden; }
.advantageSwiper .swiper-wrapper { align-items: stretch; }
.advantageSwiper .swiper-slide { display: flex; width: min(515px, 88%); height: auto; }
.advantageSwiper::before, .advantageSwiper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}
.advantageSwiper::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.advantageSwiper::after { right: 0; background: linear-gradient(-90deg, #fff, transparent); }
.advantage_card { flex: 1; width: 100%; min-width: 0; padding: 24px; border-radius: 16px; background: var(--color-card); }
.advantage_card--items { display: flex; align-items: flex-start; gap: 16px; }
.advantage_card--icon { width: 48px; height: 48px; flex-shrink: 0; object-fit: contain; }
.advantage_card--text { display: flex; flex-direction: column; min-width: 0; gap: 12px; }
.advantage_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 400px;
    min-height: 48px;
    margin-inline: auto;
    padding: 14px 20px;
    border: 1px solid rgb(0 0 0 / 25%);
    border-radius: 999px;
    font-family: var(--second-family);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    color: var(--color-dark);
}
.advantage_btn--icon { width: 24px; height: 24px; flex-shrink: 0; }

/* ИННОВАЦИИ */

.innovation { position: relative; }
.innovation_items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.innovation_card {
    position: relative;
    min-width: 0;
    padding: 120px 22px 24px;
    border-radius: 16px;
    background: var(--color-card);
}
.innovation_card--num { position: absolute; top: 24px; left: 0; max-width: 100%; max-height: 88px; object-fit: contain; }
.innovation_card--text { display: flex; flex-direction: column; gap: 12px; }
.innovation_card--desc { font-size: 14px; color: var(--color-muted); }
.innovation_card--img { position: absolute; top: 44px; right: -16px; }

/* ТШО */

.tsho_content { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 32px; }
.tsho_info { display: flex; flex-direction: column; min-width: 0; gap: 16px; }
.tsho_period { width: fit-content; padding: 8px 16px; border-radius: 999px; background: var(--color-card); font-size: 14px; font-weight: 600; color: var(--color-accent); }
.tsho_desc { font-size: 16px; line-height: 1.6; color: var(--color-muted); overflow-wrap: anywhere; }
.tsho_facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tsho_fact { max-width: 100%; padding: 10px 16px; border-radius: 999px; background: var(--color-card); font-size: 14px; line-height: 1.4; color: var(--color-dark); overflow-wrap: anywhere; }
.tsho_slider { position: relative; width: 100%; min-width: 0; max-width: 100%; border-radius: 24px; overflow: hidden; }
.tsho_slide { height: auto; aspect-ratio: 4 / 3; }
.tsho_slide a { display: block; width: 100%; height: 100%; }
.tsho_slide img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tsho_slider .tsho_pagination {
    position: absolute;
    left: 0;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    width: 100%;
    padding-inline: 12px;
    z-index: 5;
}
.tsho_pagination .swiper-pagination-bullet { width: 8px; height: 8px; background: rgb(255 255 255 / 60%); opacity: 1; }
.tsho_pagination .swiper-pagination-bullet-active { background: #fff; }

/* НИЖНИЙ БАННЕР */

.solution_bg { position: relative; width: 100%; border-radius: 32px; background: var(--color-dark); overflow: hidden; }
.solution_bg--img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.solution_overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 60%), rgb(0 0 0 / 25%)); z-index: 2; }
.solution_content { position: relative; padding: clamp(24px, 4vw, 48px); z-index: 3; }
.solution_text { display: flex; flex-direction: column; gap: 12px; }
.solution_title { max-width: 780px; font-family: var(--second-family); font-size: clamp(30px, 4vw, 49px); font-weight: 700; line-height: 1.15; color: #fff; overflow-wrap: anywhere; }
.solution_desc { max-width: 680px; font-size: clamp(16px, 1.7vw, 20px); line-height: 1.5; color: #fff; }
.solution_item { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(32px, 6vw, 73px); padding: 16px 16px 16px 24px; border-radius: 16px; background: #fff; }
.solution_item--desc { min-width: 0; font-family: var(--second-family); font-size: 20px; font-weight: 500; line-height: 1.3; color: var(--color-dark); overflow-wrap: anywhere; }
.solution_item--btn { flex-shrink: 0; max-width: 100%; min-height: 48px; padding: 14px 28px; border: 1px solid transparent; border-radius: 999px; background: var(--color-accent); font-family: var(--second-family); font-size: 16px; font-weight: 600; line-height: 1.3; color: #fff; transition: background .2s; }
.solution_item--btn:hover { background: #007a93; }

/* ФУТЕР */

.footer { padding: 40px 0 32px; background: var(--color-dark); color: #fff; }
.footer_items { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; gap: 48px; margin-bottom: 40px; }
.footer_logo { display: flex; flex-direction: column; min-width: 0; max-width: 380px; gap: 20px; }
.footer_logo--icon { display: block; width: 97px; height: 60px; object-fit: contain; }
.footer_title { font-family: var(--second-family); font-size: 25px; font-weight: 600; line-height: 1.2; }
.footer_navbar { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.4fr); align-items: start; min-width: 0; gap: 24px; }
.footer_quick, .footer_service, .footer_contacts { display: flex; flex-direction: column; min-width: 0; gap: 16px; }
.footer_navbar--title { font-family: var(--second-family); font-size: 17px; font-weight: 600; }
.footer_navbar--list { display: flex; flex-direction: column; gap: 14px; }
.footer_navbar--link { font-family: var(--third-family); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.footer_contacts li { display: flex; align-items: flex-start; gap: 12px; }
.footer_navbar--icon { width: 20px; height: 20px; flex-shrink: 0; }
.footer_line { height: 1px; margin-bottom: 28px; background: rgb(255 255 255 / 15%); }
.footer_text { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer_left--desc, .footer_right--link { font-family: var(--third-family); font-size: 13px; line-height: 1.5; }
.footer_left--desc a { font-weight: 700; }

/* МОДАЛЬНОЕ ОКНО */

.modal_overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgb(5 28 40 / 70%);
    z-index: 2000;
}
.modal_overlay.is-open { display: flex; }
.modal { width: 100%; max-width: 540px; max-height: 90vh; max-height: 90dvh; border-radius: 20px; background: #fff; overflow-y: auto; overscroll-behavior: contain; }
.modal_head { position: relative; padding: 32px 64px 28px 36px; background: var(--color-dark); }
.modal_tag { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #59c6df; }
.modal_tag::before { content: ""; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: currentColor; }
.modal_title { margin-bottom: 8px; font-family: var(--second-family); font-size: 26px; font-weight: 700; line-height: 1.2; color: #fff; }
.modal_sub { font-size: 14px; color: rgb(255 255 255 / 75%); }
.modal_close { position: absolute; top: 18px; right: 16px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 8%); font-size: 22px; color: #fff; }
.modal_close:hover { background: rgb(255 255 255 / 15%); }
.modal_body { display: flex; flex-direction: column; gap: 16px; padding: 28px 36px 32px; }
.modal_row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.form { display: flex; flex-direction: column; min-width: 0; gap: 8px; }
.modal_body .form_field { position: relative; min-width: 0; }
.modal_body .form_input {
    display: block;
    width: 100%;
    min-width: 0;
    padding: 18px 16px;
    border: 1px solid #d0d0d0;
    border-radius: 10px;
    background: #fff;
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.4;
    color: #000;
    appearance: none;
    transition: border-color .2s, box-shadow .2s;
}
.modal_body .form_input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgb(0 152 191 / 12%); }
.modal_body .form_label { position: absolute; top: 50%; left: 16px; transform: translateY(-50%); padding: 0; background: #fff; font-size: 15px; line-height: 1.3; color: #767676; pointer-events: none; transition: .2s; }
.modal_body input.form_input:focus + .form_label,
.modal_body input.form_input:not(:placeholder-shown) + .form_label,
.modal_body .form_textarea:focus + .form_label,
.modal_body .form_textarea:not(:placeholder-shown) + .form_label {
    top: -8px;
    transform: none;
    padding: 0 3px;
    font-size: 12px;
}
.modal_body .form_textarea { height: 120px; min-height: 100px; resize: vertical; }
.modal_body .form_label--textarea { top: 18px; transform: none; }
.modal_body .form_select { padding-right: 42px; }
.modal_body .form_select + .form_label { top: 50%; transform: translateY(-50%); font-size: 15px; }
.modal_body .form_select.has-value + .form_label { top: -8px; transform: none; padding: 0 3px; font-size: 12px; }
.modal_body .form_select--arrow { position: absolute; top: 50%; right: 16px; width: 16px; height: 16px; transform: translateY(-50%); pointer-events: none; filter: brightness(0); }
.form_error { display: block; min-height: 16px; margin-top: 4px; padding-left: 2px; font-size: 12px; color: #c62828; }
.modal_body .form_input.error { border-color: #c62828; }
.modal_submit { width: 100%; min-height: 48px; margin-top: 4px; padding: 16px; border: 0; border-radius: 999px; background: var(--color-accent); font-family: var(--second-family); font-size: 16px; font-weight: 600; color: #fff; transition: background .2s; }
.modal_submit:hover { background: #007a93; }
.form_input:-webkit-autofill, .form_select:-webkit-autofill {
    box-shadow: 0 0 0 1000px #fff inset;
    -webkit-text-fill-color: #000;
}

/* УСПЕШНАЯ ОТПРАВКА */

.success_overlay { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; padding: 20px; background: rgb(5 28 40 / 70%); z-index: 3000; }
.success_overlay.is-open { display: flex; }
.success_modal { position: relative; display: flex; flex-direction: column; align-items: center; gap: 16px; width: 100%; max-width: 420px; max-height: 90dvh; padding: 48px 36px; border-radius: 20px; background: var(--color-dark); text-align: center; overflow-y: auto; }
.success_close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(255 255 255 / 8%); color: #fff; }
.success_close:hover { background: rgb(255 255 255 / 15%); }
.success_check { display: grid; place-items: center; width: 72px; height: 72px; flex-shrink: 0; border-radius: 50%; background: var(--color-accent); opacity: 0; transform: scale(.5); transition: opacity .3s, transform .3s; }
.success_title { font-family: var(--second-family); font-size: 24px; font-weight: 700; line-height: 1.25; color: #fff; }
.success_desc { font-size: 14px; line-height: 1.5; color: rgb(255 255 255 / 75%); }
.success_btn { max-width: 100%; min-height: 48px; margin-top: 8px; padding: 14px 40px; border: 0; border-radius: 999px; background: var(--color-accent); font-family: var(--second-family); font-size: 16px; font-weight: 600; color: #fff; }
.success_title, .success_desc, .success_btn { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.success_check.show, .success_title.show, .success_desc.show, .success_btn.show { opacity: 1; transform: none; }
.success_btn:hover { background: #007a93; }

/* ДО 1100px */

@media (max-width: 1100px) {
    .navbar { gap: 18px; }
    .navbar_menu { gap: 20px; }
    .service_items, .whatwedo_items { gap: 18px; }
    .service_card--icon { width: min(100%, 180px); }
    .whatwedo_card { padding: 22px 18px; }
    .whatwedo_card--title, .advantage_card--title { font-size: 19px; }
    .innovation_items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .innovation_card--img { display: none; }
    .tsho_content { gap: 24px; }
    .footer_items { grid-template-columns: minmax(0, 1fr); gap: 32px; }
    .footer_logo { max-width: 460px; }
}

/* ДО 900px */

@media (max-width: 900px) {
    .navbar_menu { gap: 14px; }
    .navbar_menu--link, .navbar_lang--label { font-size: 14px; }
    .hero_bg { min-height: 640px; min-height: max(640px, 85svh); }
    .hero { padding: 140px 0 72px; }
    .hero_content { max-width: 680px; }
    .hero_desc { margin-bottom: 32px; }
    .service_items, .whatwedo_items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
    .service_card:last-child:nth-child(odd), .whatwedo_card:last-child:nth-child(odd) {
        grid-column: 1 / -1;
        width: calc((100% - 20px) / 2);
        justify-self: center;
    }
    .tsho_content { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .tsho_slide { aspect-ratio: 16 / 10; }
    .advantageSwiper::before, .advantageSwiper::after { width: 32px; }
    .hero_desc br, .service_desc br, .service_card--desc br,
    .whatwedo_card--desc br, .advantage_card--desc br,
    .innovation_card--desc br, .solution_desc br { display: none; }
}

/* ДО 768px */

@media (max-width: 768px) {
    .header { padding-block: 16px; }
    .navbar { gap: 16px; }
    .navbar_menu, .navbar_lang { display: none; }
    .navbar_burger { display: flex; }
    .solution_item { flex-direction: column; align-items: flex-start; padding: 20px; }
    .solution_item--btn { width: 100%; }
    .footer_navbar { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
    .footer_contacts { grid-column: 1 / -1; }
    .footer_text { flex-direction: column; align-items: flex-start; gap: 12px; }
}

/* ДО 600px */

@media (max-width: 600px) {
    :root { --section-space: 56px; }
    .container { padding-inline: 20px; }
    .hero_bg { min-height: 620px; min-height: max(620px, 85svh); }
    .hero { padding: 128px 0 64px; }
    .hero_content { max-width: 480px; margin-inline: auto; text-align: center; }
    .hero_title { margin-bottom: 20px; font-size: clamp(30px, 7.5vw, 40px); }
    .hero_title br, .solution_title br { display: none; }
    .hero_desc { width: 100%; max-width: 420px; margin: 0 auto 28px; font-size: 16px; line-height: 1.6; }
    .hero_btns { justify-content: center; }
    .hero_btn { padding: 14px 24px; font-size: 15px; }
    .hero_bg--overlay { background: linear-gradient(180deg, rgb(5 28 40 / 48%), rgb(5 28 40 / 38%)); }

    .service_text, .whatwedo_text, .advantage_text, .innovation_text { margin-bottom: 28px; }
    .service_title, .whatwedo_title, .advantage_title, .innovation_title, .tsho_title { font-size: 28px; }
    .service_desc, .whatwedo_desc, .advantage_desc, .innovation_desc { font-size: 15px; }
    .service_items, .whatwedo_items, .innovation_items { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .service_items { gap: 36px; }
    .service_card:last-child:nth-child(odd), .whatwedo_card:last-child:nth-child(odd) { grid-column: auto; width: 100%; }
    .service_card { gap: 16px; }
    .service_card--icon { width: 180px; }
    .service_card--text { max-width: 360px; gap: 10px; }
    .service_card--title, .whatwedo_card--title, .advantage_card--title, .innovation_card--title { font-size: 20px; }
    .service_card--desc, .whatwedo_card--desc, .advantage_card--desc,
    .innovation_card--desc, .tsho_desc { font-size: 15px; line-height: 1.6; }

    .whatwedo_card { gap: 18px; padding: 24px; }
    .whatwedo_card--learn { padding-top: 8px; }
    .advantageSwiper .swiper-slide { width: 92%; }
    .advantageSwiper::before, .advantageSwiper::after { display: none; }
    .advantage_card { padding: 22px; }
    .advantage_card--items { flex-direction: column; }
    .advantage_btn { font-size: 15px; }
    .innovation_card { padding: 108px 24px 24px; }
    .innovation_card--num { top: 20px; max-height: 72px; }

    .tsho_fact { padding: 9px 14px; font-size: 13px; }
    .tsho_slider { border-radius: 20px; }
    .tsho_slide { aspect-ratio: 4 / 3; }
    .tsho_slider .tsho_pagination { bottom: 12px; gap: 4px; }

    .solution_bg { border-radius: 24px; }
    .solution_content { padding: 24px 20px; }
    .solution_title { font-size: 32px; }
    .solution_desc { font-size: 16px; }
    .solution_item { gap: 16px; margin-top: 32px; padding: 18px; }
    .solution_item--desc { font-size: 19px; }
    .solution_item--btn { padding: 14px 18px; font-size: 15px; }

    .footer { padding: 36px 0 24px; }
    .footer_title { font-size: 23px; }
    .footer_items { margin-bottom: 28px; }

    .modal_overlay { padding: 0; align-items: flex-end; }
    .modal { max-width: none; max-height: 92dvh; border-radius: 20px 20px 0 0; }
    .modal_head { padding: 24px 60px 20px 20px; }
    .modal_close { top: 16px; right: 12px; }
    .modal_title { font-size: 24px; }
    .modal_body { padding: 24px 20px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
    .modal_row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .modal_body .form_input { padding: 15px 14px; font-size: 16px; }
    .modal_body .form_select { padding-right: 42px; }
    .modal_body .form_label { font-size: 14px; }
    .modal_submit { padding: 14px; }
    .success_modal { padding: 48px 24px 28px; }
}

/* ДО 380px */

@media (max-width: 380px) {
    .container { padding-inline: 16px; }
    .hero_title { font-size: 29px; }
    .hero_btn { padding-inline: 18px; font-size: 14px; }
    .whatwedo_card, .advantage_card { padding: 20px; }
    .footer_navbar { grid-template-columns: minmax(0, 1fr); }
    .footer_contacts { grid-column: auto; }
    .solution_content { padding: 24px 16px; }
    .solution_title { font-size: 29px; }
}

/* НЕВЫСОКИЕ ЭКРАНЫ */

@media (max-height: 600px) and (min-width: 601px) {
    .hero_bg { min-height: 540px; }
    .hero { padding: 120px 0 56px; }
}

/* УМЕНЬШЕННАЯ АНИМАЦИЯ */

@media (prefers-reduced-motion: reduce) {
    .mobile_menu, .navbar_drop--icon, .navbar_burger--line,
    .hero_btn, .hero_btn--img, .hero_btn--img img,
    .whatwedo_card, .whatwedo_card--icon, .whatwedo_card--arrow,
    .success_check, .success_title, .success_desc, .success_btn {
        transition: none;
    }
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Исправления взаимодействий и полей главной страницы */
.hero_btns {
    width: fit-content;
    max-width: 100%;
}
.hero_btn {
    min-height: 52px;
    overflow-wrap: anywhere;
}
.hero_btn--img {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
}
@media (hover: hover) and (pointer: fine) {
    .hero_btn:hover,
    .hero_btn--img:hover {
        background: var(--color-accent);
        color: #fff;
    }
    .hero_btn--img:hover img {
        filter: brightness(0) invert(1);
    }
    .whatwedo_card:hover,
    .whatwedo_card:hover .whatwedo_card--arrow {
        background: #e2e8ea;
    }
    .whatwedo_card:hover .whatwedo_card--icon {
        transform: rotate(8deg) scale(1.06);
    }
    .whatwedo_card:hover .whatwedo_card--link {
        color: var(--color-accent);
    }
    .whatwedo_card:hover .whatwedo_card--img.default {
        display: none;
    }
    .whatwedo_card:hover .whatwedo_card--img.hover {
        display: block;
    }
}
/* Контур фокуса остаётся внутри обрезаемого слайда галереи. */
.tsho_slide a:focus-visible {
    outline: 3px solid #fff;
    outline-offset: -5px;
}
/* Ошибка под полем не должна сдвигать его подпись и стрелку. */
.modal_body {
    --field-center: 30.2px;
}
.modal_body .form_label,
.modal_body .form_select + .form_label,
.modal_body .form_select--arrow {
    top: var(--field-center);
}
.modal_body input.form_input:focus + .form_label,
.modal_body input.form_input:not(:placeholder-shown) + .form_label,
.modal_body .form_textarea:focus + .form_label,
.modal_body .form_textarea:not(:placeholder-shown) + .form_label,
.modal_body .form_select:focus + .form_label,
.modal_body .form_select.has-value + .form_label {
    top: 0;
    transform: translateY(-50%);
    padding: 0 4px;
    font-size: 12px;
}
.modal_body .form_label--textarea {
    top: 18px;
    transform: none;
}
.modal_body .form_error:empty {
    display: none;
}
.modal_body .form_input[aria-invalid="true"] {
    border-color: #c62828;
}
@media (max-width: 600px) {
    .hero_btns {
        margin-inline: auto;
    }
    .modal_body {
        --field-center: 27.2px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero_btn,
    .hero_btn--img,
    .hero_btn--img img,
    .whatwedo_card,
    .whatwedo_card--arrow,
    .whatwedo_card--icon {
        transition: none;
    }
}


@media (hover: hover) and (pointer: fine) {
    .hero_btns:has(> button:hover) > .hero_btn,
    .hero_btns:has(> button:hover) > .hero_btn--img {
        background: var(--color-accent);
        color: #fff;
    }

    .hero_btns:has(> button:hover) > .hero_btn--img img {
        filter: brightness(0) invert(1);
    }
}

.innovation_card--img {
    display: none;
}

/* =========================================================
   ХОВЕР-ЭФФЕКТЫ — общий блок (одинаковый во всех CSS темы)
   ========================================================= */

:root {
    --hv-accent: #0098bf;
    --hv-accent-dark: #007a93;
    --hv-accent-tint: #d9eef4;
    --hv-dark: #051c28;
    --hv-card: #edf1f2;
    --hv-card-hover: #e3eaec;
    --hv-ease: cubic-bezier(.22, .61, .36, 1);
    --hv-fast: .2s;
    --hv-base: .3s;
    --hv-slow: .5s;
    --hv-shadow: 0 14px 34px rgb(5 28 40 / 10%);
    --hv-shadow-btn: 0 8px 20px rgb(0 152 191 / 28%);
}

/* AOS после появления элемента: убираем его задержки и длительности,
   чтобы ховер срабатывал сразу и плавно (класс ставит main.js). */
[data-aos][data-aos][data-aos].aos-animate.aos-done {
    transition-property: opacity, transform, translate, scale, background-color, border-color, box-shadow, color;
    transition-duration: var(--hv-base);
    transition-timing-function: var(--hv-ease);
    transition-delay: 0s;
}

/* Шапка */
.navbar_logo { transition: opacity var(--hv-fast) var(--hv-ease); }
.navbar_menu--link { position: relative; transition: color var(--hv-fast) var(--hv-ease); }
.navbar_menu--link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--hv-base) var(--hv-ease);
}
.navbar_lang--label { transition: color var(--hv-fast) var(--hv-ease); }
.navbar_drop--toggle { border-radius: 8px; transition: background-color var(--hv-fast) var(--hv-ease); }
.navbar_dropdown a { transition: background-color var(--hv-fast) var(--hv-ease), color var(--hv-fast) var(--hv-ease), padding-left var(--hv-fast) var(--hv-ease); }
.mobile_menu--link, .mobile_dropdown a, .lang-option { transition: color var(--hv-fast) var(--hv-ease); }
.mobile_menu--close { border-radius: 50%; transition: background-color var(--hv-fast) var(--hv-ease), rotate var(--hv-base) var(--hv-ease); }

/* Футер и хлебные крошки */
.footer_navbar--link, .footer_right--link, .footer_left--desc a {
    text-decoration: underline;
    text-decoration-color: transparent;
    text-underline-offset: 4px;
    transition: color var(--hv-fast) var(--hv-ease), text-decoration-color var(--hv-fast) var(--hv-ease);
}
.breadcrumb a { transition: color var(--hv-fast) var(--hv-ease); }

/* Кнопки и закрытие окон */
body .modal_submit, body .success_btn, body .solution_item--btn,
body :is(.contact_form, .euss-cv, .euss-work, .form) .form_btn {
    transition: background-color var(--hv-fast) var(--hv-ease), box-shadow var(--hv-base) var(--hv-ease), translate var(--hv-fast) var(--hv-ease), scale var(--hv-fast) var(--hv-ease), opacity .2s;
}
.modal_close, .success_close { transition: background-color var(--hv-fast) var(--hv-ease), rotate var(--hv-base) var(--hv-ease); }

@media (hover: hover) and (pointer: fine) {
    .navbar_logo:hover { opacity: .8; }
    .navbar_menu--link:hover::after,
    .navbar_item:hover > .navbar_menu--link::after { transform: scaleX(1); transform-origin: left; }
    .navbar_drop--toggle:hover { background-color: rgb(127 127 127 / 12%); }
    .navbar_lang:hover .navbar_lang--label { color: var(--hv-accent); }
    .navbar_dropdown a:hover { padding-left: 26px; background: #edf5f7; color: var(--hv-accent); }

    .mobile_menu--link:hover, .mobile_dropdown a:hover, .lang-option:hover { color: var(--hv-accent); }
    .mobile_menu--close:hover { background-color: var(--hv-card); rotate: 90deg; }

    .footer_navbar--link:hover, .footer_right--link:hover, .footer_left--desc a:hover {
        color: #59c6df;
        text-decoration-color: currentColor;
    }
    .breadcrumb a:hover { color: var(--hv-accent); }

    .modal_submit:hover, .success_btn:hover, .solution_item--btn:hover, .form_btn:hover:not(:disabled) {
        background-color: var(--hv-accent-dark);
        box-shadow: var(--hv-shadow-btn);
        translate: 0 -2px;
    }
    .modal_close:hover, .success_close:hover { background-color: rgb(255 255 255 / 18%); rotate: 90deg; }
}

/* Нажатие — заметно и на телефонах */
body .modal_submit:active, body .success_btn:active, body .solution_item--btn:active,
body :is(.contact_form, .euss-cv, .euss-work, .form) .form_btn:active:not(:disabled) {
    translate: 0 0;
    scale: .98;
    box-shadow: none;
}

/* Клавиатура — те же состояния, что при наведении */
.navbar_menu--link:focus-visible::after { transform: scaleX(1); }
.footer_navbar--link:focus-visible, .footer_right--link:focus-visible { color: #59c6df; text-decoration-color: currentColor; }

@media (prefers-reduced-motion: reduce) {
    .navbar_menu--link::after, .mobile_menu--close, .modal_close, .success_close,
    .modal_submit, .success_btn, .solution_item--btn, .form_btn { transition: none; }
    .mobile_menu--close:hover, .modal_close:hover, .success_close:hover { rotate: none; }
    .modal_submit:hover, .success_btn:hover, .solution_item--btn:hover, .form_btn:hover { translate: none; }
}

/* ---------- Главная ---------- */
@media (hover: hover) and (pointer: fine) {
    .header:is(.is-scrolled, .header--solid) .navbar_menu--link:hover { color: var(--hv-accent); }
}

/* Первый экран: кнопка + круглая стрелка работают как одна */
.hero_btn, .hero_btn--img { transition: background-color var(--hv-fast) var(--hv-ease), color var(--hv-fast) var(--hv-ease), box-shadow var(--hv-base) var(--hv-ease), scale var(--hv-fast) var(--hv-ease); }
.hero_btn--img img { transition: filter var(--hv-fast) var(--hv-ease), translate var(--hv-base) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
    .hero_btns:has(> button:hover) > .hero_btn,
    .hero_btns:has(> button:hover) > .hero_btn--img { box-shadow: 0 10px 26px rgb(0 152 191 / 35%); }
    .hero_btns:has(> button:hover) > .hero_btn--img img,
    .hero_btn--img:hover img { translate: 2px -2px; }
}
.hero_btn:active, .hero_btn--img:active { scale: .97; }

/* Услуги: иконка «всплывает» */
.service_card--icon { transition: translate var(--hv-slow) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
    .service_card:hover .service_card--icon { translate: 0 -8px; }
}

/* Направления (ссылки): подъём, тень, поворот стрелки */
.whatwedo_card { transition: background-color var(--hv-base) var(--hv-ease), box-shadow var(--hv-base) var(--hv-ease), translate var(--hv-base) var(--hv-ease); }
.whatwedo_card--arrow { transition: background-color var(--hv-base) var(--hv-ease), rotate var(--hv-base) var(--hv-ease); }
.whatwedo_card--link { transition: color var(--hv-fast) var(--hv-ease); }
.whatwedo_card--learn { transition: gap var(--hv-base) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
    .whatwedo_card:hover { translate: 0 -6px; box-shadow: var(--hv-shadow); }
    .whatwedo_card:hover .whatwedo_card--arrow { background: var(--hv-accent-tint); rotate: 45deg; }
    .whatwedo_card:hover .whatwedo_card--learn { gap: 14px; }
}
.whatwedo_card:focus-visible { translate: 0 -6px; box-shadow: var(--hv-shadow); }
.whatwedo_card:focus-visible .whatwedo_card--link { color: var(--hv-accent); }

/* Кнопка-контур «Все преимущества» */
.advantage_btn { transition: background-color var(--hv-base) var(--hv-ease), border-color var(--hv-base) var(--hv-ease), color var(--hv-base) var(--hv-ease), scale var(--hv-fast) var(--hv-ease); }
.advantage_btn--icon { transition: filter var(--hv-base) var(--hv-ease), translate var(--hv-base) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
    .advantage_btn:hover { background: var(--hv-dark); border-color: var(--hv-dark); color: #fff; }
    .advantage_btn:hover .advantage_btn--icon { filter: brightness(0) invert(1); translate: 4px 0; }
}
.advantage_btn:active { scale: .98; }

/* Фото ТШО: плавный зум внутри рамки */
.tsho_slide a { overflow: hidden; cursor: zoom-in; }
.tsho_slide img { transition: scale var(--hv-slow) var(--hv-ease); }
.tsho_pagination .swiper-pagination-bullet { transition: background-color var(--hv-fast) var(--hv-ease), scale var(--hv-fast) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
    .tsho_slide a:hover img { scale: 1.05; }
    .tsho_pagination .swiper-pagination-bullet:hover { background: #fff; scale: 1.3; }
}

/* Информационные карточки: мягкий отклик без «подъёма» (они не ссылки) */
.advantage_card, .innovation_card { transition: background-color var(--hv-base) var(--hv-ease); }
.advantage_card--icon, .innovation_card--num { transition: translate var(--hv-slow) var(--hv-ease); }
@media (hover: hover) and (pointer: fine) {
    .advantage_card:hover, .innovation_card:hover { background-color: var(--hv-card-hover); }
    .advantage_card:hover .advantage_card--icon, .innovation_card:hover .innovation_card--num { translate: 0 -6px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero_btn--img img, .service_card--icon, .whatwedo_card, .whatwedo_card--arrow, .whatwedo_card--learn,
    .advantage_btn, .advantage_btn--icon, .tsho_slide img, .advantage_card--icon, .innovation_card--num { transition: none; }
}