/* Notas Section */
.section-notas {
    padding: 120px 30px 60px 30px;
    position: relative;
    background: linear-gradient(135deg, var(--dim-gray) 0%, var(--royal-blue) 100%);
    min-height: 100vh;
}

.notas-container {
    max-width: 1200px;
    margin: 0 auto;
}

.notas-header {
    text-align: center;
    margin-bottom: 50px;
    padding-top: 20px;
}

.notas-title {
    color: var(--blanco);
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.notas-subtitle {
    color: var(--soft-aqua);
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
}

.notas-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(0, 40, 86, 0.6);
    color: var(--soft-aqua);
    border: 2px solid var(--soft-aqua);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--soft-aqua);
    color: var(--royal-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(104, 175, 181, 0.3);
}

.notas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-content: center;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.nota-card {
    background: rgba(0, 40, 86, 0.4);
    padding: 20px 25px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--soft-aqua);
    backdrop-filter: blur(5px);
    cursor: pointer;
    overflow: hidden;
    border-radius: 15px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    height: 386px;
    max-height: 386px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.nota-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--soft-aqua), var(--blue-green));
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.nota-card:hover::before {
    transform: scaleX(1);
}

.nota-card:hover {
    transform: translateY(-5px);
    border-color: var(--soft-aqua);
    background: rgba(0, 40, 86, 0.6);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nota-image {
    width: 55px;
    height: 55px;
    background: var(--soft-aqua);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--royal-blue);
    margin: 15px auto;
    position: relative;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    border-radius: 50%;
}

.nota-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.nota-card:hover .nota-image img {
    transform: scale(1.1);
}

.nota-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--soft-aqua);
    color: var(--royal-blue);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nota-date {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--blanco);
    padding: 5px 10px;
    border-radius: 10px;
    font-size: 0.8rem;
}

.nota-content {
    padding: 0;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.nota-title {
    font-size: 1.2rem;
    margin: 10px 0 5px 0;
    color: var(--blanco);
    font-family: var(--font-secondary);
    transition: color var(--transition-fast);
    line-height: 1.2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.nota-card:hover .nota-title {
    color: var(--soft-aqua);
}

.nota-card:hover .nota-image {
    background: var(--soft-aqua);
    transform: scale(1.1);
}

.nota-excerpt {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin: 5px 0 10px 0;
    padding: 0 10px;
    font-size: 0.85rem;
    flex-grow: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nota-features {
    list-style: none;
    margin: 10px 0;
    padding: 0;
    width: 100%;
}

.nota-features li {
    padding: 8px 0 8px 25px;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    border-bottom: 1px solid rgba(104, 175, 181, 0.2);
    font-size: 0.8rem;
    transition: all var(--transition-fast);
    line-height: 1.3;
    display: flex;
    align-items: center;
}

.nota-features li:last-child {
    border-bottom: none;
}

.nota-features li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--soft-aqua);
    font-size: 1rem;
    transition: transform var(--transition-fast);
}

.nota-card:hover .nota-features li {
    color: rgba(255, 255, 255, 0.9);
    padding-left: 30px;
}

.nota-card:hover .nota-features li::before {
    transform: translateX(5px);
}

.nota-meta {
    display: none;
}

.nota-author {
    color: black;
    font-size: 0.9rem;
    font-weight: 500;
}

.nota-read-more {
    color: var(--soft-aqua);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    position: relative;
}

.nota-read-more::after {
    content: '→';
    margin-left: 5px;
    transition: transform var(--transition-fast);
}

.nota-read-more:hover {
    color: var(--soft-aqua);
}

.nota-read-more:hover::after {
    transform: translateX(5px);
}

/* Estados de filtrado */
.nota-card.hidden {
    display: none;
}

/* Responsive Design - Tablets */
@media screen and (max-width: 768px) {
    /* Sección principal */
    .section-notas,
    .page-section {
        padding: 80px 20px !important;
    }

    /* Headers */
    .notas-header,
    .section-header {
        margin-bottom: 35px;
        padding: 0 10px;
    }

    .notas-title,
    .section-title {
        font-size: 2rem;
        margin-bottom: 12px;
    }

    .notas-subtitle,
    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .section-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Filtros */
    .notas-filters {
        gap: 10px;
        margin-bottom: 30px;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }

    /* Grid de notas */
    .notas-grid,
    .notes-grid {
        display: flex;
        flex-direction: column;
        gap: 25px;
        align-items: center;
    }

    /* Tarjetas de notas */
    .nota-card,
    .note-card {
        margin: 0 auto;
        max-width: 500px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .nota-image,
    .note-image {
        height: 180px;
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .nota-content,
    .note-content {
        padding: 20px;
        text-align: center;
        width: 100%;
    }

    .nota-title,
    .note-title {
        font-size: 1.1rem;
    }

    .nota-excerpt,
    .note-excerpt {
        font-size: 0.85rem;
    }

    /* Autor */
    .note-author {
        margin-top: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
    }

    .author-avatar {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .author-info {
        text-align: center;
    }

    .author-name {
        font-size: 0.85rem;
    }

    .author-position {
        font-size: 0.75rem;
    }

    .read-more {
        font-size: 0.85rem;
        display: inline-block;
        margin: 15px auto 0;
        text-align: center;
    }
}

/* Responsive Design - Mobile */
@media screen and (max-width: 480px) {
    /* Forzar apilamiento vertical */
    .notas-filters {
        flex-direction: column !important;
        align-items: center;
        width: 100%;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
    }

    .nota-meta {
        flex-direction: column !important;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

@media screen and (max-width: 480px) {
    /* Sección principal */
    .section-notas,
    .page-section {
        padding: 60px 15px !important;
    }

    /* Headers */
    .notas-header,
    .section-header {
        margin-bottom: 25px;
        text-align: center;
    }

    .notas-title,
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .notas-subtitle,
    .section-subtitle {
        font-size: 0.75rem;
        margin-bottom: 15px;
    }

    .section-description {
        font-size: 0.85rem;
        line-height: 1.4;
        padding: 0 5px;
    }

    /* Filtros */
    .notas-filters {
        gap: 8px;
        margin-bottom: 25px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
        border-radius: 20px;
    }

    /* Grid de notas */
    .notas-grid,
    .notes-grid {
        gap: 20px;
    }

    /* Tarjetas de notas */
    .nota-card,
    .note-card {
        border-radius: 10px;
    }

    .nota-card:hover,
    .note-card:hover {
        transform: translateY(-3px);
    }

    .nota-image,
    .note-image {
        height: 150px;
    }

    .nota-category,
    .note-date {
        font-size: 0.7rem;
        padding: 4px 8px;
    }

    .nota-content,
    .note-content {
        padding: 15px;
    }

    .nota-title,
    .note-title {
        font-size: 0.95rem;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .nota-excerpt,
    .note-excerpt {
        font-size: 0.8rem;
        line-height: 1.4;
        margin-bottom: 12px;
    }

    /* Meta información */
    .nota-meta,
    .note-author {
        padding-top: 12px;
        margin-top: 12px;
    }

    .author-avatar {
        width: 30px;
        height: 30px;
        font-size: 0.7rem;
    }

    .author-info {
        margin-left: 8px;
    }

    .author-name {
        font-size: 0.8rem;
    }

    .author-position {
        font-size: 0.7rem;
    }

    .nota-read-more,
    .read-more {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Si hay autor a un lado */
    .nota-author {
        font-size: 0.8rem;
    }
}