/* ============================================
   Vardaman Infra - Services Page Styles
   ============================================ */

/* --- Page Header Banner --- */
.page-header {
    padding: 100px 20px 20px;
}
.page-header-inner {
    background: var(--dark-card);
    border-radius: 12px;
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 94, 20, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 94, 20, 0.04) 0%, transparent 50%),
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px),
        repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,0.015) 60px, rgba(255,255,255,0.015) 61px);
    background-color: var(--dark-card);
}
/* Page header stays dark in both light and dark modes */
.page-header-inner {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --dark-card: #30363d;
    --border-dark: rgba(255, 255, 255, 0.08);
    background-color: #30363d;
    /* keep existing background-image */
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.4rem);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 10px;
}
.breadcrumb-nav {
    font-size: 1rem;
    color: var(--text-muted);
    text-transform: capitalize;
}
.breadcrumb-nav a {
    color: var(--text-white);
    transition: color 0.3s;
}
.breadcrumb-nav a:hover {
    color: var(--primary);
}
.breadcrumb-sep {
    margin: 0 8px;
    color: var(--text-muted);
}
.breadcrumb-current {
    color: var(--text-muted);
}

/* --- General Section Spacing --- */
.sp-section {
    padding: 100px 0;
}

/* === Section 1: All Services (8-card full grid) === */
.sp-all-services {
    background: var(--dark-bg);
    padding-top: 80px;
}
.sp-all-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Legacy 4-card grid (kept for index page) */
.sp-services-cards {
    background: var(--dark-bg);
    padding-top: 80px;
}
.sp-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}
.sp-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    height: 420px;
}
.sp-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.sp-card-top {
    padding: 24px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.sp-card-top h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.sp-card-top p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sp-card-divider {
    height: 1px;
    background: var(--border-dark);
    margin: 18px 0;
}
.sp-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
    transition: all 0.3s;
}
.sp-card-link span {
    color: var(--primary);
    transition: transform 0.3s;
}
.sp-card-link:hover {
    color: var(--primary);
}
.sp-card-link:hover span {
    transform: translateX(4px);
}
.sp-card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px 10px 0 0;
    margin: 0 10px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.sp-img-1 { background: #111; }
.sp-img-2 { background: #111; }
.sp-img-3 { background: #111; }
.sp-img-4 { background: #111; }

.sp-card-badge {
    display: none;
}
.sp-badge-orange { background: var(--primary); }
.sp-badge-blue { background: #2196f3; }
.sp-badge-teal { background: #26a69a; }
.sp-badge-purple { background: #7c4dff; }
.sp-badge-yellow { background: #cc0000; }

/* Row 2 image gradients */
.sp-img-5 { background: #111; }
.sp-img-6 { background: #111; }
.sp-img-7 { background: #111; }
.sp-img-8 { background: #111; }

/* Cards Footer */
.sp-cards-footer {
    text-align: center;
}
.sp-cards-footer > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 14px;
}
.sp-cards-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sp-cards-footer a:hover {
    color: var(--accent-yellow);
}
.sp-rating {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.sp-rating-num { font-weight: 700; color: var(--text-white); }
.sp-rating-stars { color: var(--primary); font-size: 1.1rem; letter-spacing: 2px; }
.sp-rating-text { color: var(--text-muted); }

/* === Section 2: Dark Services Detail === */
.sp-dark-services {
    background: var(--dark-surface);
    position: relative;
    overflow: hidden;
}
/* Dark services section stays dark in both modes */
.sp-dark-services {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --text-light: rgba(255, 255, 255, 0.7);
    --dark-surface: #1a1f25;
    --dark-card: #30363d;
    --border-dark: rgba(255, 255, 255, 0.08);
    background: #1a1f25 !important;
    color: #ffffff;
}
.sp-dark-services::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, rgba(255, 94, 20, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.sp-dark-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px;
}
.sp-dark-header-left {
    max-width: 500px;
}
.sp-dark-header-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
}
.sp-dark-header-right {
    max-width: 480px;
}
.sp-dark-header-right p {
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.sp-dark-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}
.sp-dark-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 28px 24px 80px;
    position: relative;
    transition: all 0.3s;
}
.sp-dark-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}
.sp-dark-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 100px;
}
.sp-dark-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dark);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}
.sp-dark-icon-bg {
    font-size: 2.5rem;
    opacity: 0.1;
}
.sp-dark-card h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.sp-dark-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.sp-dark-card-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-white);
}

.sp-dark-cta-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 30px;
    border-top: 1px solid var(--border-dark);
}
.sp-dark-cta-avatars {
    display: flex;
}
.sp-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--dark-surface);
}
.sp-avatar-2 {
    margin-left: -10px;
    background: var(--accent-yellow);
    color: var(--dark-bg);
}
.sp-dark-cta-bar p {
    color: var(--text-light);
    font-size: 0.95rem;
}
.sp-dark-cta-bar a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sp-dark-cta-bar a:hover { color: var(--accent-yellow); }

/* === Section 3: Core Features === */
.sp-core-features {
    background: var(--dark-bg);
}
.sp-core-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: start;
    margin-bottom: 50px;
}
.sp-core-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 20px;
}
.sp-core-left p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

