:root {
    --green: #22951d;
    --green-dark: #126b13;
    --green-light: #39b72f;

    --dark: #082528;
    --dark-soft: #12373a;

    --text: #122426;
    --text-light: #627174;

    --background: #ffffff;
    --background-soft: #f5f8f7;

    --border: #e3ebe7;

    --container: 1280px;

    --radius: 14px;
}


/* ========================================
   Base
======================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

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

.site-container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* ========================================
   Header - top bar
======================================== */

.top-bar {
    background:
        linear-gradient(
            90deg,
            #071d20,
            #0c3637
        );

    color: #ffffff;

    font-size: 14px;
}

.top-bar-inner {
    min-height: 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 25px;
}

.top-actions,
.language-switcher {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar a {
    opacity: 0.86;

    transition:
        opacity 0.2s ease,
        color 0.2s ease;
}

.top-bar a:hover {
    opacity: 1;
    color: #79d46d;
}

.language-switcher .active {
    color: #6ed05f;
    font-weight: 700;
}


/* ========================================
   Main header
======================================== */

.main-header {
    background: #ffffff;

    border-bottom: 1px solid var(--border);

    box-shadow:
        0 4px 18px rgba(0, 0, 0, 0.025);
}

.main-header-inner {
    min-height: 125px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}

.site-logo {
    flex: 0 0 auto;
}

.site-logo img {
    width: 220px;
    max-height: 105px;

    object-fit: contain;
}

.main-navigation {
    display: flex;
    align-items: center;

    gap: 32px;

    font-size: 16px;
    font-weight: 600;
}

.main-navigation a {
    position: relative;

    padding:
        14px
        0;

    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: var(--green);
}

.main-navigation a.active::after {
    content: "";

    position: absolute;

    inset-inline-start: 0;
    inset-inline-end: 0;
    bottom: 5px;

    height: 2px;

    background: var(--green);
}


/* ========================================
   Hero
======================================== */

.hero {
    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 78% 45%,
            rgba(46, 172, 41, 0.13),
            transparent 34%
        ),
        linear-gradient(
            110deg,
            #ffffff 0%,
            #f8fbfa 55%,
            #eef8f0 100%
        );

    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: "";

    position: absolute;

    width: 430px;
    height: 430px;

    border-radius: 50%;

    background:
        rgba(32, 148, 30, 0.05);

    top: -240px;
    left: -100px;
}

.hero-inner {
    min-height: 590px;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(380px, 0.95fr);

    align-items: center;

    gap: 60px;

    padding-top: 55px;
    padding-bottom: 90px;
}

.hero-content {
    position: relative;

    z-index: 2;
}

.hero-label {
    display: inline-flex;

    padding:
        7px
        15px;

    margin-bottom: 18px;

    color: var(--green-dark);

    background:
        rgba(37, 156, 31, 0.09);

    border:
        1px solid
        rgba(37, 156, 31, 0.18);

    border-radius: 30px;

    font-size: 14px;
    font-weight: 700;
}

.hero h1 {
    margin:
        0
        0
        22px;

    max-width: 720px;

    color: var(--dark);

    font-size:
        clamp(
            42px,
            5vw,
            67px
        );

    line-height: 1.1;

    letter-spacing: -1.5px;
}

.hero h1 span {
    color: var(--green);
}

.hero-description {
    max-width: 720px;

    margin:
        0
        0
        30px;

    color: var(--text-light);

    font-size: 20px;

    line-height: 1.9;
}


/* ========================================
   Buttons
======================================== */

.hero-primary-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 14px;

    margin-bottom: 17px;
}

.button {
    min-width: 210px;

    padding:
        15px
        27px;

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

    border-radius: 9px;

    font-size: 17px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-green {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--green-light),
            var(--green-dark)
        );

    box-shadow:
        0 10px 25px
        rgba(33, 143, 29, 0.18);
}

.button-dark {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--dark-soft),
            var(--dark)
        );

    box-shadow:
        0 10px 25px
        rgba(3, 38, 41, 0.14);
}

.hero-contact-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 10px;
}

.quick-action {
    padding:
        11px
        20px;

    background: #ffffff;

    border:
        1px solid
        var(--border);

    border-radius: 9px;

    font-weight: 600;

    box-shadow:
        0 6px 20px
        rgba(0, 0, 0, 0.035);

    transition:
        border-color 0.2s ease,
        color 0.2s ease;
}

.quick-action:hover {
    color: var(--green-dark);
    border-color: var(--green);
}


/* ========================================
   Hero visual
======================================== */

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

