/* ========== Fonts ========== */
@font-face {
    font-family: 'Proxima Nova Condensed';
    src: url('../fonts/ProximaNovaCond-Regular.woff2') format('woff2'),
        url('../fonts/ProximaNovaCond-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Proxima Nova Condensed';
    src: url('../fonts/ProximaNovaCond-Bold.woff2') format('woff2'),
        url('../fonts/ProximaNovaCond-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========== Variables ========== */
:root {
    overscroll-behavior: none;
    --accent-color: rgba(137, 180, 137, 1);
    --gray-ccc-color: rgba(204, 204, 204, 1);
    --gray-eee-color: rgb(238, 238, 238);
    --white-color: rgba(255, 255, 255, 1);
    --text-color: rgba(85, 85, 85, 1);
    --gray-80-color: rgba(128, 128, 128, 1);
    --gray-bg-color: rgba(247, 248, 250, 1);

    --btn-hover-color: #6E906E;

    --font-family: 'Proxima Nova Condensed', sans-serif;
    --font-weight-regular: 400;
    --font-weight-bold: 700;

    --font-size-h1: clamp(2.5rem, 1.885rem + 2.623vw, 5rem);
    --font-size-h2: clamp(1.5rem, 1.254rem + 1.049vw, 2.5rem);
    --font-size-h3: clamp(1.25rem, 1.189rem + 0.262vw, 1.5rem);
    --font-size-body: clamp(0.938rem, 0.861rem + 0.328vw, 1.25rem);

    --transition-base: 0.3s ease;
}

/* ========== Reset ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-family);
}

html {
    scroll-behavior: smooth;
}

section,
h2,
[id] {
    scroll-margin-top: 90px;
}

#branding {
    scroll-margin-top: 78px;
}

@media (max-width: 768px) {

    section,
    h2,
    [id] {
        scroll-margin-top: 80px;
    }
}

body {
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    font-size: var(--font-size-body);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-smooth: always;
    text-rendering: optimizeLegibility;
    line-height: normal;
}

main {
    flex: 1;
    overflow: hidden;
}

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

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base);
}

a:not(.btn):hover {
    color: var(--accent-color);
}

a:focus {
    /* outline-offset: 2px; */
}

ul,
ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

h1,
h2,
h3 {
    font-weight: var(--font-weight-bold);
    transition: color 0.3s ease;
}

h1 {
    font-size: var(--font-size-h1);
    text-transform: uppercase;
}

h2 {
    font-size: var(--font-size-h2);
}

h3 {
    font-size: var(--font-size-h3);
}

/* ========== Container ========== */
.container {
    max-width: 1660px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    font-family: var(--font-family);
    font-weight: var(--font-weight-regular);
    font-size: 20px;
    line-height: normal;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all var(--transition-base);
    width: 304px;
    height: 70px;
    border-radius: 0 !important;
}

.btn:disabled,
.btn-primary:disabled {
    background-color: var(--gray-80-color) !important;
    color: var(--white-color) !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    cursor: not-allowed;
}

.btn:disabled:hover,
.btn-primary:disabled:hover {
    background-color: var(--gray-80-color) !important;
}

.btn:active {
    background-color: var(--btn-hover-color) !important;
}

.btn:focus-visible {
    color: var(--white-color) !important;
    background-color: var(--btn-hover-color) !important;
    border-color: var(--accent-color) !important;
    outline: 0;
    box-shadow: none !important;
}

.btn:focus {
    /* outline-offset: 2px; */
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--btn-hover-color) !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--btn-hover-color) !important;
    color: var(--white-color);
}

/* ========== Header ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 25px 0;
    background-color: transparent;
    transition: background-color var(--transition-base), padding var(--transition-base);
    z-index: 1000;
}

.header.scrolled {
    background-color: var(--accent-color);
    padding: 15px 0;
}

.header__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header__logo svg {
    display: block;
    height: 40px;
    width: auto;
}

.header__nav {
    flex: 1;
}

.header__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.header__menu-item {
    white-space: nowrap;
}

.header__menu-link {
    font-size: 18px;
    color: var(--white-color);
    transition: color var(--transition-base);
}

.header__menu-link:hover {
    color: var(--accent-color);
}

.header__menu-link:focus {
    /* outline-offset: 2px; */
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__phone {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-h3);
    color: var(--white-color);
    transition: color var(--transition-base);
    white-space: nowrap;
}

