:root {
    --green-900: #123d2a;
    --green-800: #195539;
    --green-700: #236b46;
    --green-500: #38a169;
    --green-100: #eaf7ef;
    --accent: #f5b942;
    --earth: #8a6238;
    --ink: #17231c;
    --muted: #66736b;
    --line: #dce7df;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(18, 61, 42, 0.12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--ink);
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    line-height: 1.65;
    margin: 0;
    overflow-x: hidden;
}

a {
    color: var(--green-700);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--green-500);
}

img {
    display: block;
    max-width: 100%;
}

.btn {
    border-radius: 6px;
    font-weight: 700;
    padding: 0.85rem 1.35rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    border: 0;
    box-shadow: 0 12px 25px rgba(35, 107, 70, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--green-800), var(--green-700));
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--green-700);
    color: var(--green-700);
}

.btn-outline-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
}

.btn-accent {
    background: var(--accent);
    border: 0;
    color: #2d2410;
}

.top-bar {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    padding: 0.65rem 0;
}

.top-bar span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-right: 1.2rem;
}

.top-bar a {
    color: rgba(255, 255, 255, 0.88);
    margin-left: 0.75rem;
}

.top-quote {
    background: var(--accent);
    border: 0;
    border-radius: 6px;
    color: #2d2410;
    font-weight: 700;
    margin-left: 1rem;
    padding: 0.42rem 0.8rem;
}

.site-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 10px 35px rgba(18, 61, 42, 0.08);
    position: sticky;
    top: 0;
    z-index: 1020;
}

.navbar {
    min-height: 82px;
}

.navbar-brand,
.footer-brand {
    align-items: center;
    color: var(--green-900);
    display: inline-flex;
    gap: 0.75rem;
    min-width: 0;
}

.navbar-brand strong,
.footer-brand span:last-child {
    display: block;
    font-size: 1.25rem;
    line-height: 1.1;
}

.navbar-brand small {
    color: var(--muted);
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-mark {
    align-items: center;
    background: linear-gradient(135deg, var(--green-700), var(--green-500));
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
    width: 48px;
}

.nav-link {
    color: var(--ink);
    font-weight: 700;
    padding: 0.8rem -0.40rem !important;
}

.nav-link:hover {
    color: var(--green-700);
}

.nav-cta {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    padding: 0.7rem 1rem;
    white-space: nowrap;
}

.hero-slide,
.page-hero {
    background-position: center;
    background-size: cover;
    min-height: 580px;
    position: relative;
}

.hero-slide::before,
.page-hero::before {
    background: linear-gradient(90deg, rgba(12, 47, 31, 0.86), rgba(12, 47, 31, 0.52), rgba(12, 47, 31, 0.16));
    content: "";
    inset: 0;
    position: absolute;
}

.hero-slide .container,
.page-hero .container {
    align-items: center;
    display: flex;
    min-height: inherit;
    position: relative;
    z-index: 1;
}

.hero-content {
    color: var(--white);
    max-width: 1250px;
    padding: 5rem 0;
}

.hero-content h1,
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 5.6rem);
    font-weight: 800;
    line-height: 1.05;
    margin: 0.8rem 0 1.2rem;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.16rem;
    max-width: 650px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-top: 2rem;
}

.page-hero {
    min-height: 430px;
}

.page-hero .container {
    align-items: flex-end;
    padding-bottom: 1.5rem;
}

.page-hero h1 {
    color: var(--white);
    max-width: 1250px;
}

