@font-face {
    font-family: 'Cygre';
    src: local('Cygre Book'), local('Cygre-Book');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cygre';
    src: local('Cygre Medium'), local('Cygre-Medium');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cygre';
    src: local('Cygre Semibold'), local('Cygre-Semibold');
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: 'Bounded';
    src: local('Bounded Regular'), local('Bounded-Regular');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Bounded';
    src: local('Bounded Medium'), local('Bounded-Medium');
    font-weight: 500;
    font-style: normal;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Cygre', sans-serif;
    background-color: #FFFFFF;
    color: #1E1E1E;
    overflow-x: hidden;
}
.wrapper {
    width: 1920px;
    margin: 0 auto;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
    transform-origin: top left;
}

/* HEADER */
.header {
    height: 125px;
    background-color: #FFFFFF;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 1920px;
    z-index: 1000;
    transform-origin: top left;
}

.header-container {
    width: 1840px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Добавлено для абсолютного позиционирования логотипа */
}

.nav-menu {
    width: 604px;
    height: 71px;
    background-color: #F5F5F5;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 13px;
    align-items: center;
    justify-content: center;
}

.nav-link {
    text-decoration: none;
    color: #1E1E1E;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    transition: opacity 0.3s;
    padding: 10px; /* Optional for click area */
}

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

.logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo-img {
    height: 225px; /* Увеличено еще на 50% (было 150px) */
    object-fit: contain;
}

.header-cta {
    width: 227px;
    height: 71px;
    background-color: #1E1E1E;
    color: #FFFFFF;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    transition: background-color 0.3s;
    padding-bottom: 2px; /* Оптическая компенсация для шрифта, чтобы визуально поднять текст по центру */
}

.header-cta:hover {
    background-color: #333333;
}

/* HERO */
.hero {
    height: 1053px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    pointer-events: none;
}

.hero-container {
    width: 1860px;
    margin: 0 auto;
    height: 100%;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 40px; /* padding at the bottom */
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-grow: 1;
    padding-top: 60px; /* Сделал отступ от видео до текста таким же, как сверху */
}

/* TITLE */
.hero-title {
    font-family: 'Bounded', sans-serif;
    color: #1E1E1E;
    position: relative;
    white-space: nowrap;
    transform: translateY(15%);
}

.title-main {
    font-weight: 500;
    font-size: 151px;
    line-height: 1;
    letter-spacing: -0.07em; /* -7% */
    display: inline-block;
    position: relative;
}

.title-vash-1 {
    font-weight: 400; /* Изменено с 300 (Light) на 400 (Regular) */
    font-size: 82px;
    letter-spacing: -0.07em;
    position: absolute;
    top: -75px; /* Увеличили отступ (было -65px) */
    left: 0;
}

.title-line-1 {
    position: relative;
    display: inline-block;
}

.title-line-2 {
    position: relative;
    display: inline-block;
}

.title-im {
    font-weight: 400; /* Изменено с 300 (Light) на 400 (Regular) */
    font-size: 82px;
    letter-spacing: -0.07em;
    position: absolute;
    bottom: 25px; /* Подняли чуть выше для отступа */
    right: -175px; /* Подвинули обратно (золотая середина) */
}

.letter-o {
    position: relative;
    display: inline-block;
}

.title-accent {
    position: absolute;
    top: -55px; /* Подняли выше над буквой О (было -30px) */
    left: 50%;
    transform: translateX(-50%);
    width: 40px; /* Estimate size */
    height: auto;
}

/* CARD */
.hero-card {
    width: 460px;
    height: 317px;
    background-color: #1E1E1E;
    border-radius: 35px 35px 0 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1;
    transform: translateY(150%);
    animation: slideUpCard 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.5s;
}

.hero-card::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 450px;
    background-color: #1E1E1E;
}

@keyframes slideUpCard {
    from {
        transform: translateY(150%);
    }
    to {
        transform: translateY(0);
    }
}

.hero-card-text {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4; /* 140% */
    color: #FFFFFF;
    text-align: left;
}

.hero-card-accent {
    color: #C2FF26;
}

.hero-card-buttons {
    display: flex;
    gap: 10px; /* Ensure buttons fit in 460px width. (200+200+gap+padding) */
    justify-content: space-between;
}