.header__phone:hover {
    color: var(--accent-color);
}

.header__phone:focus {
    /* outline-offset: 2px; */
}

.header__socials {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.header__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 18px;
    transition: background-color var(--transition-base);
    border: 1px solid var(--accent-color);
    box-sizing: border-box;
}

.header__social-link:hover,
.footer__social-link:hover {
    background-color: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.header__social-link:focus,
.footer__social-link:focus {
    /* outline-offset: 2px; */
}

.header.scrolled .header__menu-link:hover {
    color: var(--white-color);
}

.header.scrolled .header__phone:hover {
    color: var(--white-color);
}

.header.scrolled .header__social-link:hover {
    background-color: var(--white-color);
    color: var(--accent-color);
}

.header__burger,
.header__close {
    display: none;
    width: 20px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--white-color);
    font-size: 20px;
    transition: color var(--transition-base);
}

.header__close {
    position: absolute;
    top: 25px;
    right: 20px;
}

.header__burger:hover,
.header__close:hover {
    color: var(--accent-color);
}

.header.scrolled .header__burger:hover {
    color: var(--gray-eee-color);
}

.header__burger:focus,
.header__close:focus {
    /* outline-offset: 2px; */
}

/* ========== Hero ========== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    max-height: 950px;
    min-height: 700px;
    color: var(--white-color);
    margin-bottom: 94px;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero__slider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(274.67deg, rgba(0, 0, 0, 0) 44.75%, rgba(0, 0, 0, 0.5) 81.77%);
    pointer-events: none;
    z-index: 2;
}

.hero__slide {
    width: 100%;
    height: 100%;
}

.hero__slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-pagination-bullet {
    width: 30px !important;
    height: 8px !important;
    background: var(--white-color) !important;
    border: 2px solid var(--white-color) !important;
    opacity: 1 !important;
    border-radius: 0 !important;
    transition: width 0.3s !important;
    margin: 0 4px !important;
}

.swiper-pagination-bullet-active {
    width: 45px !important;
    background: var(--accent-color) !important;
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero__wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.hero__text {
    width: 100%;
}

.hero__title {
    margin-bottom: 54px;
}

.hero__description {
    margin-bottom: 52px;
    max-width: 642px;
    font-size: clamp(1rem, 0.877rem + 0.525vw, 1.5rem);
}

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

.hero__button {
    height: 90px;
    padding-block: 30px;
    font-size: clamp(1.125rem, 1.033rem + 0.393vw, 1.5rem);
    width: 400px;
}

.hero__bottom {
    position: absolute;
    bottom: 42px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.hero__features {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 45px;
    color: var(--gray-ccc-color);
    pointer-events: none;
}

.hero__feature {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: clamp(1rem, 0.969rem + 0.131vw, 1.125rem);
}

.swiper-pagination {
    position: static !important;
    width: auto !important;
    display: flex !important;
}

.hero__video-link {
    display: flex;
    align-items: center;
    gap: 21px;
    text-decoration: none;
    color: var(--white-color);
    font-size: clamp(0.75rem, 0.719rem + 0.131vw, 0.875rem);
    font-weight: var(--font-weight-bold);
    margin-right: -60px;
    transition: color 0.3s ease;
}

.hero__video-link span {
    text-align: left;
}

.hero__video-link:hover {
    color: var(--accent-color);
}

.hero__video-icon {
    position: relative;
    width: 95px;
    height: 95px;
}

.hero__video-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95px;
    height: 95px;
    background: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero__video-circle i {
    color: var(--accent-color);
    font-size: 27px;
    margin-left: 4px;
}

.hero__video-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(86.25% 86.25% at 86.25% 50%, rgba(255, 255, 255, 0) 0%, rgba(137, 180, 137, 0.65) 100%);
    border-radius: 50%;
    animation: pulse 2s infinite;
    will-change: transform, opacity;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.4);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* ========== About ========== */
.about__container {
    margin-bottom: clamp(3.063rem, 2.309rem + 3.213vw, 6.125rem);
}

.about__title {
    margin-bottom: 53px;
    text-align: center;
}

.about__text {
    column-count: 2;
    column-gap: 50px;
    margin-bottom: 80px;
}

