/* ===== SUBPAGE STYLES ===== */
/* Shared styles for service subpages — visually distinct from homepage */

/* ===== SUBPAGE HERO ===== */
.sp-hero {
    padding: 140px 0 72px;
    background: linear-gradient(165deg, var(--blue-900) 0%, var(--blue-800) 60%, var(--blue-700) 100%);
    position: relative;
    overflow: hidden;
}
.sp-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 10% 90%, rgba(232,168,0,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 10%, rgba(59,130,196,0.12) 0%, transparent 50%);
}
.sp-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,168,0,0.25), transparent);
}
.sp-hero .container {
    position: relative;
    z-index: 1;
}

.sp-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 32px;
}
.sp-hero-breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color var(--transition);
}
.sp-hero-breadcrumb a:hover { color: var(--amber-400); }
.sp-hero-breadcrumb svg {
    width: 14px;
    height: 14px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}
.sp-hero-breadcrumb span {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.sp-hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    max-width: 800px;
    margin-bottom: 24px;
    line-height: 1.05;
}
.sp-hero h1 span { color: var(--amber-400); }

.sp-hero-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.8);
    max-width: 680px;
    margin-bottom: 36px;
}

.sp-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sp-hero-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.85);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: color var(--transition);
}
.sp-hero-phone:hover { color: var(--amber-400); }
.sp-hero-phone svg { color: var(--amber-400); }

/* ===== TRUST BAR ===== */
.sp-trust-bar {
    padding: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
}

.sp-trust-items {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 24px 0;
}

.sp-trust-item {
    flex: 1;
    text-align: center;
    padding: 0 24px;
}
.sp-trust-item strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--blue-900);
    letter-spacing: -0.02em;
    margin-bottom: 2px;
}
.sp-trust-item span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.sp-trust-divider {
    width: 1px;
    height: 36px;
    background: var(--gray-200);
    flex-shrink: 0;
}

/* ===== INTRO ===== */
.sp-intro {
    padding: 72px 0;
    background: var(--white);
}
.sp-intro-lead {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 820px;
}
.sp-intro-lead strong {
    color: var(--blue-900);
}

/* ===== GENERIC SECTION ===== */
.sp-section {
    padding: 100px 0;
    background: var(--white);
}
.sp-section--alt {
    background: var(--gray-50);
}
.sp-section-intro {
    color: var(--gray-600);
    max-width: 680px;
    margin-top: 16px;
    margin-bottom: 48px;
    line-height: 1.7;
}

/* ===== TEXT BLOCK ===== */
.sp-text-block {
    max-width: 820px;
    margin-top: 32px;
}
.sp-text-block p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}
.sp-text-block p:last-child { margin-bottom: 0; }

/* ===== CASE CARDS (2x2 grid) ===== */
.sp-cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sp-case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s var(--ease-out-expo);
}
.sp-case-card:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.sp-case-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(37,99,168,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.sp-case-icon svg {
    width: 26px;
    height: 26px;
    color: var(--blue-600);
}

.sp-case-card h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
}
.sp-case-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.sp-audience-note {
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(37,99,168,0.06);
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.7;
    border-left: 3px solid var(--blue-500);
}

/* ===== SERVICES LIST ===== */
.sp-services-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-service-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    transition: all 0.4s var(--ease-out-expo);
}
.sp-service-item:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.sp-service-marker {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: var(--blue-900);
    color: var(--amber-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
.sp-service-marker svg {
    width: 26px;
    height: 26px;
    color: var(--amber-400);
}

.sp-service-content h3 {
    font-size: 1.0625rem;
    margin-bottom: 8px;
}
.sp-service-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.sp-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--blue-600) !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 8px;
    transition: color var(--transition);
}
.sp-inline-link:hover { color: var(--blue-500) !important; }

/* ===== STEPS ===== */
.sp-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
    position: relative;
}
.sp-steps::before {
    content: '';
    position: absolute;
    left: 27px;
    top: 28px;
    bottom: 28px;
    width: 2px;
    background: var(--gray-300);
}

.sp-step {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    padding: 24px 0;
    position: relative;
}

.sp-step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--blue-900);
    color: var(--amber-400);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 3px solid var(--white);
}
/* When inside alt section, match bg */
.sp-section--alt .sp-step-number {
    border-color: var(--gray-50);
}

.sp-step-content h3 {
    font-size: 1.125rem;
    margin-bottom: 10px;
    padding-top: 4px;
}
.sp-step-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.sp-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 20px 24px;
    background: rgba(37,99,168,0.06);
    border-radius: var(--radius);
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-left: 3px solid var(--amber-500);
}
.sp-timeline svg {
    width: 24px;
    height: 24px;
    color: var(--amber-500);
    flex-shrink: 0;
}
.sp-timeline strong {
    color: var(--blue-900);
}

