/* HERO ENLACES */
.links-hero {
    background: linear-gradient(135deg, #b02424 0%, #8b1c1c 100%);
    padding: 5rem 2rem;
    text-align: center;
    color: white;
}

.links-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.links-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.links-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.6;
}

.links-cta {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.links-cta i {
    font-size: 2rem;
}

.links-cta p {
    font-size: 1.1rem;
    margin: 0;
}

.links-cta a {
    color: white;
    font-weight: 700;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.links-cta a:hover {
    opacity: 0.8;
}

/* SECCIÓN DE ENLACES */
.links-section {
    background-color: #f5f5f5;
    padding: 5rem 2rem;
}

.links-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.links-column {
    background-color: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.links-column:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(176, 36, 36, 0.15);
}

.column-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #b02424;
    min-height: 90px; /* Altura mínima para que todas empiecen igual */
}

.column-header i {
    font-size: 2rem;
    color: #b02424;
    margin-top: 0.2rem; /* Ajusta el icono al inicio */
}

.column-title {
    font-size: 1.4rem;
    color: #333;
    font-weight: 700;
    margin: 0;
    line-height: 1.3; /* Mejor espaciado para títulos largos */
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.links-list li {
    margin-bottom: 0.5rem;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 1rem;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.link-item:hover {
    background-color: #fef9f5;
    color: #b02424;
    padding-left: 1.3rem;
}

.link-item i {
    font-size: 0.85rem;
    color: #b02424;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.link-item:hover i {
    opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN - ENLACES
   ========================================================================== */

/* TABLET - 1024px
   ========================================================================== */
@media (max-width: 1024px) {
    .links-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .column-header {
        min-height: 80px;
    }
}

/* MÓVIL GRANDE - 768px
   ========================================================================== */
@media (max-width: 768px) {
    .links-hero {
        padding: 3rem 1.5rem;
    }

    .links-title {
        font-size: 2rem;
    }

    .links-subtitle {
        font-size: 1.1rem;
    }

    .links-cta {
        flex-direction: column;
        text-align: center;
        padding: 1.2rem;
    }

    .links-cta i {
        font-size: 1.5rem;
    }

    .links-cta p {
        font-size: 1rem;
    }

    .links-section {
        padding: 3rem 1.5rem;
    }

    .links-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .links-column {
        padding: 1.5rem;
    }

    .column-header {
        flex-direction: row;
        min-height: auto;
    }

    .column-title {
        font-size: 1.2rem;
    }

    .link-item {
        font-size: 0.95rem;
    }
}

/* MÓVIL PEQUEÑO - 640px
   ========================================================================== */
@media (max-width: 640px) {
    .links-hero {
        padding: 2.5rem 1rem;
    }

    .links-title {
        font-size: 1.8rem;
    }

    .links-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .links-cta {
        padding: 1rem;
    }

    .links-cta p {
        font-size: 0.95rem;
    }

    .links-section {
        padding: 2.5rem 1rem;
    }

    .links-column {
        padding: 1.2rem;
    }

    .column-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 0.8rem;
    }

    .column-header i {
        font-size: 1.8rem;
    }

    .column-title {
        font-size: 1.1rem;
    }

    .link-item {
        font-size: 0.9rem;
        padding: 0.7rem 0.8rem;
    }

    .link-item:hover {
        padding-left: 1.1rem;
    }
}