/* ============================================
   Service Pages Stylesheet — Vajra Drill
   Shared by all service/sub-service pages
   ============================================ */

/* ---- Page Banner ---- */
.page-banner {
    position: relative;
    background: linear-gradient(135deg, #0a1c50 0%, #1e3a8a 55%, #1a4faa 100%);
    /* padding-top absorbs the two-tier fixed header (~125px) */
    padding: 125px 0 0;
    color: #fff;
    overflow: hidden;
}

/* Dot-grid overlay */
.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

/* Decorative glow — top right */
.page-banner::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 65%);
    pointer-events: none;
}

/* Split layout — single column now, stats removed */
.banner-split {
    position: relative;
    z-index: 1;
    display: block;
    padding: 72px 0 80px;
    border-bottom: 4px solid #ea580c;
}

/* Left column */
.banner-left {
    min-width: 0;
    max-width: 900px;
}

.page-banner .breadcrumb {
    /* Override main.css which adds gray bg + border to all .breadcrumb elements */
    background: transparent;
    border-bottom: none;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}

.page-banner .breadcrumb a:hover {
    color: #fff;
}

.page-banner .breadcrumb span {
    color: rgba(255,255,255,0.35);
}

.page-banner .breadcrumb-active {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.page-banner h1 {
    font-size: 3.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    line-height: 1.1;
    white-space: nowrap;
    letter-spacing: -0.04em;
}

.page-banner h1 span {
    color: var(--accent-color);
}

.page-banner > .container > p,
.page-banner-inner p,
.banner-left p {
    white-space: nowrap;
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    margin: 0 0 1.75rem;
    max-width: 600px;
    line-height: 1.7;
}

.banner-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.banner-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    background: rgba(234,88,12,0.15);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    border: 1px solid rgba(234,88,12,0.4);
    backdrop-filter: blur(4px);
}


/* ---- Main layout ---- */
.sp-main {
    padding: 48px 0 72px;
    background: #fff;
}

.sp-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

/* ---- Content sections ---- */
.sp-section {
    margin-bottom: 56px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--gray-200);
}

.sp-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* Featured hero image at top of content column */
.sp-hero-img {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 6px 28px rgba(0,0,0,0.13);
    line-height: 0;
}

.sp-hero-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.sp-section h2 {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 3px solid #ea580c;
    display: inline-block;
}

.sp-section p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.sp-section p:last-child {
    margin-bottom: 0;
}

/* ---- Services list ---- */
.sp-services-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-service-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.sp-service-item:first-child {
    padding-top: 1rem;
}

.sp-service-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.sp-service-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.sp-service-text h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
    color: var(--text-primary);
}

.sp-service-text h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.sp-service-text h3 a:hover {
    color: var(--primary-color);
}

.sp-service-text p {
    font-size: 0.95rem;
    margin: 0 0 0.6rem;
    line-height: 1.65;
}

.sp-inline-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #ea580c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.sp-inline-link:hover {
    color: #c2410c;
    text-decoration: underline;
}

/* ---- Process steps ---- */
.sp-process {
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sp-process li {
    display: flex;
    gap: 1rem;
    padding: 0 0 1.75rem 0;
    position: relative;
}

.sp-process li:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 17px;
    top: 40px;
    bottom: 0;
    width: 2px;
    background: var(--gray-200);
}

.sp-process-num {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #ea580c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.sp-process li div:last-child strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.3rem;
}

.sp-process li div:last-child p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.65;
}

/* ---- Industries ---- */
.sp-industries {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 1.25rem;
}

.sp-industry {
    display: flex;
    gap: 1rem;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.sp-industry-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    margin-top: 2px;
}

.sp-industry h3 {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0 0 0.3rem;
    color: var(--text-primary);
}

.sp-industry p {
    font-size: 0.875rem;
    line-height: 1.55;
    margin: 0;
}

/* ---- Why choose us ---- */
.sp-why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

.sp-why-item {
    display: flex;
    gap: 1rem;
}

.sp-why-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #eff6ff;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.sp-why-item h3 {
    font-size: 0.975rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
    color: var(--text-primary);
}

.sp-why-item p {
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

/* ---- FAQ ---- */
.sp-faq {
    margin-top: 1.25rem;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sp-faq-item {
    border-bottom: 1px solid var(--gray-200);
}

.sp-faq-item:last-child {
    border-bottom: none;
}

.sp-faq-q {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.1rem 1.25rem;
    font-size: 0.975rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background 0.2s;
    line-height: 1.45;
}

.sp-faq-q:hover {
    background: var(--gray-50);
}

.sp-faq-item.open .sp-faq-q {
    color: var(--primary-color);
    background: #eff6ff;
}

.faq-arrow {
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--text-light);
}

.sp-faq-item.open .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.sp-faq-a {
    display: none;
    padding: 0 1.25rem 1.25rem;
    background: #fafbff;
}

.sp-faq-item.open .sp-faq-a {
    display: block;
}

.sp-faq-a p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    color: var(--text-secondary);
}

