/* ==========================================================================
   Service Subpage Styles — shared across all 4 service pages
   Depends on: styles.css (loaded first)
   ========================================================================== */

/* ── Service Hero ─────────────────────────────────────────────────────── */
.service-hero {
    min-height: 52vh;
    display: flex;
    align-items: flex-end;
    padding-top: 6rem;
    padding-bottom: 4rem;
    position: relative;
    overflow: hidden;
    background: var(--brand-dark);
}

.service-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(10,14,22,0.82) 45%, rgba(10,14,22,0.45) 100%),
        radial-gradient(ellipse 80% 80% at 60% 0%, rgba(45,120,168,0.18) 0%, transparent 65%);
    pointer-events: none;
    z-index: 1;
}

.service-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.38;
    filter: saturate(0.75) brightness(0.85);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.service-hero-content .badge {
    background: rgba(45,120,168,0.28) !important;
    color: #7bc4f0 !important;
    border-color: rgba(45,120,168,0.38) !important;
    margin-bottom: 1.25rem;
}

.service-hero-content h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    color: #ffffff;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
}

.service-hero-content p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.68);
    line-height: 1.7;
    max-width: 560px;
    margin-bottom: 2rem;
}

.service-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ── Breadcrumb ───────────────────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover { color: rgba(255,255,255,0.9); }
.breadcrumb i { font-size: 0.65rem; }

/* ── Section Layout ───────────────────────────────────────────────────── */
.sp-section {
    padding: var(--section-padding) 0;
}

.sp-section.bg-dark {
    background: var(--brand-dark);
    color: #ffffff;
}

.sp-section.bg-dark h2,
.sp-section.bg-dark h3 { color: #ffffff; }

.sp-section.bg-dark p { color: rgba(255,255,255,0.72); }

/* ── Process Steps ────────────────────────────────────────────────────── */
.process-section {
    background: #f8f7f5;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.process-step {
    background: var(--bg-base);
    border-radius: var(--border-radius-md);
    padding: 2rem 1.75rem;
    position: relative;
    border: 1px solid var(--glass-border);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.process-step:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.09);
}

.step-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.75rem;
    display: block;
}

.process-step h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    color: var(--text-primary);
}

.process-step p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(45,120,168,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.step-icon i {
    color: var(--brand-blue);
    font-size: 1.1rem;
}

/* ── Image Placeholder ────────────────────────────────────────────────── */
.img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #e8e6e1;
    border: 2px dashed #c8c4be;
    border-radius: var(--border-radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #a09d97;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin: 1.5rem 0;
    transition: border-color 0.2s;
}

.img-placeholder i {
    font-size: 2rem;
    color: #c0bbb4;
}

.img-placeholder.tall { aspect-ratio: 4 / 5; }
.img-placeholder.wide { aspect-ratio: 21 / 9; }

/* ── Process Timeline Layout (vertical, alternating) ─────────────────── */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 3rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 2.2rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--brand-blue), transparent);
    opacity: 0.2;
}

.timeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0 2rem;
    padding-bottom: 3rem;
    position: relative;
}

.timeline-step:last-child { padding-bottom: 0; }

.timeline-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 4.5rem;
}

.timeline-icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(45,120,168,0.3);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.timeline-icon i {
    color: #ffffff;
    font-size: 1.3rem;
}

.timeline-step-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--brand-blue);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.timeline-body {
    padding-top: 0.75rem;
}

.timeline-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
    letter-spacing: -0.02em;
}

.timeline-body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

.timeline-body ul {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.timeline-body ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.55;
}

/* ── SW Product Label in tiers ────────────────────────────────────────── */
.product-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.4rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 700;
    color: #7bc4f0;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .timeline-step { grid-template-columns: auto 1fr; gap: 0 1.25rem; }
    .timeline-left { width: 3.5rem; }
    .timeline-icon { width: 3.5rem; height: 3.5rem; }
    .timeline-icon i { font-size: 1rem; }
    .process-timeline::before { left: 1.75rem; }
}

/* ── Apple-style Pricing Tiers ────────────────────────────────────────── */
.tiers-section {
    background: var(--brand-dark);
    color: #ffffff;
}

.tiers-section .section-title,
.tiers-section .section-desc { color: #ffffff; }
.tiers-section .section-desc { color: rgba(255,255,255,0.6); }

.tiers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 3rem;
    align-items: start;
}

/* ── Tier Product Image ────────────────────────────────────────────────── */
.tier-product-img {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem 0.5rem;
    background: rgba(0,0,0,0.25);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.tier-product-img img {
    width: auto;
    height: 180px;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 8px 24px rgba(0,0,0,0.45));
    transition: transform 0.35s ease;
}

