/* ============================================================
   AJ LANDSCAPING
   Main Stylesheet
============================================================ */

:root {
    --green: #2f6b3b;
    --green-dark: #173d24;
    --green-deep: #0d2c19;
    --green-light: #eaf3eb;
    --accent: #b9d66b;

    --white: #ffffff;
    --off-white: #f7f8f3;
    --cream: #f1f2e9;

    --text: #1d2921;
    --text-light: #68736b;
    --border: #dde3dc;

    --shadow:
        0 18px 50px rgba(19, 48, 29, 0.10);

    --shadow-hover:
        0 25px 65px rgba(19, 48, 29, 0.18);

    --radius: 22px;
    --radius-small: 14px;

    --container: 1180px;
}


/* ============================================================
   RESET
============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    background: var(--white);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    margin-inline: auto;
}


/* ============================================================
   TYPOGRAPHY
============================================================ */

h1,
h2,
h3,
h4 {
    font-family: "Manrope", sans-serif;
    line-height: 1.12;
}

h2 {
    font-size: clamp(
        2rem,
        4vw,
        3.4rem
    );

    letter-spacing: -0.04em;
}

p {
    color: var(--text-light);
}

.section {
    padding: 110px 0;
}

.section-label {
    display: inline-block;
    margin-bottom: 16px;

    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-heading {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 20px;
}

.section-heading p {
    max-width: 620px;
    margin: auto;
    font-size: 1.05rem;
}


/* ============================================================
   HEADER / NAVIGATION
============================================================ */

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;

    background: rgba(8, 27, 16, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.site-header.scrolled {
    position: fixed;
    background: rgba(12, 45, 26, 0.95);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.18);
}

.nav-container {
    width: min(calc(100% - 56px), 1500px);
    min-height: 94px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}


/* ============================================================
   LOGO
============================================================ */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-family: "Manrope", sans-serif;
    font-weight: 800;
    color: #ffffff;
}

.logo-icon {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 1.3rem;
}

.logo-text {
    display: flex;
    flex-direction: column;

    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.05;
}

.logo-text strong {
    color: #ffffff;
}


/* ============================================================
   NAVIGATION
============================================================ */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    position: relative;

    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 700;

    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.35);
    transition: opacity 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #ffffff;
    opacity: 1;
}

.nav-link::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -9px;

    width: 0;
    height: 2px;

    border-radius: 20px;
    background: #b9d66b;

    transition: width 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-estimate-button {
    padding: 14px 24px;

    border-radius: 6px;
    background: #2f8b52;
    color: #ffffff;

    font-size: 0.92rem;
    font-weight: 800;

    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.nav-estimate-button:hover {
    background: #267747;
    transform: translateY(-2px);
}


/* ============================================================
   MOBILE MENU
============================================================ */

.mobile-menu-button {
    display: none;

    width: 46px;
    height: 46px;

    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 8px;

    background: rgba(255, 255, 255, 0.92);
}

.mobile-menu-button span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 5px auto;

    border-radius: 20px;
    background: var(--green-dark);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* ============================================================
   HERO
============================================================ */

.hero {
    position: relative;

    min-height: 760px;
    height: min(88vh, 900px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 125px 0 70px;

    overflow: hidden;

    background:
        url("../images/hero.jpg")
        center / cover no-repeat;
}

/* Keep the banner bright and clear. */
.hero::after {
    display: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            180deg,
            rgba(5, 20, 12, 0.16) 0%,
            rgba(5, 20, 12, 0.07) 42%,
            rgba(5, 20, 12, 0.17) 100%
        );
}

.hero-container {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 50px), 1450px);
}

.hero-content {
    max-width: 1220px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    width: fit-content;

    margin: 0 auto 24px;
    padding: 9px 16px;

    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;

    background: rgba(0, 0, 0, 0.15);
    color: #ffffff;

    font-size: 0.85rem;
    font-weight: 700;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(7px);
}

