/* ═══════════════════════════════════════════════
   nosotros.css  —  Página "Quiénes Somos"
   MiMedico · Fase 2
═══════════════════════════════════════════════ */

/* ─── HERO ─────────────────────────────────── */
.quienes-hero {
    position: relative;
    background: linear-gradient(135deg, #0076A8 0%, #005f87 60%, #003f5e 100%);
    padding: 90px 20px 80px;
    text-align: center;
    overflow: hidden;
}

/* Cruz médica decorativa de fondo */
.quienes-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 48px, rgba(255,255,255,.04) 48px, rgba(255,255,255,.04) 50px),
        repeating-linear-gradient(90deg, transparent, transparent 48px, rgba(255,255,255,.04) 48px, rgba(255,255,255,.04) 50px);
    pointer-events: none;
}

.quienes-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.quienes-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,.25);
    margin-bottom: 20px;
}

.quienes-hero__title {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.2;
}

.quienes-hero__sub {
    color: rgba(255,255,255,.85);
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0;
}

.quienes-hero__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
}

.quienes-hero__wave svg { display: block; }

/* ─── MISIÓN / VISIÓN ───────────────────────── */
.mv-section {
    background: #f4f8fb;
    padding: 80px 20px;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.mv-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 32px;
    box-shadow: 0 4px 24px rgba(0,0,0,.07);
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}

.mv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,.12);
}

.mv-card--mision { border-top: 4px solid #0076A8; }
.mv-card--vision  { border-top: 4px solid #00a878; }

.mv-card__icon-wrap {
    width: 84px;
    height: 84px;
    background: #f0f7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mv-card__icon { width: 48px; height: 48px; object-fit: contain; }

.mv-card__title {
    color: #0076A8;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0 0 12px;
}

.mv-card__text {
    color: #555;
    line-height: 1.7;
    font-size: .97rem;
    margin: 0;
}

/* ─── VALORES ───────────────────────────────── */
.valores-section {
    background: #fff;
    padding: 80px 20px;
}

.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.valor-card {
    background: #f9fbfd;
    border-radius: 14px;
    padding: 30px 24px;
    text-align: center;
    border: 1px solid #e8eef4;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,118,168,.12);
    border-color: #0076A8;
}

.valor-card__img-wrap {
    width: 68px;
    height: 68px;
    background: #e8f4fb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.valor-card__img { width: 38px; height: 38px; object-fit: contain; }

.valor-card__title {
    color: #1a2e44;
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 8px;
}

.valor-card__text {
    color: #666;
    font-size: .88rem;
    line-height: 1.6;
    margin: 0;
}

/* ─── CTA FINAL ─────────────────────────────── */
.cta-nosotros {
    background: linear-gradient(135deg, #0076A8, #005f87);
    padding: 70px 20px;
}

.cta-nosotros__inner {
    text-align: center;
}

.cta-nosotros__title {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 12px;
}

.cta-nosotros__sub {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    margin: 0 0 32px;
}

.cta-nosotros__btns {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

/* ─── BOTONES COMPARTIDOS ───────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    text-decoration: none;
    transition: all .25s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn--primary {
    background: #0076A8;
    color: #fff;
    border-color: #0076A8;
}
.btn--primary:hover {
    background: #005f87;
    border-color: #005f87;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,118,168,.35);
}

.btn--outline-white {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,.7);
}
.btn--outline-white:hover {
    background: rgba(255,255,255,.12);
    border-color: #fff;
    transform: translateY(-2px);
}

/* ─── HELPERS COMPARTIDOS ───────────────────── */
.container {
    max-width: 1040px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    color: #0076A8;
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 10px;
}

.section-sub {
    text-align: center;
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 600px) {
    .mv-section,
    .valores-section,
    .cta-nosotros { padding: 50px 16px; }
    .quienes-hero { padding: 70px 16px 60px; }
}