/* ============================================================
    ARCHIVO: inicio.css
    Página de Inicio | UrgencLink
    Estilos para Hero, Instituciones, Propuesta de Valor,
    Diagrama de flujo, Features, Testimonios y CTA
    ============================================================ */

/* ============================================================
    SECCIÓN 1: HERO
    ============================================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .06);
    bottom: -300px;
    right: -200px;
}

.hero-text {
    animation: fadeLeft 1s ease;
    position: relative;
    z-index: 2;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.hero-buttons .btn-primary i,
.hero-buttons .btn-secondary i {
    margin-right: 10px;
}

.hero-tags {
    margin-top: 35px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-tags span {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: .3s;
}

.hero-tags span:hover {
    background: rgba(255, 255, 255, .15);
    transform: translateY(-2px);
}

.hero-tags span i {
    font-size: 14px;
    color: #8BE9FF;
}

.hero-image {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    width: 100%;
    float: none;
    clear: both;
}

.hero-image img {
    max-width: 550px;
    width: 100%;
    height: auto;
    min-height: 350px;
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ===== RESPONSIVE HERO IMAGE ===== */
@media (max-width: 992px) {
    .hero-image img {
        max-width: 420px;
        min-height: 280px;
        max-height: 350px;
        border-radius: 16px;
    }
}

@media (max-width: 768px) {
    .hero-image {
        order: 1;
        justify-content: center;
        width: 100%;
        padding: 0 15px;
        margin: 0;
    }

    .hero-image img {
        max-width: 100%;
        min-height: 200px;
        max-height: 280px;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
        object-position: center 30%;
        border-radius: 16px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 576px) {
    .hero-image {
        padding: 0 10px;
    }

    .hero-image img {
        min-height: 160px;
        max-height: 220px;
        aspect-ratio: 16/10;
        object-position: center 25%;
        border-radius: 14px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }
}

@media (max-width: 480px) {
    .hero-image img {
        min-height: 140px;
        max-height: 180px;
        border-radius: 12px;
        object-position: center 20%;
    }
}

@media (max-width: 380px) {
    .hero-image img {
        min-height: 120px;
        max-height: 150px;
        border-radius: 10px;
        object-position: center 15%;
    }
}

/* ============================================================
    SECCIÓN 2: INSTITUCIONES
    ============================================================ */

.instituciones {
    padding: 80px 0;
    background: #F8FAFC;
    position: relative;
    overflow: hidden;
}

.instituciones::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(22, 194, 245, .04);
    top: -200px;
    right: -150px;
}

.instituciones-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 2;
}

.instituciones-header .badge {
    margin-bottom: 12px;
}

.instituciones-header h4 {
    color: #061224;
    font-size: 28px;
    font-weight: 600;
    font-family: var(--font-sifon);
}

/* ===== GRID DE INSTITUCIONES ===== */
.instituciones-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 2;
}

/* ===== TARJETA INDIVIDUAL ===== */
.institucion-card {
    background: #ffffff;
    padding: 35px 25px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .06);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid #EDF2F7;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.institucion-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #0B5ED7, #16C2F5);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.institucion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 55px rgba(11, 94, 215, .12);
    border-color: #16C2F5;
}

.institucion-card:hover::after {
    transform: scaleX(1);
}

/* ===== LOGO ===== */
.institucion-logo {
    width: 100%;
    max-width: 140px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.institucion-logo img {
    width: 100%;
    height: 70px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.institucion-card:hover .institucion-logo img {
    transform: scale(1.08);
}

/* ===== TEXTO ===== */
.institucion-card span {
    font-size: 14px;
    font-weight: 600;
    color: #64748B;
    transition: color 0.3s ease;
    font-family: 'Poppins', sans-serif;
    letter-spacing: 0.3px;
}

.institucion-card:hover span {
    color: #0B5ED7;
}

/* ============================================================
    SECCIÓN 3: PROPUESTA DE VALOR
    ============================================================ */

.propuesta {
    background: #ffffff;
}

.propuesta .titulo h2 span {
    color: #0B5ED7;
}

.beneficios {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.beneficios .card {
    text-align: center;
    border: 1px solid #EDF2F7;
}

.beneficios .card i {
    margin: 0 auto 25px;
    transition: .35s;
}

.beneficios .card:hover i {
    transform: scale(1.1) rotate(-5deg);
}

/* ============================================================
    SECCIÓN 4: CÓMO FUNCIONA - DIAGRAMA VISUAL
    ============================================================ */

.funciona {
    background: #F5F8FD;
    padding: 80px 0;
    overflow: hidden;
}

.funciona .titulo p {
    font-size: 17px;
}

/* ===== DIAGRAMA DE FLUJO ===== */
.diagrama-flujo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 1000px;
    margin: 50px auto 0;
    position: relative;
    flex-wrap: wrap;
}

/* ===== PASO ===== */
.diagrama-paso {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #ffffff;
    padding: 28px 32px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .06);
    border: 1px solid #EDF2F7;
    transition: all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    flex: 1;
    min-width: 200px;
    z-index: 2;
}

.diagrama-paso:hover {
    transform: translateY(-6px);
    border-color: #16C2F5;
    box-shadow: 0 20px 50px rgba(11, 94, 215, .12);
}

.diagrama-icono {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 94, 215, .08), rgba(22, 194, 245, .08));
    color: #0B5ED7;
    font-size: 26px;
    flex-shrink: 0;
    transition: all .4s ease;
}

