:root {
    --charcoal: #121413;
    --charcoal-soft: #191d1a;
    --stone: #d5c1a3;
    --stone-deep: #b89564;
    --green: #334232;
    --green-soft: #566f50;
    --bronze: #c28f4a;
    --cream: #f7f0e4;
    --muted: #c9c2b7;
    --line: rgba(213, 193, 163, 0.24);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --anchor-offset: 104px;
    --mobile-cta-space: 0px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--anchor-offset);
    width: 100%;
    overflow-x: hidden;
}

body {
    width: 100%;
    overflow-x: hidden;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--charcoal);
    color: var(--cream);
    line-height: 1.6;
    padding-bottom: var(--mobile-cta-space);
}

img {
    max-width: 100%;
}

[id] {
    scroll-margin-top: var(--anchor-offset);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 9px clamp(18px, 4vw, 56px);
    z-index: 1000;
    background: rgba(18, 20, 19, 0.9);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    padding: 5px 7px;
    border: 1px solid rgba(213, 193, 163, 0.2);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(247, 240, 228, 0.08), rgba(247, 240, 228, 0.02));
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.24);
}

.logo {
    height: 58px;
    display: block;
    border-radius: 5px;
}

.nav-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.quote-btn,
.call-btn,
.btn {
    min-height: 44px;
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.quote-btn {
    color: var(--stone);
    border: 1px solid rgba(213, 193, 163, 0.52);
}

.quote-btn:hover,
.contact-link:hover,
.btn-secondary:hover {
    background: rgba(213, 193, 163, 0.12);
    border-color: rgba(213, 193, 163, 0.82);
}

.call-btn,
.btn {
    background: linear-gradient(135deg, var(--stone), var(--stone-deep));
    color: #12110f;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 14px 32px rgba(184, 149, 100, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.call-btn:hover,
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(184, 149, 100, 0.3);
}

.btn-secondary {
    background: rgba(18, 20, 19, 0.28);
    color: var(--cream);
    border: 1px solid rgba(247, 240, 228, 0.38);
    box-shadow: none;
}

.btn-secondary:hover {
    color: var(--cream);
    box-shadow: none;
}

/* HERO */
.hero {
    min-height: 96svh;
    background: linear-gradient(90deg, rgba(18, 20, 19, 0.82), rgba(18, 20, 19, 0.48) 52%, rgba(18, 20, 19, 0.76)), url("images/hero.jpg") no-repeat center center/cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 124px clamp(20px, 7vw, 90px) 70px;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 160px;
    background: linear-gradient(to bottom, transparent, var(--charcoal));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(720px, 100%);
}

.brand-name,
.section-tag {
    font-size: 12px;
    letter-spacing: 2.8px;
    text-transform: uppercase;
    color: var(--stone);
    margin-bottom: 14px;
    font-weight: 800;
}

.brand-name::after {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    background: linear-gradient(90deg, var(--stone), transparent);
    margin-top: 10px;
    opacity: 0.8;
}

.hero h1 {
    font-size: clamp(39px, 6.25vw, 70px);
    line-height: 1.02;
    max-width: 790px;
    margin-bottom: 22px;
    letter-spacing: 0;
}

.hero p:not(.brand-name) {
    max-width: 650px;
    font-size: clamp(17px, 2vw, 21px);
    color: #eee4d5;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-content .brand-name,
.hero h1,
.hero p,
.hero-actions {
    opacity: 0;
    animation: heroLift 0.9s ease forwards;
}

.hero h1 {
    animation-delay: 0.14s;
}

.hero p {
    animation-delay: 0.28s;
}

.hero-actions {
    animation-delay: 0.42s;
}

/* SHARED SECTIONS */
.services,
.about,
.gallery,
.contact,
.before-after,
.process,
.testimonials,
.visual-design-section {
    overflow-x: hidden;
}

.services,
.about,
.before-after,
.process,
.testimonials,
.gallery,
.contact,
.visual-design-section {
    padding: clamp(58px, 7vw, 92px) clamp(20px, 5vw, 70px);
}

.contact {
    padding-bottom: calc(clamp(58px, 7vw, 92px) + var(--mobile-cta-space));
}

.services,
.testimonials {
    background: linear-gradient(180deg, var(--charcoal), var(--charcoal-soft));
}

.about,
.process,
.gallery {
    background: var(--charcoal);
}

.before-after {
    background: linear-gradient(180deg, #101210, #171b18);
    text-align: center;
}

.contact {
    background: linear-gradient(180deg, var(--charcoal), #0f1110);
    text-align: center;
}

.section-heading {
    width: min(820px, 100%);
    margin: 0 auto 34px;
    text-align: center;
}

.section-heading h2,
.about h2,
.visual-text h2,
.contact h2 {
    font-size: clamp(32px, 5vw, 54px);
    line-height: 1.08;
    color: var(--cream);
    letter-spacing: 0;
}

.section-heading p:not(.section-tag) {
    margin-top: 12px;
    color: var(--muted);
    font-size: 17px;
}

.section-tag {
    display: inline-block;
    margin-bottom: 14px;
}

/* SERVICES */
.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    max-width: 1180px;
    margin: auto;
}

.service {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service:hover {
    transform: translateY(-6px);
    border-color: rgba(213, 193, 163, 0.52);
    box-shadow: var(--shadow);
}

.service img {
    width: 100%;
    height: 205px;
    object-fit: cover;
    display: block;
}

.service h3 {
    margin: 20px 20px 8px;
    font-size: 22px;
    line-height: 1.2;
}

.service p {
    padding: 0 20px 24px;
    font-size: 15px;
    color: var(--muted);
}

/* GARDEN VISUAL DESIGN */
.visual-design-section {
    background:
        linear-gradient(115deg, rgba(18, 20, 19, 0.96), rgba(34, 45, 32, 0.92)),
        radial-gradient(circle at 82% 18%, rgba(194, 143, 74, 0.22), transparent 36%);
    color: var(--cream);
}

.visual-design-content {
    max-width: 1220px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(30px, 4vw, 58px);
    align-items: center;
}

.visual-text h2 {
    margin-bottom: 18px;
}

.visual-text p {
    margin-bottom: 14px;
    color: #ded4c5;
    font-size: 17px;
}

.visual-list {
    margin: 22px 0 28px;
    padding: 0;
    list-style: none;
}

.visual-list li {
    position: relative;
    margin-bottom: 12px;
    padding-left: 28px;
    color: #f2eadc;
}

.visual-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--bronze);
    box-shadow: 0 0 0 6px rgba(194, 143, 74, 0.13);
}

.visual-image-wrap {
    position: relative;
}

.visual-before-after {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.visual-card {
    position: relative;
    min-height: 280px;
    border-radius: 8px;
    overflow: hidden;
    background: #111;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.visual-card img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

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

.visual-card span {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(18, 20, 19, 0.76);
    color: var(--cream);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
}

.after-card {
    transform: none;
}

.after-card span {
    background: rgba(213, 193, 163, 0.92);
    color: #12110f;
}

.visual-image-wrap::before {
    content: "";
    position: absolute;
    inset: -24px;
    border: 1px solid rgba(213, 193, 163, 0.18);
    border-radius: 12px;
    pointer-events: none;
}

/* ABOUT */
.about-container {
    max-width: 1120px;
    margin: auto;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    align-items: center;
    gap: clamp(34px, 5vw, 64px);
}

.about-text p {
    color: var(--muted);
    margin-bottom: 15px;
}

.about-text .brand-name::after {
    margin-left: 0;
}

.about-image img {
    width: 100%;
    min-height: 380px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: block;
}

.locations {
    color: var(--stone) !important;
    font-weight: 800;
}

/* BEFORE AFTER */
.ba-container {
    width: 100%;
    max-width: 960px;
    margin: 26px auto;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.ba-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    cursor: col-resize;
    background: #111;
}

.ba-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--slider-position, 50%);
    width: 2px;
    background: var(--stone);
    z-index: 5;
    pointer-events: none;
    transform: translateX(-50%);
}

.ba-slider::before {
    content: "<>";
    position: absolute;
    top: 50%;
    left: var(--slider-position, 50%);
    transform: translate(-50%, -50%);
    background: var(--stone);
    color: #111;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 13px;
    font-weight: 800;
    z-index: 6;
    pointer-events: none;
}

.ba-slider img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.ba-slider:hover img {
    transform: scale(1.025);
}

.ba-slider img:first-of-type {
    z-index: 1;
}

.ba-after {
    z-index: 2;
    clip-path: inset(0 calc(100% - var(--slider-position, 50%)) 0 0);
}

.ba-label {
    position: absolute;
    top: 15px;
    padding: 7px 11px;
    background: rgba(18, 20, 19, 0.72);
    color: var(--cream);
    font-size: 12px;
    font-weight: 800;
    border-radius: 999px;
    z-index: 7;
    pointer-events: none;
}

.before {
    left: 15px;
}

.after {
    right: 15px;
}

/* PROCESS */
.steps {
    max-width: 1050px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.steps div {
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    padding: 22px 18px;
    border-radius: 8px;
    color: var(--cream);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
    text-align: left;
    font-weight: 700;
}

.steps span {
    display: block;
    color: var(--stone);
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

/* TESTIMONIALS */
.testimonial {
    max-width: 760px;
    margin: 16px auto;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-left: 4px solid var(--bronze);
    padding: 22px 24px;
    border-radius: 8px;
    color: var(--muted);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
    text-align: left;
}

.testimonial p {
    margin-bottom: 12px;
    font-size: 18px;
}

.testimonial span {
    color: var(--stone);
    font-weight: 800;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1120px;
    margin: auto;
}

.gallery-grid img {
    width: 100%;
    height: 252px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    cursor: pointer;
    display: block;
    transition: transform 0.45s ease, filter 0.45s ease, box-shadow 0.45s ease;
}

.gallery-grid img:hover {
    transform: translateY(-4px) scale(1.02);
    filter: brightness(1.08);
    box-shadow: var(--shadow);
}

/* CONTACT */
.contact-content {
    max-width: 780px;
    margin: auto;
}

.contact-content .brand-name::after {
    margin-left: auto;
    margin-right: auto;
    background: var(--stone);
}

.contact-intro {
    color: var(--muted);
    font-size: 18px;
    margin: 14px auto 26px;
    max-width: 640px;
}

.contact-details {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 26px;
}

.contact-link {
    color: var(--stone);
    text-decoration: none;
    border: 1px solid rgba(213, 193, 163, 0.44);
    padding: 12px 18px;
    border-radius: 6px;
    transition: 0.25s ease;
}

.contact-form {
    display: grid;
    gap: 14px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(18px, 4vw, 30px);
    box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid rgba(213, 193, 163, 0.22);
    background: rgba(18, 20, 19, 0.82);
    color: var(--cream);
    border-radius: 6px;
    font-size: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(213, 193, 163, 0.72);
    box-shadow: 0 0 0 3px rgba(213, 193, 163, 0.11);
}

.contact-form textarea {
    min-height: 145px;
    resize: vertical;
}

/* LIGHTBOX */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85%;
    border-radius: 8px;
    animation: zoomIn 0.3s ease;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
    transition: 0.2s;
}

.close:hover {
    transform: scale(1.1);
    color: var(--stone);
}

/* MOBILE CTA */
.mobile-cta {
    display: none;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 14px;
    background: linear-gradient(135deg, var(--stone), var(--stone-deep));
    color: #111;
    text-align: center;
    padding: 14px 18px;
    font-weight: 800;
    z-index: 1000;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

/* AOS */
[data-aos] {
    transition-duration: 850ms !important;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

/* KEYFRAMES */
@keyframes zoomIn {
    from {
        transform: scale(0.94);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes heroLift {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* TABLET */
@media (max-width: 1040px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .visual-design-content,
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-container {
        text-align: center;
    }

    .about-text .brand-name::after {
        margin-left: auto;
        margin-right: auto;
    }

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

@media (max-width: 900px) {
    .hero {
        background-attachment: scroll;
    }

    .visual-before-after {
        grid-template-columns: 1fr;
    }

    .visual-card,
    .visual-card img {
        min-height: 270px;
    }

    .after-card {
        transform: none;
    }

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

/* MOBILE */
@media (max-width: 768px) {
    :root {
        --anchor-offset: 86px;
        --mobile-cta-space: 96px;
    }

    body {
        padding-bottom: var(--mobile-cta-space);
    }

    .mobile-cta {
        display: block;
    }

    .hero {
        min-height: 90svh;
        align-items: flex-end;
        padding-top: 112px;
        padding-bottom: 74px;
    }

    .ba-slider {
        aspect-ratio: 4 / 3;
    }

    .ba-container {
        margin: 22px auto;
    }
}

@media (max-width: 620px) {
    .navbar {
        padding: 7px 12px;
        gap: 8px;
    }

    .logo-link {
        padding: 4px 5px;
        flex-shrink: 0;
    }

    .logo {
        height: 38px;
        max-width: 104px;
        object-fit: contain;
    }

    .nav-buttons {
        flex: 0 0 auto;
        justify-content: flex-end;
        gap: 5px;
        min-width: 0;
    }

    .navbar .call-btn {
        display: none;
    }

    .quote-btn,
    .call-btn {
        min-height: 34px;
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }

    .navbar .quote-btn {
        position: fixed;
        top: 14px;
        right: 12px;
    }

    .hero {
        padding-top: 92px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .hero-actions,
    .hero-actions .btn {
        width: 100%;
    }

    .service-grid,
    .gallery-grid,
    .steps {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 228px;
    }

    .contact-details {
        display: grid;
    }

    .contact-link {
        overflow-wrap: anywhere;
    }
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 31px;
    }

    .hero p:not(.brand-name) {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .section-heading h2,
    .about h2,
    .visual-text h2,
    .contact h2 {
        font-size: 31px;
    }

    .ba-slider::before {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
}
