/* GENERAL */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #ffffff;
    color: #17231d;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid #188834;
}

.navbar {
    position: relative;
    width: 90%;
    max-width: 1180px;
    min-height: 78px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 150px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links > a,
.dropdown-toggle {
    text-decoration: none;
    color: #17231d;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.nav-links > a:hover,
.dropdown-toggle:hover {
    color: #188834;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: block;
    padding: 30px 0;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    width: 270px;
    padding: 10px 0;
    transform: translateX(-50%);
    visibility: hidden;
    opacity: 0;
    background: #ffffff;
    border-top: 3px solid #188834;
    box-shadow: 0 12px 30px rgba(23, 35, 29, 0.12);
    transition: 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {

    .nav-dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
    }

}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    text-decoration: none;
    color: #17231d;
    font-size: 13px;
    line-height: 1.4;
}

.dropdown-menu a:hover {
    background: #ebf5ee;
    color: #188834;
}

.menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 8px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px auto;
    background: #17231d;
}


/* HERO */

.service-hero {
    position: relative;
    min-height: 520px;
    padding: 70px 30px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    background: #17231d;
}

.service-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 20, 0.30);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 850px;
    color: #ffffff;
}

.service-hero h1 {
    margin: 0 0 18px;
    font-size: 54px;
    line-height: 1.12;
    color: #ffffff;
}

.service-hero p:not(.section-label) {
    max-width: 680px;
    margin: auto;
    color: #e4eee7;
    font-size: 17px;
    line-height: 1.6;
}


/* SERVICES */

.services-section {
    padding: 75px 0;
    background: #ffffff;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.service-card {
    position: relative;
    height: 390px;
    overflow: hidden;
    background: #17231d;
    scroll-margin-top: 100px;
}

.service-card > img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 35, 20, 0.18);
    transition: 0.4s ease;
    pointer-events: none;
}

.service-card:hover > img {
    transform: scale(1.05);
}

.service-card:hover::after {
    background: rgba(10, 35, 20, 0.35);
}


/* SERVICE INFORMATION */

.service-info {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 62%;
    height: 100%;
    padding: 35px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(23, 107, 49, 0.97);
    color: #ffffff;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}

.service-card:hover .service-info {
    transform: translateX(0);
}

.service-info h2 {
    margin: 0 0 15px;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.25;
}

.service-info p {
    margin: 0 0 18px;
    color: #e4eee7;
    font-size: 14px;
    line-height: 1.65;
}

.service-info span {
    color: #dff2e4;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}


/* TOUCH DEVICES */

@media (hover: none) and (pointer: coarse) {

    .service-card .service-info {
        transform: translateX(0);
    }

    .service-card.touch-active .service-info {
        transform: translateX(100%);
    }

    .service-card:hover > img {
        transform: none;
    }

}


/* CTA */

.services-cta {
    padding: 70px 5%;
    background: #ffffff;
    color: #17231d;
    text-align: center;
}

.services-cta > div {
    max-width: 800px;
    margin: auto;
}

.services-cta .section-label {
    color: #176b31;
}

.services-cta h2 {
    margin: 0 0 14px;
    font-size: 38px;
    line-height: 1.2;
    color: #17231d;
}

.services-cta p:not(.section-label) {
    max-width: 650px;
    margin: 0 auto 25px;
    color: #17231d;
    line-height: 1.6;
}

.services-cta .btn {
    background: #176b31;
    border-color: #176b31;
    color: #ffffff;
}

.services-cta .btn:hover {
    background: #125a29;
    border-color: #125a29;
}


/* FOOTER */

.site-footer {
    background: #17231d;
    color: #ffffff;
    padding: 32px 0 12px;
}

.footer-content {
    width: 90%;
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.site-footer h4 {
    margin: 0 0 10px;
    font-size: 15px;
}

.site-footer p {
    margin: 0;
    line-height: 1.45;
    color: #dce5df;
    font-size: 13px;
}

.office-row,
.contact-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.office-row strong,
.contact-row strong {
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
}

.contact-row a {
    color: #dce5df;
    text-decoration: none;
}

.contact-row a:hover {
    color: #8fcf9b;
}

.footer-bottom {
    width: 90%;
    max-width: 1180px;
    margin: 20px auto 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    color: #dce5df;
    font-size: 11px;
}


/* MOBILE */

@media (max-width: 650px) {

    .footer-content {
        width: 90%;
    }

    .office-row,
    .contact-row {
        gap: 20px;
    }
}

@media (max-width: 420px) {

    .office-row,
    .contact-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* TABLET */

@media (max-width: 900px) {

    .navbar {
        min-height: 70px;
    }

    .logo img {
        width: 125px;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
    }

    .menu-toggle span {
        margin: auto;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        left: auto;
        width: min(280px, 78vw);
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 18px;
        box-sizing: border-box;
        background: #ffffff;
        border: 1px solid #dfe8e2;
        border-top: 3px solid #188834;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.14);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links > a,
    .dropdown-toggle {
        padding: 12px 0;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        max-height: none;
        padding: 0;
        transform: none;
        display: none;
        opacity: 1;
        visibility: visible;
        border-top: 1px solid #dfe8e2;
        box-shadow: none;
    }

    .nav-dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 9px 12px;
    }

    .service-hero {
        min-height: 430px;
    }

    .service-hero h1 {
        font-size: 44px;
    }

    .service-grid {
        gap: 20px;
    }

    .service-card {
        height: 350px;
    }

    .service-info {
        width: 70%;
        padding: 28px;
    }

    .service-info h2 {
        font-size: 22px;
    }

    .service-info p {
        font-size: 13px;
    }
}


/* MOBILE */

@media (max-width: 650px) {

    .navbar {
        min-height: 64px;
    }

    .logo img {
        width: 115px;
    }

    .nav-links {
        top: 64px;
        width: min(260px, 82vw);
        max-height: calc(100vh - 74px);
    }

    .service-hero {
        min-height: 420px;
        padding: 60px 20px;
    }

    .service-hero h1 {
        font-size: 35px;
    }

    .service-hero p:not(.section-label) {
        font-size: 15px;
    }

    .services-section {
        padding: 60px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        height: 360px;
    }

    .service-info {
        width: 78%;
        padding: 25px;
    }

    .service-info h2 {
        font-size: 23px;
    }

    .service-info p {
        font-size: 13px;
    }

    .services-cta {
        padding: 55px 5%;
    }

    .services-cta h2 {
        font-size: 30px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .office-row {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}


/* SMALL MOBILE */

@media (max-width: 420px) {

    .office-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}