.about__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.about__card {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about__card-text {
    font-weight: 700;
    font-size: clamp(1.25rem, 1.189rem + 0.262vw, 1.5rem);
}

.about .divider {
    margin-bottom: clamp(2.875rem, 2.276rem + 2.557vw, 5.313rem);
}

/* ========== Divider ========== */
.divider {
    display: flex;
    align-items: center;
    gap: 26px;
    width: 100%;
}

.divider__line {
    flex: 1;
    height: 1px;
    background: #eee;
    transform-origin: center;
    position: relative;
    overflow: hidden;
}

.divider__line::after {
    content: '';
    position: absolute;
    top: 0;
    width: 30%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #808080, transparent);
}

.divider__line:first-of-type::after {
    animation: shimmer-left 4s infinite;
}

.divider__line:last-of-type::after {
    animation: shimmer-right 4s infinite;
}

.divider__icon {
    flex-shrink: 0;
    width: 48px;
    height: 46px;
}

@keyframes shimmer-left {
    0% {
        right: -100%;
    }

    100% {
        right: 100%;
    }
}

@keyframes shimmer-right {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ========== Products ========== */
.products {
    margin-bottom: 112px;
}

.products__title {
    margin-bottom: 30px;
    text-align: center;
}

.products__description {
    text-align: center;
    margin-bottom: 69px;
}

.products__list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 71px;
}

.products__item {
    background: #F7F8FA;
    height: 100%;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}

.products__item:hover {
    border: 2px solid var(--accent-color);
}

.products__item-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: inherit;
    height: 100%;
    padding: 45px 20px 36px;
}

.products__item-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 200px;
    margin-bottom: 30px;
}

.products__item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.products__item-title {
    text-align: center;
    font-weight: var(--font-weight-regular);
    margin-top: auto;
    font-size: clamp(0.938rem, 0.799rem + 0.59vw, 1.5rem);
}

.products__actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.products__item {
    opacity: 0;
}

.products__item.animate-start {
    opacity: 1;
}


/* ========== Branding ========== */
.branding {
    position: relative;
    margin-bottom: 109px;
    width: 100%;
    height: calc(100vh - 78px);
    max-height: 950px;
    min-height: 700px;
}

.branding__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.branding__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.branding-swiper {
    width: 100%;
    height: 100%;
    position: relative;
}

.branding-swiper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 21.31%, rgba(0, 0, 0, 0.9) 98.94%);
    pointer-events: none;
    z-index: 1;
}

.branding-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.branding-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.branding__container {
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.branding__content {
    text-align: center;
    padding-bottom: 109px;
}

.branding__title {
    margin-bottom: 30px;
    color: var(--white-color);
}

.branding__description {
    margin-bottom: 45px;
    color: var(--white-color);
}

/* ========== Partners ========== */
.partners__title {
    margin-bottom: 30px;
    text-align: center;
}

.partners__description {
    text-align: center;
    margin-bottom: 71px;
}

.partners__slider {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-bottom: 108px;
}

.partners__track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee linear infinite;
}

