:root {
    --hero-bg-overlay: rgba(0, 18, 36, 0.7);
    --accent: #e52626;
    --font-heading: 'DM Sans', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: var(--font-body);
    color: white;
    background-color: #000;
}

a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.hidden {
    display: none !important;
}

.header-wrapper {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: #000;
    padding: 10px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.header-burger {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

.header-mobile-menu {
    display: none;
    flex-direction: column;
    background: #000c;
    padding: 40px 20px;
    position: absolute;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 99;
}

.header-mobile-menu a {
    padding: 12px 0;
    font-size: 18px;
    border-bottom: 1px solid #333;
}

.header-mobile-menu.show {
    display: flex;
}

.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    padding-top: 70px; /* чтобы не перекрывало fixed-шапкой */
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    z-index: 0;
}

.hero-overlay {
    background: var(--hero-bg-overlay);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 60px 80px;
    gap: 40px;
    align-items: center;
    height: 100%;
    /*flex-wrap: wrap;*/
    max-width: 1200px;
    margin: auto;
}

.hero-text {
    max-width: 600px;
    text-align: left;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hero-text ul {
    list-style: none;
    padding-left: 0;
}

.hero-text ul li {
    margin-bottom: 10px;
    font-size: 1rem;
    text-align: left;
}

.hero-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    text-align: left;
}

.hero-form h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.hero-form input,
.hero-form textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-family: var(--font-body);
}

.hero-form button {
    background-color: var(--accent);
    color: white;
    font-weight: bold;
    border: none;
    padding: 12px;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.hero-form button:hover {
    background-color: #c11818;
}

.hero-list {
    list-style: none;
    padding-left: 0;
}

.hero-list li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-size: 1rem;
    text-align: left;
}

.hero-icon {
    stroke: white;
    stroke-width: 0.9;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    flex-shrink: 0;
}

/* Mobile */
@media (max-width: 768px) {
    .header-nav {
        display: none;
    }

    .header-burger {
        display: block;
    }

    .hero-content {
        flex-direction: column;
        padding: 100px 20px 40px 20px;
        justify-content: flex-start;
        align-items: flex-start;
        text-align: left;
    }

    .hero-section {
        height: unset;
    }

    .hero-text,
    .hero-form {
        width: 100%;
        text-align: left;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-form h2 {
        font-size: 1.1rem;
    }

    .hero-form {
        padding: 20px;
    }
}


.hero-rotating-heading {
    display: inline-block;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.hero-heading-exit {
    transform: translateY(100%);
    opacity: 0;
}

.hero-heading-enter {
    transform: translateY(-100%);
    opacity: 0;
    animation: heroFadeDownIn 0.4s forwards;
}

@keyframes heroFadeDownIn {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0%);
        opacity: 1;
    }
}





.pains-section {
    background: #f6f8fa;
    color: #111;
    text-align: center;
}

.pains-section-container {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.pains-section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 50px;
    color: #000;
}

.pains-section-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
}

.pains-section-item {
    width: calc(33.333% - 26.66px);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 240px;
}

.pains-section-icon {
    width: 50px;
    height: 50px;
    stroke-width: 0.8;
    stroke: #d91441;
    margin-bottom: 20px;
}

.pains-section-item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0b2b4c;
}

.pains-section-item-desc {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: #555;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .pains-section-item {
        width: calc(50% - 20px);
    }
}

/* ---------- ADVANTAGES SECTION ---------- */

.pains-section-advantages {
    background: #ffffff;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 80px;
    margin-top: -1px;
}

.pains-section-svg {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 0;
    fill: #f6f8fa;
}

.pains-section-svg svg {
    width: 100%;
    height: 100%;
    display: block;
}

.pains-section-advantages-heading {
    position: absolute;
    top: 30px;
    width: 100%;
    z-index: 1;
}

.pains-section-subtitle {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-top: -35px;
}

.pains-section-subsubtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2260d1;
    margin-top: 8px;
}

.pains-section-advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.pains-section-advantages-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

.advantage-item {
    width: calc(25% - 30px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-icon {
    width: 50px;
    height: 50px;
    stroke: #2260d1;
    stroke-width: 0.8;
    margin-bottom: 15px;
}

.advantage-text {
    font-family: var(--font-body);
    font-size: 20px;
    font-weight: 400;
    color: #111;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 768px) {
    .advantage-item {
        width: calc(50% - 20px);
    }
}



.hero-section h1,
.pains-section-title,
.pains-section-subtitle {
    font-family: 'Geologica', sans-serif;
    font-weight: 700;
    line-height: 1.05;
}



.functionality-section {
    background: #1e1e36;
    padding: 60px 20px;
    color: #ffffff;
}

.functionality-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.functionality-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #ffffff;
}

.functionality-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: space-between;
}

.functionality-card {
    background-color: #2a2847;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    transition: transform 0.3s ease;
    text-align: left;
    position: relative;
    width: calc(33.333% - 16px); /* учитываем gap */
    box-sizing: border-box;
}

.functionality-card:hover {
    transform: translateY(-4px);
}

