html {
    scroll-behavior: smooth;
    max-width: 100%;
    overflow-x: hidden;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background-color: #e5efe3;
    color: #1f2a1f;
    max-width: 100%;
    overflow-x: hidden;
}

/* HERO */

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

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-image: url('/static/img/pole_seno_gorizont_306176_3840x2160.jpg');
    background-size: cover;
    background-position: center bottom;
    color: #fff;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15), rgba(0,0,0,0.7));
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 80px;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 12px;
    text-align: center;
}

.hero__top {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 32px;
}

.hero__logo {
    font-size: 20px;
    letter-spacing: 0.3em;
}

.hero__nav {
    margin-left: auto;
    display: flex;
    gap: 24px;
    font-size: 14px;
}

.hero__nav a {
    color: #f4f4f4;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    user-select: none;
}

.hero__nav a:hover {
    text-decoration: underline;
}

.hero__branding {
    max-width: 720px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.hero__buttons {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero__buttons--bottom {
    margin-top: auto;
    padding-bottom: 24px;
}

/* Верхняя навигация — верх страницы */
.hero__nav-top {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding: 18px 24px;
}

.hero__nav-top a,
.hero__nav-top a:link,
.hero__nav-top a:visited,
.hero__nav-top a:hover,
.hero__nav-top a:active,
.hero__nav-top a:focus {
    color: #fff !important;
    text-decoration: none !important;
    text-transform: uppercase;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    letter-spacing: 0.18em;
    font-weight: 500;
    background: transparent;
    border: none;
    padding: 8px 4px;
    cursor: pointer;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.hero__nav-top a:hover {
    opacity: 1;
}


/* Общий светлый фон для кнопок "Начать работу" и "Войти" в верхнем меню */
.hero__nav-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 14px;
    background: rgba(245, 245, 245, 0.24);
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(8px);
}

.hero__nav-top .hero__nav-actions .hero__nav-action-btn,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:link,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:visited,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:focus,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:active {
    min-height: 36px;
    padding: 9px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.88) !important;
    border: 1px solid rgba(255, 255, 255, 0.92) !important;
    color: #111 !important;
    opacity: 1;
    font-weight: 800;
    -webkit-text-stroke: 0;
    box-shadow: none;
}

.hero__nav-top .hero__nav-actions .hero__nav-action-btn:hover {
    background: #ffffff !important;
    color: #000 !important;
    opacity: 1;
    transform: translateY(-1px);
}

.hero__subtitle {
    margin-top: 8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.85;
    font-weight: 300;
    margin-top: -20px;
}

.hero__title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: clamp(42px, 7.5vw, 80px);
    line-height: 1.05;
    margin: 8px 0 14px;
    letter-spacing: 0.18em;
}

.hero__description {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 20px;
    font-weight: 300;
    line-height: 1.3;
    margin-top: 10vh;
    margin-bottom: 28px;
    opacity: 0.9;
}

/* КНОПКИ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 26px;
    border-radius: 6px;
    border: 1px solid transparent;
    font-size: 13px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.btn--light {
    background-color: #f5f5f5;
    color: #111;
    font-weight: 900;
    -webkit-text-stroke: 0.4px #111;
}


.btn--light:hover {
    background-color: #ffffff;
    transform: translateY(-1px);
}

.btn--outline {
    border-color: #333;
    color: #333;
    background: transparent;
}

.btn--outline:hover {
    background-color: #333;
    color: #fff;
}

.btn--dark {
    background-color: #111;
    color: #fff;
}

.btn--dark:hover {
    background-color: #000;
}

/* ОСНОВНОЙ ФОН ПОД HERO */

.main {
    background-color: #e5efe3;
}

.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px;
}

.section--cards {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.65)), url('/static/img/llited.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    max-width: 100vw;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-top: 110px;
    padding-bottom: 110px;
}

.section--cards > * {
    position: relative;
    z-index: 1;
}

