/* ============================================================
   ICD Service Pages — v2 Clean Design (Apr 8, 2026)
   Matches: parts-finder, best-parts, EOSL style
   White backgrounds, purple accents, icon cards
   ============================================================ */

/* ─── FULL WIDTH FIX ─── */
body.icd-service-page .content-area {
    width: 100% !important;
    float: none !important;
}
body.icd-service-page .entry-header {
    display: none;
}

/* ─── PAGE CONTAINER ─── */
.svc-page { padding-bottom: 60px; }
.svc-page .col-full { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── BREADCRUMBS ─── */
.svc-breadcrumbs { padding: 15px 0; font-size: 13px; color: #666; }
.svc-breadcrumbs a { color: #333; text-decoration: none; }
.svc-breadcrumbs a:hover { color: #4D067B; }
.svc-breadcrumbs .sep { margin: 0 8px; color: #ccc; }

/* ─── HERO — WHITE BG like best-parts/EOSL ─── */
.svc-hero { text-align: center; padding: 40px 20px 30px; }
.svc-hero h1 { font-size: 36px; font-weight: 700; color: #000; margin: 0 0 10px; }
.svc-hero-badge {
    display: inline-block;
    font-size: 12px; font-weight: 600; color: #4D067B;
    text-transform: uppercase; letter-spacing: 1.5px;
    background: #f5edf8; padding: 5px 16px; border-radius: 20px;
    margin-bottom: 14px;
}
.svc-hero-sub {
    font-size: 18px; color: #444; margin: 0 auto 20px;
    max-width: 700px; line-height: 1.6;
}

/* Hero Stats — cream bg like EOSL */
.svc-hero-stats {
    display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
    margin: 24px auto; padding: 20px 30px;
    background: #FAF4E2; border-radius: 12px;
    max-width: 700px;
}
.svc-hero-stat { text-align: center; }
.svc-hero-stat-num { display: block; font-size: 28px; font-weight: 700; color: #4D067B; }
.svc-hero-stat-label { font-size: 13px; color: #666; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero CTAs */
.svc-hero-cta { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.svc-btn-primary {
    display: inline-block; padding: 12px 28px;
    background: #4D067B; color: #fff !important; border-radius: 8px;
    font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.svc-btn-primary:hover { background: #3A0460; color: #fff !important; transform: translateY(-1px); }
.svc-btn-outline {
    display: inline-block; padding: 12px 28px;
    background: #fff; color: #4D067B; border: 1.5px solid #4D067B; border-radius: 8px;
    font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.svc-btn-outline:hover { background: #4D067B; color: #fff !important; }
.svc-btn-whatsapp {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px; background: #25D366; color: #fff !important; border-radius: 8px;
    font-size: 15px; font-weight: 600; text-decoration: none; transition: all 0.2s;
}
.svc-btn-whatsapp::before {
    content: '';
    width: 20px; height: 20px; flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.373 0 0 5.373 0 12c0 2.625.846 5.059 2.284 7.034L.789 23.492a.5.5 0 00.612.638l4.703-1.258A11.953 11.953 0 0012 24c6.627 0 12-5.373 12-12S18.627 0 12 0zm0 22c-2.239 0-4.308-.724-5.992-1.952l-.418-.312-3.08.824.838-3.07-.342-.544A9.946 9.946 0 012 12C2 6.486 6.486 2 12 2s10 4.486 10 10-4.486 10-10 10z'/%3E%3C/svg%3E");
    background-size: contain; background-repeat: no-repeat;
}
.svc-btn-whatsapp:hover { background: #20bd5a; color: #fff !important; transform: translateY(-1px); }

/* ─── SECTION TITLES — purple underline like best-parts ─── */
.svc-section-title {
    font-size: 24px; font-weight: 700; color: #000;
    margin: 40px 0 20px; padding-bottom: 8px;
    border-bottom: 2px solid #4D067B; display: inline-block;
}

/* ─── FEATURE CARDS (from <ul>) — icon cards like parts-finder ─── */
.svc-features {
    list-style: none; padding: 0; margin: 0 0 20px;
    display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px;
}
.svc-features li {
    background: #fff; border: 2px solid #eee; border-radius: 12px;
    padding: 24px 20px 24px 56px; position: relative;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    line-height: 1.6; color: #444; font-size: 15px;
}
.svc-features li:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 20px rgba(77,6,123,0.12);
    transform: translateY(-2px);
}
.svc-features li::before {
    content: '';
    position: absolute; left: 18px; top: 24px;
    width: 26px; height: 26px;
    background: linear-gradient(135deg, #f5edf8, #ede0f5);
    border-radius: 7px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234D067B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 16px; background-repeat: no-repeat; background-position: center;
}
.svc-features li strong {
    color: #111; display: block; margin-bottom: 4px; font-size: 15px;
}

/* ─── PROCESS STEPS (from <ol>) — numbered like brand-landing ─── */
.svc-steps {
    list-style: none; padding: 0; margin: 0 0 20px;
    counter-reset: step-counter;
    position: relative;
}
.svc-steps::before {
    content: '';
    position: absolute; left: 29px; top: 40px; bottom: 40px;
    width: 2px; background: #e8d5f0;
}
.svc-steps li {
    counter-increment: step-counter;
    position: relative; padding: 20px 24px 20px 76px;
    margin-bottom: 12px; background: #fff;
    border: 2px solid #eee; border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.6; color: #444; font-size: 15px;
}
.svc-steps li:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 20px rgba(77,6,123,0.12);
}
.svc-steps li::before {
    content: counter(step-counter);
    position: absolute; left: 16px; top: 20px;
    width: 36px; height: 36px;
    background: #4D067B; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 700; z-index: 1;
}
.svc-steps li strong {
    color: #111; font-size: 16px; display: block; margin-bottom: 4px;
}

/* ─── CONTENT PARAGRAPHS ─── */
.svc-content p {
    font-size: 16px; line-height: 1.7; color: #444;
    margin: 0 0 16px; max-width: 800px;
}
.svc-content p strong { color: #111; }
.svc-content a { color: #4D067B; font-weight: 500; }
.svc-content a:hover { text-decoration: underline; }

/* ─── COVERAGE SECTION ─── */
.svc-coverage {
    background: #FAF4E2; border-radius: 12px;
    padding: 24px; margin: 16px 0 24px;
}
.svc-coverage p { margin: 0; }
.svc-coverage strong { color: #4D067B; }

/* ─── CTA BLOCK — light purple like best-parts ─── */
.svc-cta-block {
    text-align: center; padding: 40px 24px; margin: 40px 0;
    background: #faf5fc; border-radius: 12px; border: 1px solid #e8d5f0;
}
.svc-cta-block h2 {
    font-size: 24px; font-weight: 700; color: #000;
    margin: 0 0 8px; border: none; padding: 0; display: block;
}
.svc-cta-block p {
    font-size: 16px; color: #555; max-width: 600px;
    margin: 0 auto 20px; line-height: 1.6;
}
.svc-cta-buttons {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.svc-contact-row {
    display: flex; justify-content: center; gap: 24px; flex-wrap: wrap;
    margin-top: 16px; font-size: 14px; color: #666;
}
.svc-contact-item strong { color: #333; }
.svc-cta-block .svc-btn-primary { background: #4D067B; color: #fff !important; }
.svc-cta-block .svc-btn-outline { background: #fff; color: #4D067B !important; border-color: #4D067B; }
.svc-cta-block .svc-btn-outline:hover { background: #4D067B; color: #fff !important; }
.svc-cta-block .svc-btn-whatsapp { color: #fff !important; }

/* ─── LANDING: SERVICE CARD GRID ─── */
.svc-landing-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px; margin: 20px 0;
}
.svc-card {
    display: flex; flex-direction: column;
    background: #fff; border: 2px solid #eee; border-radius: 12px;
    padding: 24px 20px; text-decoration: none; color: #333;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.svc-card:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 20px rgba(77,6,123,0.12);
    transform: translateY(-2px); color: #333;
}
.svc-card-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #f5edf8, #ede0f5);
    border-radius: 11px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px; transition: all 0.2s;
}
.svc-card:hover .svc-card-icon {
    background: linear-gradient(135deg, #7B2FAF, #4D067B);
}
.svc-card-icon svg {
    width: 22px; height: 22px; fill: none;
    stroke: #7B2FAF; stroke-width: 2; transition: all 0.2s;
}
.svc-card:hover .svc-card-icon svg { stroke: #fff; }
.svc-card-brand {
    font-size: 11px; font-weight: 700; color: #7B2FAF;
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 6px;
}
.svc-card-title { font-size: 18px; font-weight: 700; color: #000; margin: 0 0 8px; }
.svc-card-desc { font-size: 14px; color: #555; line-height: 1.5; margin: 0; flex: 1; }
.svc-card-cta {
    margin-top: 16px; font-size: 14px; font-weight: 600; color: #4D067B;
}

/* Landing sections */
.svc-landing-section { margin: 40px 0 0; }
.svc-landing-section-badge {
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    color: #7B2FAF; background: #f5edf8; padding: 5px 14px;
    border-radius: 20px; display: inline-block; margin-bottom: 10px;
}
.svc-landing-section h2 {
    font-size: 26px; font-weight: 700; color: #000;
    margin: 0 0 6px; border: none; padding: 0; display: block;
}
.svc-landing-section > p {
    font-size: 15px; color: #666; max-width: 550px; margin: 0 0 20px;
}

/* ─── BRAND TPM GRID ─── */
.svc-brand-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 20px 0;
}
.svc-brand-card {
    display: flex; align-items: center; gap: 14px;
    background: #fff; border: 2px solid #eee; border-radius: 10px;
    padding: 16px 18px; text-decoration: none; color: #333;
    transition: all 0.2s;
}
.svc-brand-card:hover {
    border-color: #4D067B;
    box-shadow: 0 4px 16px rgba(77,6,123,0.1);
    transform: translateY(-2px); color: #333;
}
.svc-brand-card-icon {
    width: 38px; height: 38px; flex-shrink: 0;
    background: #f5edf8; border-radius: 9px;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
}
.svc-brand-card:hover .svc-brand-card-icon {
    background: linear-gradient(135deg, #7B2FAF, #4D067B);
}
.svc-brand-card-icon svg {
    width: 18px; height: 18px; fill: none; stroke: #7B2FAF; stroke-width: 2;
    transition: all 0.2s;
}
.svc-brand-card:hover .svc-brand-card-icon svg { stroke: #fff; }
.svc-brand-card-name { font-size: 15px; font-weight: 600; color: #111; }
.svc-brand-card-sub { font-size: 12px; color: #888; }
.svc-brand-card-arrow {
    margin-left: auto; color: #ccc; font-size: 18px;
    transition: all 0.2s; opacity: 0;
}
.svc-brand-card:hover .svc-brand-card-arrow { opacity: 1; color: #4D067B; transform: translateX(4px); }

/* ─── CROSS-LINKS ─── */
.svc-cross-links {
    background: #f5edf8; padding: 28px 24px; border-radius: 12px; margin: 32px 0;
}
.svc-cross-links h2, .svc-cross-links h3 {
    color: #4D067B; margin-top: 0; border: none; padding: 0; display: block;
}
.svc-cross-links a { color: #4D067B; font-weight: 600; text-decoration: none; }
.svc-cross-links a:hover { text-decoration: underline; }
.svc-cross-links ul { list-style: none; padding: 0; }
.svc-cross-links li { margin-bottom: 8px; font-size: 14px; color: #555; }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
    .svc-hero h1 { font-size: 26px; }
    .svc-hero-sub { font-size: 15px; }
    .svc-hero-stats { gap: 20px; padding: 16px 20px; }
    .svc-hero-stat-num { font-size: 22px; }
    .svc-features { grid-template-columns: 1fr; }
    .svc-landing-grid { grid-template-columns: 1fr; }
    .svc-brand-grid { grid-template-columns: 1fr; }
    .svc-cta-block { padding: 28px 20px; }
    .svc-section-title { font-size: 20px; }
    .svc-steps li { padding-left: 64px; }
    .svc-steps li::before { left: 14px; width: 32px; height: 32px; font-size: 14px; }
    .svc-steps::before { left: 27px; }
}
@media (max-width: 480px) {
    .svc-hero-cta, .svc-cta-buttons { flex-direction: column; align-items: center; }
    .svc-btn-primary, .svc-btn-outline, .svc-btn-whatsapp {
        width: 100%; max-width: 280px; text-align: center;
    }
}

/* Blog & Favorites page hero styling (Apr 8, 2026) */
body.blog .entry-header,
body.page-id-7257 .entry-header {
    text-align: center;
    padding: 40px 20px 30px;
}
body.blog .entry-header .entry-title,
body.page-id-7257 .entry-header .entry-title {
    font-size: 36px;
    font-weight: 700;
    color: #000;
}
body.blog .content-area,
body.page-id-7257 .content-area {
    width: 100% !important;
    float: none !important;
}
