html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

/* ПОДКЛЮЧЕНИЕ ШРИФТОВ - Montserrat */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: url('/assets/fonts/montserrat/montserrat-v31-cyrillic_latin-regular.woff2') format('woff2');
}

/* montserrat-italic - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: italic;
    font-weight: 400;
    src: url('/assets/fonts/montserrat/montserrat-v31-cyrillic_latin-italic.woff2') format('woff2');
}

/* montserrat-500 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 500;
    src: url('/assets/fonts/montserrat/montserrat-v31-cyrillic_latin-500.woff2') format('woff2');
}

/* montserrat-600 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 600;
    src: url('/assets/fonts/montserrat/montserrat-v31-cyrillic_latin-600.woff2') format('woff2');
}

/* montserrat-700 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 700;
    src: url('/assets/fonts/montserrat/montserrat-v31-cyrillic_latin-700.woff2') format('woff2');
}

/* montserrat-800 - cyrillic_latin */
@font-face {
    font-display: swap;
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 800;
    src: url('/assets/fonts/montserrat/montserrat-v31-cyrillic_latin-800.woff2') format('woff2');
}

body {
    color: var(--primary-text-color);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
}

.container {
    max-width: 1520px;
    padding-inline: clamp(16px, 4vw, 20px);
    margin-inline: auto;
}


/* ! ============ Блок на главной стр с поиском ================= */
.main-banner {
    position: relative;
    min-height: 460px;
    background: url('/assets/images/service/excavator-digging.webp');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    text-align: center;
    color: var(--secondary-text-color);
    margin-top: -20px;
    margin-bottom: 80px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.main-banner-content {
    max-width: 1200px;
    position: relative;
    z-index: 1;
    padding: 20px;
}

.main-banner-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* ПОПУЛЯРНЫЕ КАТЕГОРИИ */
.popular-categories-wrapper {
    position: relative;
    z-index: 3;
    /* выше overlay */
    margin-top: 20px;
    text-align: center;
}

.popular-categories-title {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 12px;
}

.popular-categories-list {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.popular-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    border: 1px solid #dfdfdf;
    border-radius: 8px;
    color: #fff;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
    width: 120px;
}

.popular-category-item-img {
    width: 54px;
    height: 54px;
    margin-bottom: 6px;
}

.popular-category-item-text {
    display: block;
    font-size: 0.9rem;
}

.popular-category-item:hover {
    transform: translateY(-3px);
}


.about {
    margin: 100px 0 120px;
}

.about__descr span {
    font-weight: 700;
}

.title {
    font-size: clamp(26px, 4vw, 42px);
    text-align: left;
    line-height: 1.2;
    color: #212121;
    font-weight: 700;
    margin-bottom: 20px;
}

.faq-title {
    text-align: left;
}

/* Подчеркивание TITLE при наведении + стрелка */
.section-title-link {
    position: relative;
    display: inline-flex;
    color: inherit;
}

.section-title-link::after {
    content: '';
    display: inline-flex;
    width: 26px;
    height: 26px;
    background-color: var(--secondary-card-color);
    border-radius: 50%;
    background-image: url('/assets/images/icons/arrow-45-3.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    transform: translate(4px, -12px);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.section-title-link:hover::after {
    transform: translate(8px, -16px);
}

.section-title-link .title {
    position: relative;
    display: inline-flex;
}

.section-title-link .title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s;
}

.section-title-link:hover .title::after {
    opacity: 1;
}


.about__achiev-item h3 {
    font-size: 20px;
    font-weight: 500;
}

.services {
    margin-bottom: 150px;
}

summary {
    cursor: pointer;
    margin-top: 4px;
}

.services__achiev-item h3 {
    margin-bottom: 20px;
}

/* GALLERY */
.gallery {
    margin-bottom: 80px;
}

.gallery__wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery__photo img,
.mob__gallery-photo img {
    width: 380px;
    height: 380px;
    object-fit: cover;
}

/* Mb menu Exp */

.nav__item.active .nav__dropdown {
    display: flex;
    flex-direction: column;
}

.nav__item.active .nav__dropdown a {
    margin-bottom: 15px;
}

.menu__btn span,
.menu__close-btn img {
    display: block;
}

.view-large-map-link {
    display: block;
    margin-bottom: 14px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
    color: #fb818d;
    text-decoration: none;
}

.view-large-map-link:hover {
    color: #ff96a0;
}


/* WORK PROCESS SECTION */
.work-steps {
    margin-bottom: 80px;
}

.steps-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
}

