:root {
  --font-family: "Oddval", sans-serif;
  --second-family: "Inter", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

img {
    display: block;
    max-width: 100%;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    background: #fff;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: rgba(40, 40, 40, 0.9) !important;

    -webkit-box-shadow: 0 0 0 1000px transparent inset !important;
    box-shadow: 0 0 0 1000px transparent inset !important;

    border-color: #dadada !important;

    transition: background-color 9999s ease-in-out 0s;
}

.container {
    max-width: 1230px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.data-aos {
    width: 100%;
    height: 100%;
}

.data-aos-1 {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    z-index: 100;
    padding: 28px 0;
    border-bottom: 1px solid rgba(26, 87, 61, 0.08);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__list {
    display: flex;
    align-items: center;
    gap: 24px;
}

.navbar__link {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 130%;
    text-transform: uppercase;
    color: #000;
    transition: .2s ease-in;
}

.navbar__link:hover {
    color: #ed1c24;
}

.navbar__contact {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px 12px 12px;
    background: #000;
    border: 1px solid #000;
    color: #fff;
    transition: .25s ease-in;
}

.navbar__contact span {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
}

.navbar__contact:hover {
    background: #fff;
    color: #000;
}

section[id],
[id] {
    scroll-margin-top: 100px;   /* высота вашего фиксированного хедера + запас */
}

.hero {
    background: #fff;
}

.hero__box {
    padding-top: 99px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 520px;
    background: #fff;
    align-items: stretch;
    border-bottom: 2px solid #f0e9e9;
}

.hero__content-wrap {
    padding-left: max(20px, calc((100vw - 1230px) / 2 + 20px));
    padding-right: 40px;
    display: flex;
    align-items: center;
}

.hero__content {
    max-width: 567px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 16px;
}

.hero__content h1 {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 40px;
    line-height: 130%;
    text-transform: uppercase;
    color: #000;
}

.hero__content h1 strong {
    font-weight: 800;
    color: #ed1c24;
}

.hero__content p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 130%;
    color: rgba(0, 0, 0, 0.5);
}

.hero__btn {
    padding: 20px 24px;
    background: #000;
    border: 1px solid #000;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    text-transform: uppercase;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    transition: .25s ease-in;
}

.hero__btn:hover {
    color: #000;
    background: #fff;
}

.hero__image {
    position: relative;
    width: 100%;
    height: 493px;
    overflow: hidden;
    align-self: center;
}

.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.main {
    background: #fcf7f8;
    padding: 100px 0;
}

.section-gap {
    min-height: 380px;
    padding: 2px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 200px;
}

.grid-pattern {
    background-color: #fcf7f8;
    background-image:
        linear-gradient(#f0e9e9 2px, transparent 2px),
        linear-gradient(90deg, #f0e9e9 2px, transparent 2px);
    background-size: 99px 99px;
}

.about__title h2 {
    padding: 24px 32px 71px;
    background: #fcf7f8;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 39px;
    line-height: 130%;
    color: #000;
}

.about__title h2 strong {
    font-weight: 600;
    color: #ed1c24;
}

.about__grid {
    padding-top: 2px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

.about__card {
    width: 100%;
    min-height: 196px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: space-between;
    padding: 24px 32px;
    position: relative;
    overflow: hidden;
    background: #fff;
    transition: box-shadow .25s ease-in, background .25s ease-in;
}

.about__card:hover {
    background: #fefbfb;
    box-shadow: inset 0 0 0 2px rgba(237, 28, 36, 0.15);
}

.about__card--img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    transition: opacity .25s ease-in, transform .4s ease-in-out;
}

.about__card:hover .about__card--img {
    opacity: 1;
    transform: scale(1.05);
}

.about__card--num {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 49px;
    line-height: 100%;
    color: rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    transition: color .25s ease-in;
}

.about__card:hover .about__card--num {
    color: #ed1c24;
}

.about__card p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    color: #000;
    position: relative;
    z-index: 1;
}

.workflow {
    max-width: 1026px;
}

.workflow__title h2 {
    padding: 24px 32px;
    height: 97px;
    background: #fcf7f8;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 39px;
    line-height: 130%;
    color: #000;
    margin-bottom: 2px;
}

.workflow__title.title h2 {
    margin: 0;
}

.workflow__title h2 strong {
    color: #ed1c24;
}

.workflow__grid {
    background: #faf2f2;
    padding: 0 24px;
    height: 196px;
    display: grid;
    grid-template-columns: repeat(11, max-content);
    align-items: center;
    gap: 16px;
}

.workflow__card {
    max-width: 116px;
    width: 100%;
    padding: 0 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.workflow__num {
    width: 64px;
    height: 64px;
    background: #ed1c24;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 31px;
    line-height: 100%;
    color: #fff;
    transition: transform .25s ease-in, box-shadow .25s ease-in, background .25s ease-in;
}

.workflow__card:hover .workflow__num {
    background: #000;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.workflow__card p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #000;
    transition: color .25s ease-in;
}

.workflow__card:hover p {
    color: #ed1c24;
}

.benefits {
    background: #262626;
    padding: 24px 32px;
    height: 394px;
}

.benefits__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
}

.benefits__title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 39px;
    line-height: 130%;
    color: #fff;
}

.benefits__list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.benefits__item {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    padding: 32px 0px;
    transition: border-color .25s ease-in, padding-left .25s ease-in;
    cursor: default;
}

.benefits__item:last-child {
    border-bottom: none;
}

.benefits__item:hover {
    border-bottom-color: #ed1c24;
    padding-left: 12px;
}

.benefits__item p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #fff;
    transition: color .25s ease-in;
}

.benefits__item:hover p {
    color: #ed1c24;
}

.benefits__item span {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: rgba(255, 255, 255, 0.5);
    transition: color .25s ease-in;
}

.benefits__item:hover span {
    color: rgba(255, 255, 255, 0.85);
}




.industries__title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 32px;
    line-height: 130%;
    text-transform: none;
    color: #000;
    padding: 24px 32px 70px;
    background: #fcf7f8;
    min-height: 196px;
}