.sp-core-right {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}
.sp-core-stats {
    grid-row: 1 / 3;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.sp-stat-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
}
.sp-stat-num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 4px;
}
.sp-stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sp-core-image {
    grid-column: 2;
    grid-row: 1 / 3;
}
.sp-core-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 340px;
    background: #111;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}

.sp-core-support {
    grid-column: 3;
    grid-row: 1 / 3;
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    overflow: hidden;
}
.sp-support-img {
    height: 160px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
}
.sp-support-text {
    padding: 24px;
}
.sp-support-text h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}
.sp-support-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}
.sp-support-divider {
    height: 1px;
    background: var(--border-dark);
    margin: 16px 0;
}
.sp-support-text ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sp-support-text li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-left: 16px;
    position: relative;
}
.sp-support-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.sp-core-banner {
    display: flex;
    align-items: center;
    gap: 16px;
}
.sp-core-banner-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
}
.sp-core-banner p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
.sp-core-banner a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sp-core-banner a:hover { color: var(--accent-yellow); }

/* === Section 4: FAQ === */
.sp-faq {
    background: var(--dark-surface);
}
.sp-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}
.sp-faq-left h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.25;
    margin-bottom: 16px;
}
.sp-faq-left p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    font-size: 0.95rem;
}

.sp-faq-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sp-faq-item {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.sp-faq-item:hover,
.sp-faq-open {
    border-color: rgba(255, 255, 255, 0.12);
}
.sp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}
.sp-faq-chevron {
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
}
.sp-faq-open .sp-faq-chevron {
    transform: rotate(180deg);
}
.sp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.sp-faq-open .sp-faq-answer {
    max-height: 200px;
    padding: 0 24px 18px;
}
.sp-faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === Section 5: Features Bar === */
.sp-features-bar {
    background: var(--dark-card);
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 50px 0;
}
/* Features bar stays dark in both modes */
.sp-features-bar {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --dark-card: #30363d;
    --border-dark: rgba(255, 255, 255, 0.08);
    background: #30363d;
}
.sp-fb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.sp-fb-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.sp-fb-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.sp-fb-icon-1 { background: var(--primary); color: var(--text-white); }
.sp-fb-icon-2 { background: var(--primary); color: var(--text-white); }
.sp-fb-icon-3 { background: var(--primary); color: var(--text-white); }
.sp-fb-icon-4 { background: var(--primary); color: var(--text-white); }

.sp-fb-item h4 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}
.sp-fb-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* === Section 6: Testimonials === */
.sp-testimonials {
    background: var(--dark-bg);
}
.sp-testi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}
.sp-testi-awards {
    background: var(--primary);
    border-radius: 16px;
    padding: 32px 28px;
    color: var(--text-white);
}
.sp-testi-avatars {
    display: flex;
    margin-bottom: 20px;
}
.sp-t-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 2px solid var(--primary);
}
.sp-t-av-2 { margin-left: -8px; background: rgba(255, 255, 255, 0.3); }
.sp-t-av-3 { margin-left: -8px; background: rgba(255, 255, 255, 0.15); }

