:root {
    --color-forest: #123524;
    --color-forest-deep: #0a2418;
    --color-lime: #8ccf56;
    --color-sand: #f3efe4;
    --color-cream: #fcfaf5;
    --color-ink: #142018;
    --color-muted: #5a675e;
    --color-line: rgba(18, 53, 36, 0.12);
    --color-white: #ffffff;
    --shadow-soft: 0 18px 40px rgba(10, 36, 24, 0.12);
    --shadow-strong: 0 22px 60px rgba(10, 36, 24, 0.2);
    --radius-lg: 28px;
    --radius-md: 20px;
    --radius-sm: 14px;
    --max-width: 1180px;
    --header-height: 84px;
    --font-heading: "Urbanist", sans-serif;
    --font-body: "Outfit", sans-serif;
    --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--color-ink);
    background:
        radial-gradient(circle at top left, rgba(140, 207, 86, 0.2), transparent 24%),
        linear-gradient(180deg, #f8f4ea 0%, #fdfbf7 30%, #f4f7ef 100%);
}

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

a {
    color: inherit;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    line-height: 0.98;
    letter-spacing: 0;
}

h1 {
    font-size: clamp(3rem, 7vw, 5.9rem);
}

h2 {
    font-size: clamp(2.1rem, 4vw, 3.75rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.65rem);
}

p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--color-muted);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

:focus-visible {
    outline: 3px solid var(--color-forest);
    outline-offset: 3px;
}

.container {
    width: min(calc(100% - 32px), var(--max-width));
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: 16px;
    top: -48px;
    z-index: 2000;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--color-forest-deep);
    color: var(--color-white);
    text-decoration: none;
}

.skip-link:focus {
    top: 16px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background: rgba(252, 250, 245, 0.88);
    border-bottom: 1px solid rgba(18, 53, 36, 0.08);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: var(--header-height);
    gap: 18px;
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-forest);
    max-width: min(290px, calc(100vw - 120px));
}

.logo-image-wrap {
    display: block;
    width: 100%;
}

.logo-image {
    display: block;
    width: 100%;
    height: auto;
}

.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: 14px;
    background: var(--color-white);
    cursor: pointer;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--color-forest);
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger {
    position: relative;
    display: block;
}

.hamburger::before,
.hamburger::after {
    content: "";
    position: absolute;
    left: 0;
}

.hamburger::before {
    top: -6px;
}

.hamburger::after {
    top: 6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: translateY(-6px) rotate(-45deg);
}

#main-nav {
    position: absolute;
    top: calc(var(--header-height) - 6px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-strong);
}

#main-nav.nav-open {
    display: flex;
}

#main-nav a {
    padding: 14px 16px;
    border-radius: 14px;
    color: var(--color-forest);
    font-weight: 600;
    text-decoration: none;
}

#main-nav a:hover,
#main-nav a:focus-visible,
#main-nav a.active {
    background: rgba(140, 207, 86, 0.25);
    color: var(--color-forest-deep);
}

#hero,
.section,
#trust-bar {
    scroll-margin-top: calc(var(--header-height) + 18px);
}

#hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 40px;
}

#hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, rgba(10, 36, 24, 0.78), rgba(10, 36, 24, 0.3)),
        url("./img/garden.webp") center/cover no-repeat;
    transform: scale(1.02);
}

#hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -90px auto;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 207, 86, 0.34), transparent 68%);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    align-items: end;
}

.hero-copy {
    padding: 28px 0;
}

.eyebrow {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

#hero h1,
#hero .hero-lead,
#hero .hero-highlights li,
#hero .card-kicker,
#hero .check-list li,
#hero .hero-badge {
    color: var(--color-white);
}

.hero-lead {
    max-width: 660px;
    margin-top: 18px;
    font-size: 1.12rem;
}

.hero-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 20px;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform var(--transition-bounce), background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-2px) scale(1.02);
}

.btn-primary {
    background: var(--color-lime);
    color: #112516;
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: #9bdf63;
    box-shadow: 0 8px 24px rgba(140, 207, 86, 0.4);
}

.btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.hero-highlights {
    display: grid;
    gap: 10px;
    margin-top: 26px;
}

.hero-highlights li,
.check-list li {
    position: relative;
    padding-left: 24px;
}

.hero-highlights li::before,
.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-lime);
}

.hero-panel {
    display: grid;
    gap: 16px;
}

.hero-card,
.hero-badge {
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-strong);
}

.hero-card {
    padding: 22px;
    border-radius: var(--radius-lg);
}

.card-kicker {
    margin-bottom: 14px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.check-list {
    display: grid;
    gap: 12px;
}

.hero-badge {
    justify-self: start;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 700;
}

#trust-bar {
    padding: 0 0 18px;
}

.trust-grid {
    display: grid;
    gap: 14px;
}

.trust-grid article,
.info-card,
.service-card,
.gallery-card,
.process-step,
.reason-item,
.contact-card {
    border: 1px solid var(--color-line);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-bounce), box-shadow 0.3s ease;
}

.service-card:hover,
.gallery-card:hover,
.reason-item:hover,
.process-step:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
}

.trust-grid article {
    padding: 22px;
    border-radius: var(--radius-md);
}

.trust-grid strong,
.detail-list strong,
.contact-list strong {
    color: var(--color-forest);
}

.trust-grid p {
    margin-top: 6px;
}

