/* =====================================================
   GonzurqSPA — nosotros.css
   ===================================================== */

/* ─── Page Hero ──────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, rgba(240,112,32,0.15) 100%);
    padding-block: calc(var(--nav-height) + 60px) 80px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1600&q=60') center/cover no-repeat;
    opacity: 0.07;
    z-index: 0;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero .breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition-fast); }
.page-hero .breadcrumb a:hover { color: var(--secondary); }
.page-hero .breadcrumb i { font-size: 0.65rem; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p   { color: rgba(255,255,255,0.75); font-size: 1.1rem; max-width: 540px; margin-inline: auto; }

/* ─── Misión, Visión, Valores ────────────────────────── */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.mvv-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.mvv-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%; right: 50%;
    height: 4px;
    border-radius: 0 0 4px 4px;
    transition: var(--transition);
}
.mvv-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.mvv-card:hover::before { left: 0; right: 0; }
.mvv-card:nth-child(1)::before { background: var(--secondary); }
.mvv-card:nth-child(2)::before { background: var(--accent); }
.mvv-card:nth-child(3)::before { background: var(--success); }

.mvv-icon {
    width: 70px; height: 70px;
    border-radius: var(--radius-lg);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
}
.mvv-card:nth-child(1) .mvv-icon { background: #FFF7ED; color: var(--secondary); }
.mvv-card:nth-child(2) .mvv-icon { background: var(--info-bg); color: var(--info); }
.mvv-card:nth-child(3) .mvv-icon { background: var(--success-bg); color: var(--success); }
.mvv-card h3 { color: var(--primary); margin-bottom: 0.75rem; }

/* ─── Historia / Timeline ────────────────────────────── */
.timeline {
    position: relative;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--secondary), var(--primary));
    border-radius: 3px;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border);
}
.timeline-item:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.timeline-dot {
    position: absolute;
    left: -3.6rem;
    top: 4px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: var(--secondary);
    border: 3px solid var(--white);
    box-shadow: 0 0 0 3px var(--secondary);
}
.timeline-year {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.timeline-item h4 { color: var(--primary); margin-bottom: 0.4rem; }
.timeline-item p  { font-size: 0.9rem; margin-bottom: 0; }

/* ─── Equipo ─────────────────────────────────────────── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.team-card {
    text-align: center;
    transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); }

.team-avatar {
    width: 110px; height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.25rem;
    overflow: hidden;
    border: 4px solid var(--white);
    box-shadow: var(--shadow-md);
    position: relative;
}
.team-avatar img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: var(--transition);
}
.team-card:hover .team-avatar img { transform: scale(1.1); }

.team-card h4 { font-size: 1rem; color: var(--primary); margin-bottom: 0.25rem; }
.team-card .role { font-size: 0.8rem; color: var(--secondary); font-weight: 600; margin-bottom: 0.5rem; }
.team-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ─── Valores ────────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}
.value-item:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateX(4px); }
.value-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.value-item h4 { font-size: 0.95rem; color: var(--primary); margin-bottom: 0.3rem; }
.value-item p  { font-size: 0.83rem; margin-bottom: 0; }

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 1024px) {
    .team-grid  { grid-template-columns: repeat(2, 1fr); }
    .mvv-grid   { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .mvv-grid   { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .team-grid  { grid-template-columns: 1fr 1fr; }
    .timeline   { padding-left: 2rem; }
    .timeline-dot { left: -2.5rem; }
}
@media (max-width: 400px) {
    .team-grid  { grid-template-columns: 1fr; }
}