.sp-testi-award-num {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 4px;
}
.sp-testi-awards h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 10px;
}
.sp-testi-awards > p {
    font-size: 0.9rem;
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 20px;
}
.sp-testi-awards ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sp-testi-awards li {
    font-size: 0.85rem;
    opacity: 0.8;
    padding-left: 16px;
    position: relative;
}
.sp-testi-awards li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-white);
}

.sp-testi-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
}
.sp-testi-stars {
    color: var(--primary);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}
.sp-testi-card > p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 20px;
}
.sp-testi-divider {
    height: 1px;
    background: var(--border-dark);
    margin-bottom: 20px;
}
.sp-testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sp-testi-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--dark-surface);
    border: 2px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.9rem;
}
.sp-testi-author strong {
    display: block;
    color: var(--text-white);
    font-size: 0.95rem;
}
.sp-testi-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.sp-testi-quote {
    margin-left: auto;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.5;
}

.sp-testi-footer {
    text-align: center;
    padding-top: 10px;
}
.sp-testi-footer > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}
.sp-testi-rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.sp-testi-rating-num { font-weight: 700; color: var(--text-white); font-size: 1.05rem; }
.sp-testi-rating-stars { color: var(--primary); font-size: 1.1rem; letter-spacing: 2px; }
.sp-testi-rating-text { color: var(--text-muted); font-weight: 600; }

/* === Logos Marquee === */
.sp-logos-marquee {
    background: var(--primary);
    padding: 18px 0;
    overflow: hidden;
    white-space: nowrap;
}
.sp-logos-track {
    display: inline-flex;
    gap: 60px;
    animation: marquee 20s linear infinite;
}
.sp-logo-item {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    opacity: 0.85;
    letter-spacing: 1px;
}
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* === Contact CTA === */
.sp-contact-cta {
    background: var(--dark-surface);
}
/* Contact CTA stays dark in both modes */
.sp-contact-cta {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --dark-surface: #1a1f25;
    --dark-card: #30363d;
    --border-dark: rgba(255, 255, 255, 0.08);
    background: #1a1f25 !important;
}
.sp-cta-box {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.sp-cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 94, 20, 0.08), transparent 70%);
    pointer-events: none;
}
.sp-cta-left h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}
.sp-cta-left p {
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
}

/* === Footer Extras === */
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 12px;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
}
.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.85rem;
}
.social-icon-sm {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s;
}
.social-icon-sm:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

/* === Light mode card adjustments - auto-adapts via variables === */
.sp-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
[data-theme="dark"] .sp-card {
    box-shadow: none;
}

/* === Default Page Content === */
.page-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}
.page-featured-image {
    margin-bottom: 32px;
    border-radius: 16px;
    overflow: hidden;
}
.page-hero-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}
.page-body {
    color: var(--text-body);
    font-size: 1rem;
    line-height: 1.8;
}
.page-body h2 {
    font-size: 1.6rem;
    margin: 32px 0 16px;
    color: var(--text-white);
}
.page-body h3 {
    font-size: 1.3rem;
    margin: 28px 0 12px;
    color: var(--text-white);
}
.page-body p {
    margin-bottom: 16px;
    color: var(--text-muted);
}
.page-body ul, .page-body ol {
    margin: 16px 0;
    padding-left: 24px;
    color: var(--text-muted);
}
.page-body li {
    margin-bottom: 8px;
}
.page-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}
.page-body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.page-body a:hover {
    color: var(--primary-hover);
}
.page-body blockquote {
    border-left: 3px solid var(--primary);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--dark-card);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: var(--text-light);
}
.page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.page-body th, .page-body td {
    padding: 12px 16px;
    border: 1px solid var(--border-dark);
    text-align: left;
    color: var(--text-muted);
}
.page-body th {
    background: var(--dark-card);
    color: var(--text-white);
    font-weight: 600;
}

/* === About Page Styles === */
.about-page-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.about-page-img {
    width: 100%;
    aspect-ratio: 4/3;
    background: #111;
    border-radius: 16px;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}
