:root {
    --green-900: #123f2a;
    --green-800: #185338;
    --green-700: #216c49;
    --green-100: #e8f2ec;
    --cream: #f7f4ec;
    --white: #ffffff;
    --ink: #17211b;
    --muted: #5e6b63;
    --border: #dce5df;
    --shadow: 0 18px 45px rgba(19, 63, 42, 0.12);
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
}

a {
    color: inherit;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--green-800);
    border-radius: 12px;
    font-size: 24px;
    font-weight: 800;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

    .brand-copy strong {
        font-size: 18px;
    }

    .brand-copy small {
        margin-top: 4px;
        color: var(--muted);
        font-size: 12px;
    }

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nav-link {
    color: var(--muted);
    text-decoration: none;
    font-weight: 650;
}

    .nav-link:hover {
        color: var(--green-800);
    }

.button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 750;
    transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button-primary {
    color: var(--white);
    background: var(--green-800);
}

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

.button-outline {
    color: var(--green-900);
    border-color: var(--green-700);
    background: transparent;
}

.button-light {
    color: var(--green-900);
    background: var(--white);
}

.button-large {
    min-height: 52px;
    padding: 13px 22px;
}

.hero {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: linear-gradient( 115deg, rgba(10, 48, 30, 0.96) 0%, rgba(16, 78, 48, 0.84) 48%, rgba(20, 92, 57, 0.66) 100% ), radial-gradient( circle at 82% 28%, rgba(255, 255, 255, 0.16), transparent 34% );
}

    .hero::after {
        content: "";
        position: absolute;
        inset: auto -8% -36% 38%;
        height: 520px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        transform: rotate(-12deg);
    }

.hero-content {
    position: relative;
    z-index: 2;
    padding-block: 100px;
}

.eyebrow,
.section-label {
    margin: 0 0 14px;
    color: var(--green-700);
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #c9ead7;
}

