body.home-page-custom {
    --home-dark: #040917;
    --home-green: #5b812a;
    --home-green-deep: #2a8347;
    --home-ink: #172019;
    --home-muted: #5e675f;
    --home-line: #d9ded6;
    --home-paper: #ffffff;
    --home-soft: #f5f7f2;
    --home-warm: #c9a96a;
    background: var(--home-paper);
    color: var(--home-ink);
    font-family: Arial, Helvetica, sans-serif;
}

body.home-page-custom * {
    box-sizing: border-box;
}

body.home-page-custom a {
    color: inherit;
}

.home-shell {
    background: var(--home-paper);
}

.home-wrap {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

.home-section {
    padding: 48px 0;
    border-top: 1px solid var(--home-line);
}

.home-kicker {
    margin: 0 0 10px;
    color: var(--home-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    line-height: 1;
    text-transform: uppercase;
}

.home-section__head {
    max-width: 700px;
    margin-bottom: 24px;
}

.home-section__title {
    margin: 0;
    color: var(--home-dark);
    max-width: 780px;
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.04;
}

.home-section__text {
    max-width: 720px;
    margin: 12px 0 0;
    color: var(--home-muted);
    font-size: 15px;
    line-height: 1.55;
}

.home-feature-title {
    margin: 16px 0 0;
    color: var(--home-dark);
    font-size: 18px;
    line-height: 1.3;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid currentColor;
    border-radius: 0;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.home-button--primary {
    background: var(--home-green);
    border-color: var(--home-green);
    color: #fff;
}

.home-button--primary:hover {
    background: var(--home-dark);
    border-color: var(--home-dark);
    color: #fff;
}

.home-button--quiet {
    background: transparent;
    color: #fff;
}

.home-button--quiet:hover {
    background: var(--home-dark);
    border-color: var(--home-dark);
    color: #fff;
}

.home-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: var(--home-dark);
}

.home-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
    gap: 72px;
    align-items: center;
    min-height: 380px;
    padding: 36px 0;
    color: #fff;
}

.home-hero__content {
    min-width: 0;
}

.home-hero__title {
    max-width: 660px;
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
}

.home-hero .home-kicker {
    margin-bottom: 8px;
    font-size: clamp(18px, 2.2vw, 28px);
    letter-spacing: 0.08em;
}

.home-hero__text {
    max-width: 620px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.55;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.home-hero .home-button--quiet {
    color: #fff;
}

.home-hero .home-button--quiet:hover {
    color: #fff;
}

.home-proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: min(680px, 100%);
    margin: 22px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-left: 1px solid rgba(255, 255, 255, 0.28);
}

.home-proof div {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.06);
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.home-proof dt {
    margin: 0;
    color: #fff;
    font-size: clamp(16px, 1.6vw, 21px);
    font-weight: 900;
    line-height: 1.12;
}

.home-proof dd {
    margin: 6px 0 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
}

.home-hero__image {
    margin: 0;
    align-self: center;
    justify-self: end;
    width: min(100%, 420px);
    height: 460px;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.home-hero__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

.home-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
    gap: 36px;
    align-items: center;
}

.estimate-stack {
    display: grid;
    gap: 24px;
}

.credentials-head {
    margin-bottom: 22px;
    text-align: center;
}

.home-credentials {
    padding-top: 68px;
    padding-bottom: 68px;
}

.credentials-head .home-section__title {
    max-width: none;
    margin-inline: auto;
    font-size: clamp(26px, 3vw, 36px);
}

.credentials-head .home-section__text {
    max-width: none;
    margin: 10px auto 0;
}

.credential-panel {
    border: 0;
    background: transparent;
    padding: 0;
}

.credential-logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    align-items: center;
}

.credential-logos--full {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.credential-logos img {
    width: 100%;
    height: 158px;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 1px solid var(--home-line);
    box-shadow: 0 14px 34px rgba(4, 9, 23, 0.06);
}

.credential-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.credential-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 158px;
    padding: 8px;
    border: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-dark);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 0.08em;
    line-height: 1.25;
    text-align: center;
    text-transform: uppercase;
    box-shadow: 0 14px 34px rgba(4, 9, 23, 0.06);
}