.hero h1 {
    max-width: 1200px;
    margin: 0 auto;

    color: #ffffff;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3.1rem, 5.4vw, 6rem);
    font-weight: 700;

    line-height: 1.08;
    letter-spacing: -0.025em;

    text-wrap: balance;
    text-shadow:
        0 3px 14px rgba(0, 0, 0, 0.58),
        0 1px 2px rgba(0, 0, 0, 0.52);
}

.hero h1 span {
    display: inline;
    color: #ffffff;
}

/* Third hero title line — light red */
.hero h1 span.hero-line-red {
    display: block;
    color: #ff8a8a !important;
}

.hero-description {
    max-width: 850px;

    margin: 26px auto 0;

    color: rgba(255, 255, 255, 0.97);

    font-size: clamp(1rem, 1.35vw, 1.22rem);
    line-height: 1.65;

    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 15px;

    margin-top: 32px;
}

.hero .button {
    min-height: 58px;
    padding: 0 30px;
    border-radius: 5px;
}

.hero .button-primary {
    background: #2f8b52;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.20);
}

.hero .button-primary:hover {
    background: #267747;
}

.hero .button-secondary {
    border: 2px solid rgba(255, 255, 255, 0.90);
    background: rgba(0, 0, 0, 0.12);
    color: #ffffff;
}

.hero .button-secondary:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ============================================================
   BUTTONS
============================================================ */

.button {
    min-height: 55px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    padding: 0 25px;

    border: 0;
    border-radius: 999px;

    font-weight: 800;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.button:hover {
    transform: translateY(-3px);
}

.button-primary {
    background: var(--accent);
    color: #17311c;

    box-shadow:
        0 15px 35px rgba(
            185,
            214,
            107,
            0.18
        );
}

.button-primary:hover {
    background: #c8e37b;
}

.button-secondary {
    border:
        1px solid rgba(
            255,
            255,
            255,
            0.30
        );

    background:
        rgba(
            255,
            255,
            255,
            0.08
        );

    color: var(--white);

    backdrop-filter: blur(8px);
}

.button-secondary:hover {
    background:
        rgba(
            255,
            255,
            255,
            0.16
        );
}

.button-dark {
    margin-top: 10px;

    background: var(--green-dark);
    color: var(--white);
}

.button-dark:hover {
    background: var(--green);
}


/* ============================================================
   HERO FEATURES
============================================================ */

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

    gap: 25px;

    margin-top: 30px;

    color: rgba(255, 255, 255, 0.96);

    font-size: 0.9rem;
    font-weight: 600;

    text-shadow: 0 2px 7px rgba(0, 0, 0, 0.50);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 8px;
}

.check {
    width: 22px;
    height: 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: rgba(185, 214, 107, 0.22);
    color: #d5ec8b;

    font-size: 0.7rem;
}


/* ============================================================
   TRUST BAR
============================================================ */

.trust-bar {
    position: relative;
    z-index: 5;

    background: var(--white);

    box-shadow:
        0 10px 40px rgba(
            20,
            50,
            30,
            0.06
        );
}

.trust-grid {
    min-height: 120px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;
}

.trust-item {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 14px;
}

.trust-item strong {
    color: var(--green-dark);

    font-family: "Manrope", sans-serif;
    font-size: 1.9rem;
}

.trust-item span {
    max-width: 100px;

    color: var(--text-light);

    font-size: 0.82rem;
    line-height: 1.35;
}

.trust-divider {
    width: 1px;
    height: 45px;

    background: var(--border);
}


/* ============================================================
   SERVICES
============================================================ */

.services-section {
    background: var(--off-white);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.service-card {
    position: relative;

    padding: 34px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    box-shadow:
        0 5px 20px rgba(
            20,
            50,
            30,
            0.03
        );

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(
            47,
            107,
            59,
            0.25
        );

    box-shadow: var(--shadow);
}

.service-icon {
    width: 58px;
    height: 58px;

    display: grid;
    place-items: center;

    margin-bottom: 25px;

    border-radius: 16px;

    background: var(--green-light);

    font-size: 1.65rem;
}

.service-card h3 {
    margin-bottom: 14px;

    font-size: 1.35rem;
}

.service-card > p {
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 25px;

    list-style: none;
}

.service-card li {
    position: relative;

    margin: 8px 0;
    padding-left: 22px;

    color: #536057;

    font-size: 0.92rem;
}

.service-card li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--green);

    font-weight: 900;
}

