/* ============================================
   SERVICES PAGE — Zigzag Layout
   Blue (#0094d9) and White alternating sections
   ============================================ */

/* Hero */
.sp-hero {
    background: linear-gradient(135deg, #011835 0%, #01264d 50%, #0094d9 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.sp-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 70%, rgba(0, 148, 217, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(0, 180, 216, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.sp-hero-inner {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.sp-hero-label {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #00b4d8;
    margin-bottom: 20px;
}

.sp-hero h1 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.sp-hero p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 0;
}

.sp-hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
}

.sp-hero-stat {
    text-align: center;
}

.sp-hero-stat-num {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 6px;
}

.sp-hero-stat-text {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   Service Blocks — Zigzag
   ============================================ */

.sp-block {
    padding: 100px 0;
    scroll-margin-top: 80px;
}

.sp-block--white {
    background: #ffffff;
}

.sp-block--blue {
    background: #0094d9;
}

.sp-block-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 80px;
}

.sp-block-inner--reverse {
    flex-direction: row-reverse;
}

.sp-block-content {
    flex: 1;
    min-width: 0;
}

.sp-block-visual {
    flex: 0 0 440px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Service Number */
.sp-block-num {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.sp-block--white .sp-block-num {
    color: #0094d9;
}

.sp-block--blue .sp-block-num {
    color: rgba(255, 255, 255, 0.5);
}

/* Headings */
.sp-block h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.sp-block--white h2 {
    color: #011835;
}

.sp-block--blue h2 {
    color: #ffffff;
}

/* Paragraphs */
.sp-block p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 16px;
}

.sp-block--white p {
    color: #4a5568;
}

.sp-block--blue p {
    color: rgba(255, 255, 255, 0.85);
}

/* Bullet Lists */
.sp-block-list {
    list-style: none;
    padding: 0;
    margin: 28px 0 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
}

.sp-block-list li {
    position: relative;
    padding-left: 24px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.5;
}

.sp-block-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.sp-block--white .sp-block-list li {
    color: #1a2a4a;
}

.sp-block--white .sp-block-list li::before {
    background: #0094d9;
}

.sp-block--blue .sp-block-list li {
    color: #ffffff;
}

.sp-block--blue .sp-block-list li::before {
    background: #ffffff;
}

.sp-block-list--single {
    grid-template-columns: 1fr;
}

/* Buttons */
.sp-block-btn {
    display: inline-block;
    padding: 14px 36px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.sp-block-btn--blue {
    background: #0094d9;
    color: #fff;
}

.sp-block-btn--blue:hover {
    background: #007bb5;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 148, 217, 0.35);
}

.sp-block-btn--white {
    background: #ffffff;
    color: #0094d9;
}

.sp-block-btn--white:hover {
    background: #f0f7fc;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Sticky Image Layout */
.sp-block-inner--sticky {
    align-items: flex-start;
}

.sp-block-visual--sticky {
    position: sticky;
    top: 100px;
}

/* Lead Text */
.sp-block-lead {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 20px;
}

.sp-block--white .sp-block-lead {
    color: #0094d9;
}

.sp-block--blue .sp-block-lead {
    color: rgba(255, 255, 255, 0.95);
}

/* Subtitles (h3 inside blocks) */
.sp-block-subtitle {
    font-size: 22px;
    font-weight: 700;
    margin: 36px 0 16px;
    line-height: 1.3;
}

.sp-block--white .sp-block-subtitle {
    color: #011835;
}

.sp-block--blue .sp-block-subtitle {
    color: #ffffff;
}

/* Steps */
.sp-steps {
    margin: 20px 0 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sp-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.sp-step-num {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    margin-top: 2px;
}

.sp-block--white .sp-step-num {
    background: rgba(0, 148, 217, 0.1);
    color: #0094d9;
}

.sp-block--blue .sp-step-num {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
}

.sp-step h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.sp-block--white .sp-step h4 {
    color: #011835;
}

.sp-block--blue .sp-step h4 {
    color: #ffffff;
}

.sp-step p {
    font-size: 15px;
    margin-bottom: 0;
}

/* Photo Containers */
.sp-block-img {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.sp-block--white .sp-block-img {
    box-shadow: 0 20px 50px rgba(1, 24, 53, 0.12);
}

.sp-block--blue .sp-block-img {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.sp-block-img img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.sp-block-img:hover img {
    transform: scale(1.05);
}

/* ============================================
   Overview Grid — Services Landing Page
   ============================================ */

.sp-overview {
    padding: 48px 0 60px;
    background: #f8fafc;
}

.sp-overview-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.sp-overview-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px 32px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.35s ease;
    border: 1px solid #e8ecf1;
    position: relative;
    overflow: hidden;
}

.sp-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 148, 217, 0.12);
    border-color: #0094d9;
}

.sp-overview-card--blue {
    background: #0094d9;
    border-color: #0094d9;
}

.sp-overview-card--blue:hover {
    background: #007bb5;
    border-color: #007bb5;
    box-shadow: 0 16px 48px rgba(0, 148, 217, 0.3);
}

.sp-overview-card-num {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
}

.sp-overview-card:not(.sp-overview-card--blue) .sp-overview-card-num {
    color: #0094d9;
}

.sp-overview-card--blue .sp-overview-card-num {
    color: rgba(255, 255, 255, 0.5);
}

.sp-overview-card h3 {
    font-size: 24px;
    font-weight: 800;
    line-height: 1.25;
    margin: 0;
}

.sp-overview-card:not(.sp-overview-card--blue) h3 {
    color: #011835;
}

.sp-overview-card--blue h3 {
    color: #ffffff;
}

.sp-overview-card-desc {
    font-size: 15px;
    line-height: 1.65;
    margin: 0;
}

.sp-overview-card:not(.sp-overview-card--blue) .sp-overview-card-desc {
    color: #4a5568;
}

.sp-overview-card--blue .sp-overview-card-desc {
    color: rgba(255, 255, 255, 0.8);
}

.sp-overview-card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-top: auto;
    padding-top: 8px;
    transition: gap 0.3s ease;
}

.sp-overview-card:not(.sp-overview-card--blue) .sp-overview-card-arrow {
    color: #0094d9;
}

.sp-overview-card--blue .sp-overview-card-arrow {
    color: #ffffff;
}

.sp-overview-card:hover .sp-overview-card-arrow {
    gap: 14px;
}

/* ============================================
   CTA Section
   ============================================ */

.sp-cta {
    background: linear-gradient(135deg, #011835 0%, #01264d 100%);
    padding: 80px 0;
    text-align: center;
}

.sp-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
}

.sp-cta h2 {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.2;
}

.sp-cta p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 36px;
}

.sp-cta-btn {
    display: inline-block;
    padding: 16px 44px;
    background: #0094d9;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sp-cta-btn:hover {
    background: #00b4d8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 148, 217, 0.4);
}

/* ============================================
   Scroll Animations
   ============================================ */

.sp-block-content,
.sp-block-visual {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.sp-block-inner--reverse .sp-block-content {
    transition-delay: 0.15s;
}

.sp-block-inner:not(.sp-block-inner--reverse) .sp-block-visual {
    transition-delay: 0.15s;
}

.sp-block.sp-visible .sp-block-content,
.sp-block.sp-visible .sp-block-visual {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .sp-block-inner {
        gap: 48px;
    }

    .sp-block-visual {
        flex: 0 0 340px;
    }

    .sp-block-img img {
        height: 280px;
    }

    .sp-block h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .sp-hero {
        padding: 80px 0 60px;
    }

    .sp-hero h1 {
        font-size: 32px;
    }

    .sp-hero p {
        font-size: 16px;
        margin-bottom: 36px;
    }

    .sp-hero-stats {
        gap: 32px;
    }

    .sp-hero-stat-num {
        font-size: 28px;
    }

    .sp-overview {
        padding: 36px 0 48px;
    }

    .sp-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .sp-overview-card {
        padding: 24px 24px;
    }

    .sp-overview-card h3 {
        font-size: 20px;
    }

    .sp-block {
        padding: 60px 0;
    }

    .sp-block-inner,
    .sp-block-inner--reverse {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .sp-block-visual {
        flex: 0 0 auto;
        width: 100%;
        order: -1;
    }

    .sp-block-visual--sticky {
        position: relative;
        top: 0;
    }

    .sp-block-img img {
        height: 260px;
    }

    .sp-block h2 {
        font-size: 28px;
    }

    .sp-block-list {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .sp-block-num {
        font-size: 13px;
    }

    .sp-cta h2 {
        font-size: 28px;
    }

    .sp-cta p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .sp-hero h1 {
        font-size: 26px;
    }

    .sp-hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .sp-block h2 {
        font-size: 24px;
    }

    .sp-block p {
        font-size: 15px;
    }

    .sp-block-img img {
        height: 220px;
    }
}