.step-card {
    flex: 1 1 calc(25% - 30px);
    min-width: 280px;
    max-width: 380px;
    background-color: var(--menu-bg-color);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    transition: 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.step-icon {
    margin-bottom: 15px;
}

.step-icon svg {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.step-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 10px;
}




/* OUR CLIENTS SECTION */
.clients-section {
    padding-top: 34px;
    padding-bottom: 40px;
    text-align: center;
    background-color: #f6f6f6;
}

.clients-slider {
    overflow: hidden;
    position: relative;
}

/* сама лента */
.clients-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll 80s linear infinite;
}

/* анимация */
@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* карточки */
.client-card {
    flex: 0 0 auto; /* важно */
    width: 160px;
    height: 120px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.client-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* пауза при наведении */
.clients-track:hover {
    animation-play-state: paused;
}




/* Каталог — заголовок с абзацем */
.catalog-header--highlight {
    margin-top: 20px;
    margin-bottom: 40px;
}

.catalog-header-title {
    font-size: 38px;
    margin-bottom: 20px;
    line-height: 1.2;
}

.catalog-section {
    margin-bottom: 40px;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 100%, 320px), 1fr));
    grid-auto-rows: 420px;
    gap: 16px;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border: 1px solid #b1b1b1;
    border-radius: 8px;
    color: #111827;
    max-width: 380px;
    width: 100%;
    justify-self: center;
    transition: border-color 1.2s ease,
    box-shadow 0.8s ease;
}

.card:hover {
    border-color: #5e5e5e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.subtitle {
    display: block;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    color: #474747;
}

.card-category-item {
    font-size: 14px;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--secondary-color-subtitle);
    margin-bottom: 2px;

}

.card-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1.2;
    margin-bottom: 28px;
    position: relative;
    padding-bottom: 10px;
    transition: color 0.45s cubic-bezier(.4, 0, .2, 1);
}

.card-image {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
}

.card-image-item {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-bottom: 20px;
}

.card-price {
    display: flex;
    flex-direction: column;
    transition: color 0.45s cubic-bezier(.4, 0, .2, 1);
}

.rent-label {
    font-size: 17px;
    font-weight: 700;
}

.rent-price {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.1;
}

.rent-price .currency {
    font-size: 14px;
    font-weight: 500;
    vertical-align: baseline;
}

/* HOVER НА ВСЮ КАРТОЧКУ */
.card:hover .card-title {
    color: var(--secondary-card-text-color);
}

.card:hover .card-title::after {
    transform: scaleX(1.75);
}

/* ! End Карточки техники на главной странице */

.expertise-section {
    margin-bottom: 20px;
}

.expertise-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(clamp(240px, 100%, 320px), 1fr));
    gap: 20px;
}

.expertise-card {
    display: block;
    background-color: #fff;
    border: 1px solid #cacaca;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    max-width: 380px;
    width: 100%;
    justify-self: center;
    transition: border-color 1.2s ease,
    box-shadow 0.8s ease;
}

.expertise-card:hover {
    border-color: #5e5e5e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.expertise-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.expertise-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.expertise-content {
    padding: 12px 20px 22px 18px;
}

.expertise-category {
    display: inline-block;
    font-size: 14px;
    color: var(--secondary-color-subtitle);
    font-weight: 500;
    margin-bottom: 4px;
    text-transform: capitalize;
}

.expertise-name {
    font-size: 22px;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 1.25;
    color: #111827;
}

.expertise-text {
    margin-top: 12px;
    font-size: 14px;
    color: #4b5563;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* количество строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ! INFO BLOCK ====================================================== */
.info-block {
    width: 100%;
    background-color: var(--menu-bg-color);
    margin-bottom: 60px;
}

.info-block-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
}

.info-block-row-reverse .info-block-text {
    order: 2;
}

.info-block-row-reverse .info-block-image {
    order: 1;
}

.info-block-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.info-block-text {
    justify-content: flex-start;
    padding-top: 60px;
    padding-bottom: 40px;
}

.info-block-text > * {
    max-width: 800px;
    padding-right: 60px;
    padding-left: 60px;
}

.info-block-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 24px;
    position: relative;
}

.info-block-title::after {
    content: "";
    display: block;
    width: 200px;
    height: 4px;
    background: var(--secondary-card-text-color);
    margin-top: 10px;
}

.info-block-description {
    font-size: 15px;
    margin-bottom: 24px;
}