.partners__item {
    width: auto !important;
    height: 80px;
    display: flex;
    align-items: center;
    padding-right: 120px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

.partners__logo {
    width: auto;
    object-fit: contain;
}

.partners .divider {
    margin-bottom: clamp(3.875rem, 3.522rem + 1.508vw, 5.313rem);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========== Portfolio ========== */
.portfolio__item {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.6s ease;
}

.portfolio__item--hidden {
    display: none;
    opacity: 0;
    transform: translateY(30px);
}

.portfolio__item:hover h3 {
    color: var(--accent-color);
}


.portfolio__heading {
    margin-bottom: 30px;
    text-align: center;
}

.portfolio__description {
    text-align: center;
    margin-bottom: 71px;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    margin-bottom: 59px;
}

.portfolio__image {
    aspect-ratio: 500/300;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio__image-wrapper {
    position: relative;
}

.portfolio__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    padding-left: 22px;
    padding-bottom: 21px;
    pointer-events: none;
}

.portfolio__title {
    color: #fff;
    font-size: clamp(0.938rem, 0.799rem + 0.59vw, 1.5rem);
    margin: 0;
    line-height: 1.3;
}

.portfolio__button {
    display: block;
    margin: 0 auto;
}

.portfolio .divider {
    margin-top: 100px;
    margin-bottom: 78px;
}

/* ========== WhyUs ========== */
.why-us__container {
    margin-bottom: 29px;
}

.why-us__title {
    text-align: center;
    margin-bottom: 30px;
}

.why-us__description {
    margin: 0 auto;
    margin-bottom: 43px;
    max-width: 530px;
    text-align: center;
}

.why-us__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 114px;
    row-gap: 55px;
}

.why-us__item {
    display: flex;
    gap: 28px;
    align-items: center;
}

.why-us__content {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    flex-direction: column;
}

.why-us__icon {
    background-color: #F7F8FA;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

.why-us__icon img {
    height: 45px;
    width: 45px;
}

/* ========== Consult Form Section ========== */
.consult-form-section {
    padding: 100px 0;
}

.consult-form__wrapper {
    position: relative;
}

.consult-form__form-wrapper {
    padding-block: 90px;
}

.consult-form__content {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
}

/* Facts */
.facts {
    display: flex;
    gap: 80px;
    position: relative;
    justify-content: flex-start;
}

.facts__item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.facts__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.facts__icon svg {
    width: 36px;
    height: 36px;
}

.facts__text {
    margin: 0;
    font-size: clamp(1rem, 0.969rem + 0.131vw, 1.125rem);
    font-weight: var(--font-weight-bold);
    text-align: left;
}

/* Form Block */
.consult-form__gray-bg {
    background: var(--gray-bg-color);
    clip-path: inset(-200px 0 0 0);
    z-index: 1;
}

.consult-form__form-block {
    display: flex;
    position: relative;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.consult-form__title {
    margin-bottom: 30px;
}

.consult-form__title span {
    color: var(--accent-color);
}

.consult-form__description {
    margin-bottom: 50px;
}

.consult-form__form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    position: relative;
}

.consult-form__inputs {
    display: flex;
    gap: 20px;
}

.consult-form__inputs input {
    min-width: 325px;
    padding: 20px 30px;
    border: 2px solid var(--gray-eee-color);
    background: var(--white-color);
    font-family: var(--font-family);
    font-size: clamp(1.25rem, 1.189rem + 0.262vw, 1.5rem);
    transition: border-color var(--transition-base);
    border-radius: 0;
    outline: none;
}

.consult-form__inputs input:focus {
    border-color: var(--accent-color);
}

.consult-form__inputs input::placeholder {
    color: var(--gray-80-color);
}

.consult-form__inputs input::placeholder {
    color: var(--gray-80-color);
}

.consult-form__submit {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.consult-form__submit .btn {
    min-width: 325px;
}

.consult-form__checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.consult-form__checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 2px;
    cursor: pointer;
    background-color: var(--white-color);
    border: 2px solid #eee;
    position: relative;
    transition: all var(--transition-base);
}

.consult-form__checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4.5px;
    width: 7px;
    height: 12px;
    border: solid var(--accent-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consult-form__checkbox input[type="checkbox"]:hover {
    border-color: var(--accent-color);
}

.consult-form__checkbox input[type="checkbox"]:focus {
    border-color: var(--accent-color);
    outline: none;
}


.consult-form__checkbox label {
    font-size: clamp(0.75rem, 0.689rem + 0.262vw, 1rem);
    color: var(--gray-80-color);
    cursor: pointer;
    user-select: none;
    line-height: normal;
}

.consult-form__checkbox label a {
    text-decoration: underline;
}

.consult-form__submit button {
    flex-shrink: 0;
}

.consult-form__decor-desktop {
    margin-bottom: -70px;
    margin-top: -200px;
    margin-right: clamp(0rem, -4.164rem + 6.507vw, 3.563rem);
    flex-shrink: 0;

    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.consult-form__decor-mobile {
    display: none;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* ========== Footer ========== */
.footer {
    padding-bottom: 50px;
}

.footer__logo {
    width: 100%;
    margin-bottom: 95px;
}

.footer__logo svg {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    margin: 0 auto;
}

.footer__contacts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
    margin: 0 auto 77px;
    max-width: 1082px;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer__contact-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    border-radius: 50%;
}

.footer__contact-icon svg {
    width: 50px;
    height: 50px;
}

.footer__contact-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__contact-label {
    color: var(--gray-80-color);
    font-weight: var(--font-weight-bold);
    font-size: clamp(1.125rem, 1.094rem + 0.131vw, 1.25rem);
}

.footer__contact-value {
    font-size: 18px;
}

.footer__divider {
    border: none;
    border-top: 1px solid #E4E4E4;
    margin: 40px 0;
}

.footer__bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    font-size: clamp(0.938rem, 0.891rem + 0.197vw, 1.125rem);
    color: var(--gray-80-color);
}

.footer__bottom p {
    margin: 0;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background-color: var(--accent-color);
    color: var(--white-color);
    border-radius: 50%;
    font-size: 18px;
    transition: background-color var(--transition-base);
}

.footer__bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    color: var(--gray-80-color);
}

.footer__policy,
.footer__bottom-right a {
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer__policy:hover,
.footer__bottom-right a:hover {
    color: var(--accent-color);
}

.footer__policy:focus,
.footer__bottom-right a:focus {
    /* outline-offset: 2px; */
}

/* ========== Media Queries ========== */
@media (max-width: 1750px) {
    .hero__video-link {
        margin-right: unset;
    }
}

@media (max-width: 1600px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1399px) {
    .header__phone {
        display: none;
    }

    .portfolio__grid {
        gap: 25px;
    }

    .consult-form__inputs {
        flex-direction: column;
    }

    .consult-form__form-wrapper {
        padding-block: 60px;
    }

    .consult-form__decor-desktop {
        margin-bottom: -50px;
        margin-top: -30px;
        flex-shrink: 1;
    }

}

@media (max-width: 1202px) {
    .header {
        padding: 15px 0;
    }

    .header__wrapper {
        gap: 20px;
    }

    .header__wrapper>.header__contacts {
        display: none;
    }

    .header__nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 400px;
        background-color: var(--white-color);
        padding: 40px 15px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        z-index: 1001;
        width: 100%;
    }

    .header__overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .header__overlay.active {
        display: block;
        opacity: 1;
    }

    .header__nav.active {
        transform: translateX(0);
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
    }

    .header__nav .header__contacts {
        display: flex;
        position: static;
        background-color: transparent;
        padding: 0;
        margin-top: 40px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        transform: none;
    }

    .header__phone {
        display: block;
        color: var(--accent-color);
        text-align: center;
    }

    .header__phone:hover {
        opacity: 0.7;
    }

    .header__menu {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .header__menu-link {
        color: var(--accent-color);
        font-size: 20px;
    }

    .header__menu-link:hover {
        opacity: 0.7;
    }

    .header__socials {
        justify-content: center;
        width: 100%;
    }

    .header__burger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header__close {
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--accent-color);
    }

    .branding__background img {
        object-position: left center;
    }

    .branding-swiper .swiper-slide img {
        object-position: left center;
    }

    .why-us__list {
        column-gap: 55px;
        row-gap: 40px;
    }

    .header__contacts--mobile {
        display: flex !important;
        flex-direction: column-reverse;
        align-items: center;
        gap: 20px;
        margin-top: 40px;
        padding-top: 30px;
        width: 100%;
    }

    .header__contacts--mobile .header__phone {
        display: block;
        color: var(--accent-color);
    }

    .header__contacts--mobile .header__socials {
        justify-content: center;
    }


}

@media (max-width: 1024px) {
    .hero__button {
        width: 304px;
        height: 70px;
        padding-block: 0;
        font-size: 20px;
    }

    .hero__video-link {
        gap: 17px;
    }

    .hero__video-icon,
    .hero__video-circle {
        width: 70px;
        height: 70px;
    }

    .hero__video-pulse {
        width: 140px;
        height: 140px;
    }

    .hero__video-circle i {
        font-size: 18px;
    }

    .consult-form__decor-desktop {
        display: none;
    }

    .consult-form__decor-mobile {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 200px;
        margin-top: -65px;
        pointer-events: none;
    }

    .consult-form__decor-mobile img {
        width: 100%;
        height: auto;
        display: block;
    }

    .consult-form-section {
        padding: 60px 0;
    }

    .consult-form__content {
        gap: 0px;
    }

    .consult-form__form-block {
        padding: 60px 20px;
        margin-left: 0;
    }

    .facts {
        position: relative;
        gap: 20px;
        background: #2B2728;
        padding-top: 80px !important;
        padding-bottom: 80px !important;
        color: var(--gray-ccc-color);
    }

    .facts svg path {
        fill: var(--gray-ccc-color);
    }

    .facts__item {
        gap: 13px;
        z-index: 1;
    }

    .consult-form__form-wrapper {
        margin: 0 auto;
        padding: 0;
    }

    .consult-form__title {
        margin-bottom: 20px;
        text-align: center;
    }

    .consult-form__title span {
        white-space: nowrap;
    }

    .consult-form__description {
        margin-bottom: 30px;
        text-align: center;
    }

    .consult-form__inputs {
        flex-direction: column;
    }

    .consult-form__inputs input {
        padding: 15px 20px;
        min-width: unset;
    }

    .consult-form__submit .btn {
        min-width: unset;
    }

    .footer__contacts {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        max-width: 75%;
    }

    .footer__bottom {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .footer__socials {
        order: -1;
        margin-bottom: 20px;
    }

    .footer__copyright,
    .footer__bottom-right {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 992px) {

    .why-us__list {
        grid-template-columns: 1fr;
    }

    .why-us__icon {
        width: 80px;
        height: 80px;
    }

    .why-us__icon img {
        height: 30px;
        width: 30px;
    }

    .why-us__item {
        gap: 19px;
        align-items: flex-start;
    }

    .why-us__content {
        gap: 11px;
    }

    .facts {
        gap: 27px;
        flex-direction: column;
        padding-top: 36px !important;
        padding-bottom: 39px !important;
    }
}

@media (max-width: 768px) {

    .hero__slide-image {
        object-position: 58% -200px;
    }

    .hero__slider::after {
        background: linear-gradient(300deg, rgba(0, 0, 0, 0) 16%, rgba(0, 0, 0, 0.6) 81.77%);
    }


    .btn-primary {
        width: 100%;
        font-size: 20px;
        line-height: 24px;
    }

    .btn-outline {
        width: 100%;
        font-size: 18px;
    }

    .hero {
        height: unset;
        padding-top: 93px;
    }

    .hero__actions {
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 56px;
    }

    .hero__video-link {
        gap: 11px;
        margin-left: 25px;
    }

    .hero__video-icon,
    .hero__video-circle {
        width: 50px;
        height: 50px;
    }

    .hero__video-pulse {
        width: 100px;
        height: 100px;
    }

    .hero__video-circle i {
        font-size: 16px;
    }

    .hero__bottom {
        position: relative;
        bottom: auto;
        flex-direction: column-reverse;
        align-items: flex-start;
        gap: 20px;
        margin-top: 43px;
    }

    .swiper-pagination {
        margin: 0 auto;
    }

    .hero__bottom.container {
        padding-inline: 0;
    }

    .hero__features {
        padding-block: 36px;
        flex-direction: column;
        align-items: flex-start;
        background-color: #2B2728;
        width: 100vw;
        margin-left: -20px;
        padding-left: 30px;
        padding-right: 30px;
    }

    .hero__feature img {
        height: 30px;
        width: 30px;
    }

    .about__title {
        margin-bottom: 35px;
    }

    .about__text {
        column-count: 1;
        column-gap: 30px;
        margin-bottom: 15px;
    }

    .about__cards {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .about__card {
        gap: 12px;
    }

    .about__card-image img {
        width: 100%;
    }

    .products {
        margin-bottom: 52px;
    }

    .products__title {
        margin-bottom: 25px;
    }

    .products__description {
        margin-bottom: 29px;
    }

    .products__list {
        display: block;
        margin-bottom: 41px;
    }

    .products__item {
        width: 208px;
        height: 199px;
    }

    .products__item-link {
        padding: 20px;
    }

    .products__item-image {
        height: 120px;
        margin-bottom: 15px;
    }

    .products__actions {
        flex-direction: column;
        gap: 15px;
    }

    .products__button {
        width: 100%;
    }

    .branding {
        margin-bottom: 59px;
        height: 700px;
        min-height: unset;
    }

    .branding__content {
        padding-bottom: 59px;
    }

    .branding__title {
        margin-bottom: 19px;
    }

    .branding__description {
        margin-bottom: 39px;
    }

    .partners__title {
        margin-bottom: 26px;
    }

    .partners__description {
        margin-bottom: 58px;
    }

    .partners__slider {
        margin-bottom: 71px;
    }

    .partners .divider {
        margin-bottom: 62px;
    }

    .partners__item {
        padding-right: 71px;
    }

    .portfolio__grid {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
        gap: 35px;
    }

    .portfolio__image {
        aspect-ratio: 345/207;
    }

    .portfolio__overlay {
        padding-bottom: 15px;
    }

    .portfolio .divider {
        margin-top: 69px;
        margin-bottom: 69px;
    }

    .why-us__container {
        margin-bottom: 14px;
    }

    .consult-form__submit {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }

    .consult-form__checkbox label br {
        display: none;
    }

    .footer {
        padding-bottom: 40px;
    }

    .footer__logo {
        margin-bottom: 50px;
    }

    .footer__contacts {
        max-width: 85%;
    }

    .footer__contact-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }

    .footer__contact-icon svg {
        width: 30px;
        height: 30px;
    }

    .footer__contact-label {
        display: none;
    }

    .footer__contact-value {
        text-align: left;
    }

    .footer__divider {
        margin-bottom: 40px;
    }

    .products__description br,
    .branding__description br,
    .partners__description br {
        display: none;
    }
}

@media (max-width: 500px) {
    .branding__background img {
        object-position: 16% center;
    }

    .branding-swiper .swiper-slide img {
        object-position: 16% center;
    }


}

@media (max-width: 480px) {

    .container {
        padding: 0 15px;
    }

    .header__close {
        right: 15px;
        top: 20px;
    }

    .hero__features {
        width: 100vw;
        margin-left: -15px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero__button {
        max-width: 100%;
    }

    .why-us__icon {
        width: 60px;
        height: 60px;
    }

    .consult-form__form-block {
        padding: 60px 15px;
    }

    .consult-form__decor-mobile {
        width: 156px;
        right: -7px;
        top: 21px;
    }

    .facts__icon {
        width: 30px;
        height: 30px;
    }

    .facts__icon svg {
        width: 30px;
        height: 30px;
    }

    .footer__contacts {
        grid-template-columns: 1fr;
        margin-bottom: 50px;
    }

    .footer__contact-item {
        flex-direction: row;
        gap: 22px;
        align-items: center;
        justify-content: flex-start;
    }
}

@media (max-width: 425px) {
    .divider__line::after {
        background: linear-gradient(90deg, transparent, #cccccc, transparent);
    }
}

@media (max-width: 360px) {
    .header__logo svg {
        height: 30px;
    }
}


/* Убираем скругления Bootstrap */
.no-radius {
    border-radius: 0 !important;
}

/* Убираем хедер (если оставлен пустым) */
.modal-header {
    border: none;
    padding: 0;
}

/* Кастомный крестик вне блока */
.modal-close-custom {
    position: absolute;
    top: -40px;
    right: -30px;
    background: none;
    border: none;
    color: var(--gray-eee-color);
    font-size: 20px;
    cursor: pointer;
    z-index: 9999;
}

.modal-close-custom i:hover {
    color: var(--gray-80-color);
}

.modal-close-custom i {
    pointer-events: none;
}

/* modals */

/* Стили для модальных окон с формами консультации */
.consult-modal {
    position: relative;
    border: none;
    overflow: hidden;
    border-radius: 0 !important;
    /* Убираем скругления */
}

.consult-modal__border-animation {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(90deg, var(--accent-color), #6E906E, var(--accent-color));
    background-size: 200% 100%;
    animation: borderRun 3s linear infinite;
    z-index: 0;
    border-radius: 0;
}

@keyframes borderRun {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.consult-modal .modal-body {
    position: relative;
    z-index: 1;
    background: #fff;
    padding: 0;
    border-radius: 0;
}

.consult-modal__close {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.consult-modal__close i {
    color: var(--white-color);
    font-size: 24px;
    transition: color 0.3s ease;
}

.consult-modal__close i {
    color: var(--gray-eee-color);
}

.consult-modal__content {
    position: relative;
    padding: 40px 30px;
}

.consult-modal__title {
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    margin-bottom: 10px;
    color: var(--text-color);
}

.consult-modal__subtitle {
    font-size: var(--font-size-body);
    color: var(--gray-80-color);
    margin-bottom: 30px;
}

.consult-modal__inputs {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.consult-modal__field {
    position: relative;
}

.consult-modal__field input {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--gray-eee-color);
    background: var(--white-color);
    font-family: var(--font-family);
    font-size: 16px;
    transition: border-color var(--transition-base);
    border-radius: 0;
    outline: none;
    color: var(--text-color);
}

.consult-modal__field input:focus {
    border-color: var(--accent-color);
}

.consult-modal__field input::placeholder {
    color: var(--gray-80-color);
}

.consult-modal__field input.error {
    border-color: #dc3545;
}

.consult-modal__error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
    display: block;
}

.consult-modal__checkbox-wrapper {
    margin-bottom: 20px;
}

.consult-modal__checkbox {
    display: flex;
    align-items: center;
}

.consult-modal__checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 10px;
    cursor: pointer;
    background-color: var(--white-color);
    border: 2px solid var(--gray-eee-color);
    position: relative;
    transition: all var(--transition-base);
}

.consult-modal__checkbox input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 4.5px;
    width: 7px;
    height: 12px;
    border: solid var(--accent-color);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.consult-modal__checkbox input[type="checkbox"]:hover {
    border-color: var(--accent-color);
}

.consult-modal__checkbox input[type="checkbox"]:focus {
    border-color: var(--accent-color);
    outline: none;
}

.consult-modal__checkbox input[type="checkbox"].error {
    border-color: #dc3545;
}

.consult-modal__checkbox label {
    font-size: clamp(0.75rem, 0.689rem + 0.262vw, 1rem);
    color: var(--gray-80-color);
    cursor: pointer;
    user-select: none;
}

.consult-modal__checkbox a {
    color: var(--accent-color);
    text-decoration: underline;
    transition: color var(--transition-base);
}

.consult-modal__checkbox a:hover {
    color: var(--btn-hover-color);
}

.consult-modal__form .btn-primary {
    width: 100%;
    padding: 12px;
    font-weight: var(--font-weight-regular);
    height: 60px;
    font-size: 18px;
}

.consult-modal__form .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.consult-modal__image {
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    border-radius: 0;
}

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

@media (max-width: 992px) {
    .consult-modal__image {
        display: none;
    }

    .consult-modal__content {
        padding: 30px 20px;
    }

    .consult-modal__title {
        font-size: 24px;
    }

    .consult-modal__field input {
        padding: 15px 20px;
    }

    .consult-modal__close i {
        color: var(--accent-color);
    }

    .consult-modal__close i:hover {
        color: var(--gray-eee-color);
    }
}

/* Сообщение об успехе */
.consult-modal__success-message {
    position: absolute;
    top: 10px;
    left: 30px;
    right: 30px;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #155724;
    padding: 0 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
}

.consult-modal__success-message.show {
    min-height: 50px;
    max-height: 100px;
    opacity: 1;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Стили для ошибок и успеха в основной форме */


.consult-form__inputs input.error {
    border-color: #dc3545 !important;
}

.consult-form__error {
    display: none;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    margin-bottom: 15px;
}

.consult-form__checkbox input[type="checkbox"].error {
    border-color: #dc3545 !important;
}

.consult-form__checkbox-wrapper {
    position: relative;
}

.consult-form__checkbox input[type="checkbox"].error {
    border-color: #dc3545;
}

.consult-form__success-message {
    position: absolute;
    top: -27px;
    left: 0;
    right: 0;
    min-height: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #155724;
    padding: 0 15px;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    z-index: 10;
}

.consult-form__success-message.show {
    max-height: 100px;
    opacity: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 1399px) {
    .consult-form__inputs {
        flex-direction: column;
        gap: 20px;
    }

    .consult-form__field input {
        width: 100%;
    }
}

.consult-form__field {
    position: relative;
    flex: 1;
}

.consult-form__inputs input.error {
    border-color: #dc3545 !important;
}

.consult-form__error {
    display: none;
    position: absolute;
    top: -25px;
    left: 0;
    color: #dc3545;
    font-size: 12px;
    min-height: 18px;
}

.consult-form__checkbox input[type="checkbox"].error {
    border-color: #dc3545 !important;
}

.btn-close .consult-modal__close:focus {
    outline: none !important;
    box-shadow: unset !important;
    opacity: unset !important;
}