/* tests.html — stores requiring testing section */

#pricing.tests-section {
    position: relative;
    isolation: isolate;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(2.75rem, 5vw, 4rem);
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f8fafc 100%);
}

#pricing.tests-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 40% at 0% 0%, rgba(16, 185, 129, 0.07) 0%, transparent 55%),
        radial-gradient(ellipse 45% 38% at 100% 30%, rgba(59, 130, 246, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

html.dark #pricing.tests-section {
    background: linear-gradient(180deg, #0f172a 0%, #111827 50%, #0f172a 100%) !important;
}

html.dark #pricing.tests-section::before {
    background:
        radial-gradient(ellipse 50% 40% at 0% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 55%),
        radial-gradient(ellipse 45% 38% at 100% 30%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
}

#pricing.tests-section > .container {
    position: relative;
    z-index: 1;
}

.tests-head {
    max-width: 640px;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
    text-align: center;
}

.tests-eyebrow {
    display: inline-flex;
    margin-bottom: 0.875rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #047857;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: 999px;
}

html.dark .tests-eyebrow {
    color: #6ee7b7;
    background: rgba(16, 185, 129, 0.14);
    border-color: rgba(52, 211, 153, 0.35);
}

.tests-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

html.dark .tests-title {
    color: #f8fafc;
}

.tests-title-accent {
    background: linear-gradient(135deg, #059669 0%, #2563eb 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.dark .tests-title-accent {
    background: linear-gradient(135deg, #6ee7b7 0%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tests-lead {
    margin: 0 auto;
    max-width: 36rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #64748b;
}

html.dark .tests-lead {
    color: #94a3b8;
}

.tests-notices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    max-width: 56rem;
    margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
}

@media (min-width: 640px) {
    .tests-notices {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tests-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.85rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

html.dark .tests-notice {
    color: #cbd5e1;
    background: #1e293b;
    border-color: #334155;
}

.tests-notice--warn {
    border-color: rgba(245, 158, 11, 0.35);
    background: linear-gradient(180deg, #fffbeb 0%, #fff 100%);
}

html.dark .tests-notice--warn {
    background: linear-gradient(180deg, rgba(120, 53, 15, 0.2) 0%, #1e293b 100%);
    border-color: rgba(251, 191, 36, 0.3);
}

.tests-notice__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 8px;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
}

.tests-notice--warn .tests-notice__icon {
    color: #d97706;
    background: rgba(245, 158, 11, 0.15);
}

.tests-notice__icon svg {
    width: 1rem;
    height: 1rem;
}

.tests-notice strong {
    display: block;
    margin-bottom: 0.15rem;
    font-weight: 700;
    color: #0f172a;
}

html.dark .tests-notice strong {
    color: #f1f5f9;
}

#pricing.tests-section .services-filter-bar {
    max-width: 1200px;
    margin: 0 auto clamp(1.25rem, 3vw, 1.75rem);
}

.tests-legend {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem 1rem;
    margin-bottom: 1.5rem;
}

.tests-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
}

html.dark .tests-legend-item {
    background: #1e293b;
    border-color: #334155;
    color: #94a3b8;
}

.tests-legend-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
}

.tests-legend-item--rec::before {
    background: #3b82f6;
}