.industries__title strong {
    color: #ed1c24;
    font-weight: 800;
}

.industries__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 295px 196px 196px;
    gap: 2px;
    background: #f0e9e9;
    padding-top: 2px;
    width: 100%;
}

/* базовая карточка */
.industry-card {
    background: #fff;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    transition: box-shadow .25s ease-in, background .25s ease-in;
    cursor: pointer;
}

.industry-card:hover {
    box-shadow: inset 0 0 0 2px rgba(237, 28, 36, 0.2);
    z-index: 2;
}

.industry-card__num {
    font-family: var(--font-family);
    font-weight: 300;
    font-size: 49px;
    line-height: 100%;
    color: rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 1;
    transition: color .25s ease-in;
}

.industry-card:hover .industry-card__num {
    color: #ed1c24;
}

.industry-card__text {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    color: #000;
    position: relative;
    z-index: 1;
}

/* --- расстановка по сетке --- */

.industry-card--01 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.industry-card--image {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
    padding: 0 !important;
    cursor: pointer;
    overflow: hidden;
}

.industry-card--image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease-in-out;
}

.industry-card--image:hover img {
    transform: scale(1.05);
}

.industry-card--02 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    background: #f7f4ee;
    background-size: cover;
    background-position: center;
}

.industry-card--02 .industry-card__num {
    color: #000;
}

.industry-card--02:hover .industry-card__num {
    color: #ed1c24;
}

.industry__card--2-img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.industry__card--2-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.industry-card--03 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.industry-card--04 {
    grid-column: 3 / 4;
    grid-row: 2 / 4;
    background: #ed1c24;
    justify-content: space-between;
    transition: background .25s ease-in;
}

.industry-card--04:hover {
    box-shadow: none;
    background: #d4181f;
}

.industry-card--04 .industry-card__num {
    color: #fff;
}

.industry-card--04:hover .industry-card__num {
    color: #fff;
}