.service-card > a {
    color: var(--green);

    font-weight: 800;
    font-size: 0.9rem;
}

.featured-service {
    border-color:
        rgba(
            47,
            107,
            59,
            0.40
        );
}

.popular-tag {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 5px 10px;

    border-radius: 999px;

    background: var(--green-dark);
    color: var(--white);

    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}


/* ============================================================
   ABOUT
============================================================ */

.about-section {
    background: var(--white);
}

.about-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 90px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    overflow: hidden;

    min-height: 570px;

    border-radius: 30px;

    box-shadow: var(--shadow);
}

.image-placeholder {
    min-height: 570px;

    display: grid;
    place-items: center;

    background:
        linear-gradient(
            145deg,
            #345f3e,
            #8fa568
        );

    font-size: 7rem;
}

.experience-card {
    position: absolute;

    right: -25px;
    bottom: 35px;

    display: flex;
    align-items: center;

    gap: 15px;

    padding: 22px 28px;

    border-radius: 18px;

    background: var(--white);

    box-shadow: var(--shadow);
}

.experience-card strong {
    color: var(--green);

    font-family: "Manrope", sans-serif;
    font-size: 2.3rem;
}

.experience-card span {
    color: var(--text-light);

    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.3;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content > p {
    margin-bottom: 18px;

    font-size: 1.02rem;
}

.about-benefits {
    display: grid;
    gap: 18px;

    margin: 30px 0;
}

.about-benefit {
    display: flex;
    align-items: flex-start;

    gap: 14px;
}

.about-benefit > span {
    flex: 0 0 34px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green-light);
    color: var(--green);

    font-weight: 900;
}

.about-benefit strong {
    display: block;
    margin-bottom: 3px;
}

.about-benefit p {
    font-size: 0.9rem;
}


/* ============================================================
   PROJECTS
============================================================ */

.projects-section {
    background: var(--green-deep);
}

.projects-section .section-label {
    color: var(--accent);
}

.project-heading {
    max-width: none;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    text-align: left;
}

.project-heading h2 {
    margin-bottom: 0;
    color: var(--white);
}

.project-heading > p {
    max-width: 420px;

    margin: 0;

    color:
        rgba(
            255,
            255,
            255,
            0.62
        );
}

.project-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    grid-auto-rows: 280px;

    gap: 18px;
}

.project-card {
    position: relative;

    overflow: hidden;

    border-radius: 20px;

    background: #244c31;
}

.project-large {
    grid-column: span 2;
    grid-row: span 2;
}

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

.project-placeholder {
    width: 100%;
    height: 100%;

    display: grid;
    place-items: center;

    font-size: 5rem;

    transition:
        transform 0.5s ease,
        filter 0.5s ease;
}

.project-one {
    background:
        linear-gradient(
            145deg,
            #3f6d48,
            #95a976
        );
}

.project-two {
    background:
        linear-gradient(
            145deg,
            #31583b,
            #768c5e
        );
}

.project-three {
    background:
        linear-gradient(
            145deg,
            #716f59,
            #a9a286
        );
}

.project-four {
    background:
        linear-gradient(
            145deg,
            #315a54,
            #70a2a0
        );
}

.project-five {
    background:
        linear-gradient(
            145deg,
            #466746,
            #a5b776
        );
}

.project-card:hover
.project-placeholder {
    transform: scale(1.07);
}

.project-overlay {
    position: absolute;
    inset: auto 0 0 0;

    padding: 60px 25px 24px;

    background:
        linear-gradient(
            transparent,
            rgba(4, 20, 10, 0.92)
        );

    color: var(--white);
}

