.contacto {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 40px 20px;
    text-align: center;
}

.contacto h1 {
    font-size: 36px;
    color: #111;
}

.contacto p {
    font-size: 18px;
    max-width: 650px;
    color: #555;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    padding: 30px;
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

/* AVATAR */
.contact-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #00c3ff;
}

/* NOMBRE Y DESCRIPCION */
.contact-card h2 {
    font-size: 24px;
    color: #111;
    margin-top: 10px;
}

.contact-card p {
    font-size: 16px;
    color: #555;
}

/* INFO DE CONTACTO */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 15px;
    color: #333;
}

.contact-info a {
    color: #00c3ff;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* BOTÓN DE CONTACTO (opcional) */
.contact-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-btn:hover {
    background-color: #00c3ff;
    transform: translateY(-2px);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
    .contact-card {
        width: 90%;
        padding: 25px;
    }

    .contacto h1 {
        font-size: 28px;
    }

    .contacto p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .contact-card {
        padding: 20px;
    }

    .contact-avatar {
        width: 100px;
        height: 100px;
    }

    .contact-card h2 {
        font-size: 20px;
    }

    .contact-card p, .contact-info {
        font-size: 14px;
    }
}