/* ===== CREDENTIALS (replaces why-us grid) ===== */
.sp-credentials {
    padding: 100px 0;
    background: var(--blue-900);
    position: relative;
}
.sp-credentials::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(232,168,0,0.05) 0%, transparent 50%);
}
.sp-credentials .container { position: relative; z-index: 1; }
.sp-credentials h2 { color: var(--white); margin-bottom: 48px; }

.sp-credentials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.sp-credential {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
    transition: all 0.4s var(--ease-out-expo);
}
.sp-credential:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(232,168,0,0.2);
    transform: translateY(-2px);
}

.sp-credential-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: rgba(232,168,0,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-credential-icon svg {
    width: 22px;
    height: 22px;
    color: var(--amber-400);
}

.sp-credential h3 {
    color: var(--white);
    font-size: 0.9375rem;
    margin-bottom: 6px;
    line-height: 1.3;
}
.sp-credential p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
}

/* ===== CASE STUDIES (replaces project cards) ===== */
.sp-case-studies {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
}

.sp-case-study {
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    padding-left: 36px;
    border-left: 3px solid var(--blue-500);
}
.sp-case-study:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.sp-case-study-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--blue-600);
    background: rgba(37,99,168,0.08);
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.sp-case-study h3 {
    font-size: 1.0625rem;
    margin-bottom: 10px;
}
.sp-case-study p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.sp-case-studies-cta {
    margin-top: 24px;
}
.sp-case-studies-cta a {
    color: var(--blue-600);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color var(--transition);
}
.sp-case-studies-cta a:hover { color: var(--blue-500); }

/* ===== FAQ ===== */
.sp-faq-list {
    margin-top: 40px;
    max-width: 820px;
}

.sp-faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.3s var(--ease-out-expo);
}
.sp-faq-item:hover { border-color: var(--blue-400); }
.sp-faq-item[open] { border-color: var(--blue-400); }

.sp-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--blue-900);
    list-style: none;
    transition: background 0.2s;
}
.sp-faq-item summary::-webkit-details-marker { display: none; }
.sp-faq-item summary::marker { display: none; content: ''; }
.sp-faq-item summary:hover { background: var(--gray-50); }

.sp-faq-item summary svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-expo);
}
.sp-faq-item[open] summary svg {
    transform: rotate(180deg);
}

.sp-faq-answer {
    padding: 0 24px 24px;
}
.sp-faq-answer p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.75;
    margin-bottom: 12px;
}
.sp-faq-answer p:last-child { margin-bottom: 0; }

/* ===== CROSS-LINK ===== */
.sp-crosslink {
    padding: 48px 0;
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.sp-crosslink p {
    font-size: 1rem;
    color: var(--gray-600);
    line-height: 1.7;
    text-align: center;
}
.sp-crosslink a {
    color: var(--blue-600);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
.sp-crosslink a:hover { color: var(--blue-500); }

/* ===== SUBPAGE CONTACT (different from homepage) ===== */
.sp-contact {
    padding: 100px 0;
    background: var(--white);
}

.sp-contact-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}
.sp-contact-header h2 {
    margin-bottom: 16px;
}
.sp-contact-header p {
    color: var(--gray-500);
    line-height: 1.7;
}

.sp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 48px;
    align-items: start;
}

.sp-contact-form-wrapper {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.sp-contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.sp-contact-card {
    padding: 24px;
    background: var(--gray-50);
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.sp-contact-card h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-500);
    margin-bottom: 8px;
    line-height: 1.3;
}
.sp-contact-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.sp-contact-phone {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--blue-900);
    letter-spacing: -0.02em;
    display: block;
    margin-bottom: 4px;
    transition: color var(--transition);
}
.sp-contact-phone:hover { color: var(--blue-600); }

.sp-contact-email {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--blue-600);
    transition: color var(--transition);
}
.sp-contact-email:hover { color: var(--blue-500); }

.sp-contact-process {
    padding: 24px;
    background: var(--blue-900);
    border-radius: var(--radius);
}
.sp-contact-process h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--amber-400);
    margin-bottom: 16px;
    line-height: 1.3;
}
.sp-contact-process ol {
    list-style: none;
    counter-reset: process;
}
.sp-contact-process li {
    counter-increment: process;
    position: relative;
    padding-left: 28px;
    padding-bottom: 12px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}
.sp-contact-process li:last-child { padding-bottom: 0; }
.sp-contact-process li::before {
    content: counter(process) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--amber-400);
    font-family: 'Space Grotesk', sans-serif;
}