.technology-card {
    position: relative;

    width: min(100%, 470px);
    aspect-ratio: 1;

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

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            #ffffff 0%,
            #eef8ef 43%,
            #dcefe0 72%,
            rgba(255,255,255,0) 73%
        );
}

.technology-card::before {
    content: "";

    position: absolute;

    width: 78%;
    height: 78%;

    border-radius: 50%;

    border:
        1px solid
        rgba(30, 145, 27, 0.19);
}

.technology-center {
    position: relative;

    z-index: 3;

    width: 210px;
    height: 210px;

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

    padding: 20px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 25px 65px
        rgba(13, 70, 41, 0.16);
}

.technology-center img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    border-radius: 50%;
}

.technology-orbit {
    position: absolute;

    border-radius: 50%;

    border:
        1px dashed
        rgba(27, 139, 24, 0.27);
}

.orbit-one {
    width: 88%;
    height: 88%;
}

.orbit-two {
    width: 65%;
    height: 65%;
}

.technology-item {
    position: absolute;

    width: 68px;
    height: 68px;

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

    z-index: 4;

    border-radius: 18px;

    background: #ffffff;

    border:
        1px solid
        rgba(32, 144, 29, 0.15);

    color: var(--green-dark);

    font-size: 14px;
    font-weight: 800;

    box-shadow:
        0 10px 28px
        rgba(10, 65, 35, 0.10);
}

.technology-item-1 {
    top: 9%;
    right: 19%;
}

.technology-item-2 {
    bottom: 15%;
    right: 8%;
}

.technology-item-3 {
    bottom: 9%;
    left: 21%;
}

.technology-item-4 {
    top: 22%;
    left: 5%;
}


/* ========================================
   Services preview
======================================== */

.service-preview {
    position: relative;

    margin-top: -48px;

    padding-bottom: 70px;

    z-index: 5;
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 14px;
}

.service-card {
    min-height: 210px;

    padding:
        25px
        20px;

    background: #ffffff;

    border:
        1px solid
        var(--border);

    border-radius: var(--radius);

    box-shadow:
        0 14px 35px
        rgba(6, 55, 37, 0.065);

    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.service-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(33, 147, 29, 0.42);

    box-shadow:
        0 20px 45px
        rgba(6, 55, 37, 0.11);
}

.service-icon {
    width: 43px;
    height: 43px;

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

    margin-bottom: 17px;

    border-radius: 11px;

    color: var(--green-dark);

    background:
        rgba(37, 157, 31, 0.09);

    font-weight: 800;
}

.service-card h2 {
    margin:
        0
        0
        8px;

    color: var(--dark);

    font-size: 18px;
}

.service-card p {
    margin: 0;

    color: var(--text-light);

    font-size: 14px;

    line-height: 1.7;
}


/* ========================================
   Footer
======================================== */

footer {
    padding:
        25px
        20px;

    text-align: center;

    color: #7a8789;

    border-top:
        1px solid
        var(--border);
}


/* ========================================
   Responsive
======================================== */

@media (max-width: 1100px) {

    .main-header-inner {
        flex-direction: column;

        padding-top: 18px;
        padding-bottom: 18px;

        gap: 12px;
    }

    .main-navigation {
        gap: 20px;

        flex-wrap: wrap;

        justify-content: center;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        text-align: center;

        padding-top: 60px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-primary-actions,
    .hero-contact-actions {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;

        margin-inline: auto;
    }

    .service-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }
}


@media (max-width: 700px) {

    .site-container {
        width:
            min(
                calc(100% - 28px),
                var(--container)
            );
    }

    .top-bar-inner {
        flex-direction: column;

        padding:
            8px
            0;

        gap: 5px;
    }

    .language-switcher {
        flex-wrap: wrap;

        justify-content: center;
    }

    .site-logo img {
        width: 175px;
    }

    .main-navigation {
        font-size: 14px;

        gap:
            8px
            18px;
    }

    .hero-inner {
        min-height: auto;

        padding-top: 45px;
        padding-bottom: 80px;

        gap: 35px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero-description {
        font-size: 17px;
    }

    .button {
        width: 100%;
        min-width: auto;
    }

    .hero-primary-actions {
        width: 100%;
    }

    .technology-card {
        max-width: 350px;
    }

    .technology-center {
        width: 155px;
        height: 155px;
    }

    .technology-item {
        width: 55px;
        height: 55px;

        border-radius: 13px;

        font-size: 12px;
    }

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

    .service-preview {
        margin-top: -25px;
    }

}