.hero h1 {
    max-width: 780px;
    margin: 0;
    font-size: clamp(48px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.hero-copy {
    max-width: 670px;
    margin: 26px 0 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(18px, 2vw, 22px);
}

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

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 18px 28px;
    margin-top: 46px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

    .hero-points span::before {
        content: "?";
        margin-right: 8px;
        color: #c9ead7;
    }

.section {
    padding-block: 96px;
}

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

.split-layout,
.trust-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 70px;
    align-items: start;
}

.section h2,
.estimate-cta h2 {
    margin: 0;
    font-size: clamp(34px, 4.8vw, 58px);
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.section-copy {
    color: var(--muted);
    font-size: 18px;
}

    .section-copy p:first-child {
        margin-top: 0;
    }

.section-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.section-heading-centered {
    margin-inline: auto;
    text-align: center;
}

    .section-heading-centered p:last-child {
        color: var(--muted);
        font-size: 18px;
    }

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    min-height: 280px;
    padding: 32px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.service-number {
    color: var(--green-700);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.service-card h3 {
    margin: 40px 0 12px;
    font-size: 25px;
}

.service-card p {
    margin: 0;
    color: var(--muted);
}

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

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.project-placeholder {
    min-height: 360px;
    display: flex;
    padding: 18px;
    border: 1px dashed rgba(18, 63, 42, 0.38);
    border-radius: 22px;
    background: linear-gradient( 145deg, rgba(255, 255, 255, 0.88), rgba(247, 244, 236, 0.72) );
}

.project-placeholder-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 26px;
    border-radius: 16px;
    background: linear-gradient( to top, rgba(18, 63, 42, 0.16), transparent 70% );
}

.project-placeholder span {
    color: var(--green-700);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.project-placeholder strong {
    max-width: 260px;
    margin-top: 8px;
    font-size: 22px;
    line-height: 1.2;
}

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

.trust-items {
    display: grid;
    gap: 28px;
}

    .trust-items article {
        padding-bottom: 24px;
        border-bottom: 1px solid var(--border);
    }

    .trust-items h3 {
        margin: 0 0 7px;
        font-size: 22px;
    }

    .trust-items p {
        margin: 0;
        color: var(--muted);
    }

.estimate-cta {
    padding-block: 80px;
    color: var(--white);
    background: var(--green-900);
}

.estimate-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.estimate-cta p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.78);
}

.section-label-light {
    color: #c9ead7;
}

.site-footer {
    padding-block: 40px;
    color: rgba(255, 255, 255, 0.8);
    background: #0b2a1c;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
}

    .footer-inner strong {
        color: var(--white);
        font-size: 18px;
    }

    .footer-inner p {
        margin: 5px 0 0;
    }

.footer-links {
    display: flex;
    gap: 20px;
}

    .footer-links a {
        color: var(--white);
        text-decoration: none;
    }

.copyright {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 13px;
}

@media (max-width: 900px) {
    .header-actions .nav-link {
        display: none;
    }

    .split-layout,
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .project-placeholder {
        min-height: 280px;
    }

    .estimate-cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

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

    .header-inner {
        min-height: 70px;
    }

    .brand-copy small {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

        .header-actions .button-outline {
            display: none;
        }

        .header-actions .button-primary {
            min-height: 40px;
            padding-inline: 13px;
            font-size: 13px;
        }

    .hero {
        min-height: 620px;
    }

    .hero-content {
        padding-block: 76px;
    }

    .hero h1 {
        font-size: clamp(46px, 16vw, 68px);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

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

    .section {
        padding-block: 72px;
    }

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

    .service-card {
        min-height: auto;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 8px;
    }
}

.estimate-thank-you-page {
    min-height: calc(100vh - 78px);
    background: linear-gradient( 180deg, var(--green-100) 0%, var(--cream) 100% );
}

.estimate-thank-you-section {
    padding: 84px 0 110px;
}

.estimate-thank-you-card {
    max-width: 840px;
    margin: 0 auto;
    padding: 52px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.estimate-success-icon {
    width: 76px;
    height: 76px;
    display: grid;
    place-items: center;
    margin: 0 auto 24px;
    border-radius: 50%;
    color: var(--white);
    background: var(--green-700);
    font-size: 38px;
    font-weight: 900;
}

.estimate-thank-you-card h1 {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(40px, 6vw, 64px);
    line-height: 1.03;
    letter-spacing: -0.05em;
}

.estimate-thank-you-copy {
    max-width: 670px;
    margin: 24px auto 0;
    color: var(--muted);
    font-size: 18px;
}

.estimate-next-steps {
    display: grid;
    gap: 16px;
    margin-top: 38px;
    text-align: left;
}

    .estimate-next-steps article {
        display: grid;
        grid-template-columns: 46px 1fr;
        gap: 18px;
        align-items: start;
        padding: 20px;
        border: 1px solid var(--border);
        border-radius: 14px;
        background: var(--cream);
    }

        .estimate-next-steps article > span {
            width: 38px;
            height: 38px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            color: var(--white);
            background: var(--green-800);
            font-weight: 850;
        }

    .estimate-next-steps h2 {
        margin: 0 0 5px;
        font-size: 20px;
    }

    .estimate-next-steps p {
        margin: 0;
        color: var(--muted);
    }

.estimate-thank-you-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 36px;
}

.estimate-confirmation-note {
    margin: 24px 0 0;
    color: var(--muted);
    font-size: 14px;
}

@media (max-width: 650px) {
    .estimate-thank-you-section {
        padding: 48px 0 72px;
    }

    .estimate-thank-you-card {
        padding: 34px 20px;
    }

    .estimate-thank-you-actions {
        flex-direction: column;
    }

        .estimate-thank-you-actions .button {
            width: 100%;
        }
}
/* =========================================================
   REQUEST ESTIMATE PAGE
   ========================================================= */

.estimate-page {
    min-height: calc(100vh - 78px);
    background: #f6f4ed;
}

.estimate-page-hero {
    padding: 72px 0 58px;
    color: #ffffff;
    background: linear-gradient( 115deg, #123f2a 0%, #185338 55%, #216c49 100% );
}

    .estimate-page-hero .section-label {
        color: #c9ead7;
    }

    .estimate-page-hero h1 {
        max-width: 780px;
        margin: 0;
        font-size: clamp(42px, 6vw, 70px);
        line-height: 1;
        letter-spacing: -0.045em;
    }

    .estimate-page-hero p:last-child {
        max-width: 720px;
        margin: 22px 0 0;
        color: rgba(255, 255, 255, 0.84);
        font-size: 18px;
    }

.estimate-form-section {
    padding: 64px 0 96px;
}

.estimate-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
    gap: 30px;
    align-items: start;
}

.estimate-form-card,
.estimate-information {
    border: 1px solid #dce5df;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(19, 63, 42, 0.1);
}

.estimate-form-card {
    padding: 36px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.form-group label {
    color: #17211b;
    font-size: 15px;
    font-weight: 750;
}

    .form-group label span {
        color: #a32121;
    }

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    border: 1px solid #b9c6bd;
    border-radius: 10px;
    background: #ffffff;
    color: #17211b;
    font: inherit;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}

.form-group input,
.form-group select {
    min-height: 49px;
    padding: 10px 13px;
}

.form-group textarea {
    min-height: 180px;
    padding: 13px;
    resize: vertical;
}

    .form-group input:hover,
    .form-group select:hover,
    .form-group textarea:hover {
        border-color: #7e9586;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #216c49;
        box-shadow: 0 0 0 4px rgba(33, 108, 73, 0.15);
    }

.form-group small {
    color: #5e6b63;
    font-size: 13px;
    line-height: 1.45;
}

.form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

    .form-actions button {
        cursor: pointer;
        font: inherit;
    }

.form-errors {
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #e5aaaa;
    border-radius: 12px;
    background: #fff0f0;
    color: #7b1616;
}

    .form-errors strong {
        display: block;
        margin-bottom: 8px;
    }

    .form-errors ul {
        margin: 0;
        padding-left: 20px;
    }

.estimate-information {
    position: sticky;
    top: 104px;
    padding: 30px;
}

    .estimate-information .section-label {
        margin-bottom: 12px;
    }

    .estimate-information h2 {
        margin: 0 0 25px;
        font-size: 31px;
        line-height: 1.12;
        letter-spacing: -0.025em;
    }

    .estimate-information ol {
        margin: 0;
        padding-left: 22px;
        color: #5e6b63;
    }

    .estimate-information li {
        margin-bottom: 17px;
        padding-left: 5px;
    }

.estimate-note {
    margin-top: 28px;
    padding: 20px;
    border-radius: 14px;
    background: #e8f2ec;
}

    .estimate-note strong {
        color: #123f2a;
    }

    .estimate-note p {
        margin: 7px 0 0;
        color: #5e6b63;
    }

/* Mobile estimate page */

@media (max-width: 900px) {
    .estimate-form-layout {
        grid-template-columns: 1fr;
    }

    .estimate-information {
        position: static;
    }
}

@media (max-width: 650px) {
    .estimate-page-hero {
        padding: 54px 0 42px;
    }

    .estimate-form-section {
        padding: 38px 0 70px;
    }

    .estimate-form-card {
        padding: 24px 18px;
    }

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

    .form-group-full {
        grid-column: auto;
    }

    .form-actions {
        flex-direction: column;
    }

        .form-actions .button {
            width: 100%;
        }
}