/* Estilos para script.js */

/* Color de texto para etiquetas de especificaciones */
.text-ec-teal {
    color: #3b8087 !important;
}

/* Control de scroll del body */
.overflow-hidden-important {
    overflow: hidden !important;
}

.overflow-auto-important {
    overflow: auto !important;
}


















/* Mejoras para la sección de distribuidores */

#distribuidores {
    background: linear-gradient(to bottom, #ffffff 0%, #f0fdf4 100%);
}

/* Título principal con animación sutil */
#distribuidores h3 {
    position: relative;
    padding-bottom: 1rem;
}

#distribuidores h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #37747a, #4a9199);
    border-radius: 2px;
}

/* Línea divisoria más sutil */
.border-divider {
    background: linear-gradient(90deg, #e5e7eb 0%, #d1d5db 50%, #e5e7eb 100%);
    height: 2px;
    border: none;
    margin: 1.5rem 0;
}

/* Cards de distribuidores mejoradas */
#distribuidores .font-mona {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Contenedor interno del contenido */
#distribuidores .font-mona > div {
    flex-grow: 1;
}

#distribuidores .font-mona:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 6px 12px rgba(0, 0, 0, 0.05);
    border-color: #e5e7eb;
}

/* Nombre del distribuidor */
#distribuidores .font-mona h5 {
    color: #1f2937;
    font-size: 1.125rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

/* Información de contacto */
#distribuidores .font-mona p {
    line-height: 1.6;
    color: #4b5563;
}

#distribuidores .font-mona p span.font-semibold {
    color: #1f2937;
}

/* Zona de influencia destacada */
#distribuidores .font-mona .underline {
    color: #37747a;
    text-decoration: none;
    border-bottom: 2px solid #6fa8ae;
    display: inline-block;
    padding-bottom: 2px;
}

/* Botón mejorado */
.btn-distribuidor {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #37747a 0%, #2d5d62 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(55, 116, 122, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.btn-distribuidor:hover {
    background: linear-gradient(135deg, #2d5d62 0%, #24494d 100%);
    box-shadow: 0 4px 12px rgba(55, 116, 122, 0.3);
    transform: translateY(-2px);
}

.btn-distribuidor:active {
    transform: translateY(0);
}

/* Título de región */
#distribuidores h4 {
    color: #1f2937;
    position: relative;
    display: inline-block;
    padding-left: 1rem;
}

#distribuidores h4::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, #37747a, #4a9199);
    border-radius: 2px;
}

/* Grid responsive mejorado */
@media (min-width: 1024px) {
    #distribuidores .grid {
        gap: 2rem;
    }
    
    /* Altura mínima uniforme para cards en desktop */
    #distribuidores .font-mona {
        min-height: 420px;
    }
}

/* Iconos para información de contacto (opcional) */
#distribuidores .font-mona p:has(a[href^="mailto"])::before,
#distribuidores .font-mona p:has(a[href^="tel"])::before {
    display: inline-block;
    margin-right: 0.5rem;
    color: #6b7280;
}

/* Animación de entrada suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#distribuidores .font-mona {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

#distribuidores .font-mona:nth-child(1) { animation-delay: 0.1s; }
#distribuidores .font-mona:nth-child(2) { animation-delay: 0.2s; }
#distribuidores .font-mona:nth-child(3) { animation-delay: 0.3s; }
#distribuidores .font-mona:nth-child(4) { animation-delay: 0.4s; }

/* Efecto en enlaces de email */
#distribuidores a[href^="mailto"] {
    text-decoration: none;
    color: inherit;
}

#distribuidores a[href^="mailto"]:hover {
    color: #37747a;
}