.btn-contact, .btn-projects {
    width: 200px;
    height: 75px;
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1E1E1E;
    gap: 10px;
    transition: opacity 0.3s;
}

.btn-contact:hover, .btn-projects:hover {
    opacity: 0.8;
}

.btn-contact {
    background-color: #C2FF26;
}

.btn-projects {
    background-color: #FFFFFF;
}

.btn-icon {
    width: 32px; /* Иконка в "СВЯЗАТЬСЯ" остается большой */
    height: 32px;
    object-fit: contain;
}

.btn-icon-projects {
    width: 27px; /* Уменьшено на ~15% (было 32px) */
    height: 27px;
}

/* STEPS SECTION */
.steps {
    width: 1860px;
    height: 960px;
    background-color: #F5F5F5;
    margin: 80px auto 60px;
    border-radius: 40px;
    padding: 60px 86px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.steps-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.steps-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    text-transform: uppercase;
}

.steps-title-top {
    display: flex;
    align-items: center;
    margin-bottom: 0px; /* Убрал отступ, чтобы работало естественное line-height 112% */
}

.steps-title-icon {
    height: 80px;
    margin-left: 39px; /* Отступ справа от КАЖДЫЙ */
}

.steps-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    color: #1E1E1E;
    text-align: left;
}

.steps-cards {
    display: flex;
    gap: 25px;
    justify-content: space-between;
}

.step-card {
    width: 546px;
    height: 606px;
    background-color: #FFFFFF;
    border-radius: 35px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.step-title-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.step-number {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #1E1E1E;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-underline-offset: 8px;
}

.step-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #1E1E1E;
}

.step-image {
    display: block;
    margin: auto;
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
}

.step-desc {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    color: #1E1E1E;
}

/* PROCESS SECTION */
.process {
    width: 1860px;
    margin: 100px auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.process-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    text-transform: uppercase;
}

.process-title-icon {
    height: 70px;
    vertical-align: middle;
    margin: 0 15px;
}

.process-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    color: #1E1E1E;
}

.process-cards {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.process-card {
    width: 360px;
    height: 500px;
    padding: 30px 15px 15px 15px;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
}

.bg-grey {
    background-color: #F5F5F5;
}

.bg-green {
    background-color: #C2FF26;
}

.process-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.tag-pill {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    border: 1px solid #1E1E1E;
    border-radius: 30px;
    padding: 6px 16px;
    transition: border-color 0.3s, color 0.3s;
}

.tag-icon {
    width: 20px;
    height: 20px;
    border: 0.8px solid #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.tag-icon span {
    width: 12px;
    height: 12px;
    background-color: #FFFFFF;
    border-radius: 50%;
    transition: background-color 0.3s;
}

.process-bottom {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-card-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1;
    color: #1E1E1E;
    transition: color 0.3s;
}

.process-card-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    transition: color 0.3s;
}

.process-card-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    border-radius: 40px;
    padding: 15px 20px;
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    transition: background-color 0.3s, color 0.3s;
}

.process-card-status img {
    width: 23px;
    height: 16px;
}

/* Hover States */
.process-card:hover {
    background-color: #1E1E1E;
}

.process-card:hover .process-card-title,
.process-card:hover .process-card-subtitle {
    color: #FFFFFF;
}

.process-card:hover .tag-pill {
    border-color: #FFFFFF;
    color: #FFFFFF;
}

.process-card:hover .tag-icon {
    border-color: #C2FF26;
}

.process-card:hover .tag-icon span {
    background-color: #C2FF26;
}

.process-card:hover .process-card-status {
    background-color: #C2FF26;
    color: #1E1E1E;
}

.process-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.process-footer p {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.12;
    color: #1E1E1E;
    text-align: center;
}

.process-footer-icon {
    width: 24px;
    height: 24px;
}

/* ==================== PROJECTS SECTION ==================== */
.projects {
    margin-top: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.projects-header {
    width: 1860px;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
    padding-left: 0;
}

.projects-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 20px;
}

.projects-title-icon {
    width: 156px;
    height: 68px;
}

