:root {
    --clr-white: #fff;
    --clr-black: #111827;
    --clr-blue-1:#002F77;
    --clr-blue-2:#8097BB;
    --clr-blue-3:#B3C1D6;
    --clr-grey-1: #F2F5F8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    overflow-x: hidden;
}
body {
    font-family: 'Inter', sans-serif;
    color: var(--clr-blue-1);
    font-size: 19px;
    font-weight: 500;
    overflow-x: hidden;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

ul {
    margin: 0;
    padding: 0;
}

li {
    display: block;
}

a {
    text-decoration: none;
    display: block;
}

.flex-s-c {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.flex-e-c {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}
.flex-s-s {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
}
.flex-b-c {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.flex-c-c {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.column-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
}
.col-1 {
    grid-area: 1 / 1 / 2 / 2;
}
.col-2 {
    grid-area: 1 / 2 / 2 / 3;
}
.col-3 {
    grid-area: 1 / 3 / 2 / 4;
}
.col-4 {
    grid-area: 1 / 4 / 2 / 5;
}
.col-2parts {
    grid-area: 1/2/2/4;
   }
.col-3parts {
    grid-area: 1/2/2/5;
   }
section {
    margin: 70px 0;
}
section.main {
    margin-top: 0px;
}
/*HEADER*/
header {
    padding: 5px 0;
}
.header__container {
    gap: 24px;
}

.header__brand {
    gap: 14px;
    flex-shrink: 0;
}

.logo__img {
    display: block;
    height: 60px;
    width: auto;
    object-fit: contain;
}

.header__tagline {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--clr-blue-1);
}

.nav__list {
    gap: 40px;
}

.nav__link {
    position: relative;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--clr-blue-1);
    padding: 6px 0;
    white-space: nowrap;
}

.nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--clr-blue-1);
    transition: width 0.5s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.header__contacts {
    gap: 16px;
    flex-shrink: 0;
}

.header__schedule {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    font-size: 14px;
    line-height: 1.3;
    color: var(--clr-blue-2);
    font-weight: 400;
}

.header__actions {
    gap: 8px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: background-color 0.2s ease;
}

.icon-btn--muted {
    background-color: var(--clr-blue-3);
    color: var(--clr-white);
}

.icon-btn--muted:hover {
    background-color: var(--clr-blue-2);
}

.btn {
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    padding: 0 20px;
    font-size: 16px;
    height: 38px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn--primary {
    background-color: var(--clr-blue-1);
    color: var(--clr-white);
}

.btn--primary:hover {
    background-color: #002154;
}

.btn--outline {
    background-color: transparent;
    color: var(--clr-blue-1);
    border: 1px solid var(--clr-blue-3);
}

.btn--outline:hover {
    border-color: var(--clr-blue-1);
    background-color: var(--clr-grey-1);
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 10px;
    background: var(--clr-grey-1);
    border: none;
    border-radius: 2px;
    cursor: pointer;
}

.burger__line {
    width: 30px;
    height: 1.7px;
    background-color: var(--clr-blue-1);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.burger--open .burger__line:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

.burger--open .burger__line:nth-child(2) {
    opacity: 0;
}

.burger--open .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}.mobile-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100dvh;
    z-index: 1000;
    background-color: var(--clr-white);
    overflow-y: auto;
}

/* Верхняя панель: логотип слева, крестик справа */
.mobile-menu__top {
    padding: 5px 0;
    flex-shrink: 0;
}

.mobile-menu__close {
    position: relative;
    width: 44px;
    height: 44px;
    background: var(--clr-grey-1);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu__close span {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 24px;
    height: 2px;
    background-color: var(--clr-blue-1);
    border-radius: 2px;
}

.mobile-menu__close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Тело меню: ссылки сверху, блок связи прижат вниз */
.mobile-menu__inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 16px 15px 30px;
}

.mobile-menu__list {
    list-style: none;
    margin: 0;
    padding: 20px 5px;
}