/* ---- Sidebar ---- */
.sp-sidebar {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.sp-sidebar-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.sp-sidebar-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--gray-200);
}

/* CTA card */
.sp-cta-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f2d6e 100%);
    border-color: transparent;
}

.sp-cta-card h3 {
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}

.sp-cta-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.82);
    margin: 0 0 1.25rem;
    line-height: 1.55;
}

.sp-btn-full {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 0.75rem;
    padding: 0.75rem 1rem;
    background: #ea580c;
    color: #fff;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s;
}

.sp-btn-full:hover {
    background: #c2410c;
    color: #fff;
}

.sp-call-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--radius);
    padding: 0.65rem 1rem;
    transition: background 0.2s;
}

.sp-call-link:hover {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Sidebar nav */
.sp-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-sidebar-nav li {
    border-bottom: 1px solid var(--gray-200);
}

.sp-sidebar-nav li:last-child {
    border-bottom: none;
}

.sp-sidebar-nav li a {
    display: flex;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.sp-sidebar-nav li a:hover,
.sp-sidebar-nav li.active a {
    color: var(--primary-color);
    font-weight: 600;
}

.sp-sidebar-nav li.active a::before {
    content: '›';
    margin-right: 0.4rem;
    color: var(--primary-color);
    font-weight: 700;
}

/* Trust card */
.sp-trust-card {
    background: #f0fdf4;
    border-color: #bbf7d0;
}

.sp-trust-card h3 {
    color: #166534;
    border-color: #bbf7d0;
}

.sp-trust-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.sp-trust-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #166534;
    font-weight: 500;
}

.sp-trust-list li svg {
    color: #16a34a;
    flex-shrink: 0;
}

/* ---- Bottom CTA ---- */
.sp-bottom-cta {
    background: linear-gradient(135deg, #0a1c50 0%, var(--primary-dark) 100%);
    padding: 56px 0;
    color: #fff;
    border-top: 4px solid #ea580c;
}

.sp-bottom-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.sp-bottom-cta h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.5rem;
}

.sp-bottom-cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

.sp-bottom-cta-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.sp-bottom-cta .btn-secondary {
    border-color: rgba(234,88,12,0.6);
    color: #ea580c;
    background: transparent;
    white-space: nowrap;
}

.sp-bottom-cta .btn-secondary:hover {
    background: rgba(234,88,12,0.1);
    border-color: #ea580c;
}

/* ---- Active nav link ---- */
.nav-link.active {
    color: var(--primary-color);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
    .sp-layout {
        grid-template-columns: 1fr 280px;
        gap: 32px;
    }
}

@media (max-width: 900px) {
    .sp-layout {
        grid-template-columns: 1fr;
    }

    .sp-hero-img img {
        height: 220px;
    }

    .sp-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .sp-cta-card {
        grid-column: span 2;
    }

    .sp-why-grid {
        grid-template-columns: 1fr;
    }

    .sp-industries {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .page-banner {
        padding: 100px 0 36px;
    }

    .banner-split {
        padding: 36px 0 44px;
    }

    .page-banner h1 {
        font-size: 1.6rem;
        white-space: normal;
        letter-spacing: -0.02em;
    }

    .banner-left p {
        white-space: normal;
        font-size: 1rem;
    }

    .banner-meta {
        gap: 0.5rem;
    }

    .banner-meta span {
        font-size: 0.8rem;
        padding: 0.35rem 0.75rem;
    }

    .sp-main {
        padding: 36px 0 56px;
    }

    .sp-section h2 {
        font-size: 1.35rem;
    }

    .sp-service-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .sp-sidebar {
        grid-template-columns: 1fr;
    }

    .sp-cta-card {
        grid-column: span 1;
    }

    .sp-industries {
        grid-template-columns: 1fr;
    }

    .sp-why-grid {
        grid-template-columns: 1fr;
    }

    .sp-bottom-cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .sp-bottom-cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .sp-bottom-cta-actions a {
        text-align: center;
    }

    /* CTA section stacks on mobile (reuse shared rule) */
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 1.25rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 0.75rem;
    }

    .cta-buttons a {
        width: 100%;
        text-align: center;
        white-space: nowrap;
    }
}