.functionality-icon {
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
    object-fit: contain;
    position: absolute;
    right: 0;
    top: 0;
}

.functionality-card-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
    margin-right: 40px;
    margin-top: 60px;
}

.functionality-card-text {
    font-size: 15px;
    font-weight: 300;
    color: #dcdce6;
    line-height: 1.4;
}

/* Mobile */
@media (max-width: 600px) {
    .functionality-title {
        font-size: 24px;
    }

    .functionality-card {
        padding: 20px;
        width: 100%;
    }

    .functionality-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 16px;
    }
}



.experience-image {
    flex: 1 1 300px;
    text-align: center;
}

.experience-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}



.experience-section {
    background: #f6f8fa;
    padding: 80px 20px;
}

.experience-container {
    max-width: 1100px;
    margin: 0 auto;
}

.experience-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 40px;
    text-align: center;
}

.experience-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.experience-block {
    display: flex;
    background: #fff;
    border-radius: 10px;
    /* box-shadow: 0 12px 28px rgba(0, 0, 0, 0.05); */
    padding: 30px;
    align-items: center;
    gap: 30px;
}

.experience-info {
    flex: 1;
}

.experience-project {
    font-size: 20px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 10px;
}

.experience-text {
    font-size: 16px;
    color: #5f6470;
    line-height: 1.5;
    margin-bottom: 16px;
}

.experience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.experience-tag {
    background: #e1e6f9;
    color: #5c77de;
    padding: 6px 14px;
    font-size: 14px;
    border-radius: 5px;
}

.experience-image {
    width: 200px;
    flex-shrink: 0;
}

.experience-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.experience-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.experience-list li {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #444;
    margin-bottom: 8px;
}

.check-icon {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: #28a745;
    stroke-width: 2.5;
    margin-right: 10px;
    flex-shrink: 0;
}

.experience-result {
    font-weight: 500;
    color: #1e1e2f;
    background: #eef8ee;
    padding: 10px 16px;
    border-left: 4px solid #28a745;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .experience-block {
        flex-direction: column;
        text-align: center;
    }

    .experience-image {
        width: 100%;
    }
}



.projects-section {
    background: #fafafa;
    padding: 80px 20px;
    margin-top: -1px;
}

.projects-container {
    max-width: 1100px;
    margin: 0 auto;
}

.projects-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 40px;
    text-align: center;
}

.project-slide {
    display: flex;
    justify-content: center;
}

.project-card {
    display: flex;
    background: #fff;
    border-radius: 20px;
    box-shadow: rgba(0, 0, 0, 0.15) 0 12px 28px -20px;
    padding: 20px 30px;
    align-items: center;
    max-width: 900px;
    gap: 20px;
    height: 300px;
}

.project-text {
    flex: 1;
}

.project-name {
    font-size: 20px;
    font-weight: 700;
    color: #1e1e2f;
    margin-bottom: 10px;
}
.project-name a {
    color: #1e1e2f;
}

.project-description {
    font-size: 16px;
    color: #5f6470;
    line-height: 1.5;
}

.project-image {
    height: 150px;
    flex-shrink: 0;
}

.project-image img {
    height: 150px;

    width: auto;
    border-radius: 12px;
}

/* Swiper */
.swiper-pagination {
    text-align: center;
    margin-top: 20px;
}

.swiper-pagination-bullet {
    background: #1e1e2f;
    opacity: 0.3;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #5c77de ;
}

.swiper {
    height: 400px;
}

/* Mobile */
@media (max-width: 768px) {
    .project-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        box-shadow: none;
    }

    .project-image {
        width: 80%;
        margin-top: 20px;
    }

    .project-image img {
        box-shadow: rgba(0, 0, 0, 0.2) 0 17px 10px -13px;
    }
}




.faq-section {
    background-color: #1e1e36;
    padding: 60px 20px;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.faq-list {
    /*border-top: 1px solid #ddd;*/
}

.faq-item {
    /*border-bottom: 1px solid #ddd;*/
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    padding: 20px;
    cursor: pointer;
    background: #2a2847;
    transition: background 0.3s;
    color: #e4e3f3;
}

.faq-question:hover {
    background: #3f3d60;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background: #6e6b96;
    padding: 0 20px;
    font-size: 16px;
    line-height: 1.5;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 300px;
}



.ceo-section {
    background-color: #0d1224;
    padding: 60px 20px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.ceo-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    gap: 40px;
    flex-wrap: wrap;
}

.ceo-photo {
    width: 240px;
    border-radius: 8px;
    object-fit: cover;
}

.ceo-text {
    max-width: 700px;
}

.ceo-text h2 {
    font-size: 2em;
    font-weight: 700;
    margin-bottom: 20px;
}

.ceo-text p {
    font-size: 1.05em;
    line-height: 1.6;
    margin-bottom: 16px;
    color: #d1d5db;
}

.ceo-name {
    margin-top: 20px;
    font-weight: 600;
    font-size: 1.2em;
    color: #fff;
}

.ceo-role {
    font-size: 0.95em;
    color: #9ca3af;
}
