:root {
    --blue: #005795;
    --blue-light: #0c71c3;
    --gold: #ffba60;
    --dark: #1f2933;
    --text: #333333;
    --muted: #6b7280;
    --light: #f7f7f7;
    --white: #ffffff;
    --shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    --max-width: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--text);
    background: var(--white);
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--blue-light);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--blue);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

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

.top-bar {
    background: var(--blue);
    color: var(--white);
    font-size: 15px;
}

.top-bar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-phone,
.top-phone:hover,
.top-phone:focus {
    color: var(--white);
    font-weight: 700;
    text-decoration: none;
}

.service-message {
    text-align: right;
}

.main-header {
    background: var(--light);
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}

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

.logo {
    display: inline-flex;
    align-items: center;
    color: var(--dark);
    font-weight: 800;
    font-size: 24px;
    text-decoration: none;
}

.logo img {
    max-height: 96px;
    width: auto;
    display: block;
}

.site-menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-menu > li {
    position: relative;
}

.site-menu a {
    display: block;
    padding: 14px 12px;
    color: var(--blue-light);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
}

.site-menu a:hover,
.site-menu .is-active > a {
    color: #000000;
}

.dropdown-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 230px;
    list-style: none;
    margin: 0;
    padding: 8px 0;
    background: var(--white);
    box-shadow: var(--shadow);
    z-index: 30;
}

.dropdown-menu a {
    color: var(--dark);
    text-transform: none;
    padding: 10px 16px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
    display: block;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    height: 3px;
    margin: 6px 0;
    background: #000000;
    border-radius: 2px;
}

main {
    display: block;
}

.section {
    padding: 64px 0;
}

.section-light {
    background: var(--light);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: clamp(500px, 68vh, 680px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(0, 40, 72, 0.84), rgba(0, 87, 149, 0.64)),
        radial-gradient(circle at 80% 20%, rgba(255, 186, 96, 0.45), transparent 34%),
        linear-gradient(135deg, #0c2f4f, #005795);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.35), transparent);
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, 0.75fr);
    align-items: center;
    gap: 40px;
    color: var(--white);
}

.hero-content {
    max-width: 760px;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--blue-light);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero .eyebrow {
    color: var(--gold);
}

h1,
h2,
h3 {
    color: var(--dark);
    line-height: 1.18;
    margin-top: 0;
}

.hero h1 {
    color: var(--white);
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(42px, 7vw, 76px);
    font-weight: 400;
    margin-bottom: 18px;
}

.hero-lead {
    font-size: clamp(18px, 2.1vw, 23px);
    max-width: 660px;
    margin: 0 0 26px;
}

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

.hero-card {
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    padding: 30px;
    border-top: 5px solid var(--gold);
    box-shadow: var(--shadow);
}

.hero-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.hero-phone {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 12px;
}

.btn {
    display: inline-block;
    background: var(--blue);
    color: var(--white);
    padding: 13px 22px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid var(--blue);
}

.btn:hover,
.btn:focus {
    background: #003f6d;
    border-color: #003f6d;
    color: var(--white);
    text-decoration: none;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--white);
}

.btn-outline:hover,
.btn-outline:focus {
    background: var(--white);
    color: var(--blue);
    border-color: var(--white);
}

.intro-section {
    background: #ffffff;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.65fr);
    gap: 34px;
    align-items: start;
}

.testimonial-card,
.content-card {
    background: var(--white);
    border: 2px solid var(--gold);
    box-shadow: var(--shadow);
    padding: 30px;
}

.testimonial-card blockquote {
    margin: 0;
}

.testimonial-card p {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.65;
    font-style: italic;
    color: #555555;
}

.testimonial-card p::before {
    content: "“";
    display: block;
    font-family: Georgia, serif;
    font-size: 96px;
    line-height: 0.65;
    color: var(--blue-light);
}

.testimonial-card cite {
    display: block;
    color: var(--dark);
    font-style: normal;
    font-weight: 800;
    text-transform: uppercase;
}

.intro-copy h2,
.section-heading h2,
.cta-content h2 {
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 400;
    margin-bottom: 18px;
}

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

.section-heading h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold);
    margin: 18px auto 0;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    display: block;
    min-height: 240px;
    overflow: hidden;
    background: #dbe7ef;
    color: var(--white);
    box-shadow: var(--shadow);
    text-decoration: none;
}

.service-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.service-card span {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.78);
    color: var(--white);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

.service-card:hover img,
.service-card:focus img {
    transform: scale(1.04);
}

.service-card:hover,
.service-card:focus {
    text-decoration: none;
}

