/* ===== SUBPAGE STYLES ===== */
/* Shared styles for service subpages — minimalist black/white/gray */

/* ===== SUBPAGE HERO ===== */
.sp-hero {
    padding: 160px 0 72px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}
.sp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--navy-pale-border) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
}
.sp-hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
}
.sp-hero .container {
    position: relative;
    z-index: 1;
}

.sp-hero-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--text-light-gray);
    margin-bottom: 32px;
}
.sp-hero-breadcrumb a {
    color: var(--text-gray);
    transition: color 0.3s ease;
}
.sp-hero-breadcrumb a:hover {
    color: var(--navy-main);
}
.sp-hero-breadcrumb svg {
    width: 14px;
    height: 14px;
    color: var(--text-light-gray);
    flex-shrink: 0;
}
.sp-hero-breadcrumb span {
    color: var(--text-dark);
    font-weight: 500;
}

.sp-hero h1 {
    color: var(--text-dark);
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    max-width: 800px;
    margin-bottom: 24px;
    line-height: 1.1;
    font-weight: 300;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    text-wrap: balance;
}
.sp-hero h1 span {
    color: var(--navy-main);
    font-weight: 700;
}

.sp-hero-text {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--text-gray);
    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: var(--navy-main);
    font-family: "Montserrat", sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.3s ease;
}
.sp-hero-phone:hover {
    color: var(--navy-hover);
}
.sp-hero-phone svg {
    color: var(--navy-main);
}

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

.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: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy-main);
    margin-bottom: 2px;
}
.sp-trust-item span {
    font-size: 0.8125rem;
    color: var(--text-gray);
}

.sp-trust-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
    flex-shrink: 0;
}

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

/* ===== GENERIC SECTION ===== */
.sp-section {
    padding: 100px 0;
    background: var(--bg-white);
}
.sp-section--alt {
    background: var(--bg-light-gray);
}
.sp-section-intro {
    color: var(--text-gray);
    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(--text-gray);
    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: 30px;
}

.sp-case-card {
    background: var(--bg-white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.sp-case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}

.sp-case-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}
.sp-case-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}
.sp-case-card:hover .sp-case-icon {
    background: var(--accent-glow);
}

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

.sp-audience-note {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--navy-pale);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
    border-left: 3px solid var(--navy-main);
}

/* ===== 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(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.sp-service-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.sp-service-marker {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-soft);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
}
.sp-service-marker svg {
    width: 26px;
    height: 26px;
    color: var(--accent);
}

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

.sp-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--navy-main) !important;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 8px;
    transition: color 0.3s ease;
}
.sp-inline-link:hover {
    color: var(--navy-hover) !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: #e2e8f0;
}

.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(--navy-main);
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    border: 3px solid var(--bg-white);
}
.sp-section--alt .sp-step-number {
    border-color: var(--bg-light-gray);
}

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

.sp-timeline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--navy-pale);
    border-radius: 8px;
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
    border-left: 3px solid var(--navy-main);
}
.sp-timeline svg {
    width: 24px;
    height: 24px;
    color: var(--accent);
    flex-shrink: 0;
}
.sp-timeline strong {
    color: var(--text-dark);
}

/* ===== CREDENTIALS ===== */
.sp-credentials {
    padding: 100px 0;
    background: var(--bg-light-gray);
    position: relative;
}
.sp-credentials::before {
    display: none;
}
.sp-credentials .container {
    position: relative;
    z-index: 1;
}
.sp-credentials h2 {
    color: var(--text-dark);
    margin-bottom: 48px;
}

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

.sp-credential {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 28px;
    background: var(--bg-white);
    border-radius: var(--border-radius);
    border: 1px solid #f1f5f9;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.sp-credential:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.sp-credential-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.sp-credential-icon svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.sp-credential h3 {
    color: var(--text-dark);
    font-size: 0.9375rem;
    margin-bottom: 6px;
    line-height: 1.3;
}
.sp-credential p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.6;
}

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

.sp-case-study {
    padding: 32px;
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    padding-left: 36px;
    border-left: 3px solid var(--navy-main);
}
.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(--navy-main);
    background: var(--navy-pale);
    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.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.sp-case-studies-cta {
    margin-top: 24px;
}
.sp-case-studies-cta a {
    color: var(--navy-main);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}
.sp-case-studies-cta a:hover {
    color: var(--navy-hover);
}

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