.eyebrow {
    color: var(--accent);
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.section-pad {
    padding: 1rem 0;
}

.bg-soft {
    background: linear-gradient(180deg, #f6fbf7, #ffffff);
}

.bg-dark-green {
    background: radial-gradient(circle at top left, rgba(56, 161, 105, 0.22), transparent 30%), var(--green-900);
}

.section-title {
    margin: 0 auto 3rem;
    max-width: 760px;
}

.section-title h2,
.intro-section h2,
.why-section h2 {
    color: var(--green-900);
    font-size: clamp(2rem, 2.3vw, 1.5rem);
    font-weight: 800;
    /*line-height: 1.12;*/
}

.section-title p,
.lead,
p {
    color: var(--muted);
}

.section-title.light h2,
.section-title.light p {
    color: var(--white);
}

.image-stack {
    position: relative;
}

.main-img,
.rounded-img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    min-height: 420px;
    object-fit: cover;
    width: 100%;
}

.experience-card {
    background: var(--white);
    border-radius: 8px;
    bottom: -28px;
    box-shadow: var(--shadow);
    max-width: 220px;
    padding: 1.3rem;
    position: absolute;
    right: 28px;
}

.experience-card strong {
    color: var(--green-700);
    display: block;
    font-size: 3rem;
    line-height: 1;
}

.feature-grid {
    display: grid;
    gap: 0.9rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.feature-grid div {
    align-items: center;
    background: var(--green-100);
    border-radius: 6px;
    color: var(--green-900);
    display: flex;
    font-weight: 700;
    gap: 0.6rem;
    padding: 0.85rem;
}

.service-card,
.product-card,
.blog-card,
.value-card,
.career-card,
.testimonial-card,
.contact-form,
.contact-panel,
.dashboard-panel {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 100%;
    overflow: hidden;
}

.service-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover,
.product-card:hover,
.blog-card:hover,
.project-card:hover,
.career-card:hover {
    box-shadow: 0 22px 60px rgba(18, 61, 42, 0.18);
    transform: translateY(-6px);
}

.service-card img,
.product-card img,
.blog-card img,
.project-card img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    width: 100%;
}

.service-body,
.blog-body,
.product-card div,
.project-card div {
    padding: 1.35rem;
}

.service-icon {
    align-items: center;
    background: var(--green-100);
    border-radius: 8px;
    color: var(--green-700);
    display: inline-flex;
    font-size: 1.25rem;
    height: 48px;
    justify-content: center;
    margin-top: -42px;
    position: relative;
    width: 48px;
}

.service-body small,
.product-card span,
.project-card span,
.career-card span,
.blog-meta span:first-child {
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.service-card h3,
.specialty-card h3,
.project-card h3,
.project-card h2,
.blog-card h2,
.product-card h2,
.value-card h3,
.career-card h2 {
    color: var(--green-900);
    font-size: 1.25rem;
    font-weight: 800;
    margin-top: 0.5rem;
}

.specialty-section {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
}

.specialty-card {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: var(--white);
    height: 100%;
    padding: 2rem;
}

.specialty-card i {
    color: var(--accent);
    font-size: 2rem;
}

.specialty-card h3,
.specialty-card p {
    color: var(--white);
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    color: var(--white);
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card h3,
.project-card p,
.project-card.light-card p {
    color: rgba(255, 255, 255, 0.88);
}

.project-card.light-card {
    background: var(--white);
    border-color: var(--line);
    color: var(--ink);
}

.project-card.light-card h2 {
    color: var(--green-900);
}

.project-card.light-card p {
    color: var(--muted);
}

.why-list {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.why-list div {
    align-items: flex-start;
    display: flex;
    gap: 1rem;
}

.why-list i {
    align-items: center;
    background: var(--green-100);
    border-radius: 8px;
    color: var(--green-700);
    display: inline-flex;
    flex: 0 0 48px;
    height: 48px;
    justify-content: center;
}

.why-list strong {
    color: var(--green-900);
    display: block;
    font-size: 1.05rem;
}

.dashboard-panel {
    padding: 2rem;
}

.dashboard-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.dashboard-head strong {
    color: var(--green-700);
    font-size: 2rem;
}

.progress {
    background: var(--green-100);
    height: 12px;
}

.progress-bar {
    background: linear-gradient(90deg, var(--green-700), var(--accent));
}

.mini-stat {
    background: var(--green-100);
    border-radius: 8px;
    height: 100%;
    padding: 1.2rem;
}

.mini-stat i {
    color: var(--green-700);
}

.mini-stat strong {
    color: var(--green-900);
    display: block;
    font-size: 1.7rem;
    line-height: 1.2;
}

.mini-stat.large {
    box-shadow: var(--shadow);
    text-align: center;
}

.mini-stat.large i {
    font-size: 2rem;
}

.testimonial-card,
.value-card,
.career-card {
    padding: 2rem;
}

.testimonial-card i,
.value-card i {
    color: var(--accent);
    font-size: 2rem;
}

.testimonial-card strong,
.testimonial-card span {
    display: block;
}

.testimonial-card strong {
    color: var(--green-900);
}

.testimonial-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.gallery-strip {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.gallery-strip img {
    aspect-ratio: 1 / 1;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.cta-section {
    background: var(--green-100);
    padding: 5rem 0;
}

.cta-panel {
    align-items: center;
    background: linear-gradient(135deg, var(--green-800), var(--green-500));
    border-radius: 8px;
    color: var(--white);
    display: flex;
    gap: 2rem;
    justify-content: space-between;
    padding: 3rem;
}

.cta-panel h2,
.cta-panel p {
    color: var(--white);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
}

.blog-meta span:last-child {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-form {
    padding: 2rem;
}

.form-control,
.form-select {
    border-color: var(--line);
    border-radius: 6px;
    min-height: 48px;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--green-500);
    box-shadow: 0 0 0 0.22rem rgba(56, 161, 105, 0.16);
}

.contact-panel {
    background: linear-gradient(135deg, var(--green-900), var(--green-700));
    color: var(--white);
    padding: 1rem;
}

.contact-panel h2,
.contact-panel p {
    color: var(--white);
}

.contact-panel ul,
.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.contact-panel li {
    align-items: flex-start;
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
}

.faq-accordion .accordion-item {
    border: 0;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion .accordion-button {
    color: var(--green-900);
    font-weight: 800;
    padding: 1.2rem 1.4rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--green-100);
    box-shadow: none;
}

.career-card a,
.blog-card a,
.service-card a {
    font-weight: 800;
}

.site-footer {
    background: var(--green-900);
    color: rgba(255, 255, 255, 0.78);
}

.footer-main {
    padding: 1.5rem 0;
}

.footer-brand,
.site-footer h3,
.site-footer a:hover {
    color: var(--white);
}

.site-footer h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.78);
}

.site-footer li {
    margin-bottom: 0.7rem;
}

.footer-contact li {
    display: flex;
    gap: 0.7rem;
}

.footer-social {
    display: flex;
    gap: 0.7rem;
}

.footer-social a {
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.92rem;
    padding: 0.2rem 0;
}

.quote-modal {
    border: 0;
    border-radius: 8px;
}

.quote-modal .modal-header {
    border-bottom: 1px solid var(--line);
    padding: 1.5rem;
}

.quote-modal .modal-title {
    color: var(--green-900);
    font-size: 1.6rem;
    font-weight: 800;
}

.scroll-top {
    align-items: center;
    background: var(--green-700);
    border: 0;
    border-radius: 8px;
    bottom: 24px;
    box-shadow: var(--shadow);
    color: var(--white);
    display: none;
    height: 46px;
    justify-content: center;
    position: fixed;
    right: 24px;
    width: 46px;
    z-index: 1030;
}

.scroll-top.show {
    display: inline-flex;
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 72px;
    }

    .navbar-collapse {
        border-top: 1px solid var(--line);
        padding: 1rem 0;
    }

    .hero-slide {
        min-height: 620px;
    }

    .section-pad {
        padding: 0.5rem 0;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
        padding: 2rem;
    }

    .gallery-strip {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .hero-slide,
    .page-hero {
        min-height: 540px;
    }

    .hero-slide::before,
    .page-hero::before {
        background: linear-gradient(90deg, rgba(12, 47, 31, 0.9), rgba(12, 47, 31, 0.64));
    }

    .hero-content {
        padding: 3rem 0;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        bottom: 16px;
        left: 16px;
        right: 16px;
    }

    .main-img,
    .rounded-img {
        min-height: 320px;
    }

    .gallery-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .brand-mark {
        flex-basis: 42px;
        height: 42px;
        width: 42px;
    }

    .navbar-brand strong {
        font-size: 1.05rem;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .contact-form,
    .dashboard-panel,
    .testimonial-card,
    .value-card,
    .career-card {
        padding: 1.35rem;
    }

    .gallery-strip {
        grid-template-columns: 1fr;
    }
}