.mobile-menu__link {
    display: block;
    padding: 16px 0;
    font-size: 18px;
    color: var(--clr-blue-1);
    border-bottom: 1px solid var(--clr-grey-1);
}

/* Нижний блок «Свяжитесь с нами» */
.mobile-menu__footer {
    margin-top: 24px;
    padding: 15px 15px 20px 15px;
    background: var(--clr-grey-1);
    border-radius: 10px;
}

.mobile-menu__contact-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 500;
}

.mobile-menu__actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    margin-top: 20px;
}

.mobile-menu__actions .btn {
    flex: 1 1 0;
    width: auto;
    padding: 0 12px;
}
.btn__icon {
    margin-right: 5px;
}
.mobile-menu__contact-address {
    font-size: 18px;
    margin-bottom: 5px;
}

/*HERO*/

.hero__container {
    position: relative;
    min-height: 670px;
    padding-top: 60px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    background: url('./images/main.png') right bottom / cover no-repeat;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 65%;
}

.hero__title {
    font-size: 115px;
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--clr-blue-1);
    text-transform: uppercase;
}

.hero__subtitle {
    display: block;
    font-size:40px;
    font-weight: 500;
    line-height: 1.22;
    letter-spacing: -0.01em;
    text-transform: none;
}

.hero__desc {
    margin-top: 20px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--clr-blue-1);
}

.hero__location {
    gap: 10px;
    margin-top: 30px;
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 500;
    color: var(--clr-blue-1);
}

.hero__arrow {
    flex-shrink: 0;
}

.hero__btn {
    display: inline-flex;
    margin-top: 80px;
    min-height: 50px;
    padding: 0 25px;
    font-size: 16px;
}
.hero__btn svg {
    margin-right: 5px;
}

/*ABOUT*/

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 20px 6px 15px;
    border-radius: 999px;
    background-color: var(--clr-grey-1);
    color: var(--clr-blue-1);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
}

.badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--clr-blue-1);
    flex-shrink: 0;
    margin-right: 5px;
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.about__main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    gap: 28px;
}

.about__lead {
    font-size: 34px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-3);
}

.about__highlight {
    font-weight: 500;
    color: var(--clr-blue-1);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 5px;
}

.about__caption {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-1);
}

.about__side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

.about__text {
    font-size: 20px;
    font-weight: 400;
    color: var(--clr-blue-1);
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 155px;
    padding: 22px 24px;
    border-radius: 10px;
    background-color: var(--clr-grey-1);
}

.stat-card__value {
    font-size: clamp(32px, 2.8vw, 42px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--clr-blue-1);
}

.stat-card__label {
    margin-top: 18px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.35;
    color: var(--clr-blue-1);
}


/*SERVICES*/
.services {
    background: var(--clr-grey-1);
    padding: 70px 0;
}
.services .badge, .advantages .badge  {
    background: var(--clr-white);
}
.section-title {
    font-size: 36px;
    font-weight: 500;
    color: var(--clr-blue-1);
    line-height: 1.2;
}

.tag {
    display: inline-block;
    padding: 6px 12px;
    border: 1px solid var(--clr-blue-3);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-2);
}

.services__header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.services__intro {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.services__desc {
    margin-top: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-1);
}

.services__label {
    margin-top: 26px;
    font-weight: 500;
    color: var(--clr-blue-1);
}

.services__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.services__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.services__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px 28px;
    border-radius: 10px;
    background-color: var(--clr-white);
}

.service-row__head {
    gap: 10px;
}

.service-row__num {
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    color: var(--clr-blue-1);
    transform: translateY(-2px);
}

.service-row__title {
    font-size: 24px;
    font-weight: 500;
    color: var(--clr-blue-1);
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 4px;
}

.service-row__items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-row__items li {
    position: relative;
    padding-left: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-1);
}

.service-row__items li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: var(--clr-blue-1);
}

/*PROJECTS*/

.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.project-card {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    background-color: var(--clr-grey-1);
    overflow: hidden;
}

