:root {
    --green: #0a9747;
    --green-dark: #066f37;
    --green-deep: #034b2a;
    --lime: #c8e932;
    --yellow: #f5dc22;
    --cream: #fffbe8;
    --ink: #17221b;
    --muted: #667269;
    --line: #dfe7e1;
    --white: #ffffff;
    --shadow: 0 18px 50px rgba(4, 76, 39, .14);
    --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    color: var(--ink);
    background: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
code { padding: .1em .35em; border-radius: .35em; background: rgba(0,0,0,.06); }

.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 100px 0; }
.eyebrow {
    margin: 0 0 10px;
    color: var(--green);
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .16em;
    text-transform: uppercase;
}
h1, h2, h3 { margin-top: 0; line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.7rem); max-width: 820px; margin-bottom: 24px; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); margin-bottom: 22px; }
h3 { font-size: 1.35rem; margin-bottom: 10px; }
p { margin-top: 0; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(3,75,42,.08);
}
.nav-wrap { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand img { width: 90px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 30px; font-weight: 750; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--green); }
.nav-cta { padding: 11px 18px; border-radius: 999px; background: var(--green); color: #fff !important; }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; margin: 5px 0; background: var(--ink); }

.hero {
    position: relative;
    overflow: hidden;
    background:
      radial-gradient(circle at 85% 20%, rgba(200,233,50,.32), transparent 25%),
      radial-gradient(circle at 15% 80%, rgba(10,151,71,.22), transparent 28%),
      linear-gradient(135deg, #effbe9 0%, #fffde5 48%, #e7f7ef 100%);
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(3,75,42,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(3,75,42,.035) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,.8), transparent 80%);
    pointer-events: none;
}
.hero-grid { position: relative; z-index: 2; min-height: 720px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, .7fr); align-items: center; gap: 70px; padding: 90px 0; }
.hero-copy .eyebrow { color: var(--green-dark); }
.hero-lead { max-width: 720px; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #435148; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 13px 24px;
    border: 0;
    border-radius: 999px;
    font-weight: 850;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--green); color: #fff; box-shadow: 0 12px 30px rgba(10,151,71,.22); }
