html,
body {
    height: 100%;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: #ffffff;
    color: #212529;
}

body {
    padding-top: 78px;
}

.page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header,
.site-footer {
    flex-shrink: 0;
}

.site-footer {
    margin-top: auto;
}

.navbar {
    padding-top: 0.9rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(149, 188, 75, 0.22);
    background:
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.97) 0%,
            rgba(248, 249, 250, 0.96) 100%
        ) !important;
    backdrop-filter: blur(14px);
    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.06),
        0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.navbar-brand img {
    display: block;
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.2;
    color: #343a40;
    padding: 0.75rem 1rem !important;
    border-radius: 999px;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.nav-link:hover,
.nav-link:focus {
    color: #5f7f2e;
    background-color: rgba(149, 188, 75, 0.12);
    transform: translateY(-1px);
}

.nav-link.btn {
    border-radius: 999px;
    font-weight: 800;
    border: 1px solid rgba(149, 188, 75, 0.4);
    color: #5f7f2e;
    background:
        linear-gradient(
            180deg,
            rgba(149, 188, 75, 0.14) 0%,
            rgba(149, 188, 75, 0.08) 100%
        );
    box-shadow: 0 8px 20px rgba(149, 188, 75, 0.12);
}

.nav-link.btn:hover,
.nav-link.btn:focus {
    color: #ffffff;
    background: #95BC4B;
    border-color: #95BC4B;
}

@media (min-width: 992px) {

    .navbar-nav .nav-item:not(:last-child) {
        margin-right: 0.25rem;
    }

}

@media (max-width: 991px) {

    body {
        padding-top: 72px;
    }

    .navbar-nav .nav-item {
        border-right: none;
    }

    .nav-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
        border-radius: 0;
    }

    .nav-link:hover,
    .nav-link:focus {
        background-color: transparent;
        transform: none;
    }

    .nav-link.btn {
        display: inline-block;
        padding: 0.7rem 1rem !important;
        border-radius: 999px;
    }

    .navbar-collapse {
        background:
            linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.98) 0%,
                rgba(248, 249, 250, 0.98) 100%
            );
        margin-top: 1rem;
        padding: 1rem 0;
        border-radius: 18px;
    }

}

.hero-video {
    position: relative;
    width: 100%;
    aspect-ratio: 1620 / 300;
    overflow: hidden;
    background:
        radial-gradient(circle at center, #f8f9fa 0%, #eef1f4 100%);
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-loader {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, #f8f9fa 0%, #eef1f4 100%);
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hero-loader-logo {
    width: 180px;
    max-width: 60vw;
    opacity: 0.7;
    animation: heroPulse 1.8s ease-in-out infinite;
}

@keyframes heroPulse {

    0% {
        opacity: 0.45;
        transform: scale(0.98);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0.45;
        transform: scale(0.98);
    }

}

.hero-video.hero-ready .hero-loader {
    opacity: 0;
    visibility: hidden;
}

.hero-video.hero-ready video {
    opacity: 1;
}

:target {
    scroll-margin-top: 90px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    letter-spacing: -0.02em;
}

h2 {
    margin-bottom: 0;
    font-weight: 800;
}

h2::after {
    content: "";
    display: block;
    width: 72px;
    height: 4px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #95BC4B 0%, #bfd98a 100%);
    margin-top: 0.7rem;
}

h2 + section {
    margin-top: 1rem !important;
}

.section-soft {
    background:
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(233, 236, 239, 0.9);
    border-radius: 28px;
    padding: 3rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}

.section-kicker {
    color: #95BC4B;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    margin-bottom: 0.6rem;
}

.feature-card {
    position: relative;
    height: 100%;
    padding: 1.75rem;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(222, 226, 230, 0.9);
    border-radius: 24px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}

.feature-card * {
    user-select: none;
    -webkit-user-select: none;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at top right,
            rgba(149, 188, 75, 0.10),
            transparent 45%
        );
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(149, 188, 75, 0.28);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

.feature-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, #95BC4B 0%, #7ca13a 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    margin-bottom: 1.1rem;
    box-shadow: 0 10px 24px rgba(149, 188, 75, 0.28);
}

.feature-card h3 {
    font-size: 1.08rem;
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.6;
}

/* Realisations carousel */
.realisations-carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 3rem;
    padding-right: 3rem;
}

.realisations-carousel-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.realisations-carousel-col {
    flex: 0 0 calc((100% - 2rem) / 3);
}

.realisations-carousel-img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: contain;
    background:
        linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid rgba(233, 236, 239, 0.9);
    border-radius: 22px;
    padding: 0.8rem;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.realisations-carousel-img:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(149, 188, 75, 0.28);
    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
}

.realisations-carousel .carousel-control-prev,
.realisations-carousel .carousel-control-next {
    width: 3rem;
}

.realisations-carousel .carousel-control-prev-icon,
.realisations-carousel .carousel-control-next-icon {
    filter: invert(1) grayscale(100);
}

/* Realisations modal */
.modal-backdrop.show {
    opacity: 0.92;
}

.modal-dialog {
    width: fit-content;
    max-width: 95vw;
    margin: auto;
}

.realisation-modal-content {
    background: transparent;
    border: 0;
    box-shadow: none;
}

.realisation-modal-body {
    position: relative;
    padding: 0;
    background: transparent;
    display: inline-block;
}

.realisation-modal-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 82vh;
    object-fit: contain;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 24px;
    padding: 1rem;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
}

.realisation-modal-close {
    position: absolute;
    top: -0.9rem;
    right: -0.9rem;
    z-index: 2;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 999px;
    background-color: #ffffff;
    opacity: 1;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.18);
}

@media (max-width: 991px) {

    .hero-video {
        aspect-ratio: auto;
        height: 220px;
    }

    .section-soft {
        padding: 2rem 1.5rem;
        border-radius: 22px;
    }

    .feature-card {
        border-radius: 20px;
    }

    .realisations-carousel {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .realisations-carousel-col {
        flex-basis: calc((100% - 1rem) / 2);
    }

    .realisations-carousel-col:nth-child(3) {
        display: none;
    }

    .realisation-modal-img {
        max-height: 78vh;
        border-radius: 18px;
        padding: 0.6rem;
    }

    .realisation-modal-close {
        top: 0.5rem;
        right: 0.5rem;
    }

}

@media (max-width: 575px) {

    .realisations-carousel {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .realisations-carousel-col {
        flex-basis: 100%;
    }

    .realisations-carousel-col:nth-child(2),
    .realisations-carousel-col:nth-child(3) {
        display: none;
    }

}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    font-size: 0.875rem;
    text-align: center;
}

.footer-country {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-flag {
    display: block;
    object-fit: cover;
    border-radius: 2px;
}

@media (max-width: 575px) {

    .footer-inner {
        flex-direction: column;
        gap: 0.35rem;
    }

    .footer-separator {
        display: none;
    }

}