/* Interior Painting v2 - Mobile-First Redesign */

:root {
    --panel-gradient: linear-gradient(0deg, rgb(221 239 234 / 18%), rgb(221 239 234 / 90%));
    --panel-image: url(../images/interior-painting/bg_painting-1.jpg);
}

/* ==================== */
/* HERO SECTION */
/* ==================== */
.hero-section {
    padding: 30px 15px 40px;
    background-image: var(--panel-gradient), var(--panel-image);
    background-size: cover;
    background-position: top;
}

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

.hero-content {
    text-align: center;
    margin-bottom: 25px;
}

.hero-headline {
    font-family: "Poppins", system-ui;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-title);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.7);
    margin: 0 0 15px;
}

.hero-headline .highlight {
    color: var(--color-primary);
}

.hero-subheadline {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Box */
.form-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.12);
    max-width: 500px;
    margin: 0 auto;
}

.form-title {
    font-family: "Poppins", system-ui;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
    margin: 0 0 20px;
    color: var(--color-text);
}

.highlight-primary {
    color: var(--color-primary);
}

.form-label {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 500;
    margin: 0 0 8px;
    color: var(--color-text);
}

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

.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    z-index: 1;
}

.zip-input {
    width: 100%;
    padding: 16px 15px 16px 45px;
    font-family: "Poppins", system-ui;
    font-size: 18px;
    font-weight: 400;
    border: 1px solid #E6E6E6;
    border-radius: 10px;
    background: var(--bg-input, #fff);
    box-sizing: border-box;
    min-height: 55px;
}

.zip-input:focus {
    outline: 2px solid var(--color-primary);
    border-color: var(--color-primary);
}

.submit-btn {
    width: 100%;
    min-height: 55px;
    padding: 14px 24px;
    font-family: "Poppins", system-ui;
    font-size: 18px;
    font-weight: 600;
    color: var(--color-primary-text, #fff);
    background: var(--color-primary);
    border: 1px solid var(--color-primary-border, var(--color-primary));
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.submit-btn:hover {
    background: var(--color-primary-dark);
}

/* Social Proof Badge */
.social-proof-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars {
    color: #FFB800;
    font-size: 16px;
    letter-spacing: 1px;
}

.rating-text {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-title);
}

.divider {
    color: #ccc;
    font-size: 16px;
}

.trust-text {
    font-family: "Poppins", system-ui;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
}

/* ==================== */
/* BENEFITS SECTION */
/* ==================== */
.benefits-section {
    padding: 40px 15px;
    background: #fff;
}

.benefits-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.benefit-item {
    flex: 1 1 100%;
    max-width: 280px;
    text-align: center;
    padding: 15px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
}

.benefit-title {
    font-family: "Poppins", system-ui;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-title);
    margin: 0 0 8px;
}

.benefit-text {
    font-family: "Poppins", system-ui;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--color-text-dark);
    margin: 0;
}

/* ==================== */
/* CONTENT SECTIONS */
/* ==================== */
.content-section,
.diy-section {
    padding: 50px 15px;
    background: #fff;
}

.diy-section {
    background: #f9fafb;
}

.content-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
}

.content-text {
    text-align: center;
}

.section-headline {
    font-family: "Poppins", system-ui;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-title);
    margin: 0 0 15px;
    line-height: 1.25;
}

.section-intro {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0 0 20px;
}

.benefit-list {
    list-style: none;
    padding: 0;
    margin: 0 0 25px;
    text-align: left;
}

.benefit-list li {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    padding: 8px 0 8px 28px;
    position: relative;
}

.benefit-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 700;
}

.content-image {
    text-align: center;
}

.content-image img {
    max-width: 100%;
    width: 350px;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.cta-button {
    display: inline-block;
    padding: 12px 30px;
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 600;
    color: var(--color-primary);
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
}

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

/* ==================== */
/* SERVICES SECTION */
/* ==================== */
.services-section {
    padding: 60px 15px;
    background: #f9fafb;
}

.services-headline {
    font-family: "Poppins", system-ui;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-title);
    text-align: center;
    margin: 0 0 12px;
}

.services-intro {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-dark);
    text-align: center;
    margin: 0 0 35px;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

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

.service-card p {
    font-family: "Poppins", system-ui;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-title);
    margin: 0;
    padding: 14px 12px;
    text-align: center;
}

/* ==================== */
/* COMPARE SECTION */
/* ==================== */
.compare-section {
    padding: 50px 15px;
    background: #fff;
}

.compare-headline {
    font-family: "Poppins", system-ui;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-title);
    text-align: center;
    margin: 0 0 10px;
}