.sp-faq-item {
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}
.sp-faq-item:hover {
    box-shadow: var(--shadow-md);
}
.sp-faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

.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(--text-dark);
    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(--bg-light-gray);
}

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

.sp-faq-answer {
    padding: 0 24px 24px;
}
.sp-faq-answer p {
    font-size: 0.95rem;
    color: var(--text-gray);
    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(--bg-light-gray);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.sp-crosslink p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.7;
    text-align: center;
}
.sp-crosslink a {
    color: var(--navy-main);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}
.sp-crosslink a:hover {
    color: var(--navy-hover);
}

/* ===== SUBPAGE CONTACT ===== */
.sp-contact {
    padding: 100px 0;
    background: var(--bg-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(--text-gray);
    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(--bg-light-gray);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 40px;
}

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

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

.sp-contact-phone {
    font-family: "Montserrat", sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--navy-main);
    display: block;
    margin-bottom: 4px;
    transition: color 0.3s ease;
}
.sp-contact-phone:hover {
    color: var(--navy-hover);
}

.sp-contact-email {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy-main);
    transition: color 0.3s ease;
}
.sp-contact-email:hover {
    color: var(--navy-hover);
}

.sp-contact-process {
    padding: 24px;
    background: var(--navy-main);
    border-radius: var(--border-radius);
}
.sp-contact-process h4 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.6);
    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(--bg-white);
    font-family: "Montserrat", sans-serif;
}

/* ===== BREADCRUMB (generic) ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 0.875rem;
}
.breadcrumb a {
    color: var(--text-gray);
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: var(--navy-main);
}
.breadcrumb svg {
    color: var(--text-light-gray);
    flex-shrink: 0;
}
.breadcrumb span {
    color: var(--text-dark);
}

/* ===== CONTENT SECTIONS ===== */
.content-section {
    padding: 100px 0;
}
.content-section.bg-light {
    background: var(--bg-light-gray);
}
.content-section.bg-dark {
    background: var(--navy-main);
    position: relative;
}
.content-section.bg-dark::before {
    display: none;
}
.content-section.bg-dark h2 {
    color: var(--bg-white);
}
.content-section.bg-dark .section-label {
    color: rgba(255, 255, 255, 0.6);
}

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

/* ===== CASES GRID ===== */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 16px;
}
.case-card {
    background: var(--bg-white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.case-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}
.case-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}
.case-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}
.case-card:hover .case-icon {
    background: var(--accent-glow);
}
.case-card h3 {
    font-size: 1.0625rem;
    margin-bottom: 12px;
    line-height: 1.3;
}
.case-card p {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===== NETWORK GRID ===== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}
.network-card {
    padding: 40px 30px;
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.network-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}
.network-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}
.network-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}
.network-card:hover .network-icon {
    background: var(--accent-glow);
}
.network-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.network-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ===== PROCESS TIMELINE ===== */
.process-intro {
    color: var(--text-gray);
    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: monospace;
    font-size: 3rem;
    font-weight: 700;
    color: var(--navy-pale-border);
    line-height: 1;
    flex-shrink: 0;
    width: 80px;
    text-align: center;
    opacity: 0.8;
}
.process-content {
    background: var(--bg-white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    padding: 32px;
    flex: 1;
    box-shadow: var(--shadow-sm);
}
/* Dark bg variant */
.content-section.bg-dark .process-content {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
}
.content-section.bg-dark .process-content h3 {
    color: var(--bg-white);
}
.content-section.bg-dark .process-content p {
    color: rgba(255, 255, 255, 0.65);
}
.content-section.bg-dark .process-number {
    color: rgba(255, 255, 255, 0.2);
}
.content-section.bg-dark .process-intro {
    color: rgba(255, 255, 255, 0.7);
}

.process-content h3 {
    color: var(--text-dark);
    font-size: 1.125rem;
    margin-bottom: 12px;
}
.process-content p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}
.process-time {
    display: inline-block;
    margin-top: 16px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-gray);
    background: var(--navy-pale);
    padding: 4px 12px;
    border-radius: 50px;
}

/* ===== PROCESS MILESTONES (9-step investment flow) ===== */
.process-milestones {
    position: relative;
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    counter-reset: milestone;
}
.process-milestone {
    position: relative;
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 28px;
    align-items: stretch;
}
.process-milestone-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 6px;
}
.process-milestone-badge {
    position: relative;
    z-index: 2;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--bg-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}