.diagrama-paso:hover .diagrama-icono {
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    color: #ffffff;
    transform: scale(1.05) rotate(-4deg);
}

.diagrama-contenido {
    flex: 1;
}

.diagrama-numero {
    font-size: 12px;
    font-weight: 700;
    color: #16C2F5;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 2px;
}

.diagrama-contenido h3 {
    font-size: 20px;
    color: #061224;
    margin-bottom: 4px;
    font-family: var(--font-sifon);
}

.diagrama-contenido p {
    color: #6C757D;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ===== FLECHA CONECTORA ===== */
.diagrama-flecha {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px;
    color: #16C2F5;
    font-size: 24px;
    flex-shrink: 0;
    z-index: 1;
    animation: flechaPulso 2s ease-in-out infinite;
}

@keyframes flechaPulso {
    0% { transform: translateX(0); opacity: 0.6; }
    50% { transform: translateX(6px); opacity: 1; }
    100% { transform: translateX(0); opacity: 0.6; }
}

/* ============================================================
    SECCIÓN 5: FEATURES
    ============================================================ */

.features {
    padding: 90px 0;
    background: #F7FAFD;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: #ffffff;
    padding: 35px 28px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #E9EEF5;
    transition: all .35s ease;
    box-shadow: 0 8px 30px rgba(15, 23, 42, .04);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #16C2F5;
    box-shadow: 0 20px 50px rgba(11, 94, 215, .10);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 94, 215, .08), rgba(22, 194, 245, .08));
    color: #0B5ED7;
    font-size: 30px;
    transition: all .35s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    color: #ffffff;
    transform: scale(1.05) rotate(-4deg);
}

.feature-card h3 {
    font-size: 18px;
    color: #061224;
    margin-bottom: 10px;
    font-family: var(--font-sifon);
}

.feature-card p {
    color: #6C757D;
    line-height: 1.7;
    font-size: 14px;
}

/* ============================================================
    SECCIÓN 6: TESTIMONIOS
    ============================================================ */

.testimonios {
    padding: 90px 0;
    background: #ffffff;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonio-card {
    background: #F7FAFD;
    padding: 35px 28px;
    border-radius: 20px;
    border: 1px solid #E9EEF5;
    transition: all .35s ease;
}

.testimonio-card:hover {
    transform: translateY(-6px);
    border-color: #16C2F5;
    box-shadow: 0 15px 40px rgba(11, 94, 215, .08);
}

.testimonio-estrellas {
    margin-bottom: 16px;
    color: #F59E0B;
    font-size: 16px;
    letter-spacing: 2px;
}

.testimonio-card p {
    color: #1E293B;
    line-height: 1.8;
    font-size: 15px;
    font-style: italic;
    margin-bottom: 18px;
}

.testimonio-autor strong {
    display: block;
    color: #061224;
    font-size: 15px;
    font-family: var(--font-sifon);
}

.testimonio-autor span {
    color: #6C757D;
    font-size: 13px;
}

/* ============================================================
    SECCIÓN 7: CTA
    ============================================================ */

.cta {
    background: linear-gradient(135deg, #0B5ED7, #16C2F5);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: "";
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    top: -200px;
    right: -150px;
}

.cta::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .04);
    bottom: -150px;
    left: -100px;
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, .12);
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(10px);
}