.projects-container {
    width: 1860px;
    height: 980px;
    background-color: #F5F5F5;
    border-radius: 40px;
    padding: 60px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.projects-features {
    display: flex;
    gap: 40px;
    margin-bottom: 50px;
    position: relative;
    z-index: 10;
}

.feature {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 25px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.feature.inactive {
    color: #C6C6C6;
}

.feature.active {
    color: #1E1E1E;
}

.feature-num {
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    margin-top: 2px;
}

.carousel-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-grow: 1;
    margin-bottom: 40px;
}

.carousel {
    position: relative;
    width: 100%;
    height: 650px;
}

.carousel-arrow {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-arrow.prev {
    left: 0;
    transform: translateY(-50%) scaleX(-1);
}

.carousel-arrow.next {
    right: 77px; /* Половина расстояния от края подложки (155px) до карточки */
}

.carousel-arrow img {
    width: 94px;
    height: 94px;
}

.project-card {
    position: absolute;
    top: 50%;
    width: 760px;
    height: 630px;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 40px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    transition: all 0.5s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.project-card.active-card {
    z-index: 3;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.project-card.prev-card {
    z-index: 2;
    left: 154px;
    transform: translate(0, -50%) scale(0.85);
    opacity: 0.6;
}

.project-card.next-card {
    z-index: 2;
    right: 154px;
    transform: translate(0, -50%) scale(0.85);
    opacity: 0.6;
}

.project-tags {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.project-tag {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    padding: 6px 16px;
    border: 1px solid #1E1E1E;
    border-radius: 30px;
    color: #1E1E1E;
}

.project-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.project-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    margin-bottom: 30px;
}

.project-image {
    width: 100%;
    height: 350px;
    border-radius: 20px;
    object-fit: cover;
    flex-grow: 1;
}

.project-image.placeholder {
    background-color: #E0E0E0;
}

.projects-btn {
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1E1E1E;
    background-color: #C2FF26;
    padding: 20px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 10;
}

.projects-btn .btn-icon {
    width: 36px;
    height: 36px;
}

/* PRICING */
.pricing {
    position: relative;
    background-color: #C2FF26;
    padding: 80px 0 297px 0; /* 142px (высота элемента) + 155px (gap) = 297px */
}

.pricing-container {
    width: 1860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.pricing-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    margin-bottom: 50px;
}

.pricing-cards {
    display: flex;
    gap: 30px;
    width: 100%;
    justify-content: center;
}

.pricing-card {
    width: 880px;
    background-color: #FFFFFF;
    border-radius: 30px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 50px;
    box-sizing: border-box;
}

.pricing-auto-1 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.pricing-tag {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    border: 1px solid #1E1E1E;
    border-radius: 40px;
    padding: 10px 25px;
}

.pricing-desc {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
}

.pricing-price {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
}

.pricing-btn {
    width: 100%;
    height: 75px;
    background-color: #C2FF26;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1E1E1E;
    padding-bottom: 2px;
}

.pricing-btn .btn-icon {
    width: 36px;
    height: 36px;
}

.pricing-auto-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, auto);
    grid-auto-flow: column;
    row-gap: 22px;
    column-gap: 40px;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-feature span {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
}

.pricing-check {
    width: 20px;
    height: 20px;
    border: 1px solid #1E1E1E;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pricing-check.active-check {
    background-color: #C2FF26;
}

.pricing-shape {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 284px;
    height: 142px;
    z-index: 2;
    display: block;
}

/* FAQ */
.faq {
    position: relative;
    padding: 150px 0; 
    background-image: url('https://i.ibb.co/mC1KjXwL/image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.faq-container {
    width: 1860px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.faq-left {
    display: flex;
    flex-direction: column;
    gap: 0px;
}

.faq-title-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
}

.faq-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
}

.faq-title-icon {
    width: 168px;
    height: 68px;
    object-fit: contain;
}

.faq-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    color: #1E1E1E;
}

.faq-right {
    display: flex;
    flex-direction: column;
    width: 1288px;
}

.faq-item {
    width: 1288px;
    border-top: 1px solid #1E1E1E;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:first-child {
    border-top: none;
}

.faq-question {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    box-sizing: border-box;
}

.faq-question-text {
    width: 490px; /* 1288 - 762 (gap) - 36 (icon) = 490 */
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    color: #1E1E1E;
}

.faq-icon {
    width: 36px;
    height: 36px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    opacity: 1;
    padding-bottom: 40px;
}

.faq-answer-text {
    font-family: 'Cygre', sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4;
    color: #1E1E1E;
    width: 490px;
}

/* FINAL CTA */
.final-cta {
    background-color: #FFFFFF;
    padding: 150px 0;
    display: flex;
    justify-content: center;
}

.final-cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 37px;
}

.final-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.final-cta-title {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 80px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #1E1E1E;
    margin-bottom: 20px; /* Optional slight gap if needed, or adjust to match design precisely */
}

.final-cta-subtitle {
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 30px;
    line-height: 1.4;
    color: #1E1E1E;
}

.final-cta-btn {
    width: 100%;
    height: 75px;
    background-color: #C2FF26;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-family: 'Cygre', sans-serif;
    font-weight: 600;
    font-size: 20px;
    color: #1E1E1E;
    padding-bottom: 2px;
}

.final-cta-btn .btn-icon {
    width: 36px;
    height: 36px;
}

/* FOOTER */
.footer {
    background-color: #1A1A1A;
    padding: 80px 0;
    width: 100%;
}

.footer-container {
    width: 1860px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-self: flex-start; /* Прижимаем к верхнему краю, как на макете */
}

.footer-title, .footer-email {
    font-family: 'Bounded', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.12;
    letter-spacing: -0.05em;
    color: #FFFFFF;
}

.footer-email {
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-email:hover {
    opacity: 0.7;
}

.footer-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.footer-logo {
    width: 277px;
    height: 148px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    gap: 20px;
    align-self: flex-end; /* Прижимаем к нижнему краю, как на макете */
}

.social-link img {
    width: 48px; /* Условный размер, подстроится под исходник, если нужно — можно изменить */
    height: auto;
    transition: opacity 0.3s;
}

.social-link:hover img {
    opacity: 0.7;
}

/* CASE PAGE STYLES */
.header-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.back-btn {
    width: 71px;
    height: 71px;
    background-color: #F5F5F5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.back-btn:hover {
    opacity: 0.7;
}

.back-icon {
    width: 36px;
    height: 36px;
    transform: rotate(180deg);
}

.case-section {
    width: 100%;
    min-height: calc(100vh - 125px); /* minus header height */
    background-color: #FFFFFF;
}

.case-image {
    width: 100%;
    display: block;
    height: auto;
}

/* SMOOTH SCROLL */
html {
    scroll-behavior: smooth;
}

/* FADE-IN ANIMATIONS */
.fade-in-section {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-card {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}
.fade-in-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* MAGNETIC BUTTONS */
.magnetic-btn {
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), background-color 0.3s, color 0.3s, opacity 0.3s !important;
    will-change: transform;
}

/* HOVER COLORS FOR GREEN BUTTONS */
.btn-contact:hover, .projects-btn:hover, .pricing-btn:hover, .final-cta-btn:hover {
    background-color: #aae014 !important;
}

/* HOVER FOR WHITE BUTTON */
.btn-projects:hover {
    background-color: #E0E0E0 !important;
}

/* MODAL */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    width: 760px;
    height: 380px;
    background: #FFFFFF;
    border-radius: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 30px;
    background: none;
    border: none;
    font-family: 'Cygre', sans-serif;
    font-size: 40px;
    color: #1E1E1E;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    transition: opacity 0.3s;
}

.modal-close:hover {
    opacity: 0.6;
}

.modal-btn {
    width: 400px;
    height: 75px;
    background-color: #C2FF26;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Cygre', sans-serif;
    font-weight: 500;
    font-size: 18px;
    color: #1E1E1E;
    gap: 15px;
    transition: opacity 0.3s;
    z-index: 2;
    text-transform: uppercase;
    padding-bottom: 2px;
}

.modal-btn:hover {
    opacity: 0.8;
}

.modal-btn .btn-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.decor-cross {
    position: absolute;
    width: 180px;
    height: 180px;
    z-index: 1;
}

.decor-left-top {
    left: -90px;
    top: 10px;
}

.decor-left-bottom {
    left: -90px;
    top: 190px;
}

.decor-right {
    right: -60px;
    top: 30px;
}
