/* ===================================
   Services Page — Additional Components
   (Loaded after styles.css — does not modify it)
   =================================== */

/* Page hero (compact version of homepage hero, for ad-traffic focus) */
.services-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 160px 0 60px;
    text-align: center;
    color: #fff;
}

.services-hero .section-label {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.services-hero h1 {
    color: #fff;
    font-size: 40px;
    margin: 16px 0;
}

.services-hero p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 640px;
    margin: 0 auto 28px;
    font-size: 16px;
}

.services-hero .hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.services-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Sticky in-page category nav */
.category-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.category-nav .container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-top: 14px;
    padding-bottom: 14px;
}

.category-nav a {
    white-space: nowrap;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-gray);
    background: var(--bg-light);
    transition: var(--transition);
}

.category-nav a:hover,
.category-nav a.active {
    background: var(--primary-color);
    color: #fff;
}

/* Treatment block (one per category: RCT / Implants / Smile) */
.treatment-block {
    padding: 70px 0;
}

.treatment-block:nth-child(even) {
    background: var(--bg-light);
}

.treatment-intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
}

.treatment-problems {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 8px;
}

.problem-tag {
    background: rgba(52, 88, 219, 0.08);
    color: var(--primary-dark);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
}

/* Process steps */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.process-step {
    background: var(--bg-white);
    border-radius: var(--border-radius);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    position: relative;
    text-align: center;
}

.treatment-block:nth-child(even) .process-step {
    background: var(--bg-white);
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 14px;
    font-family: 'Poppins', sans-serif;
}

.process-step h4 {
    font-size: 17px;
    margin-bottom: 8px;
}

.process-step p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Pricing hint card */
.pricing-hint {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 22px 26px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.treatment-block:nth-child(even) .pricing-hint {
    background: var(--bg-white);
}

.pricing-hint .pricing-icon {
    font-size: 28px;
    color: var(--primary-color);
}

.pricing-hint strong {
    color: var(--text-dark);
    font-size: 15px;
}

.pricing-hint span {
    display: block;
    color: var(--text-gray);
    font-size: 13px;
    margin-top: 2px;
}

.pricing-hint .btn {
    margin-left: auto;
}

/* Secondary/technical keyword line (small, non-primary) */
.technical-note {
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    margin-top: 30px;
    font-style: italic;
}

/* CTA banner between blocks */
.mini-cta {
    background: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 30px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    color: #fff;
    margin: 44px 0 0;
}

.mini-cta h3 {
    color: #fff;
    font-size: 20px;
    margin-bottom: 4px;
}

.mini-cta p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.mini-cta .btn-secondary {
    background: #fff;
    color: var(--primary-color);
}

@media (max-width: 600px) {
    .services-hero {
        padding: 140px 0 44px;
    }
    .services-hero h1 {
        font-size: 28px;
    }
    .pricing-hint {
        flex-direction: column;
        text-align: center;
    }
    .pricing-hint .btn {
        margin-left: 0;
    }
    .mini-cta {
        flex-direction: column;
        text-align: center;
    }
}