.project-overlay span {
    display: block;

    margin-bottom: 5px;

    color: var(--accent);

    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
}

.project-overlay h3 {
    font-size: 1.15rem;
}


/* ============================================================
   PROCESS
============================================================ */

.process-section {
    background: var(--cream);
}

.process-grid {
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-step {
    position: relative;

    width: 270px;

    text-align: center;
}

.step-number {
    position: absolute;

    top: -20px;
    right: 35px;

    color:
        rgba(
            47,
            107,
            59,
            0.10
        );

    font-family: "Manrope", sans-serif;
    font-size: 4.8rem;
    font-weight: 800;
}

.process-icon {
    position: relative;

    width: 80px;
    height: 80px;

    display: grid;
    place-items: center;

    margin: 0 auto 22px;

    border-radius: 50%;

    background: var(--white);

    box-shadow:
        0 12px 35px rgba(
            20,
            50,
            30,
            0.09
        );

    font-size: 1.8rem;
}

.process-step h3 {
    margin-bottom: 10px;
}

.process-step p {
    font-size: 0.92rem;
}

.process-line {
    width: 130px;
    height: 1px;

    margin: 0 15px;

    background:
        repeating-linear-gradient(
            to right,
            var(--green) 0,
            var(--green) 5px,
            transparent 5px,
            transparent 10px
        );
}


/* ============================================================
   REVIEWS
============================================================ */

.reviews-section {
    background: var(--white);
}

.reviews-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 24px;
}

.review-card {
    padding: 32px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
}

.stars {
    margin-bottom: 18px;

    color: #e5ad27;

    letter-spacing: 3px;
}

.review-card > p {
    min-height: 115px;

    color: #465148;

    font-size: 1rem;
    line-height: 1.75;
}

.review-customer {
    display: flex;
    align-items: center;

    gap: 13px;

    margin-top: 25px;
}

.customer-avatar {
    width: 45px;
    height: 45px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: var(--green-dark);
    color: var(--white);

    font-weight: 800;
}

.review-customer strong {
    display: block;
}

.review-customer span {
    display: block;

    color: var(--text-light);

    font-size: 0.78rem;
}


/* ============================================================
   ESTIMATE SECTION
============================================================ */

.estimate-section {
    padding: 110px 0;

    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(
                185,
                214,
                107,
                0.10
            ),
            transparent 35%
        ),
        var(--green-dark);
}

.estimate-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.light-label {
    color: var(--accent);
}

.estimate-content h2 {
    margin-bottom: 22px;

    color: var(--white);
}

.estimate-content > p {
    max-width: 500px;

    color:
        rgba(
            255,
            255,
            255,
            0.68
        );

    font-size: 1.05rem;
}

.contact-details {
    display: grid;

    gap: 16px;

    margin-top: 35px;
}

.contact-details a {
    display: flex;
    align-items: center;

    gap: 15px;

    color: var(--white);
}

.contact-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    border-radius: 14px;

    background:
        rgba(
            255,
            255,
            255,
            0.10
        );

    color: var(--accent);
}

.contact-details small {
    display: block;

    color:
        rgba(
            255,
            255,
            255,
            0.50
        );

    font-size: 0.67rem;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.contact-details strong {
    display: block;
}


/* ============================================================
   FORM
============================================================ */

.estimate-form-card {
    padding: 42px;

    border-radius: 28px;

    background: var(--white);

    box-shadow:
        0 30px 80px rgba(
            0,
            0,
            0,
            0.20
        );
}

.estimate-form-card h3 {
    margin-bottom: 7px;

    font-size: 1.6rem;
}

.estimate-form-card > p {
    margin-bottom: 28px;
}

.estimate-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 16px;
}

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

.form-group label {
    font-size: 0.82rem;
    font-weight: 800;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;

    border:
        1px solid var(--border);

    border-radius: 12px;

    outline: none;

    background: #fafbf8;
    color: var(--text);

    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input,
.form-group select {
    height: 52px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 130px;

    padding: 14px 15px;

    resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);

    background: var(--white);

    box-shadow:
        0 0 0 4px
        rgba(
            47,
            107,
            59,
            0.08
        );
}

