/* ==============================
   SECCIONES GENERALES Y ESTILOS
============================== */
section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 40px;
    background: #fff;
    border-radius: 40px 10px 40px 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeIn 1.5s ease;
    transform: translateY(0);
    text-align: center;
    align-items: center;
}

h2 {
    color: #50BBB5;
    margin: 10px 0 20px 0;
    font-size: 2rem;
    position: relative;
}

h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: #00bcd4;
    margin: 8px auto 0 auto;
    border-radius: 4px;
}

/* Info cards */
.info-section {
    max-width: 1200px;
    margin: 50px auto;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.info-card {
    background: #DDEFEC;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 20px;
    width: 45%;
    min-width: 280px;
    text-align: center;
    transition: transform 0.3s;
}

.info-card h3 {
    color: #50BBB5;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.info-card p {
    color: #333;
    font-size: 1rem;
}

.info-card:hover {
    transform: translateY(-10px);
}

/* Valores */
.valores-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.valor-card {
    background: #50BBB5;
    color: #fff;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    min-width: 120px;
    text-align: center;
    transition: background 0.3s, transform 0.3s;
}

.valor-card:hover {
    background: #3a9f9a;
    transform: scale(1.05);
}

/* Dev cards */
.dev-card {
    background-color: #e0f7fa;
    border: 2px solid #00bcd4;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 250px;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.dev-card img {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00acc1;
    margin-bottom: 10px;
}

.dev-card h3 {
    font-size: 18px;
    margin: 10px 0 5px;
    color: #006064;
    text-align: center;
}

.dev-card p {
    font-size: 14px;
    color: #004d40;
    line-height: 1.5;
    text-align: justify;
    overflow: auto;
}

.dev-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Animaciones */
@keyframes fadeIn {
    from {opacity: 0; transform: translateY(30px);}
    to {opacity: 1; transform: translateY(0);}
}
