/* =================================================================
   TERMS_AND_CONDITIONS.CSS — Terms page layout
   ================================================================= */

.service-gallery img {
    border-radius: 12px;
}

.terms-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.terms-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 3rem;
    font-size: 2.2rem;
    font-weight: 600;
}

.terms-list {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: terms-counter;
}

.terms-list li {
    counter-increment: terms-counter;
    margin-bottom: 2rem;
    padding: 1.5rem 0 1.5rem 3rem;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
    position: relative;
}

.terms-list li:last-child {
    border-bottom: none;
}

.terms-list li::before {
    content: counter(terms-counter);
    position: absolute;
    left: 0;
    top: 1.5rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1rem;
    width: 2rem;
}

[data-theme="dark"] .terms-list li {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
    .terms-container {
        padding: 1.5rem;
    }

    .terms-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .terms-list li {
        padding: 1rem 0 1rem 2.5rem;
        font-size: 0.95rem;
    }
}

.terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-2xl) 0;
}

.terms-content ol {
    padding-left: var(--space-xl);
}

.terms-content li {
    margin-bottom: var(--space-lg);
    line-height: 1.7;
    color: var(--text-secondary);
}