/* ═══════════════════════════════════════════════
   telemedicina.css  —  Página "Telemedicina"
   MiMedico · Fase 2
═══════════════════════════════════════════════ */

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

.tele-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,.06) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,.04) 0%, transparent 40%);
    pointer-events: none;
}

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

.tele-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;
}

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

.tele-hero__accent {
    color: #7dd3f7;
}

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

.tele-hero__wave {
    position: absolute;
    bottom: 0; left: 0;
    width: 100%;
    line-height: 0;
}
.tele-hero__wave svg { display: block; }

/* ─── CARACTERÍSTICAS ───────────────────────── */
.tele-features {
    background: #f4f8fb;
    padding: 80px 20px;
}

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

.tele-feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    transition: transform .25s ease, box-shadow .25s ease;
    border-left: 4px solid transparent;
}

.tele-feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 40px rgba(0,0,0,.11);
}

.tele-feature-card--azul   { border-left-color: #0076A8; }
.tele-feature-card--morado { border-left-color: #6f42c1; }
.tele-feature-card--verde  { border-left-color: #00a878; }

.tele-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.tele-feature-card--azul   .tele-feature-card__icon { background: #e8f4fb; color: #0076A8; }
.tele-feature-card--morado .tele-feature-card__icon { background: #f0ebff; color: #6f42c1; }
.tele-feature-card--verde  .tele-feature-card__icon { background: #e6f9f4; color: #00a878; }

.tele-feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #1a2e44;
}

.tele-feature-card__text {
    color: #555;
    font-size: .92rem;
    line-height: 1.6;
    margin: 0;
}

/* ─── PASOS ─────────────────────────────────── */
.tele-pasos {
    background: #fff;
    padding: 80px 20px;
}

.tele-pasos__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 48px;
    position: relative;
}

/* Línea conectora entre pasos (solo escritorio) */
@media (min-width: 768px) {
    .tele-pasos__grid::before {
        content: '';
        position: absolute;
        top: 40px;
        left: calc(12.5% + 20px);
        right: calc(12.5% + 20px);
        height: 2px;
        background: linear-gradient(90deg, #0076A8, #6f42c1, #00a878, #0076A8);
        opacity: .2;
        z-index: 0;
    }
}

.tele-paso {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 24px 16px;
}

.tele-paso__num {
    font-size: 2.8rem;
    font-weight: 900;
    color: #e8f0f6;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -.02em;
}

.tele-paso__icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0076A8, #005f87);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    margin: 0 auto 16px;
    box-shadow: 0 6px 18px rgba(0,118,168,.3);
}

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

.tele-paso__text {
    color: #666;
    font-size: .87rem;
    line-height: 1.6;
    margin: 0;
}

/* ─── BENEFICIOS ────────────────────────────── */
.tele-beneficios {
    background: #f4f8fb;
    padding: 80px 20px;
}

.tele-beneficios__card {
    background: linear-gradient(135deg, #f0f7ff, #e4f1fb);
    border-radius: 20px;
    padding: 50px 40px;
    border: 1px solid #d0e7f5;
}

.tele-beneficios__title {
    text-align: center;
    color: #0076A8;
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 800;
    margin: 0 0 36px;
}

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

.tele-beneficio {
    text-align: center;
}

.tele-beneficio__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 14px;
}

.tele-beneficio__icon--azul   { background: rgba(0,118,168,.12); color: #0076A8; }
.tele-beneficio__icon--verde  { background: rgba(0,168,120,.12); color: #00a878; }
.tele-beneficio__icon--morado { background: rgba(111,66,193,.12); color: #6f42c1; }

.tele-beneficio__title {
    font-size: .97rem;
    font-weight: 700;
    color: #1a2e44;
    margin: 0 0 6px;
}

.tele-beneficio__text {
    color: #666;
    font-size: .87rem;
    line-height: 1.6;
    margin: 0;
}

/* ─── CTA FINAL ─────────────────────────────── */
.cta-tele {
    background: linear-gradient(135deg, #0076A8, #003f5e);
    padding: 80px 20px;
}

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

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

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

/* ─── BOTONES ───────────────────────────────── */
.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;
    border: 2px solid transparent;
}

.btn--lg { padding: 14px 36px; font-size: 1rem; }

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

.btn--white {
    background: #fff;
    color: #0076A8;
    border-color: #fff;
}
.btn--white:hover {
    background: rgba(255,255,255,.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.2);
}

/* ─── HELPERS ───────────────────────────────── */
.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) {
    .tele-features,
    .tele-pasos,
    .tele-beneficios,
    .cta-tele     { padding: 50px 16px; }
    .tele-hero    { padding: 70px 16px 60px; }
    .tele-beneficios__card { padding: 32px 20px; }
    .tele-pasos__grid::before { display: none; }
}