/* ============================================================
   Service Pages — Daniel's Painting Cape Cod
   Consistent with styles.css (primary blue #003366 + gold #ffd700)
   ============================================================ */

.service-page {
    background: #ffffff;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    padding: 20px 15px;
    font-size: 14px;
    color: #ffffff; /* var(--medium-gray, #6c757d) */
    background: #003366; /* var(--light-gray, #f8f9fa) */
    border-bottom: #074787; /* 1px solid var(--border-color, #dee2e6) */
}
.breadcrumb .container {
    max-width: 1100px;
}
.breadcrumb a {
    color: #ffffff; /* var(--primary-blue, #003366) */
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb a:hover {
    opacity: 0.8;
}
.breadcrumb .sep {
    margin: 0 8px;
    color: #9aa3ad;
}
.breadcrumb .current {
    color: #f4f4f4; /* var(--medium-gray, #6c757d) */   
}

/* ---------- Hero ---------- */
.service-hero {
    background: linear-gradient(135deg, #003366 0%, #004488 55%, #0a5c9e 100%);
    color: #ffffff;
    padding: 72px 0 84px;
    text-align: center;
}
.service-hero h1 {
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}
.service-hero .service-subtitle {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    max-width: 840px;
    margin: 0 auto 30px;
    line-height: 1.65;
}
.service-hero .hero-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 26px;
    margin-bottom: 30px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
}
.service-hero .hero-badges span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.service-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.service-cta .cta-button {
    background: #ffd700;
    color: #003366;
    border: 2px solid #ffd700;
    padding: 15px 32px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}
.service-cta .cta-button:hover {
    background: #e8c200;
    border-color: #e8c200;
    transform: translateY(-2px);
}
.service-cta .cta-button.ghost {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.7);
}
.service-cta .cta-button.ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #ffffff;
}

/* ---------- Sections ---------- */
.service-section {
    padding: 64px 0;
}
.service-section.alt {
    background: var(--light-gray, #f8f9fa);
}
.service-section .section-kicker {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 13px;
    font-weight: 700;
    color: #d49a00;
    margin-bottom: 10px;
}
.service-section h2 {
    color: var(--primary-blue, #003366);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 18px;
    line-height: 1.3;
}
.service-section .lead {
    font-size: 17px;
    color: var(--medium-gray, #111111);
    /* max-width: 860px; */
    line-height: 1.7;
    margin-bottom: 24px;
}
.service-section p {
    line-height: 1.7;
    margin-bottom: 16px;
}
.service-section ul {
    margin: 0 0 18px 20px;
    line-height: 1.8;
    color: var(--medium-gray, #111111);
}
.service-section ul li {
    margin-bottom: 8px;
}

/* ---------- Features grid ---------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 10px;
}
.feature-item {
    background: #ffffff;
    border: 1px solid var(--border-color, #dee2e6);
    border-left: 6px solid #003366;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}
.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}
.feature-item h3 {
    color: var(--primary-blue, #003366);
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 10px;
}
.feature-item p {
    font-size: 15px;
    color: var(--medium-gray, #111111);
    margin-bottom: 0;
    line-height: 1.65;
}

/* ---------- Process ---------- */
.process-steps {
    counter-reset: step;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.process-steps li {
    counter-increment: step;
    position: relative;
    background: #ffffff;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
    padding: 24px 24px 24px 74px;
    min-height: 96px;
}
.process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 20px;
    top: 22px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #003366;
    color: #ffd700;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.process-steps h3 {
    color: var(--primary-blue, #003366);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
}
.process-steps p {
    font-size: 14px;
    color: var(--medium-gray, #111111);
    margin-bottom: 0;
    line-height: 1.6;
}

/* ---------- Cape Cod box ---------- */
.cape-cod-box {
    background: #fdf6e3;
    border: 1px solid #e6cf8c;
    border-left: 6px solid #d49a00;
    border-radius: 8px;
    padding: 28px 30px;
}
.cape-cod-box h3 {
    color: #003366;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}
.cape-cod-box p,
.cape-cod-box li {
    color: #4a4030;
}
.cape-cod-box ul {
    margin-left: 18px;
}

/* ---------- FAQ ---------- */
.faq-list {
    max-width: 860px;
}
.faq-list details {
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
    margin-bottom: 12px;
    background: #ffffff;
    overflow: hidden;
}
.faq-list summary {
    cursor: pointer;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue, #003366);
    list-style: none;
    position: relative;
    padding-right: 44px;
}
.faq-list summary::-webkit-details-marker {
    display: none;
}
.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    color: #d49a00;
    font-weight: 700;
}
.faq-list details[open] summary::after {
    content: "−";
}
.faq-list details[open] summary {
    border-bottom: 1px solid var(--border-color, #dee2e6);
}
.faq-list details .faq-answer {
    padding: 16px 22px;
    color: var(--medium-gray, #111111);
    line-height: 1.7;
    font-size: 15px;
}

/* ---------- CTA band ---------- */
.service-cta-band {
    background: linear-gradient(135deg, #003366 0%, #0a5c9e 100%);
    color: #ffffff;
    text-align: center;
    padding: 70px 0;
}
.service-cta-band h2 {
    color: #ffffff;
    font-size: 34px;
    margin-bottom: 14px;
}
.service-cta-band p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 17px;
    max-width: 720px;
    margin: 0 auto 28px;
}

/* ---------- Related services ---------- */
.related-services {
    background: var(--light-gray, #f8f9fa);
    padding: 56px 0;
}
.related-services h2 {
    text-align: center;
    color: var(--primary-blue, #003366);
    font-size: 28px;
    margin-bottom: 28px;
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.related-grid a {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border-color, #dee2e6);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    color: var(--primary-blue, #003366);
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.05);
}
.related-grid a:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
    color: #d49a00;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-hero h1 {
        font-size: 34px;
    }
}
@media (max-width: 767px) {
    .service-hero {
        padding: 52px 0 60px;
    }
    .service-hero h1 {
        font-size: 28px;
    }
    .service-section {
        padding: 48px 0;
    }
    .features-grid,
    .process-steps,
    .related-grid {
        grid-template-columns: 1fr;
    }
    .service-section h2 {
        font-size: 26px;
    }
    .service-cta {
        flex-direction: column;
        align-items: center;
    }
    .service-cta .cta-button {
        width: 100%;
        max-width: 320px;
        text-align: center;
    }
}