.form-submit-button {
    width: 100%;

    margin-top: 5px;

    background: var(--green-dark);
    color: var(--white);
}

.form-submit-button:hover {
    background: var(--green);
}


/* ============================================================
   CONTACT
============================================================ */

.contact-section {
    background: var(--off-white);
}

.contact-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 60px;

    align-items: center;
}

.contact-grid h2 {
    margin-bottom: 18px;
}

.contact-grid > div:first-child p {
    max-width: 520px;
}

.service-area-box {
    min-height: 250px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    border-radius: 26px;

    background:
        linear-gradient(
            145deg,
            var(--green-dark),
            var(--green)
        );

    color: var(--white);

    box-shadow: var(--shadow);
}

.service-area-box > div {
    margin-bottom: 15px;

    font-size: 3rem;
}

.service-area-box strong {
    font-size: 1.2rem;
}

.service-area-box span {
    margin-top: 4px;

    color:
        rgba(
            255,
            255,
            255,
            0.65
        );
}


/* ============================================================
   FOOTER
============================================================ */

.site-footer {
    padding-top: 75px;

    background: #091d11;
    color: var(--white);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.3fr;

    gap: 55px;

    padding-bottom: 60px;
}

.footer-logo {
    margin-bottom: 18px;

    color: var(--white);
}

.footer-brand p {
    max-width: 360px;

    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 0.9rem;
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 11px;
}

.footer-column h4 {
    margin-bottom: 7px;

    color: var(--white);

    font-size: 0.95rem;
}

.footer-column a,
.footer-column span {
    color:
        rgba(
            255,
            255,
            255,
            0.55
        );

    font-size: 0.88rem;

    transition: color 0.25s ease;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    min-height: 75px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top:
        1px solid rgba(
            255,
            255,
            255,
            0.09
        );

    color:
        rgba(
            255,
            255,
            255,
            0.40
        );

    font-size: 0.8rem;
}

.footer-bottom a:hover {
    color: var(--accent);
}


/* ============================================================
   FLOATING ESTIMATE BUTTON
============================================================ */