.cta-band {
    position: relative;
    color: var(--white);
    background:
        linear-gradient(rgba(0, 31, 54, 0.82), rgba(0, 31, 54, 0.82)),
        linear-gradient(135deg, #2c3e50, #005795);
}

.cta-content {
    max-width: 860px;
    text-align: center;
}

.cta-content h2,
.cta-content p {
    color: var(--white);
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 26px;
}

.simple-page-hero {
    background: var(--light);
    padding: 56px 0;
}

.simple-page-hero h1 {
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 400;
    margin-bottom: 12px;
}

.simple-content {
    padding: 56px 0;
}

.site-footer {
    background: #202020;
    color: #e5e7eb;
}

.footer-main {
    padding: 48px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-widget h2 {
    color: var(--white);
    font-size: 18px;
    margin: 0 0 14px;
}

.footer-widget p {
    margin: 0 0 10px;
}

.site-footer a {
    color: var(--white);
}

.footer-bottom {
    background: #111111;
    color: #d1d5db;
    font-size: 14px;
    padding: 18px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1100px) {
    .site-menu a {
        font-size: 12px;
        padding: 12px 8px;
    }

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

@media (max-width: 980px) {
    .top-bar-inner {
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        padding: 8px 0;
        text-align: center;
    }

    .service-message {
        text-align: center;
    }

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

    .logo img {
        max-height: 68px;
    }

    .menu-toggle {
        display: block;
    }

    .main-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        background: var(--white);
        box-shadow: var(--shadow);
        z-index: 50;
    }

    body.menu-open .main-nav {
        display: block;
    }

    .site-menu {
        display: block;
    }

    .site-menu a {
        padding: 13px 18px;
        border-top: 1px solid #eeeeee;
        color: #000000;
    }

    .dropdown-menu {
        display: block;
        position: static;
        box-shadow: none;
        padding: 0 0 0 18px;
        background: #f9fafb;
    }

    .hero-grid,
    .intro-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 56px 0;
    }

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

@media (max-width: 640px) {
    .hero-actions {
        display: block;
    }

    .hero-actions .btn {
        display: block;
        margin-bottom: 12px;
        text-align: center;
    }

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

/* About page */
.about-page-hero p:last-child {
    max-width: 780px;
    margin-bottom: 0;
    font-size: 18px;
}

.about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.85fr);
    gap: 34px;
    align-items: start;
}

.about-copy h2 {
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 400;
    margin-bottom: 18px;
}

.video-card {
    background: var(--white);
    border: 1px solid #dddddd;
    box-shadow: var(--shadow);
    padding: 16px;
}

.video-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111111;
}

.video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

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

.value-card {
    background: var(--white);
    border-top: 4px solid var(--gold);
    box-shadow: var(--shadow);
    padding: 26px;
}

.value-card h3 {
    margin-bottom: 10px;
    color: var(--blue);
}

.value-card p {
    margin-bottom: 0;
}

@media (max-width: 980px) {
    .about-grid,
    .value-grid {
        grid-template-columns: 1fr;
    }
}

/* Estimators page */
.estimators-hero p:last-child {
    max-width: 760px;
    margin-bottom: 0;
    font-size: 18px;
}

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

.estimator-list {
    display: grid;
    gap: 24px;
    max-width: 940px;
    margin: 0 auto;
}

.estimator-card {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 26px;
    align-items: center;
    background: var(--white);
    border: 1px solid #dddddd;
    border-left: 6px solid var(--gold);
    box-shadow: var(--shadow);
    padding: 24px;
}

.estimator-photo {
    width: 150px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid #dddddd;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
    padding: 8px;
}

.estimator-photo img {
    display: block;
    width: 138px;
    height: auto;
}

.estimator-info h2 {
    margin: 0 0 6px;
    color: var(--blue);
    font-size: clamp(24px, 3vw, 32px);
}

.estimator-phone {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 700;
}

.estimator-info p:last-child {
    margin-bottom: 0;
    font-size: 18px;
}

.center-cta {
    margin-top: 34px;
    text-align: center;
}

@media (max-width: 720px) {
    .estimator-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .estimator-photo {
        margin: 0 auto;
    }
}

/* Contact page */
.contact-page-hero p:last-child {
    max-width: 780px;
    margin-bottom: 0;
    font-size: 18px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 34px;
    align-items: start;
}

.contact-form-card,
.contact-info-card {
    background: var(--white);
    border: 1px solid #dddddd;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 36px);
}

.contact-form-card h2,
.contact-info-card h2 {
    color: var(--blue);
    margin-top: 0;
}

