/* ================================
   SOBRE NOSOTROS
   ================================ */
.about {
    padding: 4rem 1rem;
    background-color: #f8fafc;
    color: #1a1a1a;
}

.about .wrap {
    max-width: 1200px;
    margin: 0 auto;
}

.about .tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.85rem;
    background-color: #e0f2f1;
    color: #00796b;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.about h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.about h1 .brand {
    color: #00a087;
}

.about p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Bloques y tarjetas */
.about .nuvu-block {
    margin-top: 3rem;
}

.about .kard {
    background-color: #fff;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Checks list */
.about .checks {
    list-style: none;
    padding: 0;
}

.about .checks li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.about .checks li::before {
    content: "✔";
    color: #00a087;
    position: absolute;
    left: 0;
}

/* Grid genérico */
.about .grid2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.about .grid3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Timeline */
.about .timeline {
    margin-top: 1.5rem;
    border-left: 3px solid #00a087;
    padding-left: 1rem;
}

.about .timeline .event {
    margin-bottom: 1rem;
}

.about .timeline .when {
    font-weight: bold;
    color: #00a087;
}

/* Equipo */
.about .team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about .team .member {
    text-align: center;
}

.about .team .avatar {
    width: 120px;
    height: 120px;
    background-color: #ccc;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 0.75rem;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about .team .avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.about .team strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
}

.about .team .role {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.about .team p {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 0;
}

/* Modal overlay for avatar zoom */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    cursor: zoom-out;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.modal-overlay.open .modal-img {
    transform: scale(1);
}

/* Cursor para indicar que es clickeable */
.avatar {
    cursor: zoom-in;
}

/* Responsive */
@media (max-width: 768px) {
    .about {
        padding: 2rem 1rem;
    }

    .about h1 {
        font-size: 1.6rem;
    }

    .about .team {
        grid-template-columns: 1fr;
    }
}