.compare-intro {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    color: var(--color-text-dark);
    text-align: center;
    margin: 0 0 25px;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 600px;
    margin: 0 auto 25px;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Poppins", system-ui;
    font-size: 16px;
    color: var(--color-text-dark);
    padding: 12px 15px;
    background: #f9fafb;
    border-radius: 8px;
}

.check-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.compare-closing {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    text-align: center;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== */
/* TESTIMONIALS SECTION */
/* ==================== */
.testimonials-section {
    padding: 60px 15px;
    background: linear-gradient(135deg, #f0f7f4 0%, #e8f4f8 100%);
}

.testimonials-headline {
    font-family: "Poppins", system-ui;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-title);
    text-align: center;
    margin: 0 0 30px;
}

.stats-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    min-width: 100px;
}

.stat-number {
    display: block;
    font-family: "Poppins", system-ui;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-primary);
}

.stat-label {
    font-family: "Poppins", system-ui;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-dark);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-text {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: var(--color-text-dark);
    margin: 0 0 15px;
}

.testimonial-author {
    font-family: "Poppins", system-ui;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-title);
    margin: 0;
}

/* ==================== */
/* BOTTOM CTA SECTION */
/* ==================== */
.bottom-cta-section {
    padding: 60px 15px;
    background: var(--color-primary);
}

.bottom-cta-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.bottom-cta-headline {
    font-family: "Poppins", system-ui;
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 15px;
}

.bottom-cta-text {
    font-family: "Poppins", system-ui;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 25px;
    line-height: 1.5;
}

.bottom-cta-form .form-input-group {
    flex-direction: column;
    gap: 12px;
}

.bottom-cta-form .input-wrapper {
    background: #fff;
    border-radius: 10px;
}

.bottom-cta-form .zip-input {
    background: #fff;
}

.bottom-cta-form .submit-btn {
    background: #fff;
    color: var(--color-primary);
    border-color: #fff;
}

.bottom-cta-form .submit-btn:hover {
    background: #f0f0f0;
}

.microcopy {
    font-family: "Poppins", system-ui;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 15px 0 0;
}

/* ==================== */
/* RESPONSIVE - TABLET */
/* ==================== */
@media (min-width: 768px) {
    .hero-section {
        padding: 50px 20px 60px;
    }

    .hero-headline {
        font-size: 38px;
    }

    .hero-subheadline {
        font-size: 18px;
    }

    .form-box {
        max-width: 550px;
        padding: 35px 35px;
    }

    .form-input-group {
        flex-direction: row;
    }

    .input-wrapper {
        flex: 1;
    }

    .submit-btn {
        width: auto;
        min-width: 180px;
    }

    .benefit-item {
        flex: 0 1 calc(33.333% - 20px);
    }

    .content-grid {
        flex-direction: row;
        text-align: left;
    }

    .content-grid.reverse {
        flex-direction: row-reverse;
    }

    .content-text {
        flex: 1;
        text-align: left;
    }

    .content-image {
        flex: 1;
    }

    .content-image img {
        width: 100%;
        max-width: 400px;
    }

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

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

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

    .bottom-cta-form .form-input-group {
        flex-direction: row;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ==================== */
/* RESPONSIVE - DESKTOP */
/* ==================== */
@media (min-width: 1024px) {
    .hero-section {
        padding: 70px 20px 80px;
    }

    .hero-headline {
        font-size: 48px;
    }

    .hero-subheadline {
        font-size: 20px;
    }

    .form-box {
        max-width: 600px;
        padding: 40px 45px;
    }

    .form-title {
        font-size: 26px;
    }

    .benefit-icon {
        width: 70px;
        height: 70px;
    }

    .benefit-title {
        font-size: 20px;
    }

    .benefit-text {
        font-size: 15px;
    }

    .section-headline {
        font-size: 32px;
    }

    .section-intro {
        font-size: 18px;
    }

    .content-image img {
        max-width: 450px;
    }

    .services-headline {
        font-size: 36px;
    }

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

    .service-card img {
        height: 160px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .stat-number {
        font-size: 40px;
    }

    .bottom-cta-headline {
        font-size: 32px;
    }
}

/* ==================== */
/* UTILITY & OVERRIDES */
/* ==================== */
@media (max-width: 767px) {
    .d-block {
        display: block;
    }
}

@media (min-width: 768px) {
    .d-md-none {
        display: none;
    }
}

/* Animation for buttons */
.btn {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: color 0.3s ease;
}

.btn-border-reveal::after {
    content: "";
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    background-color: var(--color-primary-dark);
    transition: width 0.5s ease;
    z-index: 0;
}

.btn-border-reveal:hover::after {
    width: 100%;
}

.btn-border-reveal span {
    position: relative;
    z-index: 1;
}