/* ===== BREADCRUMB (generic) ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}
.breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--amber-400); }
.breadcrumb svg { color: rgba(255,255,255,0.4); flex-shrink: 0; }
.breadcrumb span { color: rgba(255,255,255,0.9); }

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 100px 0;
}
.content-section.bg-light {
    background: var(--gray-50);
}
.content-section.bg-dark {
    background: linear-gradient(135deg, var(--blue-900) 0%, var(--blue-800) 100%);
    position: relative;
}
.content-section.bg-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 80%, rgba(245,158,11,0.06) 0%, transparent 50%);
}

.content-narrow {
    max-width: 780px;
    margin-bottom: 48px;
}
.content-narrow p {
    color: var(--gray-600);
    line-height: 1.8;
    margin-top: 20px;
    font-size: 1.0625rem;
}

/* ===== CASES GRID ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 16px;
}
.case-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.4s var(--ease-out-expo);
}
.case-card:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.case-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    background: rgba(37,99,168,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.case-icon svg {
    width: 26px;
    height: 26px;
    color: var(--blue-600);
}
.case-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.case-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ===== NETWORK GRID ===== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.network-card {
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    background: var(--white);
    transition: all 0.4s var(--ease-out-expo);
}
.network-card:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.network-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--blue-900), var(--blue-700));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.network-icon svg {
    width: 24px;
    height: 24px;
    color: var(--amber-400);
}
.network-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.network-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===== PROCESS TIMELINE ===== */
.process-intro {
    color: rgba(255,255,255,0.7);
    max-width: 680px;
    margin-top: 16px;
    margin-bottom: 56px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.process-timeline {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.process-step {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}
.process-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
    letter-spacing: -0.04em;
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    opacity: 0.8;
}
.process-content {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 32px;
    flex: 1;
    backdrop-filter: blur(4px);
}
.process-content h3 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 12px;
}
.process-content p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    line-height: 1.7;
}
.process-time {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--amber-400);
    background: rgba(232,168,0,0.12);
    padding: 4px 12px;
    border-radius: 20px;
}

/* ===== TRUST GRID ===== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.trust-card {
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all 0.4s var(--ease-out-expo);
}
.trust-card:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: rgba(37,99,168,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.trust-icon svg {
    width: 24px;
    height: 24px;
    color: var(--blue-600);
}
.trust-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.trust-card p {
    font-size: 0.875rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===== FAQ (generic) ===== */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
}
.faq-item:hover {
    border-color: var(--blue-400);
}
.faq-item[open] {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--blue-900);
    letter-spacing: -0.01em;
    line-height: 1.3;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary span { flex: 1; padding-right: 16px; }
.faq-item summary svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    flex-shrink: 0;
    transition: transform 0.3s var(--ease-out-expo);
}
.faq-item[open] summary svg {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 28px 24px;
}
.faq-answer p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.75;
    margin-bottom: 12px;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ===== INTERNAL LINK BOX ===== */
.internal-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
}
.internal-link-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.internal-link-content p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.65;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .sp-credentials-grid { grid-template-columns: repeat(2, 1fr); }
    .sp-contact-grid { grid-template-columns: 1fr; }
    .sp-contact-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .network-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sp-hero { padding: 100px 0 48px; }
    .sp-hero h1 { font-size: 1.75rem; line-height: 1.1; }
    .sp-hero-text { font-size: 0.9375rem; margin-bottom: 28px; }
    .sp-hero-actions { flex-direction: column; align-items: flex-start; gap: 16px; }
    .sp-hero-phone { font-size: 1rem; }
    .sp-hero-breadcrumb { margin-bottom: 24px; }

    .sp-trust-items { flex-direction: column; gap: 16px; }
    .sp-trust-divider { width: 40px; height: 1px; }
    .sp-trust-items { padding: 20px 0; }

    .sp-intro { padding: 48px 0; }
    .sp-intro-lead { font-size: 1rem; }

    .sp-section { padding: 64px 0; }

    .sp-cases-grid { grid-template-columns: 1fr; }
    .sp-case-card { padding: 24px; }

    .sp-service-item {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .sp-steps::before { left: 23px; }
    .sp-step { gap: 20px; padding: 16px 0; }
    .sp-step-number {
        width: 48px;
        height: 48px;
        font-size: 1.0625rem;
    }
    .sp-step-content h3 { font-size: 1rem; padding-top: 2px; }

    .sp-timeline { flex-direction: column; text-align: center; }

    .sp-credentials { padding: 64px 0; }
    .sp-credentials-grid { grid-template-columns: 1fr; }
    .sp-credential { padding: 20px; }

    .sp-case-study { padding: 24px; padding-left: 28px; }

    .sp-faq-item summary { padding: 16px 20px; font-size: 0.875rem; }
    .sp-faq-answer { padding: 0 20px 20px; }

    .sp-contact { padding: 64px 0; }
    .sp-contact-header { margin-bottom: 36px; }
    .sp-contact-form-wrapper { padding: 24px; }
    .sp-contact-sidebar {
        grid-template-columns: 1fr;
    }

    /* New subpage classes */
    .content-section { padding: 64px 0; }
    .content-narrow p { font-size: 0.9375rem; }
    .cases-grid { grid-template-columns: 1fr; }
    .case-card { padding: 24px; }
    .network-grid { grid-template-columns: 1fr; }
    .network-card { padding: 24px; }
    .process-step { flex-direction: column; gap: 12px; }
    .process-number { width: auto; text-align: left; font-size: 2rem; }
    .process-content { padding: 24px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-card { padding: 24px; }
    .internal-link-box {
        flex-direction: column;
        padding: 28px;
        text-align: center;
    }
    .internal-link-box .btn { width: 100%; justify-content: center; }
    .breadcrumb { font-size: 0.75rem; flex-wrap: wrap; }
}

/* ===== REFERENCES PAGE ===== */
.ref-section {
    padding: 72px 0 100px;
    background: var(--gray-50);
    position: relative;
}
.ref-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(232,168,0,0.25), transparent);
}

