/* Services Page */

.btn-sm {
    padding: 0.5625rem 1.125rem;
    font-size: 0.8125rem;
}

/* Page Hero */
.page-hero-bg {
    position: absolute;
    inset: 0;
    background: var(--bg-primary);
}

.page-hero {
    position: relative;
    min-height: 72vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-h);
    overflow: hidden;
}

.page-hero .hero-glow--1 {
    width: 50vw;
    max-width: 600px;
    height: 50vw;
    max-height: 600px;
    background: rgba(37, 99, 235, 0.1);
    top: -10%;
    right: -5%;
}

.page-hero .hero-glow--2 {
    width: 35vw;
    max-width: 420px;
    height: 35vw;
    max-height: 420px;
    background: rgba(59, 130, 246, 0.06);
    bottom: 0;
    left: -8%;
}

.page-hero-content {
    position: relative;
    text-align: center;
    max-width: 780px;
    padding: clamp(4rem, 8vw, 6rem) 0;
}

.page-hero-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 2.75rem;
}

.page-hero-buttons {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* What I Offer */
.offer-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.offer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.offer-card {
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
}

.offer-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.offer-card:hover .offer-icon {
    color: var(--blue-accent);
    border-color: rgba(37, 99, 235, 0.2);
    background: var(--blue-muted);
}

.offer-card h3 {
    margin-bottom: 0.75rem;
}

.offer-card > p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.offer-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.offer-benefits li {
    font-size: 0.8125rem;
    color: var(--text-muted);
    padding: 0.375rem 0;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.offer-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6875rem;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--blue-accent);
    opacity: 0.7;
}

.offer-card .btn {
    align-self: flex-start;
}

/* Service Detail Sections */
.service-details {
    border-top: 1px solid var(--border);
}

.container--service-detail {
    max-width: 840px;
}

.service-detail {
    scroll-margin-top: calc(var(--header-h) + 1.5rem);
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border);
}

.service-detail--alt {
    background: var(--bg-secondary);
}

.service-detail-content .eyebrow {
    margin-bottom: 1.75rem;
}

.service-detail-content h2 {
    font-size: clamp(2rem, 4.5vw, 2.875rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.1;
    margin-bottom: 1.75rem;
}

.service-detail-intro {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.85;
    max-width: 720px;
    margin-bottom: 3.25rem;
}

.service-detail-block {
    margin-bottom: 2.75rem;
}

.service-detail-block:last-of-type {
    margin-bottom: 0;
}

.service-detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.service-detail-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.875rem 2rem;
    max-width: 720px;
}

.service-detail-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

.service-detail-checklist svg {
    flex-shrink: 0;
    margin-top: 0.25rem;
    color: var(--blue-accent);
    opacity: 0.85;
}

.service-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem 0.75rem;
    max-width: 720px;
}

.service-detail-tags li {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    line-height: 1.4;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.service-detail-tags li:hover {
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.14);
}

.service-detail-meta {
    margin-top: 2.75rem;
    margin-bottom: 2.75rem;
    padding-left: 1rem;
    border-left: 2px solid var(--border);
    max-width: 720px;
}

.service-detail-meta-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.service-detail-meta p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
    line-height: 1.6;
}

.service-detail-content .btn {
    margin-top: 0.25rem;
}

/* What's Included */
.included-section {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
}

.included-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.875rem;
    max-width: 960px;
    margin: 0 auto;
    padding: 2.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.included-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.625rem 0.75rem;
    border-radius: var(--radius);
    transition: color 0.3s ease, background 0.3s ease;
}

.included-item:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.03);
}

.check-icon {
    flex-shrink: 0;
    color: var(--blue-accent);
}

/* Why Invest / Value */
.value-section {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.value-card {
    padding: 2rem;
}

.value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
    transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease, transform 0.4s var(--ease);
}

.value-card:hover .value-icon {
    color: var(--blue-accent);
    border-color: rgba(37, 99, 235, 0.2);
    background: var(--blue-muted);
    transform: translateY(-3px);
}

.value-card h3 {
    margin-bottom: 0.625rem;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Process — 8 steps */
.services-process {
    background: var(--bg-primary);
}

.timeline--8 .timeline-step h3 {
    font-size: 0.8125rem;
    max-width: 110px;
    margin: 0 auto;
}

.timeline--8 .timeline-icon {
    width: 40px;
    height: 40px;
}

.timeline--8::before {
    top: 2.5rem;
}

@media (max-width: 1200px) {
    .timeline--8 {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem 0.5rem;
    }

    .timeline--8::before {
        display: none;
    }

    .timeline--8 .timeline-step {
        flex: 0 0 calc(25% - 0.5rem);
        min-width: 120px;
    }
}

@media (max-width: 1024px) {
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-detail-checklist {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .included-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline--8 .timeline-step {
        flex: 0 0 calc(50% - 0.5rem);
    }
}

@media (max-width: 768px) {
    .page-hero { min-height: auto; }

    .page-hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .offer-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .service-detail-intro {
        font-size: 1.0625rem;
        margin-bottom: 2.5rem;
    }

    .service-detail-block {
        margin-bottom: 2.25rem;
    }

    .service-detail-meta {
        margin-top: 2.25rem;
        margin-bottom: 2.25rem;
    }

    .included-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .value-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .timeline--8 {
        flex-direction: column;
        max-width: 360px;
        margin: 0 auto;
    }

    .timeline--8 .timeline-step {
        flex: none;
        display: grid;
        grid-template-columns: 40px 1fr;
        grid-template-rows: auto auto;
        gap: 0 1.25rem;
        text-align: left;
        padding: 1.25rem 0;
        border-bottom: 1px solid var(--border);
    }

    .timeline--8 .timeline-step:last-child {
        border-bottom: none;
    }

    .timeline--8 .timeline-icon {
        grid-row: 1 / 3;
        margin: 0;
    }

    .timeline--8 .timeline-num {
        grid-column: 2;
        margin-bottom: 0.25rem;
    }

    .timeline--8 .timeline-step h3 {
        grid-column: 2;
        max-width: none;
        margin: 0;
    }
}

@media (max-width: 640px) {
    .offer-grid,
    .value-grid {
        max-width: 100%;
    }

    .container--service-detail {
        max-width: 100%;
    }

    .service-detail-content h2 {
        margin-bottom: 1.5rem;
    }

    .service-detail-tags {
        gap: 0.5rem 0.625rem;
    }
}