.contact-form {
    display: grid;
    gap: 18px;
    margin-top: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-field label,
.checkbox-group legend {
    display: block;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--dark);
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="file"],
.form-field textarea,
.form-field select {
    width: 100%;
    border: 1px solid #cfcfcf;
    border-radius: 4px;
    background: #ffffff;
    font: inherit;
    padding: 12px 14px;
}

.form-field input[type="file"] {
    margin-bottom: 10px;
    padding: 10px;
}

.form-field textarea {
    resize: vertical;
}

.form-help {
    margin-top: -2px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666666;
}

.checkbox-group {
    border: 1px solid #dddddd;
    padding: 16px;
}

.checkbox-group label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-right: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-submit {
    border: 0;
    cursor: pointer;
    width: fit-content;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form-alert {
    border-left: 5px solid #b00020;
    background: #fff3f4;
    padding: 14px 16px;
    margin: 18px 0;
}

.form-alert p,
.form-alert ul {
    margin-bottom: 8px;
}

.map-wrap {
    position: relative;
    overflow: hidden;
    margin-top: 18px;
    border: 1px solid #dddddd;
}

.map-wrap iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    border: 0;
}

.map-link {
    margin-top: 10px;
}

.thank-you-card {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

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

/* Service detail pages */
.service-page-hero p:last-child {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 18px;
}

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

.service-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: 36px;
    align-items: start;
}

.service-detail-copy p {
    font-size: 17px;
}

.service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.btn-secondary {
    background: var(--gold);
    border-color: var(--gold);
    color: #1f2933;
}

.btn-secondary:hover,
.btn-secondary:focus {
    background: #f0a742;
    border-color: #f0a742;
    color: #1f2933;
}

.service-image-card {
    background: var(--white);
    border: 1px solid #dddddd;
    box-shadow: var(--shadow);
    padding: 18px;
}

.service-image-card img {
    width: 100%;
    display: block;
    background: #dbe7ef;
}

.service-image-caption {
    border-top: 4px solid var(--gold);
    padding-top: 16px;
    margin-top: 16px;
}

.service-image-caption strong,
.service-image-caption span {
    display: block;
}

.service-image-caption strong {
    color: var(--blue);
    font-size: 18px;
    margin-bottom: 4px;
}

.service-points-section {
    padding-top: 56px;
}

@media (max-width: 900px) {
    .service-detail-grid,
    .service-value-grid {
        grid-template-columns: 1fr;
    }

    .service-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Why Choose Us page */
.why-choose-hero p:last-child {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 18px;
}

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

.why-choose-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
    gap: 34px;
    align-items: start;
}

.why-list-card,
.promise-card,
.review-card {
    background: var(--white);
    border: 1px solid #dddddd;
    box-shadow: var(--shadow);
    padding: clamp(24px, 4vw, 34px);
}

.why-list-card {
    border-left: 6px solid var(--gold);
}

.promise-card {
    border-top: 5px solid var(--blue);
}

.why-list-card h2,
.promise-card h2 {
    color: var(--blue);
    margin-bottom: 18px;
}

.check-list,
.promise-list {
    margin: 0;
    padding-left: 22px;
}

.check-list li,
.promise-list li {
    margin-bottom: 10px;
}

.check-list li::marker {
    color: var(--blue);
}

.promise-list li::marker {
    color: var(--blue);
    font-weight: 800;
}

.promise-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.reviews-section .section-heading p {
    margin-bottom: 0;
}

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

.review-card {
    border-top: 4px solid var(--gold);
}

.review-card h3 {
    color: var(--blue);
    margin-bottom: 10px;
}

.review-card p {
    font-style: italic;
}