.process-milestone-badge svg {
    width: 30px;
    height: 30px;
}
.process-milestone:hover .process-milestone-badge {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.04);
}
.process-milestone-num {
    margin-top: 10px;
    font-family: monospace;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.45);
}
/* Vertical connector line between milestones */
.process-milestone-rail::before {
    content: "";
    position: absolute;
    top: 84px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: calc(100% + 24px);
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0.12) 100%
    );
    z-index: 1;
}
.process-milestone:last-child .process-milestone-rail::before {
    display: none;
}
.process-milestone-final .process-milestone-badge {
    background: var(--bg-white);
    border-color: var(--bg-white);
    color: var(--navy-main);
}
.process-milestone-final .process-milestone-num {
    color: var(--bg-white);
}

.process-milestone-content {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 28px 32px;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}
.process-milestone:hover .process-milestone-content {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
}
.process-milestone-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
}
.process-milestone-content h3 {
    color: var(--bg-white);
    font-size: 1.125rem;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}
.process-milestone-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}
.process-milestone-header .process-time {
    margin: 0;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 14px;
    font-size: 0.8125rem;
    white-space: nowrap;
}

/* --- Branch milestone (parallel conditional paths) --- */
.process-milestone-content-branch {
    padding: 24px 24px 26px;
}
.process-milestone-branch-intro {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.18);
}
.process-milestone-branch-intro h3 {
    color: var(--bg-white);
    font-size: 1.125rem;
    line-height: 1.35;
    margin: 0 0 8px;
}
.process-milestone-branch-intro p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin: 0;
}
.process-branch-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}
.process-branch-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 22px 22px 20px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}
.process-branch-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.38);
    border-style: solid;
}
.process-branch-tag {
    align-self: flex-start;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-main);
    background: var(--bg-white);
    padding: 4px 10px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.process-branch-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--bg-white);
    margin-bottom: 14px;
}
.process-branch-icon svg {
    width: 20px;
    height: 20px;
}
.process-branch-card h4 {
    color: var(--bg-white);
    font-size: 1rem;
    line-height: 1.35;
    margin: 0 0 10px;
}
.process-branch-card .process-time {
    margin: 0 0 12px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 5px 12px;
    font-size: 0.75rem;
    align-self: flex-start;
}
.process-branch-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    line-height: 1.65;
    margin: 0;
}

/* Tablet */
@media (max-width: 900px) {
    .process-milestone {
        grid-template-columns: 72px 1fr;
        gap: 20px;
    }
    .process-milestone-badge {
        width: 56px;
        height: 56px;
    }
    .process-milestone-badge svg {
        width: 24px;
        height: 24px;
    }
    .process-milestone-rail::before {
        top: 68px;
    }
    .process-milestone-content {
        padding: 22px 24px;
    }
    .process-branch-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .process-milestones {
        gap: 18px;
    }
    .process-milestone {
        grid-template-columns: 52px 1fr;
        gap: 16px;
    }
    .process-milestone-rail {
        padding-top: 4px;
    }
    .process-milestone-badge {
        width: 48px;
        height: 48px;
    }
    .process-milestone-badge svg {
        width: 20px;
        height: 20px;
    }
    .process-milestone-num {
        font-size: 0.75rem;
        margin-top: 8px;
    }
    .process-milestone-rail::before {
        top: 60px;
        height: calc(100% + 18px);
    }
    .process-milestone-content {
        padding: 18px 20px;
    }
    .process-milestone-header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 10px;
    }
    .process-milestone-header .process-time {
        align-self: flex-start;
        order: -1;
    }
    .process-milestone-content h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    .process-milestone-content p {
        font-size: 0.875rem;
    }
}

/* ===== TRUST GRID ===== */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 48px;
}
.trust-card {
    padding: 40px 30px;
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.trust-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
}
.trust-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition);
}
.trust-icon svg {
    width: 32px;
    height: 32px;
    color: var(--accent);
}
.trust-card:hover .trust-icon {
    background: var(--accent-glow);
}
.trust-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.3;
}
.trust-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.65;
}