.section {
    padding: 72px 0;
}

.section-alt {
    background:
        linear-gradient(180deg, rgba(18, 53, 36, 0.03), rgba(18, 53, 36, 0.06)),
        var(--color-sand);
}

.section > .container > .eyebrow,
.section-copy .eyebrow,
#contact .eyebrow {
    color: #507143;
}

.section h2,
.section-copy h2,
#contact h2 {
    max-width: 760px;
    color: var(--color-forest-deep);
}

.section h2 + *,
.section-copy h2 + *,
#contact h2 + * {
    margin-top: 18px;
}

.split-layout {
    display: grid;
    gap: 24px;
}

.section-copy {
    display: grid;
    gap: 16px;
}

.info-card,
.contact-card {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.info-card h3 {
    margin-bottom: 18px;
}

.brand-showcase {
    display: block;
    margin-bottom: 20px;
    padding: 18px;
    border-radius: 18px;
    background:
        radial-gradient(circle at top, rgba(140, 207, 86, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(18, 53, 36, 0.04), rgba(18, 53, 36, 0.01));
}

.brand-showcase img {
    width: 100%;
    height: auto;
}

.detail-list,
.contact-list {
    display: grid;
    gap: 18px;
}

.detail-list li,
.contact-list li {
    display: grid;
    gap: 6px;
}

.detail-list span,
.contact-list span {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #6e7b72;
}

.services-grid,
.reasons-grid,
.process-grid,
.gallery-grid,
.contact-grid {
    display: grid;
    gap: 18px;
}

.services-grid,
.gallery-grid,
.process-grid,
.reasons-grid {
    margin-top: 26px;
}

.reviews-layout {
    display: grid;
    gap: 28px;
}

.reviews-widget {
    min-height: 220px;
    padding: 20px;
    border: 1px solid rgba(18, 53, 36, 0.1);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: var(--shadow-soft);
}

.reviews-widget > div {
    width: 100%;
}

.service-card,
.process-step,
.reason-item {
    padding: 24px;
    border-radius: var(--radius-lg);
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: auto -24px -40px auto;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(140, 207, 86, 0.18), transparent 70%);
}

.service-number {
    display: inline-block;
    margin-bottom: 18px;
    color: #5f8f3f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.service-card p,
.reason-item p,
.process-step p,
.gallery-card figcaption {
    margin-top: 12px;
}

.service-card-cta {
    background: linear-gradient(160deg, var(--color-forest), #1f5138);
}

.service-card-cta h3,
.service-card-cta p {
    color: var(--color-white);
}

.service-card-cta .btn {
    margin-top: 18px;
}

.gallery-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.gallery-card picture {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover img {
    transform: scale(1.05);
}

.gallery-card figcaption {
    padding: 18px 20px 20px;
}

.process-step span {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 12px;
    background: rgba(18, 53, 36, 0.08);
    color: var(--color-forest);
    font-family: var(--font-heading);
    font-weight: 800;
}

.reason-item {
    position: relative;
}

.reason-item::before {
    content: "";
    display: block;
    width: 42px;
    height: 6px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, #629933, var(--color-forest));
}

.contact-section {
    padding-bottom: 84px;
}

.contact-grid {
    align-items: start;
}

.contact-lead {
    max-width: 620px;
}

.site-footer {
    border-top: 1px solid rgba(18, 53, 36, 0.08);
    background: #f1eee4;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 22px 0 34px;
}

.footer-content p,
.footer-content a {
    color: var(--color-forest);
    text-decoration: none;
}

#backToTopBtn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--color-forest);
    color: var(--color-white);
    box-shadow: var(--shadow-strong);
    text-decoration: none;
    z-index: 999;
}

/* --- Contact Form Styles --- */
.contact-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.6);
    padding: 24px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-line);
}

.form-group {
    display: grid;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--color-forest-deep);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(18, 53, 36, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.9);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-ink);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-forest);
    box-shadow: 0 0 0 3px rgba(18, 53, 36, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    margin-top: 8px;
    width: 100%;
}

/* --- Lightbox Styles --- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 36, 24, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.lightbox[aria-hidden="false"] {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 2001;
}

.lightbox-close:hover {
    transform: scale(1.1);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    transform: scale(0.95);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox[aria-hidden="false"] .lightbox-content {
    transform: scale(1);
}

.lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    max-width: 600px;
    margin: 0;
}

.gallery-card {
    cursor: pointer;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .animate-on-scroll {
        opacity: 1;
        transform: none;
    }
}

@media (min-width: 720px) {
    .container {
        width: min(calc(100% - 48px), var(--max-width));
    }

    .hero-grid,
    .split-layout,
    .contact-grid {
        grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
    }

    .trust-grid,
    .process-grid,
    .reasons-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-wide {
        grid-column: span 2;
    }

    .gallery-wide picture {
        aspect-ratio: 16 / 9;
    }

    .reviews-layout {
        grid-template-columns: minmax(0, 0.75fr) minmax(360px, 1.25fr);
        align-items: center;
    }

    .hero-copy {
        padding: 64px 0;
    }
}

@media (min-width: 960px) {
    .logo {
        max-width: 330px;
    }

    .nav-toggle {
        display: none;
    }

    #main-nav {
        position: static;
        display: flex;
        flex-direction: row;
        align-items: center;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #hero {
        padding: 84px 0 54px;
    }

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

    .reasons-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