.tier-card:hover .tier-product-img img {
    transform: translateY(-4px) scale(1.03);
}

.tier-card.featured .tier-product-img {
    background: rgba(45,120,168,0.12);
}

.tier-card {
    border-radius: var(--border-radius-lg);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.25rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}

/* Featured / highlighted tier */
.tier-card.featured {
    background: rgba(255,255,255,0.10);
    border-color: rgba(45,120,168,0.55);
    transform: scale(1.03);
    box-shadow: 0 0 0 1px rgba(45,120,168,0.4), 0 32px 80px rgba(0,0,0,0.4);
}

.tier-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7bc4f0;
    background: rgba(45,120,168,0.22);
    border: 1px solid rgba(45,120,168,0.35);
    border-radius: var(--border-radius-full);
    padding: 0.25rem 0.75rem;
    margin-bottom: 1.25rem;
    width: fit-content;
}

.tier-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.tier-name {
    font-size: 1.9rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #ffffff;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

.tier-tagline {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.52);
    margin-bottom: 1.75rem;
    line-height: 1.55;
}

.tier-starting {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tier-price {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: #ffffff;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
}

.tier-price sub {
    font-size: 1rem;
    font-weight: 500;
    vertical-align: bottom;
    color: rgba(255,255,255,0.55);
}

.tier-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin-bottom: 1.5rem;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.tier-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.45;
}

.tier-features li i {
    color: #7bc4f0;
    font-size: 0.85rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.tier-features li.muted {
    color: rgba(255,255,255,0.38);
}

.tier-features li.muted i {
    color: rgba(255,255,255,0.22);
}

.tier-cta {
    width: 100%;
    text-align: center;
    padding: 0.85rem 1.25rem;
    border-radius: var(--border-radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: block;
    border: 1.5px solid rgba(255,255,255,0.22);
    color: #ffffff;
    background: transparent;
}

.tier-cta:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.5);
}

.tier-card.featured .tier-cta {
    background: var(--accent-gradient);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(45,120,168,0.4);
}

.tier-card.featured .tier-cta:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 8px 28px rgba(45,120,168,0.5);
}

/* ── Bottom CTA ───────────────────────────────────────────────────────── */
.service-bottom-cta {
    background: var(--bg-base);
    padding: 5rem 0;
    text-align: center;
}

.service-bottom-cta h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.service-bottom-cta p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Guarantee Strip ──────────────────────────────────────────────────── */
.guarantee-strip {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2.5rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin: 3rem 0 0;
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.guarantee-item i {
    color: var(--brand-blue);
    font-size: 1.1rem;
}

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .tiers-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .tier-card.featured { transform: scale(1.01); }
    .tier-card.featured:hover { transform: scale(1.01) translateY(-4px); }
}

@media (max-width: 768px) {
    .service-hero { min-height: 50vh; padding-bottom: 3rem; }
    .service-hero-content h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
    .service-hero-content p { font-size: 1rem; }

    /* Hero CTA buttons stack and go full-width */
    .service-hero-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.875rem;
    }
    .service-hero-cta .btn { text-align: center; justify-content: center; }

    /* Timeline: stack icon above body */
    .timeline-step {
        flex-direction: column;
        gap: 1rem;
    }
    .timeline-left {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        width: 100%;
        padding-bottom: 0;
    }
    .timeline-left::after { display: none; }
    .timeline-step-num { font-size: 0.7rem; }
    .timeline-body { padding-left: 0; border-left: none; }
    .timeline-body h3 { font-size: 1.15rem; }

    /* Tiers grid single column */
    .tiers-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
    .tier-card { padding: 1.75rem 1.5rem; }
    .tier-card.featured { transform: scale(1); order: -1; }
    .tier-card.featured:hover { transform: translateY(-4px); }
    .tier-product-img img { height: 140px; }

    /* Guarantee strip: 2-column grid */
    .guarantee-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem 1.5rem;
        padding: 2rem 0;
    }
    .guarantee-item { font-size: 0.82rem; }

    /* Bottom CTA */
    .cta-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.875rem;
    }
    .cta-actions .btn { text-align: center; justify-content: center; }

    /* Img placeholders shorter on mobile */
    .img-placeholder.wide { aspect-ratio: 16/7; }
}

@media (max-width: 480px) {
    .process-steps-grid { grid-template-columns: 1fr; }
    .service-hero-cta { align-items: stretch; }

    /* Guarantee strip single column on very small screens */
    .guarantee-strip { grid-template-columns: 1fr; gap: 0.875rem; }

    .tier-product-img img { height: 120px; }

    /* Tiers full-width no max constraint */
    .tiers-grid { max-width: 100%; }
}