.credential-placeholder--bbb {
    color: var(--home-green);
    font-size: 32px;
    letter-spacing: 0.04em;
}

.credential-list,
.trust-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 16px;
    background: var(--home-line);
    border: 1px solid var(--home-line);
}

.credential-list span,
.trust-list span {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 10px;
    background: #fff;
    color: var(--home-dark);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-services {
    background: var(--home-soft);
}

.home-services .home-section__head {
    max-width: none;
    margin: 0 auto 28px;
    text-align: center;
}

.home-services .home-section__title,
.home-services .home-section__text {
    max-width: none;
    margin-inline: auto;
}

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

.service-tile {
    display: grid;
    grid-template-rows: 132px auto 1fr;
    min-height: 230px;
    padding: 10px 12px 14px;
    border: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-ink);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.service-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 44px rgba(4, 9, 23, 0.1);
}

.service-tile img {
    width: 100%;
    height: 132px;
    object-fit: cover;
}

.service-tile h3 {
    margin: 12px 0 0;
    color: var(--home-dark);
    font-size: 18px;
    line-height: 1.15;
}

.service-tile p {
    margin: 8px 0 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.45;
}

.home-savings {
    background: var(--home-dark);
    color: #fff;
}

.home-savings .home-section__title {
    color: #fff;
}

.home-savings .home-section__text {
    color: rgba(255, 255, 255, 0.72);
}

.home-reviews {
    background: #fff;
    border-top: 0;
}

.home-reviews .home-section__head {
    max-width: none;
    margin: 0 auto 30px;
    text-align: center;
}

.home-reviews .home-section__title,
.home-reviews .home-section__text {
    max-width: none;
    margin-inline: auto;
}

.review-star-symbol {
    display: none;
}

.home-image-slab {
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 10px;
}

.home-image-slab img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.value-list {
    display: grid;
    gap: 1px;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.value-list div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 14px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
}