.ref-section-hint {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.ref-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ref-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-out-expo);
}
.ref-card:hover {
    border-color: var(--blue-400);
    box-shadow: var(--shadow-md);
}
.ref-card--open {
    border-color: var(--blue-500);
    box-shadow: var(--shadow-lg);
}

.ref-card-main {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 32px;
    cursor: pointer;
}

.ref-card-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius);
    background: rgba(37,99,168,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ref-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--blue-600);
}

.ref-card-content {
    flex: 1;
    min-width: 0;
}

.ref-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.ref-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 3px 10px;
    border-radius: 4px;
}
.ref-tag--public {
    color: var(--blue-600);
    background: rgba(37,99,168,0.08);
}
.ref-tag--private {
    color: #b45309;
    background: rgba(245,158,11,0.1);
}

.ref-date {
    font-size: 0.8125rem;
    color: var(--gray-400);
    font-weight: 500;
}

.ref-card-content h3 {
    font-size: 1.125rem;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--blue-900);
}

.ref-summary {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.75;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ref-card--open .ref-summary {
    -webkit-line-clamp: unset;
    overflow: visible;
}

.ref-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 16px;
}

.ref-detail {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--gray-500);
    font-weight: 500;
}
.ref-detail svg {
    width: 16px;
    height: 16px;
    color: var(--blue-500);
    flex-shrink: 0;
}

.ref-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out-expo);
    margin-top: 4px;
}
.ref-toggle:hover {
    border-color: var(--blue-400);
    background: rgba(37,99,168,0.04);
}
.ref-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--gray-400);
    transition: transform 0.3s var(--ease-out-expo);
}
.ref-card--open .ref-toggle svg {
    transform: rotate(180deg);
}
.ref-card--open .ref-toggle {
    border-color: var(--blue-500);
    background: rgba(37,99,168,0.06);
}

/* Expanded PDF section */
.ref-card-expand {
    border-top: 1px solid var(--gray-200);
    padding: 32px;
    background: var(--gray-50);
    animation: refExpand 0.35s var(--ease-out-expo);
}
@keyframes refExpand {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.ref-pdf-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ref-pdf-preview {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 210/297;
    max-height: 720px;
}
.ref-pdf-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.ref-pdf-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ref-pdf-btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
}

.ref-download-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--blue-600);
    transition: color var(--transition);
}
.ref-download-link:hover {
    color: var(--blue-500);
}

/* ===== REFERENCES RESPONSIVE ===== */
@media (max-width: 768px) {
    .ref-card-main {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
        position: relative;
    }
    .ref-card-icon {
        width: 48px;
        height: 48px;
    }
    .ref-card-icon svg {
        width: 24px;
        height: 24px;
    }
    .ref-toggle {
        position: absolute;
        top: 24px;
        right: 24px;
        width: 36px;
        height: 36px;
    }
    .ref-card-content h3 {
        font-size: 1rem;
        padding-right: 48px;
    }
    .ref-details {
        flex-direction: column;
        gap: 8px;
    }
    .ref-card-expand {
        padding: 20px;
    }
    .ref-pdf-preview {
        max-height: 500px;
    }
    .ref-pdf-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .ref-pdf-btn {
        width: 100%;
        justify-content: center;
    }
    .ref-card-meta {
        flex-wrap: wrap;
    }
}
