/* Página Nosotros — hero visual y timeline */

.about-hero-visual {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    aspect-ratio: 1;
    min-height: 320px;
}

.about-hero-visual__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    opacity: 0.55;
    animation: aboutHeroGlow 8s ease-in-out infinite;
}

.about-hero-visual__glow--1 {
    width: 55%;
    height: 55%;
    top: 8%;
    left: 5%;
    background: rgba(7, 155, 174, 0.45);
}

.about-hero-visual__glow--2 {
    width: 50%;
    height: 50%;
    bottom: 10%;
    right: 0;
    background: rgba(30, 64, 175, 0.35);
    animation-delay: -3s;
}

.about-hero-visual__ring {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    border: 2px dashed rgba(7, 155, 174, 0.25);
    animation: aboutHeroSpin 24s linear infinite;
}

.about-hero-visual__ring::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(7, 155, 174, 0.12);
}

.about-hero-visual__core {
    position: absolute;
    inset: 22%;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.88));
    border: 1px solid rgba(7, 155, 174, 0.18);
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    animation: aboutHeroFloat 5s ease-in-out infinite;
    backdrop-filter: blur(8px);
}

.about-hero-visual__logo-mark {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: linear-gradient(135deg, #079bae 0%, #1e40af 100%);
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(7, 155, 174, 0.35);
}

.about-hero-visual__tag {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.about-hero-visual__chip {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 0.9rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(7, 155, 174, 0.14);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    animation: aboutHeroChipFloat 4s ease-in-out infinite;
}

.about-hero-visual__chip i {
    color: #079bae;
    font-size: 0.95rem;
}

.about-hero-visual__chip--1 {
    top: 6%;
    right: 0;
    animation-delay: 0s;
}

.about-hero-visual__chip--2 {
    bottom: 18%;
    left: -4%;
    animation-delay: -1.2s;
}

.about-hero-visual__chip--3 {
    bottom: 4%;
    right: 8%;
    animation-delay: -2.4s;
}

.about-hero-visual__metric {
    position: absolute;
    top: 42%;
    left: -2%;
    padding: 0.65rem 0.85rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #079bae, #1e40af);
    color: #fff;
    box-shadow: 0 12px 24px rgba(7, 155, 174, 0.35);
    animation: aboutHeroChipFloat 4.5s ease-in-out infinite;
    animation-delay: -0.8s;
}

.about-hero-visual__metric strong {
    display: block;
    font-size: 1.1rem;
    line-height: 1.1;
}

.about-hero-visual__metric span {
    font-size: 0.68rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.about-hero-visual__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(7, 155, 174, 0.18) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 72%);
    opacity: 0.5;
    pointer-events: none;
}

@keyframes aboutHeroGlow {
    0%, 100% { transform: scale(1) translate(0, 0); opacity: 0.5; }
    50% { transform: scale(1.08) translate(4%, -3%); opacity: 0.7; }
}

@keyframes aboutHeroSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes aboutHeroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes aboutHeroChipFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Timeline — 3 fases */
.story-timeline--evolution .timeline-item--active .timeline-dot {
    background: var(--primary-color, #079bae);
    box-shadow: 0 0 0 4px rgba(7, 155, 174, 0.25);
}

.story-timeline--evolution .timeline-item--active .timeline-year {
    background: var(--primary-gradient, linear-gradient(135deg, #079bae, #1e40af));
    color: #fff;
}

.story-timeline--evolution .timeline-item--future .timeline-content {
    border-style: dashed;
    opacity: 0.95;
}

/* Equipo — fotos */
.team-section .team-card-inner {
    padding: 0 0 1.75rem;
}

.team-photo-wrap {
    margin: 0 0 1.25rem;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    aspect-ratio: 4 / 5;
    max-height: 320px;
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 12%;
    display: block;
    transition: transform 0.45s ease;
}

.team-card:hover .team-photo {
    transform: scale(1.03);
}

.team-section .team-card-inner .team-info {
    padding: 0 1.5rem;
}

.team-role-sub {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.15rem;
}

@media (max-width: 991.98px) {
    .about-hero-visual {
        margin-top: 2rem;
        max-width: 360px;
    }

    .about-hero-visual__chip--2 {
        left: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .about-hero-visual__glow,
    .about-hero-visual__ring,
    .about-hero-visual__core,
    .about-hero-visual__chip,
    .about-hero-visual__metric {
        animation: none;
    }
}