.value-list strong {
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.value-list span {
    color: rgba(255, 255, 255, 0.72);
}

.review-platforms {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
    margin-bottom: 34px;
}

.review-platforms img {
    width: 100%;
    height: 82px;
    object-fit: contain;
}

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

.review-card {
    min-height: auto;
    height: auto;
    padding: 12px 0 0;
    border-top: 1px solid var(--home-line);
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: var(--home-ink);
    display: block;
    transition: none;
}

.review-card:hover {
    transform: none;
    box-shadow: none;
}

.review-rating {
    display: inline-flex;
    gap: 3px;
    margin: 0;
    color: #f4b400;
    line-height: 1;
}

.review-rating svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.review-text {
    margin: 8px 0;
    color: var(--home-ink);
    font-size: 13px;
    line-height: 1.45;
}

.review-card a {
    display: inline-block;
    margin-left: 12px;
    color: var(--home-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}

.review-card strong {
    color: var(--home-dark);
    font-size: 14px;
}

.home-resources {
    background: var(--home-dark);
    color: #fff;
}

.home-resources .home-section__head {
    max-width: none;
    margin: 0 auto 28px;
    text-align: center;
}

.home-resources .home-section__title,
.home-resources .home-section__text {
    max-width: none;
    margin-inline: auto;
}

.home-resources .home-section__title {
    color: #fff;
}

.home-resources .home-section__text {
    color: rgba(255, 255, 255, 0.72);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.resource-card {
    display: flex;
    min-height: 300px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 10px 10px 18px;
    border: 1px solid rgba(247, 244, 235, 0.22);
    background: #f3f5ef;
    color: var(--home-ink);
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.resource-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 16px;
}

.resource-card:hover {
    transform: translateY(-4px);
    border-color: var(--home-warm);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.18);
}

.resource-card h3 {
    margin: 0 8px;
    color: var(--home-dark);
    font-size: 20px;
    line-height: 1.12;
}

.resource-card p {
    margin: 10px 8px 0;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.5;
}

.resource-card--placeholder {
    background: #fafaf6;
}

.home-contact {
    background: var(--home-soft);
    color: var(--home-ink);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
    gap: 36px;
    align-items: stretch;
}

.home-contact .home-section__title {
    color: var(--home-dark);
}

.home-contact .home-section__text {
    color: var(--home-muted);
}

.contact-copy {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.contact-details {
    display: grid;
    width: 100%;
    gap: 1px;
    margin: 22px 0;
    border: 1px solid var(--home-line);
    background: var(--home-line);
}

.contact-details p {
    display: grid;
    gap: 5px;
    margin: 0;
    padding: 12px 14px;
    background: #fff;
    color: var(--home-muted);
    font-size: 14px;
    line-height: 1.4;
}

.contact-details strong {
    color: var(--home-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.contact-details a {
    color: var(--home-green);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--home-dark);
}

.contact-map {
    min-height: 360px;
    border: 1px solid var(--home-line);
    background: #fff;
    overflow: hidden;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    border: 0;
    filter: grayscale(18%) contrast(0.95);
}

.home-estimate {
    background: #fff;
}

.estimate-intro {
    display: grid;
    justify-items: center;
    text-align: center;
}

.estimate-intro .home-section__title,
.estimate-intro .home-section__text {
    max-width: none;
    margin-inline: auto;
}

.trust-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(100%, 920px);
}

.estimate-form {
    width: 100%;
    margin: 0 auto;
    border: 1px solid var(--home-line);
    background: var(--home-soft);
    padding: 22px;
}

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

.estimate-form label,
.estimate-options {
    display: grid;
    gap: 8px;
    margin: 0;
}

.estimate-form label span,
.estimate-options legend {
    color: var(--home-dark);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.estimate-form input[type="text"],
.estimate-form input[type="email"],
.estimate-form input[type="tel"],
.estimate-form textarea {
    width: 100%;
    border: 1px solid var(--home-line);
    border-radius: 0;
    background: #fff;
    color: var(--home-ink);
    font: inherit;
    min-height: 40px;
    padding: 10px 12px;
}

.estimate-form textarea {
    min-height: 40px;
    resize: vertical;
}

.estimate-form input:focus,
.estimate-form textarea:focus {
    border-color: var(--home-green);
    outline: 2px solid rgba(91, 129, 42, 0.18);
    outline-offset: 0;
}

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

.estimate-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 16px 0;
    padding: 0;
    border: 0;
}

.estimate-options legend {
    grid-column: 1 / -1;
    padding: 0;
}

.estimate-options label {
    display: flex;
    min-height: 38px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border: 1px solid var(--home-line);
    background: #fff;
    color: var(--home-muted);
    font-size: 14px;
}

.estimate-options input {
    accent-color: var(--home-green);
}

.estimate-submit {
    width: 100%;
    margin-top: 16px;
}

.form-disclaimer {
    margin: 16px 0 0;
    color: var(--home-muted);
    font-size: 12px;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .home-section {
        padding: 44px 0;
    }

    .home-split,
    .home-hero__inner,
    .contact-grid,
    .service-grid,
    .review-grid,
    .resource-grid {
        grid-template-columns: 1fr;
    }

    .home-proof,
    .review-platforms {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

@media (max-width: 680px) {
    .home-wrap {
        width: min(100% - 28px, 1180px);
    }

    .home-hero__inner {
        min-height: 0;
        padding: 32px 0;
    }

    .home-hero__actions,
    .home-proof,
    .credential-logos,
    .credential-list,
    .credential-badges,
    .trust-list,
    .review-platforms,
    .form-grid,
    .estimate-options {
        grid-template-columns: 1fr;
    }

    .home-hero__actions {
        display: grid;
    }

    .home-hero__image {
        justify-self: stretch;
        width: 100%;
        height: 340px;
        min-height: 0;
    }

    .value-list div {
        grid-template-columns: 1fr;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 300px;
    }

    .estimate-form,
    .credential-panel {
        padding: 22px;
    }
}