/* ===== FAQ (generic) ===== */
.faq-list {
    max-width: 820px;
    margin: 42px auto 16px auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
}
.faq-item[open] {
    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: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--text-dark);
    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(--text-light-gray);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.faq-item[open] summary svg {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 28px 24px;
}
.faq-answer p {
    color: var(--text-gray);
    font-size: 0.95rem;
    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(--bg-light-gray);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
}
.internal-link-content h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.internal-link-content p {
    font-size: 0.95rem;
    color: var(--text-gray);
    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: 120px 0 48px;
    }
    .sp-hero h1 {
        font-size: 2rem;
        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;
    }

    .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(--bg-light-gray);
    position: relative;
}
.ref-section::before {
    display: none;
}

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

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

.ref-card {
    background: var(--bg-white);
    border: 1px solid #f1f5f9;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.ref-card:hover {
    box-shadow: var(--shadow-md);
}
.ref-card--open {
    box-shadow: var(--shadow-md);
    border-color: #e2e8f0;
}

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

.ref-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.ref-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

.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: 50px;
}
.ref-tag--public {
    color: var(--navy-main);
    background: var(--navy-pale);
}
.ref-tag--private {
    color: var(--text-dark);
    background: var(--bg-light-gray);
}

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

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

.ref-summary {
    font-size: 0.95rem;
    color: var(--text-gray);
    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(--text-gray);
    font-weight: 500;
}
.ref-detail svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.ref-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
    margin-top: 4px;
}
.ref-toggle:hover {
    border-color: var(--navy-pale-border);
    background: var(--navy-pale);
}
.ref-toggle svg {
    width: 20px;
    height: 20px;
    color: var(--text-light-gray);
    transition: transform 0.3s ease;
}
.ref-card--open .ref-toggle svg {
    transform: rotate(180deg);
}
.ref-card--open .ref-toggle {
    border-color: var(--navy-pale-border);
    background: var(--navy-pale);
}

.ref-card-expand {
    border-top: 1px solid #e2e8f0;
    padding: 32px;
    background: var(--bg-light-gray);
    animation: refExpand 0.35s ease;
}
@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(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    overflow: hidden;
    max-height: 720px;
}
.ref-pdf-preview canvas {
    width: 100%;
    height: auto;
    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(--navy-main);
    transition: color 0.3s ease;
}
.ref-download-link:hover {
    color: var(--navy-hover);
}

/* ===== 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;
    }
}

/* ===== GMINA CHECK (realizacja przyłącza) ===== */
.gmina-check {
    margin-top: 32px;
}
.gmina-check-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
    max-width: 560px;
}
.gmina-check input[type="text"] {
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 18px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--navy-main);
    background: #ffffff;
    border: 1px solid var(--navy-pale-border);
    border-radius: 8px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.gmina-check input[type="text"]:focus {
    outline: none;
    border-color: var(--navy-main);
    box-shadow: 0 0 0 3px var(--navy-pale);
}
.gmina-check input[type="text"]::placeholder {
    color: var(--text-light-gray, #94a3b8);
}
.gmina-check .btn {
    flex: 0 0 auto;
    white-space: nowrap;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gmina-result {
    margin-top: 28px;
}
.gmina-result-box {
    display: flex;
    gap: 18px;
    padding: 24px 26px;
    background: #ffffff;
    border: 1px solid var(--navy-pale-border);
    border-left-width: 4px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(17, 17, 17, 0.04);
}
.gmina-result-icon {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gmina-result-body {
    flex: 1 1 auto;
    min-width: 0;
}
.gmina-result-body h3 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    line-height: 1.35;
    color: var(--navy-main);
}
.gmina-result-body p {
    margin: 0 0 10px;
    color: var(--text-dark-gray, #334155);
}
.gmina-result-body p:last-of-type {
    margin-bottom: 0;
}
.gmina-result-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.gmina-result-success {
    border-left-color: #10b981;
}
.gmina-result-success .gmina-result-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
}
.gmina-result-warning {
    border-left-color: #f59e0b;
}
.gmina-result-warning .gmina-result-icon {
    background: rgba(245, 158, 11, 0.14);
    color: #b45309;
}
.gmina-result-error {
    border-left-color: #ef4444;
}
.gmina-result-error .gmina-result-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #dc2626;
}

@media (max-width: 640px) {
    .gmina-check-row {
        flex-direction: column;
    }
    .gmina-result-box {
        flex-direction: column;
        gap: 14px;
        padding: 20px;
    }
    .gmina-result-icon {
        width: 40px;
        height: 40px;
    }
}