.project-card__media {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
}

.project-card__img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card__media:hover .project-card__img {
    transform: scale(1.03);
}

.project-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 24px 24px;
}

.project-card__title {
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--clr-blue-1);
}

.project-card__desc {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--clr-blue-2);
}

.project-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    margin-top: auto;
    padding: 24px 0 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 400;
    color: var(--clr-blue-2);
    cursor: pointer;
    transition: color 0.2s ease, gap 0.2s ease;
}

.project-card__more:hover {
    color: var(--clr-blue-1);
    gap: 10px;
}

.project-modal {
    margin: auto;
    padding: 0;
    width: 90vw;
    max-width: 1400px;
    height: 75vh;
    max-height: 600px;
    border: none;
    border-radius: 14px;
    background-color: var(--clr-white);
    color: var(--clr-blue-1);
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}

.project-modal::backdrop {
    background-color: rgba(17, 24, 39, 0.85);
    backdrop-filter: blur(3px);
}

.project-modal__box {
    position: relative;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    width: 100%;
    height: 100%;
}

.project-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background-color: var(--clr-grey-1);
    color: var(--clr-blue-1);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-modal__close:hover {
    background-color: var(--clr-blue-3);
    transform: scale(1.05);
}

.project-modal__gallery {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 0;
    background-color: var(--clr-black);
    overflow: hidden;
}

.project-modal__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-modal__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--clr-blue-1);
    font-size: 24px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.project-modal__arrow:hover {
    background-color: var(--clr-white);
    transform: translateY(-50%) scale(1.06);
}

.project-modal__arrow--prev {
    left: 20px;
}

.project-modal__arrow--next {
    right: 20px;
}

.project-modal__dots {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background-color: rgba(17, 24, 39, 0.45);
}

.project-modal__dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.project-modal__dot.is-active {
    background-color: var(--clr-white);
    transform: scale(1.25);
}

.project-modal__info {
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 100%;
    padding: 36px 56px 36px 36px;
    overflow-y: auto;
}

.project-modal__title {
    font-size: 26px;
    font-weight: 500;
    color: var(--clr-blue-1);
}

.project-modal__desc {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-1);
}

.project-modal__meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--clr-blue-3);
    font-size: 16px;
}

.project-modal__meta-row {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.project-modal__meta dt {
    color: var(--clr-blue-2);
}

.project-modal__meta dd {
    color: var(--clr-blue-1);
    font-weight: 500;
}
.project-modal__arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.92);
    color: var(--clr-blue-1);
    line-height: 0;
    flex-shrink: 0;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.project-modal__arrow:hover {
    background-color: var(--clr-white);
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.project-modal__arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.project-modal__arrow:focus-visible {
    outline: 2px solid var(--clr-blue-1);
    outline-offset: 2px;
}

.project-modal__arrow--prev {
    left: 20px;
}

.project-modal__arrow--prev svg {
    transform: translateX(-1px); /* визуальная центровка шеврона влево */
}

.project-modal__arrow--next {
    right: 20px;
}

.project-modal__arrow--next svg {
    transform: translateX(1px); /* визуальная центровка шеврона вправо */
}
/*LISENCE*/

.lisence__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: 20px;
    align-items: flex-end;
    margin-top: 30px;
}

.lisence__preview {
    border-radius: 10px;
    background-color: var(--clr-grey-1);
    overflow: hidden;
    padding: 20px;
}

.lisence__preview img {
    display: block;
    width: 100%;
    object-fit: cover;
}

.lisence__list {
    margin: 0;
}

.lisence__row {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 20px;
    align-items: start;
    padding: 20px 0;
    border-top: 1px solid var(--clr-blue-3);
}

.lisence__row:last-child {
    border-bottom: 1px solid var(--clr-blue-3);
}

.lisence__term {
    font-weight: 500;
    color: var(--clr-blue-1);
}

.lisence__value {
    margin: 0;
    font-weight: 400;
}