.btn-primary:hover { background: var(--green-dark); }
.btn-ghost { border: 1px solid rgba(3,75,42,.25); background: rgba(255,255,255,.62); color: var(--green-deep); }
.btn-light { background: #fff; color: var(--green-deep); }
.btn-full { width: 100%; }
.trust-row { display: flex; flex-wrap: wrap; gap: 12px 18px; color: #42534a; font-size: .92rem; font-weight: 700; }
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.hero-card {
    justify-self: end;
    width: min(100%, 390px);
    padding: 30px;
    border: 1px solid rgba(255,255,255,.75);
    border-radius: 34px;
    background: rgba(255,255,255,.7);
    box-shadow: 0 35px 80px rgba(3,75,42,.17);
    backdrop-filter: blur(14px);
    transform: rotate(2deg);
}
.hero-card img { width: 100%; filter: drop-shadow(0 15px 18px rgba(3,75,42,.16)); }
.hero-card-text { display: grid; gap: 4px; margin-top: 14px; text-align: center; }
.hero-card-text strong { font-size: 1.05rem; }
.hero-card-text span { color: var(--muted); font-size: .92rem; }

.section-heading { max-width: 790px; margin-bottom: 45px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.1fr .8fr; gap: 70px; align-items: end; }
.services { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: 0 12px 30px rgba(23,34,27,.045);
}
.service-card p { margin: 0; color: var(--muted); }
.service-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    margin-bottom: 22px;
    border-radius: 15px;
    background: linear-gradient(145deg, var(--lime), var(--yellow));
    color: var(--green-deep);
    font-weight: 950;
    box-shadow: inset 0 0 0 1px rgba(3,75,42,.08);
}

.work { background: #f7faf7; }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; gap: 20px; }
.portfolio-item { position: relative; overflow: hidden; margin: 0; border-radius: 22px; background: #dfeee2; box-shadow: var(--shadow); }
.portfolio-item.large { grid-column: span 2; grid-row: span 2; }
.portfolio-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.portfolio-item:hover img { transform: scale(1.025); }
.portfolio-item figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    display: grid;
    padding: 15px 17px;
    border-radius: 15px;
    background: rgba(3,75,42,.88);
    color: #fff;
    backdrop-filter: blur(7px);
}
.portfolio-item figcaption span { font-size: .82rem; color: rgba(255,255,255,.78); }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 85px; align-items: center; }
.about-visual { display: grid; place-items: center; min-height: 460px; border-radius: 34px; background: linear-gradient(145deg, #e2f5dd, #fff7c9); }
.about-logo-ring { width: min(78%, 360px); aspect-ratio: 1; display: grid; place-items: center; padding: 28px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 22px rgba(255,255,255,.28), 0 28px 60px rgba(3,75,42,.15); }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.07rem; }
.about-points { display: grid; gap: 12px; margin-top: 28px; }
.about-points div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.about-points span { color: var(--muted); }

.cta-band { padding: 70px 0; background: linear-gradient(120deg, var(--green-deep), var(--green)); color: #fff; }
.cta-band .eyebrow { color: #dfff64; }
.cta-band h2 { margin-bottom: 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }

.contact { background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
.contact-copy { position: sticky; top: 120px; }
.contact-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.contact-details { display: grid; gap: 16px; margin-top: 32px; }
.contact-details div { display: grid; gap: 2px; padding-bottom: 14px; border-bottom: 1px solid rgba(3,75,42,.15); }
.contact-details span { color: var(--muted); font-size: .82rem; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.contact-details a { color: var(--green-dark); font-weight: 850; }
.form-card { padding: 34px; border-radius: 28px; background: #fff; box-shadow: var(--shadow); }
.quote-form { display: grid; gap: 18px; }
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 7px; }
.quote-form label > span { font-size: .88rem; font-weight: 800; }
.quote-form input, .quote-form select, .quote-form textarea {
    width: 100%;
    border: 1px solid #cfd9d1;
    border-radius: 12px;
    background: #fff;
    color: var(--ink);
    outline: none;
    padding: 13px 14px;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(10,151,71,.12); }
.quote-form textarea { resize: vertical; min-height: 150px; }
.form-note { margin: -4px 0 0; color: #7b847e; text-align: center; font-size: .79rem; }
.form-alert { margin-bottom: 18px; padding: 14px 16px; border-radius: 12px; font-weight: 750; }
.form-alert.success { background: #e8f7e8; color: #17672f; border: 1px solid #b7dfbd; }
.form-alert.error { background: #fff0ed; color: #9d382a; border: 1px solid #f0c1b9; }
.hp-field { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(1px,1px,1px,1px) !important; white-space: nowrap !important; }

.site-footer { padding: 45px 0; background: #102119; color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 72px; }
.footer-brand p { margin: 0; max-width: 210px; font-size: .9rem; }
.footer-links { display: flex; gap: 22px; font-weight: 750; }
.footer-links a:hover { color: #dfff64; }
.footer-meta { text-align: right; font-size: .83rem; }
.footer-meta p { margin: 2px 0; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in-view { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .btn, .portfolio-item img { transition: none; }
}

@media (max-width: 900px) {
    .section { padding: 80px 0; }
    .menu-toggle { display: block; }
    .site-nav {
        position: absolute;
        top: 82px;
        left: 20px;
        right: 20px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 14px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: #fff;
        box-shadow: var(--shadow);
    }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 12px 13px; border-radius: 10px; }
    .nav-cta { text-align: center; }
    .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 40px; padding: 75px 0; }
    .hero-card { justify-self: start; max-width: 320px; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .split-heading, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
    .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 250px; }
    .portfolio-item.large { grid-column: span 2; grid-row: span 1; }
    .about-visual { min-height: 360px; }
    .contact-copy { position: static; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand, .footer-links { justify-content: center; }
    .footer-meta { text-align: center; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 28px, 1160px); }
    .nav-wrap { min-height: 72px; }
    .brand img { width: 74px; }
    .site-nav { top: 72px; left: 14px; right: 14px; }
    .hero-grid { padding: 58px 0 64px; }
    h1 { font-size: clamp(2.65rem, 13vw, 4.25rem); }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn { width: 100%; }
    .service-grid, .portfolio-grid, .form-row.two { grid-template-columns: 1fr; }
    .portfolio-grid { grid-auto-rows: 230px; }
    .portfolio-item.large { grid-column: span 1; }
    .cta-band-inner { align-items: stretch; flex-direction: column; }
    .form-card { padding: 24px 18px; }
    .footer-links { flex-wrap: wrap; }
}