.info-block-list-item {
    position: relative;
    padding-left: 36px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #222;
    counter-increment: list-counter;
}

.info-block-list-item::before {
    content: counter(list-counter);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--secondary-card-text-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.info-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ! ХЛЕБНЫЕ КРОШКИ + ОГЛАВЛЕНИЕ ========================================================================================= */
/* Основной блок */
.section-intro {
    position: relative;
    background: radial-gradient(circle at 30% 50%, #f5f5f7 0%, #e0e0e7 40%, #dadae3 100%);
    /* background: radial-gradient(circle at 30% 50%, #975f51 0% 0%, #713d30 40%, #713d30 100%); */
    color: #1d1d1d;
    padding-top: 14px;
    padding-bottom: 14px;
    margin-bottom: 40px;
    overflow: hidden;
    border-top: 1px solid #dcdce5;
}

.section-intro .section-inner {
    min-height: 140px;
    max-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.section-intro .section-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5em;
    max-height: calc(1.5em * 4);
    /* ровно 4 строки */
    max-width: 680px;
    font-size: 15px;
    margin-bottom: 14px;
}

.section-inner {
    position: relative;
    z-index: 1;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    font-size: 14px;
    margin-bottom: 24px;
}

.breadcrumbs a {
    color: #2e2e30; /* серый */
    text-decoration: none;
    transition: 0.2s;
}

.breadcrumbs a:hover {
    color: #cf6924;
    text-decoration: underline;
}

.breadcrumbs > *:not(:last-child)::after {
    content: "›";
    margin: 0 6px;
    color: #444449;
}

.section-title {
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    margin-bottom: 12px;
}


/* ! НАШИ ПРЕИМУЩЕСТВА ====================================================== */
.advantages-section {
    position: relative;
    background-color: #f6f6f6;
    overflow: visible;
    margin-bottom: 100px;
}

.advantages-wrapper {
    display: flex;
    min-height: 480px;
}

.advantages-content {
    flex: 1;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #1d1d1d;
}

.advantages-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    text-transform: uppercase;
}

.advantages-icon {
    font-size: 16px;
}

.advantages-icon-img {
    width: 32px;
    height: auto;
    display: block;
}

.advantages-title {
    margin: 20px 0;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    line-height: 1.2;
}

.advantages-description {
    max-width: 420px;
    font-size: 14px;
}

.advantages-stats {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.advantages-item {
    position: relative;
}

.advantages-marker {
    display: block;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 14px solid #f28c28;
    margin-bottom: 10px;
}

.advantages-value {
    font-size: 34px;
    font-weight: 700;
}

.advantages-text {
    margin-top: 6px;
    font-size: 14px;
}

.advantages-visual {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages-diamond {
    width: 440px;
    height: 440px;
    background: #e6e6e6;
    border: 6px solid #ffffff;
    border-radius: 40px;
    transform: rotate(45deg);
}

/* ! =============================== */
.advantages-visual {
    position: relative;
    overflow: visible;
}

/* Экскаватор */
.advantages-excavator {
    position: absolute;
    right: 240px;
    bottom: -60px;
    width: 460px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}



/* ==== MESSAGE BLOCK ==== */
.message {
    background-color: #f6f6f6;
    padding: clamp(30px, 6vw, 50px) 0;
    color: #222222;
    margin-bottom: 100px;
    position: relative;
}

.message-bg-image {
    position: absolute;
    right: 40px;
    bottom: -40px;
    max-width: 380px;
    height: auto;
}

.message-container {
    display: grid;
    grid-template-columns: minmax(320px, 1fr) minmax(400px, 1.4fr);
    gap: clamp(30px, 5vw, 80px);
    align-items: stretch;
}


/* ==== LEFT MESSAGE BLOCK ==== */
.message-content {
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    padding: 40px 40px;
}

.message-label {
    font-size: 14px;
    letter-spacing: 2px;
    color: #474747;
    margin-bottom: 12px;
}

.message-title {
    font-size: clamp(24px, 4vw, 38px);
    line-height: 1.1;
    margin-bottom: 35px;
}

.message-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.message-input--full {
    grid-column: 1 / -1;
}

.message-input,
.message-textarea {
    background-color: #ffffff;
    border: none;
    padding: 14px 16px;
    color: #222222;
    font-size: 14px;
    border: 1px solid #d3d3d3;
    border-radius: 4px;
}

.message-textarea {
    grid-column: 1 / -1;
    min-height: 180px;
    resize: vertical;
}

.message-input::placeholder,
.message-textarea::placeholder {
    color: #9aa0b3;
}

.message-select-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('/assets/images/icons/arrow-down.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px;
}

.message-btn {
    grid-column: 1 / -1;
    margin-top: 10px;
    align-self: flex-start;
    background-color: var(--secondary-bg-menu);
    color: var(--secondary-text-color);
    font-size: 14px;
    border-radius: 4px;
    padding: 18px 26px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

/* ==== RIGHT MESSAGE BLOCK ==== */
.message-info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.message-info-text {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
    margin-bottom: 40px;
}

.message-cta {
    background-color: var(--secondary-bg-menu);
    padding: 32px;
    border-radius: 12px;
    color: #fff;
}

.message-cta-text {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.message-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #000;
    background: #fff;
    padding: 10px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.ua-map-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

.map-title {
    color: #ffac4d;
    font-size: clamp(16px, 2vw, 22px);
    margin-bottom: 12px;
}


/* ==== TEXT BLOCK ==== */
.catalog-text {
    margin-bottom: 80px;
}

.catalog-title {
    font-size: 36px;
    font-weight: 700;
}

.text-block {
    margin-bottom: 40px;
}

.text-header {
    margin-bottom: 16px;
}

.text-subtitle {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.text-paragraph {
    margin-bottom: 18px;
    line-height: 1.6;
}

.text-list {
    list-style: disc inside;
    padding-left: 0;
    margin-bottom: 20px;
}

.text-list-item {
    margin-bottom: 4px;
}

/* АВТОПАРК СЕКЦИЯ */
.autopark {
    margin-bottom: 100px;
    background: #fff;
}

.autopark-head {
    margin-bottom: 32px;
}

.autopark-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #6b7280;
    margin-bottom: 8px;
}

.autopark-title {
    font-size: 40px;
    line-height: 1.15;
    font-weight: 700;
    color: #111827;
    max-width: 900px;
}

.autopark-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.autopark-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 20px;
    min-height: 96px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    color: #111827;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.autopark-card:hover {
    border-color: #3a3a3a;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.autopark-card-title {
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    max-width: 85%;
}

.autopark-card-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.autopark-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* ! ================== VIDEO ================ */
/* ОБЕРТКА ВИДЕО */
.header-video-wrapper {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 500px;
    max-height: 900px;
    overflow: hidden;
    margin-top: -20px;
    margin-bottom: 40px;
}

/* ВИДЕО */
.header-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* ТЕКСТ НА ВИДЕО */
.header-content-video-overlay {
    position: relative;
    z-index: 3;
    color: white;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    width: 100%;
    max-width: 900px;
    margin: 100px auto 0;
}

.header-content-title-video {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.3;
}

.header-content-text-video {
    margin: 0 auto;
    text-align: center;
    font-size: 20px;
    max-width: 560px;
}

/* ЗАТЕМНЕНИЕ СВЕРХУ */
.header-video-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;

    background: linear-gradient(to bottom,
    rgba(0,0,0,0.85) 0%,
    rgba(0,0,0,0.7) 25%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0) 100%);
}

.home-section {
    padding-top: 60px;
    padding-bottom: 80px;
}

.section-footer {
    margin-top: 32px;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background-color: #1b346f;
    color: #fff;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    transition: background 0.2s;
}

.btn-primary:hover {
    background-color: #233f81;
}

.tabs-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.tab-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #4c6fff;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
}

.tab-btn.active {
    background: #4c6fff;
    color: #fff;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* Стрелка вниз на видео */
.hero-scroll {
    position: absolute;
    bottom: clamp(50px, 10vh, 100px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ПУНКТИРНАЯ ЛИНИЯ */
.hero-scroll-line {
    position: relative;
    width: 2px;
    height: 80px;
    margin-bottom: 2px;

    /* базовый пунктир */
    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,0.2) 0px,
        rgba(255,255,255,0.2) 6px,
        transparent 6px,
        transparent 12px
    );

    overflow: hidden;
}

.hero-scroll-arrow {
    width: 16px;
    height: 16px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
    opacity: 0.9;
}


.hero-scroll-line::after {
    content: '';
    position: absolute;
    inset: 0;

    background: repeating-linear-gradient(
        to bottom,
        rgba(255,255,255,1) 0px,
        rgba(255,255,255,1) 6px,
        transparent 6px,
        transparent 12px
    );

    animation: scrollPulse 2.6s linear infinite;
    opacity: 0.8;
}


@keyframes scrollPulse {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    60% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}