.industry-card--04 .industry-card__text {
    color: #fff;
}

.industry-card--contacts-photo {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    padding: 0 !important;
    background: #f0e9e9;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    height: 100%;
    cursor: default;
}

.industry-card--contacts-photo:hover {
    box-shadow: none;
}

.industry-card__icons {
    grid-column: 1 / 2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    height: 100%;
}

.industry-card__icon {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: .2s ease-in;
}

.industry-card__icon:hover {
    background: #ed1c24;
    color: #fff;
}

.industry-card__photo {
    grid-column: 2 / 3;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
}

.industry-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease-in-out;
}

.industry-card__photo:hover img {
    transform: scale(1.05);
}

.industry-card--05 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}




.services__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 32px 24px;
    background: #fff;
}

.services__text h2 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 39px;
    line-height: 130%;
    color: #000;
}

.services__text h2 strong {
    font-weight: 600;
    color: #ed1c24;
}

.service__desc {
    display: flex;
    align-items: start;
    gap: 10px;
}

.service__desc p {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 130%;
    color: #000;
}

.service__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    width: 100%;
    gap: 2px;
    margin-top: 2px;
}

.service__card {
    width: 100%;
    height: 100%;
    min-height: 196px;
    padding: 24px 29px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    background: #fff;
    position: relative;
    transition: box-shadow .25s ease-in;
    cursor: pointer;
}

.service__card:hover {
    box-shadow: inset 0 0 0 2px rgba(237, 28, 36, 0.2);
    z-index: 2;
}

.service__card p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 25px;
    line-height: 100%;
    color: #000;
    transition: color .25s ease-in;
}

.service__card:hover p {
    color: #ed1c24;
}



.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 2px;
    width: 100%;
    background: #f0e9e9;
    padding: 2px 0;
}

.solutions__grid > .data-aos {
    display: flex;
    min-width: 0;
}

.solutions__card {
    width: 100%;
    min-height: 196px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 29px;
    background: #fcf5f5;
    position: relative;
    transition: box-shadow .25s ease-in, background .25s ease-in;
    cursor: pointer;
}

.solutions__card:hover {
    background: #fff;
    box-shadow: inset 0 0 0 2px rgba(237, 28, 36, 0.25);
    z-index: 2;
}

.solutions__badge {
    margin-bottom: 38px;
    border-radius: 99px;
    padding: 8px 12px;
    background: #ed1c24;
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    color: #fff;
    transition: transform .25s ease-in;
}

.solutions__card:hover .solutions__badge {
    transform: translateY(-2px);
}

.solutions__card--text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    min-width: 0;
}

.solutions__card--text p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    color: #000;
    transition: transform .2s ease-in;
    min-height: 40px;
    display: flex;
    align-items: end;
}

.solutions__card:hover .solutions__card--text p {
    transform: translateY(-2px);
}

.solutions__card--tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    width: 100%;
}

.solutions__card--tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 8px 12px;
    background: #fff;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    transition: transform .2s ease-in, box-shadow .2s ease-in;
}

.solutions__card--logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 18px;
    object-fit: contain;
}

.solutions__card--tag span {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    color: #000;
}

.solutions__card:hover .solutions__card--tag {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
}

.cta {
    background: #ed1c24;
    height: 295px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.cta__title {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 49px;
    line-height: 110%;
    text-align: center;
    color: #fff;
}

.cta__btn {
    padding: 12px 16px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #000;
}

.cta__btn {
    padding: 12px 16px;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: box-shadow .25s ease-in, background .25s ease-in, color .25s ease-in;
}

.cta__btn:hover {
    background: #000;
    color: #fff;
    box-shadow: 0 10px 24px 0 rgba(0, 0, 0, 0.35);
}

.footer {
    background: #262626;
    position: relative;
}

.footer__info {
    padding: 40px 0;
}

.footer__info .container {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 69px;
}

.footer__policy {
    font-family: var(--second-family);
    font-weight: 400;
    font-size: 13px;
    line-height: 140%;
    color: rgba(255, 255, 255, 0.5);
}

.footer__policy a {
    font-weight: 700;
    color: #fff;
}

.footer__contacts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
    gap: 24px;
}