.floating-estimate {
    position: fixed;

    right: 22px;
    bottom: 22px;

    z-index: 900;

    display: flex;
    align-items: center;

    gap: 9px;

    padding: 13px 19px;

    border-radius: 999px;

    background: var(--accent);
    color: var(--green-deep);

    box-shadow:
        0 15px 40px rgba(
            0,
            0,
            0,
            0.20
        );

    font-size: 0.85rem;
    font-weight: 800;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.floating-estimate:hover {
    transform: translateY(-4px);

    box-shadow:
        0 20px 45px rgba(
            0,
            0,
            0,
            0.25
        );
}


/* ============================================================
   RESPONSIVE - TABLET
============================================================ */

@media (max-width: 1000px) {

    .mobile-menu-button {
        display: block;
    }

    .main-nav {
        position: fixed;

        top: 78px;
        left: 20px;
        right: 20px;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 4px;

        padding: 20px;

        border:
            1px solid var(--border);

        border-radius: 18px;

        background: var(--white);

        box-shadow: var(--shadow);
    }

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

    .nav-link {
        padding: 12px 10px;
    }

    .nav-link::after {
        display: none;
    }

    .nav-estimate-button {
        margin-top: 8px;

        text-align: center;
    }

    .mobile-menu-button.active
    span:nth-child(1) {
        transform:
            translateY(7px)
            rotate(45deg);
    }

    .mobile-menu-button.active
    span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button.active
    span:nth-child(3) {
        transform:
            translateY(-7px)
            rotate(-45deg);
    }

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

    .about-grid {
        gap: 55px;
    }

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

    .project-large {
        grid-column: span 2;
    }

    .estimate-grid {
        gap: 45px;
    }

    .footer-grid {
        grid-template-columns:
            2fr 1fr 1fr;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }

}


/* ============================================================
   RESPONSIVE - MOBILE
============================================================ */

@media (max-width: 760px) {

    .container {
        width: min(
            calc(100% - 30px),
            var(--container)
        );
    }

    .section {
        padding: 80px 0;
    }

    .hero {
        min-height: 720px;

        padding-top: 110px;

        background:
            linear-gradient(
                rgba(7, 32, 18, 0.88),
                rgba(7, 32, 18, 0.92)
            ),
            url("../images/hero.jpg")
            center / cover no-repeat;
    }

    .hero h1 {
        font-size: clamp(
            3rem,
            15vw,
            4.5rem
        );
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .button {
        width: 100%;
    }

    .hero-features {
        gap: 13px 20px;
    }

    .trust-grid {
        display: grid;

        grid-template-columns:
            1fr 1fr;

        padding: 25px 0;
    }

    .trust-divider {
        display: none;
    }

    .trust-item {
        justify-content: flex-start;
    }

    .trust-item strong {
        font-size: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image-main,
    .image-placeholder {
        min-height: 430px;
    }

    .experience-card {
        right: 15px;
        bottom: 15px;
    }

    .project-heading {
        display: block;
    }

    .project-heading > p {
        margin-top: 20px;
    }

    .project-grid {
        display: grid;

        grid-template-columns: 1fr;
        grid-auto-rows: 300px;
    }

    .project-large,
    .project-wide {
        grid-column: auto;
        grid-row: auto;
    }

    .process-grid {
        flex-direction: column;

        gap: 25px;
    }

    .process-line {
        width: 1px;
        height: 60px;

        margin: 0;

        background:
            repeating-linear-gradient(
                to bottom,
                var(--green) 0,
                var(--green) 5px,
                transparent 5px,
                transparent 10px
            );
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .review-card > p {
        min-height: auto;
    }

    .estimate-grid {
        grid-template-columns: 1fr;
    }

    .estimate-form-card {
        padding: 28px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns:
            1fr 1fr;

        gap: 40px 25px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-column:last-child {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        flex-direction: column;
        justify-content: center;

        gap: 6px;

        text-align: center;
    }

}


/* ============================================================
   SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    .hero {
        min-height: 700px;
    }

    .hero-badge {
        font-size: 0.72rem;
    }

    .hero h1 {
        font-size: 3.15rem;
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .trust-item {
        justify-content: center;
    }

    .service-card {
        padding: 28px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-column:last-child {
        grid-column: auto;
    }

    .floating-estimate {
        right: 14px;
        bottom: 14px;
    }

}

/* ============================================================
   UPLOADED HOMEPAGE BANNER FIX
   Keep one banner image across the hero instead of repeating it.
============================================================ */

.hero {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

@media (max-width: 760px) {
    .hero {
        background-repeat: no-repeat !important;
        background-position: center center !important;
        background-size: cover !important;
    }
}


/* ============================================================
   HERO / HEADER RESPONSIVE
============================================================ */

@media (max-width: 980px) {
    .nav-container {
        width: min(calc(100% - 36px), 1500px);
    }

    .main-nav {
        background: rgba(10, 38, 22, 0.98);
    }

    .main-nav .nav-link {
        color: #ffffff;
    }
}

@media (max-width: 760px) {
    .nav-container {
        min-height: 78px;
    }

    .hero {
        min-height: 680px;
        height: auto;
        padding: 115px 0 65px;
        background-position: center center;
    }

    .hero-container {
        width: min(calc(100% - 30px), 1450px);
    }

    .hero h1 {
        font-size: clamp(2.6rem, 11vw, 4.3rem);
        line-height: 1.06;
    }

    .hero-description {
        margin-top: 20px;
        font-size: 1rem;
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero .button {
        width: min(100%, 360px);
        margin-inline: auto;
    }

    .hero-features {
        gap: 12px 20px;
    }
}