/*ADVANTAGES*/
.advantages  {
    background: var(--clr-grey-1);
    padding: 70px 0;
}
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.adv-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 290px;
    padding: 20px;
    border-radius: 10px;
    background: var(--clr-white);
    border: 1px solid var(--clr-grey-1);
}

.adv-card__head {
    justify-content: space-between;
    gap: 12px;
}

.adv-card__title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--clr-blue-1);
}

.adv-card__dots {
    display: grid;
    grid-template-columns: repeat(2, 10px);
    gap: 5px;
    flex-shrink: 0;
}

.adv-card__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--clr-blue-3);
}

.adv-card--step-1 .adv-card__dots span:nth-child(-n + 1),
.adv-card--step-2 .adv-card__dots span:nth-child(-n + 2),
.adv-card--step-3 .adv-card__dots span:nth-child(-n + 3),
.adv-card--step-4 .adv-card__dots span:nth-child(-n + 4) {
    background-color: var(--clr-blue-1);
}

.adv-card__text {
    margin-top: 40px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

/*FAQ*/

.faq__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

.faq-item {
    border-radius: 10px;
    background-color: var(--clr-grey-1);
    overflow: hidden;
}

.faq-item__head {
    padding: 20px 24px;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.faq-item__head::-webkit-details-marker {
    display: none;
}

.faq-item__question {
    font-size: 17px;
    font-weight: 400;
    color: var(--clr-blue-1);
}

.faq-item__icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    color: var(--clr-blue-1);
    flex-shrink: 0;
    transform: rotate(180deg);
    transition: transform 0.35s ease, background-color 0.25s ease;
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(0deg);
    background-color: var(--clr-blue-3);
}

.faq-item__body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    transition: grid-template-rows 0.35s ease, opacity 0.25s ease;
}

.faq-item.is-open .faq-item__body {
    grid-template-rows: 1fr;
    opacity: 1;
}

.faq-item__inner {
    overflow: hidden;
    padding: 0 24px 22px;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--clr-blue-1);
}
/*CONTACTS*/
.contacts {
    margin-bottom: 30px !important;
}
.contacts__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
    align-items: stretch;
}

.contacts__card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 30px;
    border-radius: 10px;
    background-color: var(--clr-blue-1);
    color: var(--clr-white);
}

.contacts__company {
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--clr-white);
}

.contacts__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0px;
}

.contacts__block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contacts__label {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-3);
}

.contacts__value {
    font-style: normal;
    font-size: 16px;
    font-weight: 400;
    color: var(--clr-white);
}

.contacts__link {
    display: inline-block;
}

.contacts__map {
    min-height: 380px;
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--clr-grey-1);
}

.contacts__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
}

.copy-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
}

.copy-email__text {
    display: inline-block;
    line-height: 1.2;
}

.copy-email__icon {
    display: block;
    flex-shrink: 0;
    opacity: 0.75;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-email:hover .copy-email__icon {
    opacity: 1;
}

.copy-email__icon--check,
.copy-email.is-copied .copy-email__icon--copy {
    display: none;
}

.copy-email.is-copied .copy-email__icon--check {
    display: block;
    opacity: 1;
    transform: scale(1.1);
}

/*FOOTER*/

.footer {
    padding-bottom: 30px;
}

.footer__top {
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--clr-blue-3);
    border-bottom: 1px solid var(--clr-blue-3);
}

.footer__list {
    flex-wrap: wrap;
    gap: 50px;
}

.footer__link {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-1);
    transition: opacity 0.2s ease;
}