.stat-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 4px;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Partners Grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.partner-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    transition: all 0.3s;
}
.partner-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.partner-photo {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #111;
    margin: 0 auto 16px;
}
.partner-card h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 4px;
}
.partner-role {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

/* Mission & Vision */
.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.mv-card {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 36px 32px;
    position: relative;
    overflow: hidden;
}
.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}
.mv-card h3 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}
.mv-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ Page */
.sp-faq-page .sp-faq-page-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.sp-faq-page .sp-faq-page-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--text-white);
    margin-bottom: 12px;
}
.sp-faq-page .sp-faq-page-header p {
    color: var(--text-muted);
}
.sp-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Contact Page Map */
.contact-map {
    width: 100%;
    height: 400px;
    background: #111;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    border: 1px solid var(--border-dark);
    overflow: hidden;
}
.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* About/FAQ responsive */
@media (max-width: 1024px) {
    .about-page-overview { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .partners-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .stats-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 8px;
    }
    .stats-grid::-webkit-scrollbar { display: none; }
    .stats-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: 60vw;
        max-width: 220px;
    }
    .partners-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 12px;
        padding-bottom: 8px;
    }
    .partners-grid::-webkit-scrollbar { display: none; }
    .partners-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        width: 55vw;
        max-width: 200px;
    }
    .mv-grid { grid-template-columns: 1fr; }
    .contact-map { height: 280px; }
}

/* === Section 3: Core Features (archive template) === */
.core-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.core-feature-item {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s;
}
.core-feature-item:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}
.core-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 16px;
}
.core-feature-item h4 {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}
.core-feature-item p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* === Section 4: FAQ Accordion (archive template) === */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s;
}
.faq-item:hover,
.faq-item.open {
    border-color: rgba(0, 0, 0, 0.12);
}
[data-theme="dark"] .faq-item:hover,
[data-theme="dark"] .faq-item.open {
    border-color: rgba(255, 255, 255, 0.12);
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
}
.faq-toggle {
    font-size: 1.4rem;
    color: var(--primary);
    transition: transform 0.3s;
    flex-shrink: 0;
    font-weight: 400;
    line-height: 1;
}
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}
.faq-answer {
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer:not([hidden]) {
    padding: 0 24px 18px;
}
.faq-answer p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* === Section 5: Features Bar (archive template) === */
.features-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.features-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.features-bar-num {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--text-white);
}
.features-bar-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* === Client Logos Marquee (archive template) === */
.sp-client-logos {
    background: var(--dark-bg);
}
.client-logos-marquee {
    overflow: hidden;
    white-space: nowrap;
}
.marquee-track {
    display: inline-flex;
    gap: 60px;
    animation: marquee 20s linear infinite;
}
.marquee-item {
    flex-shrink: 0;
}
.marquee-item img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.marquee-item img:hover {
    filter: grayscale(0);
    opacity: 1;
}
.marquee-item-text {
    display: flex;
    align-items: center;
}
.client-name-placeholder {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* === Contact CTA (archive template) === */
.contact-cta-inner {
    background: var(--dark-card);
    border: 1px solid var(--border-dark);
    border-radius: 20px;
    padding: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    overflow: hidden;
}
.contact-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.08), transparent 70%);
    pointer-events: none;
}
.contact-cta-text h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}
.contact-cta-text p {
    color: var(--text-muted);
    max-width: 500px;
    line-height: 1.7;
}
.contact-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end;
}
.contact-cta-actions .btn-outline,
.contact-cta-actions .btn-outline a {
    color: var(--text-white, #fff);
    text-decoration: none;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.05);
}
.btn-outline i {
    font-size: 1.2rem;
}
.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(204, 0, 0, 0.08);
}
.btn-outline a {
    color: inherit;
    text-decoration: none;
}

/* === Responsive === */
@media (max-width: 1200px) {
    .sp-core-right {
        grid-template-columns: 1fr 1fr;
    }
    .sp-core-stats {
        grid-row: auto;
        flex-direction: row;
        grid-column: span 2;
    }
}