.footer__card {
    max-width: 247px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer__card--content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.footer__card--content span {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    line-height: 140%;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.footer__card--link {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.footer__card--link a {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    line-height: 140%;
    color: #fff;
    transition: .2s ease-in;
}

.footer__card--link a:hover {
    color: #ed1c24;
}

.footer-decor {
    width: 100%;
    height: 100%;
}




.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.is-open {
    display: flex;
}

.modal__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity .25s ease-in;
}

.modal.is-open .modal__overlay {
    opacity: 1;
}

.modal__content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    padding: 40px;
    z-index: 1;
    transform: translateY(20px);
    opacity: 0;
    transition: transform .3s ease-out, opacity .3s ease-out;
}

.modal.is-open .modal__content {
    transform: translateY(0);
    opacity: 1;
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    transition: transform .2s ease-in, color .2s ease-in;
}

.modal__close:hover {
    transform: rotate(90deg);
    color: #ed1c24;
}

.modal__title {
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 28px;
    line-height: 130%;
    text-transform: uppercase;
    color: #000;
    margin-bottom: 8px;
}

.modal__subtitle {
    font-family: var(--second-family);
    font-weight: 500;
    font-size: 15px;
    line-height: 130%;
    color: rgba(0, 0, 0, 0.5);
    margin-bottom: 24px;
}

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

.modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal__field label {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.5);
}

.modal__field input,
.modal__field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #dadada;
    font-family: var(--second-family);
    font-size: 15px;
    color: #000;
    resize: none;
    transition: border-color .2s ease-in;
}

.modal__field input:focus,
.modal__field textarea:focus {
    outline: none;
    border-color: #ed1c24;
}

.modal__submit {
    padding: 16px 24px;
    background: #000;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    margin-top: 8px;
    transition: background .25s ease-in, transform .25s ease-in;
}

.modal__submit:hover {
    background: #ed1c24;
    transform: translateY(-2px);
}

.modal__submit:active {
    transform: translateY(0);
}

.modal__policy {
    font-family: var(--second-family);
    font-size: 12px;
    line-height: 140%;
    color: rgba(0, 0, 0, 0.4);
    margin-top: 4px;
}

.modal__policy a {
    color: rgba(0, 0, 0, 0.6);
    text-decoration: underline;
}

.modal__success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0;
}

.modal__success.active {
    display: flex;
}

.modal__title,
.modal__subtitle {
    transition: opacity .2s ease-in;
}

.modal__success.active ~ .modal__title,
.modal__success.active ~ .modal__subtitle {
    display: none;
}

.modal__success p {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 22px;
    color: #000;
    margin: 16px 0 8px;
}

.modal__success span {
    font-family: var(--second-family);
    font-size: 14px;
    color: rgba(0, 0, 0, 0.5);
}

body.modal-open {
    overflow: hidden;
}









/* burger button, hidden on desktop */
.navbar__burger {
    display: none;
    position: relative;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 1002;
    flex-shrink: 0;
}

.navbar__burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #000;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.navbar__burger span:nth-child(1) {
    top: 0;
}

.navbar__burger span:nth-child(2) {
    top: 11px;
}

.navbar__burger span:nth-child(3) {
    top: 22px;
}

.navbar__burger.is-active span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.navbar__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.navbar__burger.is-active span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* mobile menu panel, hidden by default */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background-color: #ffffff;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-16px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-menu__inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100dvh;
    padding: 100px 20px 40px;
}

.mobile-menu__list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mobile-menu__link {
    display: block;
    padding: 16px 0;
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 18px;
    line-height: 130%;
    text-transform: uppercase;
    color: #000;
    border-bottom: 1px solid #f0e9e9;
    transition: color 0.2s ease;
}

.mobile-menu__link:active,
.mobile-menu__link.is-current {
    color: #ed1c24;
}