.section--split {
    background: linear-gradient(180deg, #dfe9dd 0%, #e5efe3 100%);
    border-radius: 32px;
}

.section--pricing {
    background: radial-gradient(circle at top, #f5f9f3 0%, #dfe9dd 60%, #e5efe3 100%);
    border-radius: 32px;
}

.section--contact {
    background: linear-gradient(180deg, #e5efe3 0%, #d4e4d3 100%);
    border-radius: 32px;
}

.section__title {
    text-align: center;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.26em;
    font-size: 36px;
    margin-bottom: 40px;
    text-transform: uppercase;
    color: #FAF9F7;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.65);
}

/* БЛОК С КАРТОЧКАМИ */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
}

.card {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    padding: 18px 16px 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.card--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card--link:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(0,0,0,0.12);
}

.card__image {
    width: 100%;
    padding-top: 110%;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    margin-bottom: 16px;
}

.card__image--1 { background-image: url('/static/img/hyperspectral_main.jpg'); }
.card__image--2 { background-image: url("/static/img/630-2025-04-28T172119_large(1).png"); }
.card__image--3 { background-image: url('/static/img/natural_field.jpg'); }

.card__title {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    font-size: 13px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.card__text {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* СПЛИТ-СЕКЦИИ С ФОТО И ТЕКСТОМ */

.split {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 40px;
    align-items: center;
}

.split--reverse {
    grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
}

.split__image {
    width: 100%;
    padding-top: 70%;
    background-size: cover;
    background-position: center;
    border-radius: 12px;
}

.split__image--1 { background-image: url('/static/img/space_ship.jpg'); }
.split__image--2 { background-image: url('/static/img/natural_field.jpg'); }

.split__text h2 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 24px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.split__text p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.about__button-wrapper {
    margin-top: 20px;
    text-align: center;
}

.about__button-wrapper .btn {
    min-width: 200px;
}

/* ПРАЙС */

.section--pricing {
    text-align: center;
}

.pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.pricing__item {
    background-color: #d4e4d3;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.pricing__item h3 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.18em;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.pricing__item p {
    font-size: 14px;
    line-height: 1.7;
}

.pricing__price {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0 6px;
}

/* КОНТАКТЫ */

.section--contact {
    padding-bottom: 100px;
}

.contact {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,1fr);
    gap: 40px;
    align-items: center;
}

.contact__text h2 {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 24px;
    margin-bottom: 16px;
}

.contact__text p {
    font-size: 14px;
    line-height: 1.7;
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact__form input {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #aaa;
    font-size: 14px;
}

/* ФУТЕР */

.footer {
    background-color: #c0d3be;
    padding: 28px 0;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr);
    gap: 28px;
    align-items: center;
    font-size: 12px;
}

.footer__contacts {
    text-align: left;
}

.footer__contacts p,
.footer__funding p {
    margin: 0 0 6px;
}

.footer__funding {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 20px;
    align-items: center;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .38);
    border: 1px solid rgba(44, 92, 50, .12);
}

.footer__funding-text {
    color: rgba(21, 37, 24, .80);
    line-height: 1.55;
}

.footer__funding-logos {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    min-width: 220px;
}

.footer__funding-logos img {
    display: block;
    width: auto;
    max-width: 186px;
    height: 74px;
    object-fit: contain;
}

/* АДАПТИВ */

@media (max-width: 900px) {
    .hero__nav-top {
        flex-wrap: wrap;
        gap: 14px;
        padding: 14px 16px;
    }

    .hero__nav-actions {
        width: 100%;
        justify-content: center;
        max-width: 420px;
        margin: 0 auto;
    }

    .hero__content {
        padding-top: 20px;
    }

    .hero__nav {
        display: none;
    }

    .hero__text {
        max-width: 100%;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .split,
    .split--reverse,
    .pricing,
    .contact {
        grid-template-columns: 1fr;
    }
}

/* Simplified authorization actions: no translucent capsule/outline around the buttons. */
.hero__nav-actions {
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.hero__nav-top .hero__nav-actions .hero__nav-action-btn,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:link,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:visited,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:focus,
.hero__nav-top .hero__nav-actions .hero__nav-action-btn:active {
    border: 0 !important;
}

@media (max-width: 900px) {
    .footer__inner {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .footer__contacts,
    .footer__funding {
        text-align: center;
    }

    .footer__funding {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .footer__funding-logos {
        min-width: 0;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 520px) {
    .footer {
        padding: 22px 0;
    }

    .footer__inner {
        padding: 0 14px;
    }

    .footer__funding {
        padding: 14px 12px;
        border-radius: 16px;
    }

    .footer__funding-text {
        font-size: 11.5px;
    }

    .footer__funding-logos {
        gap: 10px;
    }

    .footer__funding-logos img {
        max-width: 170px;
        height: 68px;
    }
}
