/* Color celeste nativo de fondo y texto blanco */
.btn-location {
    background-color: #0dcaf0;
    /* Celeste brillante */
    border: 1px solid #0dcaf0;
    color: #ffffff !important;
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
}

/* Hover en azul oscuro y pequeña elevación visual */
.btn-location:hover,
.btn-location:focus {
    background-color: #0d6efd;
    /* Azul Bootstrap Clásico u Oscuro */
    border-color: #0d6efd;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(13, 110, 253, 0.25) !important;
}

/* Regla especial opcional para acomodar 5 columnas iguales en escritorio (Bootstrap Grid Hack) */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}


/* Estado seleccionado/activo permanente del botón */
.btn-location.active-location {
    background-color: #0d6efd !important; /* Mismo azul oscuro del hover */
    border-color: #0d6efd !important;
    color: #ffffff !important;
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3) !important;
}




/* Paleta de Colores Corporativos */
:root {
    --azul-deep: #0a192f;
    --azul-dark: #1e293b;
    --celeste-bright: #0dcaf0;
    --celeste-dark: #0097b2;
    --celeste-light: #e0f7fa;
}

/* Sección Base */
.tnp-testimonials-section {
    padding: 100px 0;
    background-color: #f8fafc;
}

.tnp-testimonials-bg-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(13, 202, 240, 0.05) 0%, rgba(255,255,255,0) 80%);
    pointer-events: none;
}

/* Estilos de los Avatars de Control */
.tnp-avatar-wrapper {
    position: relative;
}

.tnp-avatar-item {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    padding: 4px;
    border: 3px solid transparent;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.tnp-avatar-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(80%);
    transition: filter 0.3s ease;
}

/* Estado Activo de Avatars */
.tnp-avatar-item.active {
    border-color: var(--celeste-bright);
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(13, 202, 240, 0.25);
}

.tnp-avatar-item.active img,
.tnp-avatar-item:hover img {
    filter: grayscale(0%);
}

/* Indicador de Check */
.tnp-avatar-check {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background-color: var(--celeste-bright);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    transform: scale(0);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.tnp-avatar-item.active .tnp-avatar-check {
    transform: scale(1);
}

/* Tarjeta Principal */
.tnp-testimonial-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(13, 202, 240, 0.15);
    z-index: 2;
}

/* Comilla Gigante Decorativa */
.tnp-quote-mark {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 120px;
    color: var(--celeste-light);
    opacity: 0.5;
    line-height: 1;
    pointer-events: none;
    font-family: Arial, sans-serif;
}

/* Helpers de Texto */
.text-azul-deep { color: var(--azul-deep); }
.text-azul-dark { color: var(--azul-dark); }
.text-celeste-dark { color: var(--celeste-dark); }
.bg-celeste-light { background-color: var(--celeste-light); }
.fs-7 { font-size: 0.85rem; }
.border-celeste { border-color: var(--celeste-bright) !important; }

/* Responsive Adjustments */
@media (max-width: 767px) {
    .tnp-testimonials-section { padding: 60px 0; }
    .tnp-avatar-item { width: 65px; height: 65px; }
    .tnp-quote-mark { font-size: 80px; top: 10px; right: 20px; }
    .tnp-testimonial-text { font-size: 1.2rem !important; }
}


.tnp-blog-section {
    padding: 100px 0;
    background-color: #ffffff;
}

/* Tarjeta Base */
.tnp-blog-card {
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid rgba(13, 202, 240, 0.1) !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

/* Contenedor de Imagen */
.tnp-blog-thumb {
    height: 240px;
    background-color: #f1f5f9;
}

.tnp-blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.top-3 { top: 1rem !important; }
.start-3 { start: 1rem !important; }

/* Enlaces e Interacciones (Hover Effects) */
.tnp-title-link {
    transition: color 0.3s ease;
}

.tnp-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(10, 25, 47, 0.08) !important;
}

.tnp-blog-card:hover .tnp-blog-thumb img {
    transform: scale(1.08);
}

.tnp-blog-card:hover .tnp-title-link {
    color: var(--celeste-dark) !important;
}

/* Botón "Read More" con animación de flecha */
.tnp-blog-btn {
    transition: color 0.3s ease;
}

.tnp-blog-btn i {
    transition: transform 0.3s ease;
}

.tnp-blog-card:hover .tnp-blog-btn {
    color: var(--azul-deep) !important;
}

.tnp-blog-card:hover .tnp-blog-btn i {
    transform: translateX(5px);
}

/* Helpers de Utilidad */
.text-azul-deep { color: var(--azul-deep); }
.text-azul-dark { color: var(--azul-dark); }
.text-celeste-dark { color: var(--celeste-dark); }
.bg-celeste-light { background-color: var(--celeste-light); }
.bg-azul-deep { background-color: var(--azul-deep); }
.fs-7 { font-size: 0.85rem; }
.tracking-wider { letter-spacing: 0.05em; }

@media (max-width: 768px) {
    .tnp-blog-section { padding: 60px 0; }
    .tnp-blog-thumb { height: 210px; }
}