.mobile-menu__contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    padding: 16px 20px;
    background-color: #000;
    border: 1px solid #000;
    color: #ffffff;
    transition: .25s ease-in;
}

.mobile-menu__contact span {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
}

.mobile-menu__contact:hover {
    background: #fff;
    color: #000;
}

body.menu-open {
    overflow: hidden;
}

@media (max-width: 520px) {
    .modal__content {
        padding: 28px 20px;
    }

    .modal__title {
        font-size: 22px;
    }
}






/* =========================
   ACARYX — RESPONSIVE
   Desktop First
   ========================= */

/* Общая защита от переполнения */
main,
section,
.container,
.hero__box,
.section-gap,
.about,
.workflow,
.benefits,
.industries,
.services,
.solutions,
.footer,
.about__grid,
.workflow__grid,
.industries__grid,
.service__grid,
.solutions__grid,
.footer__contacts {
    min-width: 0;
}

.about__grid > *,
.workflow__grid > *,
.industries__grid > *,
.service__grid > *,
.solutions__grid > *,
.footer__contacts > * {
    min-width: 0;
}


.hero__logos {
    width: 100%;
    background: #fff;
    border-bottom: 2px solid #f0e9e9;
    padding: 24px 20px;
    overflow: hidden;
    position: relative;
}

.hero__logos-track {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.hero__logos-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.hero__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 81px;
    flex-shrink: 0;
}

.hero__logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* режим карусели — 7+ логотипов, класс приходит сразу из Twig */
.hero__logos.is-marquee {
    padding: 24px 0;
}

.hero__logos.is-marquee .hero__logos-track {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: max-content;
    gap: 60px;
    animation: heroLogosScroll 25s linear infinite;
}

.hero__logos.is-marquee .hero__logos-group {
    flex-wrap: nowrap;
    gap: 60px;
    flex-shrink: 0;
}

.hero__logos.is-marquee:hover .hero__logos-track {
    animation-play-state: paused;
}

@keyframes heroLogosScroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    .hero__logos {
        padding: 20px 16px;
    }

    .hero__logos-track,
    .hero__logos-group {
        gap: 24px;
    }

    .hero__logos.is-marquee {
        padding: 20px 0;
    }

    .hero__logos.is-marquee .hero__logos-track,
    .hero__logos.is-marquee .hero__logos-group {
        gap: 32px;
    }

    .hero__logos.is-marquee .hero__logos-track {
        animation-duration: 18s;
    }
}

/* =========================
   ≤ 1199px
   Небольшая корректировка десктопа
   ========================= */
@media (max-width: 1199px) {
    .container {
        max-width: 100%;
    }

    .navbar__list {
        gap: 16px;
    }

    .navbar__link {
        font-size: 12px;
    }

    .hero__content-wrap {
        padding-left: 32px;
        padding-right: 32px;
    }

    .hero__content {
        max-width: 500px;
    }

    .hero__content h1 {
        font-size: 34px;
    }

    .hero__content p {
        font-size: 17px;
    }

    .workflow {
        max-width: 100%;
    }

    .workflow__grid {
        height: auto;
        grid-template-columns: none;
        grid-auto-columns: max-content;
        grid-auto-flow: column;
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 16px;
        gap: 12px;
    }

    .workflow__card {
        flex-shrink: 0;
    }

    .workflow__card {
        padding: 0 12px;
    }

    .benefits {
        height: auto;
    }

    .footer__contacts {
        gap: 16px;
    }

    .footer__card--link a {
        font-size: 18px;
    }

    .industries__grid {
        grid-template-rows: minmax(260px, auto) minmax(180px, auto) minmax(180px, auto);
    }
}


/* =========================
   ≤ 991px
   Планшет
   ========================= */