@media (max-width: 900px) {
    .why-choose-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .promise-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Cabinet painting page */
.cabinet-painting-page .service-detail-copy h2 {
    color: var(--blue);
    margin-top: 24px;
    margin-bottom: 12px;
}

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

.cabinet-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.gallery-card {
    margin: 0;
    background: var(--white);
    border: 1px solid #dddddd;
    box-shadow: var(--shadow);
    padding: 14px;
}

.gallery-card img {
    display: block;
    width: 100%;
    background: #dbe7ef;
}

.gallery-card figcaption {
    border-top: 4px solid var(--gold);
    margin-top: 12px;
    padding-top: 12px;
    color: var(--blue);
    font-weight: 700;
}

@media (max-width: 900px) {
    .cabinet-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Privacy policy page */
.privacy-page-hero p:last-child {
    max-width: 820px;
    margin-bottom: 0;
    font-size: 18px;
}

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

.privacy-policy-wrap {
    max-width: 960px;
}

.privacy-policy-card h2 {
    color: var(--blue);
    font-size: clamp(22px, 3vw, 28px);
    margin-top: 30px;
    margin-bottom: 8px;
}

.privacy-policy-card address {
    margin-top: 24px;
    padding: 18px;
    background: var(--light);
    border-left: 5px solid var(--gold);
    font-style: normal;
}

.privacy-actions {
    margin-top: 26px;
}

/* BEGIN Jeff test homepage image/form restoration */
.home-services-strip {
    padding: 56px 0 70px;
    background: #ffffff;
}

.home-service-grid {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.home-service-card {
    position: relative;
    display: block;
    height: 112px;
    overflow: hidden;
    background: #111111;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.home-service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.25s ease;
}

.home-service-card span {
    position: absolute;
    left: 0;
    right: 0;
    top: 44%;
    transform: translateY(-50%);
    display: block;
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.72);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    text-transform: capitalize;
    letter-spacing: 0.03em;
}

.home-service-card:hover,
.home-service-card:focus {
    text-decoration: none;
}

.home-service-card:hover img,
.home-service-card:focus img {
    transform: scale(1.05);
}

.home-hero {
    min-height: 600px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.30)),
        url('../images/home-hero.jpg') center center / cover no-repeat;
}

.home-hero .hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 430px);
    gap: 44px;
}

.home-hero .hero-content {
    background: rgba(0, 0, 0, 0.32);
    padding: 42px;
}

.home-hero h1 {
    font-size: clamp(34px, 4.6vw, 52px);
}

.hero-quote-form {
    background: rgba(255, 255, 255, 0.96);
    color: var(--text);
    padding: 28px;
    border-top: 5px solid var(--gold);
    box-shadow: var(--shadow);
}

.hero-quote-form h2 {
    margin-bottom: 6px;
    font-size: 25px;
}

.hero-quote-form p {
    margin-top: 0;
    margin-bottom: 18px;
}

.hero-quote-form label {
    display: block;
    margin-bottom: 12px;
}

.hero-quote-form label span {
    display: block;
    margin-bottom: 4px;
    font-weight: 700;
    font-size: 14px;
}

.hero-quote-form input,
.hero-quote-form textarea {
    width: 100%;
    border: 1px solid #cfd6dd;
    padding: 10px 11px;
    font: inherit;
    background: #ffffff;
}

.hero-quote-form textarea {
    resize: vertical;
}

.hero-quote-form .btn {
    width: 100%;
    cursor: pointer;
}

.hide-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
}

.home-painters-section {
    position: relative;
    min-height: 410px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.34)),
        url('../images/home-professional-painters-bg.jpg') center center / cover no-repeat;
}

.home-painters-content {
    max-width: 840px;
}

.home-painters-content h2 {
    color: #ffffff;
    font-family: 'Prata', Georgia, serif;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
}

.home-painters-content p {
    color: #ffffff;
    font-size: 17px;
    max-width: 760px;
}

@media (max-width: 980px) {
    .home-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-hero .hero-grid {
        grid-template-columns: 1fr;
    }

    .home-hero .hero-content {
        padding: 28px;
    }
}

@media (max-width: 560px) {
    .home-service-grid {
        grid-template-columns: 1fr;
    }

    .home-service-card {
        height: 150px;
    }
}
/* END Jeff test homepage image/form restoration */

/* BEGIN original service + estimator image layouts */
.service-page-section,
.estimators-page-section {
    padding: 56px 0;
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 520px);
    gap: 42px;
    align-items: start;
}

.service-layout h1 {
    margin-top: 0;
}

.service-image-card {
    background: #ffffff;
    border: 1px solid #e1e6eb;
    box-shadow: 0 14px 34px rgba(0,0,0,.12);
    padding: 10px;
}

.service-image-card img,
.service-gallery img,
.estimator-photo img {
    width: 100%;
    height: auto;
    display: block;
}

.service-gallery {
    margin-top: 38px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.service-extra-image {
    margin-top: 26px;
}

.estimator-grid {
    display: grid;
    gap: 24px;
    max-width: 900px;
}

.estimator-card {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 24px;
    align-items: center;
    padding: 22px;
    background: #ffffff;
    border: 1px solid #e1e6eb;
    box-shadow: 0 12px 28px rgba(0,0,0,.10);
}

.estimator-photo {
    background: #ffffff;
    border: 1px solid #dddddd;
    padding: 10px;
}

.estimator-card h2 {
    margin: 0 0 8px;
}

.estimator-card p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .service-layout,
    .estimator-card {
        grid-template-columns: 1fr;
    }

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

    .estimator-photo {
        max-width: 180px;
    }
}
/* END original service + estimator image layouts */
