/* =========================================
           CLASES DE UTILIDAD
           (Carga al final para máxima prioridad)
           ========================================= */

/* Fondo */
.bg-white {
    background-color: #fff;
}

.bg-dark-gray {
    background-color: #2c2e30;
}

/* Texto - Colores claros para fondos oscuros */
.text-light-50 {
    color: rgba(255, 255, 255, 0.7);
}

.text-light-solid {
    color: var(--color-text-light);
}

.text-light-70-mb-2 {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
}

.text-light-70-mb-3 {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 3rem;
}

.text-light-border-light {
    color: var(--color-text-light);
    border-bottom-color: var(--color-text-light);
}

/* Texto - Colores muted */
.text-small-muted {
    font-size: 0.8rem;
    color: #666;
}

.text-sm-muted {
    font-size: 0.85rem;
    color: #666;
}

.text-md-muted {
    font-size: 0.9rem;
    color: #666;
}

/* Márgenes */
.mb-0 {
    margin-bottom: 0;
}

.mb-3 {
    margin-bottom: 3rem;
}

.mt-2 {
    margin-top: 2rem;
}

.mt-4 {
    margin-top: 4rem;
}

/* Tipografía */
.title-lg {
    font-size: clamp(2rem, 4vw, 4rem);
}

.desc-centered {
    max-width: 600px;
    margin: 2rem auto 0;
}

/* Grid */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Botones */
.btn-reset-border-btm {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    border-bottom: 1px solid currentColor;
}

/* Logo */
.logo-img {
    height: 24px;
    vertical-align: middle;
}

/* Portfolio */
.portfolio-counter-wrap {
    display: flex;
    justify-content: end;
    border-bottom: 1px solid #ddd;
    padding-bottom: 1rem;
}

.portfolio-nav-wrap {
    margin-top: 3rem;
    display: flex;
    gap: 1rem;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ccc;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s;
    color: var(--color-text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Temas */
.theme-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.theme-light {
    background-color: var(--color-bg-alt);
    color: var(--color-text-dark);
}

/* =========================================
           RESPONSIVE UTILITIES
           ========================================= */

@media (max-width: 900px) {
    .grid-2-col {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }
}

@media (max-width: 600px) {
    .grid-2-col {
        grid-template-columns: 1fr !important;
    }
}