@media (max-width: 991px) {
    .header {
        padding: 22px 0;
    }

    .navbar__list,
    .navbar__contact {
        display: none;
    }

    .navbar__burger {
        display: block;
    }

    .hero__box {
        grid-template-columns: 1fr;
        padding-top: 88px;
        min-height: 0;
    }

    .hero__content-wrap {
        padding: 40px 20px 32px;
    }

    .hero__content {
        max-width: 100%;
        height: auto;
    }

    .hero__content h1 {
        font-size: 30px;
    }

    .hero__content p {
        font-size: 16px;
    }

    .hero__btn {
        padding: 16px 20px;
        font-size: 16px;
    }

    .hero__image {
        height: 320px;
    }

    .main {
        padding: 60px 0;
    }

    .section-gap {
        gap: 100px;
    }

    .grid-pattern {
        background-size: 60px 60px;
    }

    .about__title h2,
    .workflow__title h2,
    .services__text h2 {
        padding: 20px;
        font-size: 28px;
    }

    .workflow__title h2 {
        height: auto;
    }

    .about__card,
    .service__card,
    .solutions__card {
        padding: 20px;
    }

    .about__card--num,
    .industry-card__num {
        font-size: 38px;
    }

    .about__card p,
    .service__card p,
    .industry-card__text {
        font-size: 20px;
    }

    .workflow {
        width: 100%;
        max-width: 100%;
    }

    .workflow__grid {
        width: 100%;
        height: auto;
        grid-template-columns: none;
        grid-auto-columns: max-content;
        grid-auto-flow: column;
        justify-content: flex-start;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 24px 20px;
        gap: 14px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }

    .workflow__card {
        width: 90px;
        max-width: 90px;
        padding: 0 8px;
        gap: 14px;
        flex-shrink: 0;
    }

    .workflow__num {
        width: 50px;
        height: 50px;
        font-size: 23px;
    }

    .workflow__card p {
        font-size: 13px;
    }

    .benefits {
        padding: 24px;
    }

    .benefits__title {
        font-size: 30px;
    }

    .benefits__item {
        padding: 22px 0;
    }

    .benefits__item p,
    .benefits__item span {
        font-size: 14px;
    }

    .industries__title {
        min-height: 0;
        padding: 20px 24px 40px;
        font-size: 26px;
    }

    .industries__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(4, 220px);
        grid-auto-rows: 220px;
    }

    .industry-card--01 {
        grid-column: 1;
        grid-row: 1;
    }

    .industry-card--image {
        grid-column: 2;
        grid-row: 1;
        width: 100%;
        height: 220px;
        min-height: 220px;
    }

    .industry-card--image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .industry-card--02 {
        grid-column: 1;
        grid-row: 2;
    }

    .industry-card--03 {
        grid-column: 2;
        grid-row: 2;
    }

    .industry-card--04 {
        grid-column: 1;
        grid-row: 3;
    }

    .industry-card--contacts-photo {
        grid-column: 2;
        grid-row: 3;
        width: 100%;
        height: 220px;
        min-height: 220px;
    }

    .industry-card--05 {
        grid-column: 1 / -1;
        grid-row: 4;
    }

    .industry-card {
        min-height: 0;
    }

    .services__text {
        padding: 16px 20px 20px;
    }

    .solutions__card--text p {
        font-size: 18px;
    }

    .solutions__card--tags {
        flex-wrap: wrap;
    }

    .cta {
        height: auto;
        padding: 44px 20px;
    }

    .cta__title {
        font-size: 38px;
    }

    .footer__info .container {
        gap: 32px;
    }

    .footer__contacts {
        gap: 14px;
    }

    .footer__card {
        max-width: 200px;
    }

    .footer__card--link a {
        font-size: 17px;
    }
}


/* =========================
   ≤ 767px
   Мобильный
   ========================= */