.cta h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.cta h2 span {
    color: #8BE9FF;
}

.cta p {
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-size: 18px;
    opacity: .9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn-primary {
    background: #fff;
    color: #0B5ED7;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.cta-buttons .btn-primary:hover {
    background: #f0f4ff;
    transform: translateY(-5px);
}

.cta-buttons .btn-primary i {
    color: #0B5ED7;
}

.btn-cta-secondary {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .4) !important;
}

.btn-cta-secondary:hover {
    background: #fff !important;
    color: #0B5ED7 !important;
}

/* ============================================================
    SECCIÓN 8: BOTÓN SABER MÁS
    ============================================================ */

.btn-saber-mas {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    background: transparent !important;
    backdrop-filter: blur(4px);
    transition: all 0.35s ease !important;
}

.btn-saber-mas:hover {
    background: #ffffff !important;
    color: #0B5ED7 !important;
    border-color: #ffffff !important;
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.btn-saber-mas i {
    transition: transform 0.35s ease;
}

.btn-saber-mas:hover i {
    transform: translateX(-4px);
}

/* ============================================================
    SECCIÓN 9: ANIMACIONES
    ============================================================ */

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes aparecer {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
    SECCIÓN 10: RESPONSIVE
    ============================================================ */

@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
        margin: 0 auto;
    }

    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .hero {
        min-height: auto;
        padding-top: 150px;
        padding-bottom: 80px;
        text-align: center;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-tags {
        justify-content: center;
    }

    .beneficios {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .instituciones-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 550px;
    }

    .testimonios-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta h2 {
        font-size: 34px;
    }

    .cta p {
        font-size: 16px;
    }

    /* ===== DIAGRAMA RESPONSIVE ===== */
    .diagrama-flujo {
        flex-direction: column;
        gap: 20px;
        max-width: 480px;
    }

    .diagrama-paso {
        width: 100%;
        min-width: unset;
        padding: 24px 28px;
    }

    .diagrama-flecha {
        transform: rotate(90deg);
        padding: 0;
    }

    .diagrama-flecha i {
        font-size: 28px;
    }

    @keyframes flechaPulso {
        0% { transform: rotate(90deg) translateX(0); opacity: 0.6; }
        50% { transform: rotate(90deg) translateX(6px); opacity: 1; }
        100% { transform: rotate(90deg) translateX(0); opacity: 0.6; }
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
        min-height: auto;
    }

    .hero-grid {
        gap: 30px;
        text-align: center;
        padding: 0 15px;
    }

    .hero-text {
        order: 2;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero p {
        max-width: 100%;
        padding: 0 10px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
        max-width: 300px;
    }

    .hero-tags {
        justify-content: center;
    }

    .instituciones {
        padding: 60px 0;
    }

    .instituciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        max-width: 100%;
    }

    .institucion-card {
        padding: 20px 14px;
    }

    .institucion-logo {
        max-width: 90px;
        height: 55px;
    }

    .institucion-logo img {
        height: 45px;
    }

    .institucion-card span {
        font-size: 12px;
    }

    .instituciones-header h4 {
        font-size: 20px;
    }

    .beneficios {
        max-width: 400px;
    }

    .features {
        padding: 70px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .testimonios {
        padding: 70px 0;
    }

    .testimonios-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .cta {
        padding: 70px 0;
    }

    .cta h2 {
        font-size: 32px;
    }

    .cta p {
        font-size: 16px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }

    /* ===== DIAGRAMA RESPONSIVE ===== */
    .funciona {
        padding: 60px 0;
    }

    .diagrama-flujo {
        max-width: 100%;
        gap: 16px;
    }

    .diagrama-paso {
        padding: 20px 22px;
        gap: 16px;
    }

    .diagrama-icono {
        width: 52px;
        height: 52px;
        font-size: 22px;
        border-radius: 14px;
    }

    .diagrama-contenido h3 {
        font-size: 18px;
    }

    .diagrama-contenido p {
        font-size: 13px;
    }

    .diagrama-flecha i {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding-top: 110px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-tags span {
        font-size: 12px;
        padding: 8px 14px;
    }

    .titulo h2 {
        font-size: 26px;
    }

    .titulo p {
        font-size: 13px;
    }

    .cta h2 {
        font-size: 28px;
    }

    .cta p {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    /* ===== DIAGRAMA RESPONSIVE ===== */
    .funciona {
        padding: 50px 0;
    }

    .diagrama-flujo {
        gap: 12px;
    }

    .diagrama-paso {
        padding: 16px 18px;
        gap: 12px;
        border-radius: 14px;
    }

    .diagrama-icono {
        width: 44px;
        height: 44px;
        font-size: 18px;
        border-radius: 12px;
    }

    .diagrama-contenido h3 {
        font-size: 16px;
    }

    .diagrama-contenido p {
        font-size: 12px;
    }

    .diagrama-numero {
        font-size: 9px;
    }

    .diagrama-flecha {
        padding: 4px 0;
    }

    .diagrama-flecha i {
        font-size: 20px;
    }

    .instituciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .institucion-card {
        padding: 16px 10px;
        border-radius: 14px;
        gap: 10px;
        min-height: 100px;
    }

    .institucion-logo {
        max-width: 70px;
        height: 45px;
    }

    .institucion-logo img {
        height: 35px;
    }

    .institucion-card span {
        font-size: 11px;
    }

    .instituciones-header h4 {
        font-size: 18px;
    }

    .features-grid {
        max-width: 100%;
    }

    .feature-card {
        padding: 24px 18px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }

    .feature-card h3 {
        font-size: 16px;
    }

    .testimonios-grid {
        max-width: 100%;
    }

    .testimonio-card {
        padding: 24px 18px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 100px;
        padding-bottom: 35px;
    }

    .hero h1 {
        font-size: 26px;
    }

    .hero p {
        font-size: 13px;
    }

    .hero-buttons a {
        max-width: 240px;
    }

    .hero-tags span {
        font-size: 11px;
        padding: 4px 10px;
    }

    .instituciones-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .institucion-card {
        padding: 12px 8px;
        min-height: 80px;
        border-radius: 12px;
    }

    .institucion-logo {
        max-width: 55px;
        height: 35px;
    }

    .institucion-logo img {
        height: 28px;
    }

    .institucion-card span {
        font-size: 10px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 20px 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }

    .feature-card h3 {
        font-size: 15px;
    }

    .feature-card p {
        font-size: 13px;
    }

    .testimonio-card {
        padding: 20px 16px;
    }

    .testimonio-estrellas {
        font-size: 14px;
    }

    .testimonio-card p {
        font-size: 14px;
    }

    .testimonio-autor strong {
        font-size: 14px;
    }

    .testimonio-autor span {
        font-size: 12px;
    }

    .cta h2 {
        font-size: 24px;
    }

    .cta p {
        font-size: 14px;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
        max-width: 220px;
    }

    /* ===== DIAGRAMA RESPONSIVE ===== */
    .diagrama-paso {
        padding: 14px 16px;
        gap: 10px;
        border-radius: 12px;
    }

    .diagrama-icono {
        width: 38px;
        height: 38px;
        font-size: 16px;
        border-radius: 10px;
    }

    .diagrama-contenido h3 {
        font-size: 15px;
    }

    .diagrama-contenido p {
        font-size: 12px;
        line-height: 1.5;
    }

    .diagrama-numero {
        font-size: 8px;
    }

    .diagrama-flecha i {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .hero {
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .hero h1 {
        font-size: 22px;
    }

    .hero p {
        font-size: 12px;
    }

    .hero-buttons a {
        max-width: 200px;
        font-size: 13px;
        padding: 10px 16px;
    }

    .instituciones-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .institucion-card {
        padding: 10px 6px;
        min-height: 70px;
        border-radius: 10px;
    }

    .institucion-logo {
        max-width: 45px;
        height: 30px;
    }

    .institucion-logo img {
        height: 24px;
    }

    .institucion-card span {
        font-size: 9px;
    }

    .feature-card {
        padding: 16px 12px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .feature-card h3 {
        font-size: 14px;
    }

    .feature-card p {
        font-size: 12px;
    }

    /* ===== DIAGRAMA RESPONSIVE ===== */
    .diagrama-paso {
        padding: 12px 14px;
        gap: 8px;
    }

    .diagrama-icono {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-radius: 8px;
    }

    .diagrama-contenido h3 {
        font-size: 14px;
    }

    .diagrama-contenido p {
        font-size: 11px;
    }

    .diagrama-flecha i {
        font-size: 16px;
    }

    .diagrama-numero {
        font-size: 7px;
    }
}