/* =================== General =================== */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background: #f9f9f9;
    color: #2c3e50;
}

h1, h2, h3 {
    margin: 0;
}

/* =================== Contenedor Principal =================== */
.sobre-nosotros-container {
    max-width: 1100px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.sobre-nosotros-container img.logo {
    width: 120px;
    margin-bottom: 15px;
}

.sobre-nosotros-container h1 {
    font-size: 30px;
    margin-bottom: 15px;
    color: #e74c3c;
    font-weight: 700;
}

.sobre-nosotros-container p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 10px auto;
    color: #555;
}

/* =================== Equipo =================== */
.equipo {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-top: 40px;
}

.miembro {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    width: 240px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

.miembro:hover {
    transform: translateY(-5px);
}

.miembro img {
    border-radius: 50%;
    margin-bottom: 10px;
    width: 120px;
    height: 120px;
    object-fit: cover;
}

.miembro h3 {
    margin: 8px 0 4px;
    font-size: 18px;
    color: #2c3e50;
}

.miembro p {
    font-size: 14px;
    color: #777;
}

/* =================== Mapa =================== */
.mapa {
    margin: 50px auto;
    text-align: center;
    max-width: 900px;
}

.mapa h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #3498db;
}

.mapa iframe {
    border: none;
    width: 100%;
    height: 350px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* =================== Comentarios =================== */
.comentarios {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    max-width: 700px;
    margin: 40px auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: left;
}

.comentarios h2 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #3498db;
}

.comentarios form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.comentarios input, 
.comentarios textarea {
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
}

.comentarios textarea {
    resize: vertical;
    min-height: 80px;
}

.comentarios button {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    color: #fff;
    padding: 12px;
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s, transform 0.15s;
}

.comentarios button:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
    transform: scale(1.02);
}

.comentarios button:active {
    transform: scale(0.97);
}

/* =================== Lista de Comentarios =================== */
.lista-comentarios {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comentario-box {
    background: #f4f4f4;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.comentario-box strong {
    color: #2c3e50;
    font-size: 14px;
}

.comentario-box .fecha {
    font-size: 12px;
    color: #888;
    margin-left: 6px;
}

.comentario-box p {
    margin-top: 8px;
    font-size: 14px;
    color: #333;
}

/* =================== Responsive =================== */
@media (max-width: 768px) {
    .equipo {
        flex-direction: column;
        align-items: center;
    }

    .mapa iframe {
        height: 250px;
    }
}