@media (max-width: 1024px) {
    .sp-all-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .sp-cards-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: var(--primary) transparent;
        padding-bottom: 12px;
    }
    .sp-cards-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 300px;
        width: 320px;
    }
    .sp-dark-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }
    .sp-dark-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 280px;
        width: 300px;
    }
    .sp-testi-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }
    .sp-testi-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 300px;
        width: 340px;
    }
    .sp-fb-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
    }
    .sp-fb-grid > * {
        scroll-snap-align: start;
        flex-shrink: 0;
        min-width: 260px;
    }
    .sp-dark-header { flex-direction: column; gap: 24px; }
    .sp-core-grid { grid-template-columns: 1fr; }
    .sp-core-right {
        grid-template-columns: 1fr 1fr;
    }
    .sp-core-stats {
        grid-row: auto;
        flex-direction: row;
        grid-column: span 2;
    }
    .sp-core-image { grid-column: 1; grid-row: auto; }
    .sp-core-support { grid-column: 2; grid-row: auto; }
    .sp-faq-grid { grid-template-columns: 1fr; }
    .sp-cta-box,
    .contact-cta-inner { flex-direction: column; text-align: center; padding: 40px 30px; }
    .contact-cta-actions { align-items: center; }
    .core-features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
    .page-header-inner { padding: 140px 0 70px; }
    /* Services page: stack ALL cards vertically on mobile */
    .sp-all-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 16px;
        overflow: visible !important;
    }
    .sp-all-grid > * {
        width: 100% !important;
        min-width: 0 !important;
        flex-shrink: unset !important;
    }
    .sp-cards-grid,
    .sp-dark-grid,
    .sp-fb-grid { grid-template-columns: 1fr; }
    .sp-core-right {
        grid-template-columns: 1fr;
    }
    .sp-core-stats {
        flex-direction: column;
        grid-column: auto;
    }
    .sp-core-image { grid-column: auto; }
    .sp-core-support { grid-column: auto; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .core-features-grid { grid-template-columns: 1fr; }
    .features-bar-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SINGLE SERVICE DETAIL PAGE
   ============================================================ */

.single-service .service-detail { padding: 80px 0; }

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.service-detail-main {}

.service-detail-header { margin-bottom: 32px; }

.service-icon-large {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md, 16px);
    background: rgba(204, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--primary, #cc0000);
    margin-bottom: 20px;
}
[data-theme="dark"] .service-icon-large {
    background: rgba(204, 0, 0, 0.15);
}

.service-featured-img {
    border-radius: var(--radius-md, 16px);
    overflow: hidden;
    margin-bottom: 32px;
}
.service-featured-img img {
    width: 100%;
    height: auto;
    display: block;
}

.service-content.entry-content {
    color: var(--text-muted, #555);
    line-height: 1.8;
    font-size: 1rem;
}
.service-content.entry-content h2,
.service-content.entry-content h3 {
    color: var(--text-white, #1a1a2e);
    margin-top: 32px;
    margin-bottom: 12px;
}
.service-content.entry-content p {
    margin-bottom: 16px;
}
.service-content.entry-content ul,
.service-content.entry-content ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.service-features { margin-top: 40px; }
.service-features h3 {
    color: var(--text-white, #1a1a2e);
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.service-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.service-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--text-muted, #555);
    font-size: 0.95rem;
    line-height: 1.6;
}

.feature-check {
    color: var(--primary, #cc0000);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-brochure {
    margin-top: 32px;
}

/* Service Sidebar */
.service-detail-sidebar {
    position: sticky;
    top: 100px;
}

.service-sidebar-card {
    background: var(--dark-card, #f5f5f5);
    border: 1px solid var(--border-dark, rgba(0,0,0,0.08));
    border-radius: var(--radius-md, 16px);
    padding: 28px;
    margin-bottom: 24px;
}

.sidebar-card-title {
    font-size: 1.1rem;
    color: var(--text-white, #1a1a2e);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-dark, rgba(0,0,0,0.08));
}

.sidebar-services-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sidebar-services-list li {
    border-bottom: 1px solid var(--border-dark, rgba(0,0,0,0.06));
}
.sidebar-services-list li:last-child {
    border-bottom: none;
}
.sidebar-services-list a {
    display: block;
    padding: 10px 0;
    color: var(--text-muted, #555);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}
.sidebar-services-list a:hover {
    color: var(--primary, #cc0000);
    padding-left: 8px;
}
.sidebar-services-list li.current-service a {
    color: var(--primary, #cc0000);
    font-weight: 600;
    padding-left: 8px;
}

.service-cta-card {
    background: var(--primary, #cc0000) !important;
    border-color: var(--primary, #cc0000) !important;
    color: #fff;
    text-align: center;
}
.service-cta-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.service-cta-card p {
    color: rgba(255,255,255,0.85);
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.service-cta-card .btn-hero-text {
    background: #fff;
    color: var(--primary, #cc0000);
}
.service-cta-card .btn-hero-icon {
    background: rgba(255,255,255,0.2);
    color: #fff;
}
.service-cta-card .btn-hero:hover .btn-hero-text {
    background: rgba(255,255,255,0.9);
    color: var(--primary, #cc0000);
}
.service-cta-card .btn-hero:hover .btn-hero-icon {
    background: rgba(255,255,255,0.35);
}

.sidebar-phone {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255,255,255,0.9);
}
.sidebar-phone a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

/* === Process Steps Section === */
.service-process {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark, rgba(0,0,0,0.08));
}
.service-process h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading, #1a1a2e);
    margin-bottom: 8px;
}
.service-process-intro {
    color: var(--text-muted, #6b7280);
    margin-bottom: 32px;
    line-height: 1.7;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.process-step {
    background: var(--card-bg, #f8f9fa);
    border: 1px solid var(--border-dark, rgba(0,0,0,0.06));
    border-radius: var(--radius-md, 16px);
    padding: 28px;
    position: relative;
    transition: box-shadow 0.3s;
}
.process-step:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.process-step-number {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary, #cc0000);
    opacity: 0.1;
    line-height: 1;
}
.process-step-icon {
    width: 48px;
    height: 48px;
    background: rgba(204, 0, 0, 0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary, #cc0000);
    margin-bottom: 16px;
}
.process-step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-heading, #1a1a2e);
    margin-bottom: 8px;
}
.process-step-desc {
    font-size: 0.9rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
}

/* === Benefits Section === */
.service-benefits {
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--border-dark, rgba(0,0,0,0.08));
}
.service-benefits h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading, #1a1a2e);
    margin-bottom: 28px;
}
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.benefit-card {
    background: var(--card-bg, #f8f9fa);
    border: 1px solid var(--border-dark, rgba(0,0,0,0.06));
    border-radius: var(--radius-md, 16px);
    padding: 24px;
    text-align: center;
    transition: box-shadow 0.3s;
}
.benefit-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.benefit-icon {
    width: 52px;
    height: 52px;
    background: rgba(204, 0, 0, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary, #cc0000);
    margin: 0 auto 16px;
}
.benefit-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-heading, #1a1a2e);
    margin-bottom: 8px;
}
.benefit-card p {
    font-size: 0.85rem;
    color: var(--text-muted, #6b7280);
    line-height: 1.6;
}

/* === Service FAQ Section === */
.service-faq {
    background: var(--card-bg, #f8f9fa);
}
.service-faq .section-header {
    text-align: center;
    margin-bottom: 40px;
}
.service-faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.service-faq-list .faq-item {
    background: var(--surface, #fff);
    border: 1px solid var(--border-dark, rgba(0,0,0,0.08));
    border-radius: var(--radius-md, 16px);
    margin-bottom: 12px;
    overflow: hidden;
}
.service-faq-list .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-heading, #1a1a2e);
    text-align: left;
    gap: 16px;
    font-family: var(--font-body);
}
.service-faq-list .faq-question:hover {
    color: var(--primary, #cc0000);
}
.service-faq-list .faq-toggle {
    font-size: 1.4rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    color: var(--primary, #cc0000);
}
.service-faq-list .faq-answer {
    padding: 0 24px 20px;
    color: var(--text-muted, #6b7280);
    line-height: 1.7;
}
.service-faq-list .faq-item.faq-open {
    border-color: var(--primary, #cc0000);
}

/* Service Page CTA — stays dark in both light & dark modes */
.service-page-cta {
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --dark-surface: #1a1f25;
    --dark-card: #30363d;
    --border-dark: rgba(255, 255, 255, 0.08);
    background: #1a1f25 !important;
    color: #fff;
}
.service-page-cta .contact-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    background: #30363d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 60px;
    position: relative;
    overflow: hidden;
}
.service-page-cta .contact-cta-inner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(204, 0, 0, 0.08), transparent 70%);
    pointer-events: none;
}
.service-page-cta h2 { color: #fff; }
.service-page-cta p { color: rgba(255,255,255,0.7); }

/* ============================================================
   SINGLE PROJECT DETAIL PAGE
   ============================================================ */

.single-project .project-detail { padding: 80px 0; }

.project-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.project-detail-main {}

.project-featured-image {
    position: relative;
    border-radius: var(--radius-md, 16px);
    overflow: hidden;
    margin-bottom: 32px;
}
.project-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}
.project-category-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary, #cc0000);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-content.entry-content {
    color: var(--text-muted, #555);
    line-height: 1.8;
    font-size: 1rem;
}
.project-content.entry-content h2 {
    color: var(--text-white, #1a1a2e);
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.project-content.entry-content p {
    margin-bottom: 16px;
}

/* Project Gallery */
.project-gallery { margin-top: 40px; }
.project-gallery-title {
    color: var(--text-white, #1a1a2e);
    font-size: 1.25rem;
    margin-bottom: 20px;
}
.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    display: block;
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.05);
}

/* Completion Bar */
.project-completion-bar {
    margin-top: 40px;
    padding: 24px;
    background: var(--dark-card, #f5f5f5);
    border-radius: var(--radius-md, 16px);
    border: 1px solid var(--border-dark, rgba(0,0,0,0.08));
}
.completion-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-white, #1a1a2e);
    font-weight: 600;
    margin-bottom: 12px;
}
.completion-pct {
    color: var(--primary, #cc0000);
    font-size: 1.1rem;
}
.progress-track {
    width: 100%;
    height: 10px;
    background: var(--border-dark, rgba(0,0,0,0.08));
    border-radius: 5px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    background: var(--primary, #cc0000);
    border-radius: 5px;
    transition: width 1s ease;
}

/* Project Sidebar Meta Card */
.project-detail-sidebar {
    position: sticky;
    top: 100px;
}

.project-meta-card {
    background: var(--dark-card, #f5f5f5);
    border: 1px solid var(--border-dark, rgba(0,0,0,0.08));
    border-radius: var(--radius-md, 16px);
    padding: 28px;
}
.meta-card-title {
    font-size: 1.1rem;
    color: var(--text-white, #1a1a2e);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-dark, rgba(0,0,0,0.08));
}

.project-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.project-meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-dark, rgba(0,0,0,0.06));
}
.project-meta-item:last-child {
    border-bottom: none;
}
.meta-key {
    color: var(--text-muted, #555);
    font-size: 0.9rem;
}
.meta-val {
    color: var(--text-white, #1a1a2e);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: right;
}

.project-cta {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark, rgba(0,0,0,0.08));
}
.project-cta .btn-hero {
    width: 100%;
    justify-content: center;
}

/* Related Projects */
.related-projects .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* ============================================================
   RESPONSIVE — SINGLE DETAIL PAGES
   ============================================================ */

@media (max-width: 1024px) {
    .service-detail-grid,
    .project-detail-grid {
        grid-template-columns: 1fr 320px;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .service-detail-grid,
    .project-detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .service-detail-sidebar,
    .project-detail-sidebar {
        position: static;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .related-projects .projects-grid {
        grid-template-columns: 1fr;
    }
    .service-page-cta .contact-cta-inner {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
    }
    .single-service .service-detail,
    .single-project .project-detail { padding: 60px 0; }
    .service-faq-list .faq-question {
        font-size: 0.95rem;
        padding: 16px 20px;
    }
    .service-faq-list .faq-answer {
        padding: 0 20px 16px;
    }
}

@media (max-width: 480px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
    }
    .service-sidebar-card {
        padding: 20px;
    }
    .project-meta-card {
        padding: 20px;
    }
    .process-step {
        padding: 20px;
    }
    .benefit-card {
        padding: 20px;
    }
    .single-service .service-detail,
    .single-project .project-detail { padding: 40px 0; }
}
