/* =========================================================
   BTS - SINGLE SERVICE
   Dark Tech Theme
   Consistent with Archive Services
   ========================================================= */


/* ---------------------------------------------------------
   PAGE
   --------------------------------------------------------- */

.single-service-page {
    background: var(--bg, #111827);
    color: var(--text, #f8fafc);
    min-height: 100vh;
}


/* ---------------------------------------------------------
   HERO
   --------------------------------------------------------- */

.single-service-hero {
    position: relative;
    padding: 100px 20px 90px;
    background:
        radial-gradient(
            circle at 20% 20%,
            rgba(96, 165, 250, 0.10),
            transparent 35%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(103, 232, 249, 0.06),
            transparent 35%
        ),
        var(--bg, #111827);

    border-bottom: 1px solid var(--border, rgba(255,255,255,0.12));
    overflow: hidden;
}

.single-service-hero-inner {
    width: 100%;
    max-width: var(--container, 1180px);
    margin: 0 auto;
}

.single-service-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 20px;
    padding: 7px 13px;

    border: 1px solid rgba(96, 165, 250, 0.30);
    border-radius: 999px;

    background: rgba(96, 165, 250, 0.08);

    color: var(--accent-blue, #60a5fa);

    font-size: 12px;
    font-weight: 700;
    line-height: 1;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.single-service-title {
    max-width: 900px;
    margin: 0 0 20px;

    color: var(--text, #f8fafc);

    font-size: clamp(38px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.035em;
}

.single-service-excerpt {
    max-width: 780px;
    margin: 0;

    color: var(--text-muted, #9ca9ba);

    font-size: 18px;
    line-height: 1.75;
}

.single-service-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;

    margin-top: 30px;
}


/* ---------------------------------------------------------
   BUTTONS
   --------------------------------------------------------- */

.single-service-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 0 22px;

    border-radius: 8px;

    font-size: 14px;
    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}

.single-service-btn:hover {
    transform: translateY(-2px);
}

.single-service-btn.primary {
    background: var(--accent-blue, #60a5fa);
    border: 1px solid var(--accent-blue, #60a5fa);
    color: #0f172a;

    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.18);
}

.single-service-btn.primary:hover {
    background: #93c5fd;
    border-color: #93c5fd;
    color: #0f172a;
}

.single-service-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-bright, rgba(255,255,255,0.20));
    color: var(--text, #f8fafc);
}

.single-service-btn.secondary:hover {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.35);
}


/* ---------------------------------------------------------
   MAIN CONTENT AREA
   --------------------------------------------------------- */

.single-service-content {
    padding: 90px 20px 100px;

    background:
        radial-gradient(
            circle at 10% 10%,
            rgba(96, 165, 250, 0.04),
            transparent 30%
        ),
        var(--bg, #111827);

    color: var(--text, #f8fafc);
}

.single-service-content .container {
    width: 100%;
    max-width: var(--container, 1180px);
    margin: 0 auto;
}

.single-service-content .entry-content {
    width: 100%;
}

/* ---------------------------------------------------------
   WORDPRESS CONTENT
   --------------------------------------------------------- */

.single-service-content .entry-content {
    width: 100%;
}

.single-service-content p {
    color: var(--text-soft, #dbe3ee);
    line-height: 1.75;
}

.single-service-content h2,
.single-service-content h3,
.single-service-content h4 {
    color: var(--text, #f8fafc);
}

.single-service-content a {
    color: var(--accent-blue, #60a5fa);
}

.single-service-content img {
    max-width: 100%;
    height: auto;
}


/* ---------------------------------------------------------
   SERVICE CONTENT WRAPPER
   --------------------------------------------------------- */

.secure-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}


/* ---------------------------------------------------------
   BADGE
   Same visual language as archive labels
   --------------------------------------------------------- */

.secure-wrapper .badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;
    padding: 7px 13px;

    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.25);
    border-radius: 999px;

    color: var(--accent-blue, #60a5fa);

    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}


/* ---------------------------------------------------------
   SECTION TITLE
   --------------------------------------------------------- */

.secure-section-title {
    margin: 0 0 35px;

    color: var(--text, #f8fafc);

    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.15;

    letter-spacing: -0.025em;
}


/* ---------------------------------------------------------
   SERVICE GRID
   --------------------------------------------------------- */

.secure-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;

    margin: 0;
    padding: 0;
}


/* ---------------------------------------------------------
   SERVICE CARD
   Designed to match archive service cards
   --------------------------------------------------------- */

.secure-card {
    position: relative;

    padding: 28px;

    background: var(--card, #182235);

    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-radius: 14px;

    box-shadow: var(
        --shadow,
        0 20px 50px rgba(0,0,0,0.25)
    );

    overflow: hidden;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease,
        box-shadow 0.25s ease;
}


/* subtle top accent */

.secure-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--accent-blue, #60a5fa),
        transparent
    );

    opacity: 0;

    transition: opacity 0.25s ease;
}


/* hover */

.secure-card:hover {
    transform: translateY(-4px);

    background: var(--card-hover, #22304a);

    border-color: var(
        --border-bright,
        rgba(255,255,255,0.20)
    );

    box-shadow:
        0 20px 50px rgba(0,0,0,0.30),
        0 0 0 1px rgba(96,165,250,0.04);
}

.secure-card:hover::before {
    opacity: 1;
}


/* ---------------------------------------------------------
   CARD TITLE
   --------------------------------------------------------- */

.secure-card h3 {
    margin: 0 0 14px;

    color: var(--text, #f8fafc);

    font-size: 19px;
    font-weight: 700;
    line-height: 1.3;

    letter-spacing: -0.01em;
}


/* ---------------------------------------------------------
   CARD TEXT
   --------------------------------------------------------- */

.secure-card p {
    margin: 0 0 15px;

    color: var(--text-muted, #9ca9ba);

    font-size: 14px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   CARD LIST
   --------------------------------------------------------- */

.secure-card ul {
    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}

.secure-card li {
    position: relative;

    margin: 0;
    padding: 8px 0 8px 22px;

    color: var(--text-soft, #dbe3ee);

    font-size: 14px;
    line-height: 1.55;
}


/* bullet */

.secure-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 15px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent-blue, #60a5fa);

    box-shadow:
        0 0 10px rgba(96,165,250,0.35);
}


/* ---------------------------------------------------------
   SUMMARY
   --------------------------------------------------------- */

.secure-summary {
    position: relative;

    margin-top: 35px;
    padding: 25px 28px;

    background: var(--bg-light, #172033);

    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-left: 3px solid var(--accent-blue, #60a5fa);

    border-radius: 10px;

    color: var(--text-soft, #dbe3ee);

    font-size: 15px;
    line-height: 1.75;

    box-shadow:
        0 12px 35px rgba(0,0,0,0.16);
}


/* ---------------------------------------------------------
   SERVICE META
   --------------------------------------------------------- */

.single-service-meta {
    padding: 0 20px 70px;

    background: var(--bg, #111827);
}

.single-service-meta-inner {
    width: 100%;
    max-width: var(--container, 1180px);
    margin: 0 auto;

    padding-top: 30px;

    border-top: 1px solid var(
        --border,
        rgba(255,255,255,0.12)
    );
}

.single-service-meta-label {
    display: block;

    margin-bottom: 10px;

    color: var(--text-muted, #9ca9ba);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.single-service-meta a {
    color: var(--accent-blue, #60a5fa);

    font-size: 14px;
    font-weight: 600;

    text-decoration: none;
}

.single-service-meta a:hover {
    color: var(--accent-cyan, #67e8f9);
}


/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */

.single-service-cta {
    position: relative;

    padding: 90px 20px;

    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(96,165,250,0.10),
            transparent 45%
        ),
        var(--bg-light, #172033);

    border-top: 1px solid var(
        --border,
        rgba(255,255,255,0.12)
    );

    border-bottom: 1px solid var(
        --border,
        rgba(255,255,255,0.12)
    );

    text-align: center;
}

.single-service-cta-inner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.single-service-cta h2 {
    margin: 0 0 15px;

    color: var(--text, #f8fafc);

    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    line-height: 1.2;

    letter-spacing: -0.025em;
}

.single-service-cta p {
    max-width: 650px;
    margin: 0 auto 28px;

    color: var(--text-muted, #9ca9ba);

    font-size: 16px;
    line-height: 1.7;
}


/* ---------------------------------------------------------
   OPTIONAL: OLD GENERIC CONTENT CLASSES
   If some service content uses these classes
   --------------------------------------------------------- */

.service-wrapper {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.service-badge {
    display: inline-flex;
    align-items: center;

    margin-bottom: 22px;
    padding: 7px 13px;

    background: rgba(96,165,250,0.08);
    border: 1px solid rgba(96,165,250,0.25);
    border-radius: 999px;

    color: var(--accent-blue, #60a5fa);

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.service-section-title {
    margin: 0 0 35px;

    color: var(--text, #f8fafc);

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
}

.service-grid {
    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px;
}

.service-card {
    padding: 28px;

    background: var(--card, #182235);

    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-radius: 14px;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover {
    transform: translateY(-4px);

    background: var(--card-hover, #22304a);

    border-color: var(
        --border-bright,
        rgba(255,255,255,0.20)
    );
}

.service-card h3 {
    margin: 0 0 14px;

    color: var(--text, #f8fafc);

    font-size: 19px;
}

.service-card p {
    color: var(--text-muted, #9ca9ba);

    font-size: 14px;
    line-height: 1.7;
}

.service-card ul {
    margin: 16px 0 0;
    padding: 0;

    list-style: none;
}

.service-card li {
    position: relative;

    padding: 7px 0 7px 22px;

    color: var(--text-soft, #dbe3ee);

    font-size: 14px;
}

.service-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 14px;

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background: var(--accent-blue, #60a5fa);
}

.service-summary {
    margin-top: 35px;
    padding: 25px 28px;

    background: var(--bg-light, #172033);

    border: 1px solid var(--border, rgba(255,255,255,0.12));
    border-left: 3px solid var(--accent-blue, #60a5fa);

    border-radius: 10px;

    color: var(--text-soft, #dbe3ee);

    font-size: 15px;
    line-height: 1.75;
}


/* ---------------------------------------------------------
   WORDPRESS DEFAULT ELEMENTS
   --------------------------------------------------------- */

.single-service-content blockquote {
    margin: 30px 0;
    padding: 20px 25px;

    background: var(--card, #182235);

    border-left: 3px solid var(--accent-blue, #60a5fa);
    border-radius: 8px;

    color: var(--text-soft, #dbe3ee);
}

.single-service-content hr {
    margin: 40px 0;

    border: 0;
    border-top: 1px solid var(
        --border,
        rgba(255,255,255,0.12)
    );
}

.single-service-content strong {
    color: var(--text, #f8fafc);
}


/* ---------------------------------------------------------
   TABLES
   --------------------------------------------------------- */

.single-service-content table {
    width: 100%;
    margin: 30px 0;

    border-collapse: collapse;

    background: var(--card, #182235);

    border: 1px solid var(
        --border,
        rgba(255,255,255,0.12)
    );
}

.single-service-content th,
.single-service-content td {
    padding: 13px 16px;

    border-bottom: 1px solid var(
        --border,
        rgba(255,255,255,0.12)
    );

    text-align: left;
}

.single-service-content th {
    color: var(--text, #f8fafc);

    font-size: 13px;
    font-weight: 700;
}

.single-service-content td {
    color: var(--text-soft, #dbe3ee);

    font-size: 14px;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 991px) {

    .single-service-hero {
        padding: 80px 20px 70px;
    }

    .single-service-content {
        padding: 70px 20px 80px;
    }

    .secure-grid,
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* ---------------------------------------------------------
   TABLET / MOBILE
   --------------------------------------------------------- */

@media (max-width: 767px) {

    .single-service-hero {
        padding: 65px 18px 60px;
    }

    .single-service-title {
        font-size: 38px;
    }

    .single-service-excerpt {
        font-size: 16px;
        line-height: 1.7;
    }

    .single-service-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .single-service-btn {
        width: 100%;
    }

    .single-service-content {
        padding: 60px 18px 70px;
    }

    .secure-grid,
    .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .secure-card,
    .service-card {
        padding: 23px;
    }

    .secure-section-title,
    .service-section-title {
        font-size: 30px;
    }

    .secure-summary,
    .service-summary {
        padding: 21px 22px;
    }

    .single-service-meta {
        padding: 0 18px 60px;
    }

    .single-service-cta {
        padding: 70px 18px;
    }

}


/* ---------------------------------------------------------
   SMALL MOBILE
   --------------------------------------------------------- */

@media (max-width: 480px) {

    .single-service-hero {
        padding: 55px 16px 50px;
    }

    .single-service-label {
        font-size: 10px;
    }

    .single-service-title {
        font-size: 32px;
    }

    .single-service-excerpt {
        font-size: 15px;
    }

    .single-service-content {
        padding: 50px 16px 60px;
    }

    .secure-card,
    .service-card {
        padding: 21px;
        border-radius: 12px;
    }

    .secure-card h3,
    .service-card h3 {
        font-size: 18px;
    }

    .secure-card li,
    .service-card li {
        font-size: 13px;
    }

    .secure-summary,
    .service-summary {
        padding: 19px 20px;
        font-size: 14px;
    }

    .single-service-cta {
        padding: 60px 16px;
    }

    .single-service-cta h2 {
        font-size: 28px;
    }

}


/* ---------------------------------------------------------
   ACCESSIBILITY
   --------------------------------------------------------- */

.single-service-btn:focus-visible,
.single-service-content a:focus-visible {
    outline: 2px solid var(--accent-cyan, #67e8f9);
    outline-offset: 3px;
}


/* ---------------------------------------------------------
   REDUCED MOTION
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .secure-card,
    .service-card,
    .single-service-btn {
        transition: none;
    }

    .secure-card:hover,
    .service-card:hover,
    .single-service-btn:hover {
        transform: none;
    }

}