.footer__link:hover {
    opacity: 0.7;
}
.footer__copy {
    white-space: nowrap;
    margin-right: 20px;
}
.footer__bottom {
    padding-top: 24px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    color: var(--clr-blue-1);
}
.project-modal__arrow[hidden],
.project-modal__dots[hidden] {
  display: none;
}
.mobile-fixed-actions {
    display: none;
}
@media screen and (max-width: 1439px) {
  .container {
    max-width: 1280px;
  }
  section {
    margin: 50px 0;
  }
  .nav__list {
    gap: 25px;
}
.hero__title {
    font-size: 100px;
}
.hero__subtitle {
    font-size: 36px;
}
.hero__container {
    min-height: 620px;
    padding-top: 40px;
    padding-bottom: 40px;
}
.about__lead {
    font-size: 30px;
}
.section-title {
    font-size: 32px;
}
.services, .advantages {
    padding: 50px 0;
}
.project-modal {
    width: 95vw;
    max-width: 1240px;
    height: 85vh;
    max-height: 500px;
}
.tag {
    padding: 6px 10px;
}
.services__img {
    height: 400px;
}

}
@media screen and (max-width: 1279px) {
  .container {
    max-width: 1024px;
  }
.header__schedule {
    display: none;
}

.nav__list {
    gap: 20px;
}
.hero__title {
    font-size: 80px;
}
.hero__subtitle {
    font-size: 28px;
}
.hero__desc {
    font-size: 20px;
}
    .hero__container {
        min-height: 520px;
    }
.hero__btn {
    margin-top: 60px;
}
    .about__lead {
        font-size: 26px;
    }
    .about__text {
        font-size: 18px;
    }
    .about__stats, .about__grid, .services__header, .service-row, .projects__grid,.lisence__row, .advantages__grid, .contacts__grid {
        gap: 10px;
    }
    .stat-card {
        padding: 15px;
        min-height: 140px;
    }
    .section-title {
        font-size: 28px;
    }
    .services__tags {
        gap: 5px;
    }

.services__img {
    max-width: 100%;
    object-fit: cover;
}
.service-row__title {
    font-size: 22px;
}
.service-row {
    padding: 20px 15px;
}
.project-card__body {
    padding: 15px 15px 20px 15px;
}
.lisence__grid {
    display: block;
}
.lisence__preview {
    display: none;
}
.advantages__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.adv-card__title {
    font-size: 22px;
}
.contacts__row {
    display: block;
}
.contacts__block {
    margin-top: 15px;
    gap: 0;
}
.footer__top {
    padding: 10px 0;
}
.contacts__company {
    font-size: 26px;
}
.faq-item__head {
    padding: 20px;
}
    .project-modal {
        max-height: 400px;
    }
    .project-modal__info {
        padding: 20px;
    }
    .project-modal__title {
        font-size: 22px;
    }
}
@media screen and (max-width: 1024px) {
  .container {
    max-width: 920px;
  }
      .hero__container {
        min-height: 450px;
    }
        .about__lead {
        font-size: 24px;
    }
    .services, .advantages {
        padding: 40px 0;
    }
    section {
        margin: 40px 0;
    }
    .footer__list {
    flex-wrap: wrap;
    gap: 30px;
}
.footer {
    padding-bottom: 20px;
}
.footer__bottom {
    padding-top: 20px;
}
.contacts__card {
    padding: 30px 20px;
}
.contacts__card {
    gap: 10px;
}
    .service-row__title {
        font-size: 20px;
    }
        .header__nav,
    .header__contacts {
        display: none;
    }

    .header__burger {
        display: flex;
    }


    .hero__title {
        font-size: 70px;
    }
        .hero__subtitle {
        font-size: 24px;
    }
        .hero__desc {
        font-size: 18px;
    }
    .hero__location {
        font-size: 20px;
    }
    .projects__grid {
        margin-top: 10px;
    }
        .hero__container {
        padding-top: 20px;
    }
    .mobile-menu__contact-title {
        margin-bottom: 20px;
    }
    .mobile-menu__actions {
        margin-top: 30px;
    }
    .mobile-menu__top-inner {
        border-bottom: 1px solid var(--clr-grey-1);
        padding-bottom: 7px !important;
    }

}
@media screen and (max-width: 919px) {
  .container {
    max-width: 820px;
    padding: 0 10px;
  }
  body {
    font-size: 18px;
  }
.about__grid, .services__header {
    display: block;
}
.about__main, .about__side {
    gap: 15px;
}
.about__side {
    margin-top: 15px;
}
.services__img {
   margin-top: 15px;
    height: auto;
}
.services__list, .advantages__grid, .faq__list {
    margin-top: 20px;
}
    .project-modal {
        max-height: 320px;
    } 
    .project-card__title {
        font-size: 20px;
    }
        .section-title {
        font-size: 24px;
    }
        .hero__container {
        min-height: 420px;
    }
    .project-modal__arrow {
        width: 35px;
        height: 35px;
    }
    .project-modal__arrow--prev {
        left: 10px;
    }
    .project-modal__arrow--next {
        right: 10px;
    }
        .project-modal__info {
        padding: 15px;
    }
        .project-modal__title {
        font-size: 20px;
    }
    .project-modal__close {
        top: 10px;
        right: 10px;
    }
    .footer__list {
        gap: 20px;
    }
       
}
@media screen and (max-width: 819px) {
  .container {
    max-width: 440px;
  }
    .hero__title {
        font-size: 54px;
    }
    .hero__subtitle {
        font-size: 30px;
        margin-top: 5px;
        width: 90%;
    }
    .hero__container {
    height: 82vh;
    padding-top: 40px;
    align-items: start;
    background: url(./images/main-mobile.png) right bottom / cover no-repeat;
}
    .hero__content {
        height: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.hero__btn {
    width: 100%;
    margin-bottom: 20px;
    display: none;
}
.service-row {
    grid-template-columns: 1fr;
}
.service-row__head {
    margin-bottom: 10px;
}
.service-row__items {
    margin-left: 5px;
}
.projects__grid, .project-modal__box, .lisence__row, .advantages__grid, .contacts__grid {
    grid-template-columns: 1fr;
}
.contacts__grid {
    margin-top: 20px;
}
    .project-modal {
        max-height: 700px;
    }
    .lisence__term {
        font-size: 20px;
    }
    .adv-card {
        min-height: 210px;
    }
    .faq-item__inner {
    overflow: hidden;
    padding: 0 20px 20px;
    }
    .footer__top {
        display: block;
    }
    .footer__nav {
        margin-top: 20px;
    }
    .about__lead {
            color: var(--clr-blue-2);
    }
    .about__caption {
        font-size: 18px;
    }
        .services, .advantages {
        padding: 30px 0;
    }
    section {
        margin: 30px 0;
    }
    .lisence__preview  {
        display: block;
    }
     .mobile-fixed-actions {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        display: flex;
        gap: 10px;
        padding: 10px 5px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        background: var(--clr-white);
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.08);
        box-sizing: border-box;
    }

    .mobile-fixed-actions__btn {
        flex: 1;
        height: 50px;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 600;
        text-decoration: none;
        transition: opacity 0.2s;
    }

    .mobile-fixed-actions__btn:active {
        opacity: 0.8;
    }

    .mobile-fixed-actions__whatsapp {
        background: #25D366;
        color: var(--clr-white);
    }

    .mobile-fixed-actions__call {
        background: var(--clr-blue-1);
        color: var(--clr-white);
    }

    /* Чтобы кнопки не перекрывали контент внизу страницы */
    body {
        padding-bottom: 85px;
    }
    .mobile-fixed-actions {
    max-width: 440px;
    left: 50%;
    transform: translateX(-50%);
}
    
}
@media screen and (max-width: 439px) {
  .container {
    max-width: 100%;
  }
      .hero__title {
        font-size: 44px;
    }
    .hero__subtitle {
        font-size: 28px;
    }
    .about__stats {
        grid-template-columns: 1fr;
    }
        .contacts__company {
        font-size: 24px;
    }
}
@media screen and (max-width: 359px) {
  .container {
    max-width: 100%;
  }
      .hero__title {
        font-size: 40px;
    }
        .hero__subtitle {
        font-size: 24px;
    }
        .contacts__company {
        font-size: 22px;
    }
}