@media (max-width: 767px) {
    .header {
        padding: 18px 0;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero__box {
        padding-top: 76px;
    }

    .hero__content-wrap {
        padding: 28px 16px 24px;
    }

    .hero__content {
        gap: 12px;
    }

    .hero__content h1 {
        font-size: 24px;
    }

    .hero__content p {
        font-size: 14px;
    }

    .hero__btn {
        width: 100%;
        padding: 15px 16px;
        margin-top: 8px;
        font-size: 14px;
    }

    .hero__image {
        height: 240px;
    }

    .main {
        padding: 40px 0;
    }

    .section-gap {
        gap: 60px;
    }

    .grid-pattern {
        background-size: 40px 40px;
    }

    .about__grid {
        grid-template-columns: 1fr;
    }

    .about__title h2,
    .workflow__title h2,
    .services__text h2 {
        padding: 16px;
        font-size: 22px;
    }

    .about__card,
    .service__card,
    .solutions__card {
        min-height: 170px;
        padding: 16px;
    }

    .about__card--num,
    .industry-card__num {
        font-size: 30px;
    }

    .about__card p,
    .service__card p,
    .industry-card__text {
        font-size: 17px;
    }

    .workflow__grid {
        padding: 18px 16px;
        gap: 12px;
    }

    .workflow__card {
        width: 76px;
        max-width: 76px;
        padding: 0;
        gap: 10px;
    }

    .workflow__num {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .workflow__card p {
        font-size: 11px;
    }

    .benefits {
        padding: 20px 16px;
    }

    .benefits__content {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .benefits__title {
        font-size: 22px;
    }

    .benefits__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 14px 0;
    }

    .industries__title {
        min-height: 0;
        padding: 16px 16px 24px;
        font-size: 21px;
    }

    .industries__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
    }

    .industry-card--01,
    .industry-card--image,
    .industry-card--02,
    .industry-card--03,
    .industry-card--04,
    .industry-card--contacts-photo,
    .industry-card--05 {
        grid-column: 1;
        grid-row: auto;
    }

    .industry-card {
        min-height: 170px;
        padding: 16px;
    }

    .industry-card--image {
        height: 220px;
        min-height: 0;
    }

    .industry-card--contacts-photo {
        grid-template-columns: 1fr 1fr;
        height: 180px;
        min-height: 0;
    }

    .services__text {
        padding: 14px 16px 18px;
    }

    .service__grid,
    .solutions__grid {
        grid-template-columns: 1fr;
    }

    .solutions__card--tags {
        flex-wrap: wrap;
    }

    .cta {
        padding: 36px 16px;
        gap: 16px;
    }

    .cta__title {
        font-size: 28px;
    }

    .cta__btn {
        width: 100%;
    }

    .footer__info .container {
        flex-direction: column;
        gap: 28px;
    }

    .footer__content {
        gap: 36px;
    }

    .footer__contacts {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer__card {
        max-width: 100%;
    }
}


/* =========================
   ≤ 575px
   Маленький мобильный
   ========================= */
@media (max-width: 575px) {
    .hero__content h1 {
        font-size: 21px;
    }

    .hero__content p {
        font-size: 13px;
    }

    .hero__image {
        height: 190px;
    }

    .about__title h2,
    .workflow__title h2,
    .services__text h2,
    .industries__title {
        font-size: 19px;
    }

    .about__card,
    .service__card,
    .solutions__card,
    .industry-card {
        min-height: 150px;
    }

    .about__card--num,
    .industry-card__num {
        font-size: 26px;
    }

    .about__card p,
    .service__card p,
    .industry-card__text {
        font-size: 15px;
    }

    .workflow__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        grid-auto-columns: unset;
        grid-auto-flow: row;
        overflow-x: hidden;
        gap: 20px 12px;
        padding: 16px;
    }

    .workflow__grid > svg {
        display: none;
    }

    .workflow__card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 0;
    }

    .workflow__num {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .industry-card--contacts-photo {
        grid-template-columns: 1fr;
        height: auto;
    }

    .industry-card__icons {
        grid-column: 1;
        min-height: 180px;
    }

    .solutions__card--tags span {
        padding: 7px 10px;
        font-size: 12px;
    }

    .cta__title {
        font-size: 22px;
    }

    .modal {
        padding: 12px;
    }

    .modal__content {
        padding: 28px 20px;
    }

    .modal__title {
        padding-right: 36px;
        font-size: 22px;
    }
}