.documento-accion {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.documento-accion-texto {
    font-weight: 600;
    color: #b81415;
    letter-spacing: 0.02em;
    position: relative;
    display: inline-flex;
    align-items: center;
    animation: documentoPulse 2.4s ease-in-out infinite;
}

@keyframes documentoPulse {
    0% {
        transform: translateX(0);
        opacity: 0.85;
    }
    50% {
        transform: translateX(4px);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 0.85;
    }
}
.documento-card-ver-mas {
    border: 2px dashed rgba(228, 25, 26, 0.35);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    background: linear-gradient(180deg, #ffffff 0%, #fff8f8 100%);
    box-shadow: 0 8px 24px rgba(228, 25, 26, 0.08);
}

.documento-card-ver-mas .documento-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(228, 25, 26, 0.08);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    border: 2px solid rgba(228, 25, 26, 0.15);
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.documento-card-ver-mas .documento-icon i {
    font-size: 1.75rem;
    color: inherit;
}

.documento-card-ver-mas .documento-titulo {
    font-size: 1.15rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-dark);
    letter-spacing: 0.04em;
    margin-bottom: 0;
}

.documento-card-ver-mas .documento-descripcion {
    font-size: 0.92rem;
    color: var(--color-gray);
    margin-bottom: 0;
}

.documento-card-ver-mas .documento-meta {
    border-top: none;
    padding-top: 0;
    justify-content: center;
}

.documento-ver-mas-link {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 1.4rem;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(228, 25, 26, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.documento-ver-mas-link i {
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.documento-ver-mas-link:hover {
    transform: translateX(4px);
    background: #b81415;
    box-shadow: 0 8px 22px rgba(228, 25, 26, 0.35);
    color: var(--color-white);
    text-decoration: none;
}
/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-primary: #E4191A;
    --color-white: #FFF;
    --color-dark: #1a1a1a;
    --color-gray: #666;
    --color-light-gray: #f5f5f5;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--color-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
    body.menu-open {
        overflow: hidden;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}

/* Navegación */
.navbar {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .navbar .container {
        padding: 0.8rem 15px;
    }
}

.nav-brand {
    cursor: pointer;
}

.nav-brand a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.nav-brand a:hover {
    opacity: 0.9;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    max-width: 190px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .logo-img {
        height: 50px;
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
        max-width: 120px;
    }
}

@media (max-width: 480px) {
    .logo-img {
        height: 35px;
        max-width: 100px;
    }
}

.nav-brand a > span {
    display: flex;
    flex-direction: column;
}

.nav-brand h1 {
    color: var(--color-primary);
    font-size: 1.8rem;
    margin-bottom: 0;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .nav-brand h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-brand h1 {
        font-size: 1.2rem;
    }
}

.nav-brand span span {
    color: var(--color-gray);
    font-size: 0.9rem;
    display: block;
    margin-top: -5px;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .nav-brand span span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .nav-brand span span {
        font-size: 0.7rem;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

@media (max-width: 992px) {
    .nav-menu {
        gap: 1.5rem;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--color-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--color-dark);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 500px;
    max-height: 800px;
    background: linear-gradient(135deg, rgba(228, 25, 26, 0.7), rgba(228, 25, 26, 0.5)), url('image/ANR-1080p.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    margin-top: 70px;
}

@media (max-width: 768px) {
    .hero {
        height: 70vh;
        min-height: 400px;
        background-attachment: scroll;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 60vh;
        min-height: 350px;
        margin-top: 55px;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 480px) {
    .hero-content {
        padding: 1.5rem 1rem;
    }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
    word-wrap: break-word;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 0.8rem;
    }
}

@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s both;
    word-wrap: break-word;
}

.hero-announcement-card {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    text-align: left;
    backdrop-filter: blur(6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInUp 1s ease 0.6s both, heroAnnouncementGlow 4s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.hero-announcement-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    pointer-events: none;
    opacity: 0.6;
    animation: heroAnnouncementBorder 6s linear infinite;
}

.hero-announcement-icon {
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
    animation: heroAnnouncementIcon 2.4s ease-in-out infinite;
}

.hero-announcement-content {
    flex: 1;
    color: #fff;
}

.hero-announcement-label {
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    display: inline-block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    opacity: 0.9;
}

.hero-announcement-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.hero-announcement-text strong {
    color: #ffe082;
    font-weight: 700;
}

.hero-announcement-meta {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.95rem;
    opacity: 0.95;
}

.hero-announcement-meta i {
    margin-right: 0.35rem;
}

@media (max-width: 768px) {
    .hero-announcement-card {
        flex-direction: column;
        text-align: left;
    }

    .hero-announcement-icon {
        width: 54px;
        height: 54px;
        font-size: 1.6rem;
    }
}

@keyframes heroAnnouncementGlow {
    0% {
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25), 0 0 0 rgba(255, 255, 255, 0);
    }
    50% {
        box-shadow: 0 20px 38px rgba(0, 0, 0, 0.3), 0 0 18px rgba(255, 255, 255, 0.35);
    }
    100% {
        box-shadow: 0 18px 32px rgba(0, 0, 0, 0.25), 0 0 0 rgba(255, 255, 255, 0);
    }
}

@keyframes heroAnnouncementBorder {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.008);
    }
    100% {
        opacity: 0.5;
        transform: scale(1);
    }
}

@keyframes heroAnnouncementIcon {
    0% {
        transform: scale(1) translateY(0);
    }
    35% {
        transform: scale(1.08) translateY(-4px);
    }
    70% {
        transform: scale(1) translateY(0);
    }
    100% {
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 992px) {
    .hero-subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .hero-subtitle {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0;
    }
}

@media (max-width: 360px) {
    .hero-subtitle {
        font-size: 0.85rem;
    }
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--color-white);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease 0.4s both;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .btn-primary {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .btn-primary {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
        width: auto;
        display: inline-block;
    }
}

@media (max-width: 360px) {
    .btn-primary {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background-color: #f0f0f0;
}

@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover {
        transform: none;
    }
    
    .btn-primary:active {
        transform: scale(0.98);
    }
}

/* Info Section */
.info-section {
    padding: 4rem 0;
    background-color: var(--color-white);
}

@media (max-width: 768px) {
    .info-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .info-section {
        padding: 2rem 0;
    }
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 640px) {
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.info-card {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    transition: var(--transition);
    background-color: var(--color-light-gray);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(228, 25, 26, 0.2);
}

.info-icon {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.info-icon i {
    font-size: 1.1rem;
}

.info-card h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.info-card p {
    color: var(--color-gray);
    line-height: 1.8;
}

/* Sección Carrusel */
.carrusel-section {
    padding: 4rem 0;
    background-color: var(--color-light-gray);
}

.carrusel-wrapper {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.carrusel-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.carrusel-track {
    --carrusel-items-per-view: 1;
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@media (min-width: 768px) {
    .carrusel-track {
        --carrusel-items-per-view: 2;
    }
}

@media (min-width: 1200px) {
    .carrusel-track {
        --carrusel-items-per-view: 4;
    }
}

.carrusel-slide {
    flex: 0 0 calc(100% / var(--carrusel-items-per-view));
    max-width: calc(100% / var(--carrusel-items-per-view));
    padding: 0 0.75rem;
    box-sizing: border-box;
}

.carrusel-card {
    background-color: var(--color-white);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 350px;
}

.carrusel-card:hover {
    box-shadow: 0 8px 25px rgba(228, 25, 26, 0.2);
    transform: translateY(-5px);
}

.carrusel-icon {
    font-size: 4rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrusel-icon i {
    font-size: 4rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrusel-title {
    color: var(--color-dark);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.carrusel-subtitle {
    color: var(--color-dark);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.carrusel-desc {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.carrusel-btn {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-dark);
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    margin-top: auto;
}

.carrusel-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(228, 25, 26, 0.3);
}

.carrusel-btn i {
    font-size: 0.9rem;
}

/* Controles del carrusel */
.carrusel-btn-prev,
.carrusel-btn-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--color-white);
    border: 2px solid var(--color-primary);
    color: var(--color-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.carrusel-btn-prev {
    left: -25px;
}

.carrusel-btn-next {
    right: -25px;
}

.carrusel-btn-prev:hover,
.carrusel-btn-next:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(228, 25, 26, 0.3);
}

/* Indicadores */
.carrusel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carrusel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carrusel-indicator.active {
    background-color: var(--color-primary);
    transform: scale(1.2);
}

.carrusel-indicator:hover {
    background-color: var(--color-primary);
    opacity: 0.7;
}

@media (min-width: 1200px) {
    .carrusel-card {
        min-height: 290px;
        padding: 2rem 1.25rem;
    }

    .carrusel-icon {
        margin-bottom: 1rem;
    }

    .carrusel-icon i {
        font-size: 2.75rem;
    }

    .carrusel-title {
        font-size: 1.15rem;
    }

    .carrusel-subtitle {
        font-size: 0.95rem;
    }

    .carrusel-desc {
        font-size: 0.82rem;
        margin-bottom: 1rem;
    }

    .carrusel-btn {
        padding: 0.55rem 1.1rem;
        font-size: 0.82rem;
    }
}

/* Responsive - Tablet */
@media (max-width: 992px) {
    .carrusel-btn-prev {
        left: -15px;
    }
    
    .carrusel-btn-next {
        right: -15px;
    }
    
    .carrusel-btn-prev,
    .carrusel-btn-next {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .carrusel-card {
        padding: 2rem 1.5rem;
        min-height: 320px;
    }
    
    .carrusel-icon {
        font-size: 3.5rem;
    }
    
    .carrusel-icon i {
        font-size: 3.5rem;
    }
}

/* Responsive - Móvil */
@media (max-width: 768px) {
    .carrusel-section {
        padding: 3rem 0;
    }
    
    .carrusel-slide {
        padding: 0 0.5rem;
    }
    
    .carrusel-card {
        padding: 1.5rem 1rem;
        min-height: 300px;
    }
    
    .carrusel-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }
    
    .carrusel-icon i {
        font-size: 3rem;
    }
    
    .carrusel-title {
        font-size: 1.3rem;
    }
    
    .carrusel-subtitle {
        font-size: 1rem;
    }
    
    .carrusel-desc {
        font-size: 0.85rem;
    }
    
    .carrusel-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.8rem;
    }
    
    .carrusel-btn-prev {
        left: 10px;
    }
    
    .carrusel-btn-next {
        right: 10px;
    }
    
    .carrusel-btn-prev,
    .carrusel-btn-next {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .carrusel-indicators {
        margin-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .carrusel-section {
        padding: 2rem 0;
    }
    
    .carrusel-card {
        padding: 1.5rem 1rem;
        min-height: 280px;
    }
    
    .carrusel-icon {
        font-size: 2.5rem;
    }
    
    .carrusel-icon i {
        font-size: 2.5rem;
    }
    
    .carrusel-title {
        font-size: 1.1rem;
    }
    
    .carrusel-subtitle {
        font-size: 0.95rem;
    }
    
    .carrusel-desc {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .carrusel-btn {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .carrusel-btn-prev,
    .carrusel-btn-next {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .carrusel-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Sección Autoridades */
.autoridades-section {
    padding: 5rem 0;
    background-color: var(--color-light-gray);
}

@media (max-width: 768px) {
    .autoridades-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .autoridades-section {
        padding: 2rem 0;
    }
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--color-primary);
}

.autoridades-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: var(--color-dark);
    margin: 4rem 0 2rem;
    font-weight: 600;
}

.autoridades-subtitle:first-of-type {
    margin-top: 4rem;
}

.autoridades-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 992px) {
    .autoridades-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .autoridades-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .presidente-container {
        margin: 2rem 0 3rem;
    }

    .autoridad-presidente {
        max-width: 100%;
    }

    .autoridad-presidente .autoridad-foto {
        width: 100px;
        height: 100px;
    }

    .autoridad-presidente .autoridad-nombre {
        font-size: 1.3rem;
    }

    .autoridad-presidente .autoridad-cargo {
        font-size: 1.1rem;
    }

    .btn-cv {
        font-size: 0.75rem;
        padding: 0.5rem 1.2rem;
    }

    .autoridades-subtitle {
        font-size: 1.5rem;
        margin: 3rem 0 1.5rem;
    }

    .autoridades-subtitle:first-of-type {
        margin-top: 3rem;
    }
}

.autoridad-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.autoridad-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(228, 25, 26, 0.3);
}

.autoridad-avatar {
    margin-bottom: 1.5rem;
}

.avatar-placeholder {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    margin: 0 auto;
}

.autoridad-foto {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--color-primary);
    margin: 0 auto;
    display: block;
}

.autoridad-nombre {
    color: var(--color-dark);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.autoridad-cargo {
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.autoridad-bio {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Contenedor del Presidente - Centrado */
.presidente-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem 0 4rem;
    width: 100%;
}

/* Estilos para destacar al presidente */
.autoridad-presidente {
    border: 3px solid var(--color-primary);
    box-shadow: 0 8px 25px rgba(228, 25, 26, 0.3);
    position: relative;
    max-width: 300px;
    width: 100%;
    margin: 0 auto;
}

.autoridad-presidente::before {
    content: 'PRESIDENTE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    z-index: 10;
    white-space: nowrap;
}

.autoridad-presidente .autoridad-avatar {
    margin-bottom: 1.5rem;
}

.autoridad-presidente .autoridad-foto {
    width: 120px;
    height: 120px;
    border: 5px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(228, 25, 26, 0.4);
}

.autoridad-presidente .autoridad-nombre {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.autoridad-presidente .autoridad-cargo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.btn-cv {
    background-color: var(--color-white);
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    margin-top: 1rem;
    text-transform: uppercase;
}

.btn-cv:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(228, 25, 26, 0.3);
}

/* Estilos para miembros suplentes */
.autoridades-suplentes {
    margin-top: 0;
}

.autoridades-suplentes .autoridad-card {
    opacity: 0.85;
    border: 2px solid #e0e0e0;
}

.autoridades-suplentes .autoridad-card:hover {
    opacity: 1;
    border-color: var(--color-primary);
}

/* Estilos para secretario ejecutivo */
.autoridades-secretario {
    margin-top: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.autoridad-secretario {
    border: 2px solid var(--color-gray);
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-light-gray) 100%);
    opacity: 0.9;
}

/* Sección Zona Descargas */
.descargas-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

@media (max-width: 768px) {
    .descargas-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .descargas-section {
        padding: 2rem 0;
    }
}

.descargas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .descargas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .descargas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.descarga-card {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
}

.descarga-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(228, 25, 26, 0.2);
    border-color: var(--color-primary);
}

.descarga-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.descarga-icon i {
    font-size: 3rem;
}

.descarga-titulo {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    min-height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.descarga-descripcion {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.btn-descarga {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
}

.btn-descarga:hover {
    background-color: #b81415;
    transform: scale(1.05);
}

/* Informes finales - Elecciones Partidarias */
.informes-finales-block {
    position: relative;
    margin-top: 3rem;
    padding: 4rem 0 4.5rem;
    background: linear-gradient(160deg, #713b3b 0%, #4f2626 45%, #403737 100%);
    overflow: hidden;
}

.informes-finales-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(228, 25, 26, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 80%, rgba(228, 25, 26, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.informes-finales-block .container {
    position: relative;
    z-index: 1;
}

.informes-finales-header {
    text-align: center;
    margin-bottom: 3rem;
}

.informes-finales-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(228, 25, 26, 0.15);
    border: 1px solid rgba(228, 25, 26, 0.35);
    color: #ff6b6b;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
    animation: informeBadgePulse 3s ease-in-out infinite;
}

.informes-finales-title {
    color: var(--color-white);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.informes-finales-subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    margin: 0;
}

.informes-finales-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.informe-final-card {
    position: relative;
    text-align: center;
    padding: 2rem 1.25rem 1.75rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease, border-color 0.3s ease, background 0.3s ease;
    opacity: 0;
    transform: translateY(40px);
}

.informes-finales-block.is-visible .informe-final-card {
    animation: informeCardReveal 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s) forwards;
}

.informe-final-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.informe-final-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(228, 25, 26, 0.45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(228, 25, 26, 0.15);
}

.informe-final-card:hover::before {
    opacity: 1;
}

.informe-final-year {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.65rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--color-primary), #b81415);
    color: var(--color-white);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(228, 25, 26, 0.35);
}

.informe-final-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.informe-final-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, rgba(228, 25, 26, 0.2), rgba(228, 25, 26, 0.05));
    border: 2px solid rgba(228, 25, 26, 0.3);
    color: var(--color-primary);
    line-height: 1;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    animation: informeIconFloat 4s ease-in-out infinite;
}

.informe-final-card:nth-child(2) .informe-final-icon { animation-delay: 0.5s; }
.informe-final-card:nth-child(3) .informe-final-icon { animation-delay: 1s; }
.informe-final-card:nth-child(4) .informe-final-icon { animation-delay: 1.5s; }

.informe-final-icon i {
    font-size: 2.25rem;
}

.informe-final-card:hover .informe-final-icon {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 8px 24px rgba(228, 25, 26, 0.35);
}

.informe-final-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.4rem;
}

.informe-final-titulo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-white);
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    min-height: 2.6rem;
    letter-spacing: 0.02em;
}

.btn-informe-descarga {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--color-white);
    color: var(--color-dark);
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.btn-informe-descarga i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.informe-final-card:hover .btn-informe-descarga {
    background: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(228, 25, 26, 0.45);
}

.informe-final-card:hover .btn-informe-descarga i {
    transform: translateY(2px);
}

@keyframes informeCardReveal {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes informeIconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes informeBadgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(228, 25, 26, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(228, 25, 26, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .informe-final-card,
    .informes-finales-block.is-visible .informe-final-card {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .informe-final-icon {
        animation: none;
    }

    .informes-finales-badge {
        animation: none;
    }
}

@media (max-width: 992px) {
    .informes-finales-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .informes-finales-block {
        padding: 3rem 0;
    }

    .informes-finales-header {
        margin-bottom: 2rem;
    }

    .informes-finales-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .informe-final-icon {
        width: 70px;
        height: 70px;
    }

    .informe-final-icon i {
        font-size: 2rem;
    }
}

/* Modal para PDFs */
.pdf-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.pdf-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.pdf-modal-content {
    position: relative;
    background-color: var(--color-white);
    border-radius: 10px;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.3s ease;
}

@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        max-height: 85vh;
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .pdf-modal-content {
        width: 100%;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }
}

.pdf-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--color-light-gray);
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 10px 10px 0 0;
}

.pdf-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-white);
}

.pdf-modal-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.pdf-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.pdf-modal-body {
    padding: 2rem;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#pdfViewer {
    width: 100%;
    height: 70vh;
    min-height: 500px;
    border: 1px solid var(--color-light-gray);
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
    #pdfViewer {
        height: 65vh;
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    #pdfViewer {
        height: 60vh;
        min-height: 350px;
    }
}

@media (max-width: 480px) {
    #pdfViewer {
        height: calc(100vh - 200px);
        min-height: 300px;
        border-radius: 0;
        margin-bottom: 1rem;
    }
}

.pdf-modal-actions {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-light-gray);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Modal para Mensajes */
.message-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.message-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.message-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.message-modal-content {
    position: relative;
    background-color: var(--color-white);
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    animation: slideUp 0.3s ease;
}

.message-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--color-light-gray);
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 10px 10px 0 0;
}

.message-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-white);
}

.message-modal-close {
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.message-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.message-modal-body {
    padding: 2rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.message-modal-icon {
    font-size: 4rem;
    margin-bottom: 0.5rem;
}

.message-modal-icon i {
    color: var(--color-primary);
}

.message-modal-icon.error i {
    color: #dc3545;
}

.message-modal-icon.success i {
    color: #28a745;
}

.message-modal-icon.warning i {
    color: #ffc107;
}

.message-modal-body p {
    color: var(--color-dark);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.message-modal-actions {
    display: flex;
    justify-content: center;
    padding: 0 2rem 2rem;
    gap: 1rem;
}

.message-modal-actions .btn-primary {
    min-width: 120px;
}

@media (max-width: 768px) {
    .message-modal-content {
        width: 95%;
        max-width: 400px;
    }

    .message-modal-header {
        padding: 1rem 1.5rem;
    }

    .message-modal-header h3 {
        font-size: 1.2rem;
    }

    .message-modal-body {
        padding: 1.5rem;
    }

    .message-modal-icon {
        font-size: 3rem;
    }

    .message-modal-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .message-modal-content {
        width: 90%;
        max-width: 350px;
    }

    .message-modal-header {
        padding: 1rem;
    }

    .message-modal-body {
        padding: 1.5rem 1rem;
    }

    .message-modal-icon {
        font-size: 2.5rem;
    }

    .message-modal-body p {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .pdf-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .pdf-modal-header {
        padding: 1rem 1.5rem;
    }

    .pdf-modal-header h3 {
        font-size: 1.2rem;
    }

    .pdf-modal-body {
        padding: 1rem;
    }

    #pdfViewer {
        height: 60vh;
        min-height: 400px;
    }
}

@media (max-width: 480px) {
    .pdf-modal-content {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .pdf-modal-header {
        border-radius: 0;
    }

    #pdfViewer {
        height: calc(100vh - 200px);
        min-height: 300px;
    }
}

/* Sección Documentos */
.documentos-section {
    padding: 5rem 0;
    background-color: var(--color-white);
}

@media (max-width: 768px) {
    .documentos-section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .documentos-section {
        padding: 2rem 0;
    }
}

.documentos-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--color-light-gray);
    border: 2px solid transparent;
    border-radius: 25px;
    color: var(--color-dark);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.documentos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

@media (max-width: 992px) {
    .documentos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    .documentos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.documento-card {
    background-color: var(--color-white);
    border: 2px solid var(--color-light-gray);
    border-radius: 10px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.documento-card::after {
    content: '\f06e';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.2);
    color: rgba(220, 53, 69, 0.12);
    font-size: 5rem;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.documento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background-color: var(--color-primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.documento-card:hover {
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(228, 25, 26, 0.2);
    transform: translateY(-5px);
}

.documento-card:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.documento-card:hover::before {
    transform: scaleY(1);
}

/* Tarjeta "Más Resoluciones" / Ver más: sin efectos del documento PDF genérico */
.documento-card.documento-card-ver-mas::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), #ff5a5b);
    transform: scaleX(0.35);
    transform-origin: center;
}

.documento-card.documento-card-ver-mas::after {
    content: none;
    display: none;
}

.documento-card.documento-card-ver-mas:hover {
    border-color: var(--color-primary);
    border-style: solid;
    background: linear-gradient(180deg, #ffffff 0%, #fff0f0 100%);
    box-shadow: 0 14px 32px rgba(228, 25, 26, 0.16);
    transform: translateY(-6px);
}

.documento-card.documento-card-ver-mas:hover::before {
    transform: scaleX(1);
}

.documento-card.documento-card-ver-mas:hover::after {
    content: none;
    display: none;
    opacity: 0;
}

.documento-card.documento-card-ver-mas:hover .documento-icon {
    background: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
    box-shadow: 0 8px 20px rgba(228, 25, 26, 0.3);
    transform: scale(1.06);
}

.documento-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.documento-icon i {
    font-size: 2.5rem;
}

.documento-titulo {
    color: var(--color-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.documento-descripcion {
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.documento-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--color-light-gray);
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 480px) {
    .documento-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

.documento-fecha {
    color: var(--color-gray);
    font-size: 0.9rem;
}

.documento-descargar {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    color: #FFFFFF;
}

.documento-descargar:hover {
    color: #b81415;
    text-decoration: underline;
    color: #FFFFFF;
}

.documento-card.hidden {
    display: none;
}

.documento-card.limit-hidden {
    display: none;
}

/* Documentos listado completo */
.documentos-listado-section {
    padding: 6rem 0 5rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}

.documentos-listado-controls {
    margin-top: 2.5rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
    padding: 2.5rem;
    display: grid;
    gap: 2rem;
}

.documentos-listado-form {
    display: grid;
    grid-template-columns: repeat(4, minmax(180px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.documentos-listado-form .control-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.documentos-listado-form label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.documentos-listado-form input,
.documentos-listado-form select {
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-color: #f8fafc;
}

.documentos-listado-form input:focus,
.documentos-listado-form select:focus {
    outline: none;
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.15);
    background-color: #fff;
}

.documentos-listado-form .control-actions {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(148, 163, 184, 0.1);
    color: #1f2937;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: rgba(148, 163, 184, 0.2);
    border-color: rgba(15, 23, 42, 0.2);
}

.documentos-listado-resumen {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.documentos-listado-resumen .badge-total,
.documentos-listado-resumen .badge-filtro {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
}

.documentos-listado-resumen .badge-total {
    background: rgba(220, 53, 69, 0.1);
    color: #b91c1c;
}

.documentos-listado-resumen .badge-filtro {
    background: rgba(212, 212, 216, 0.25);
    color: #374151;
}

.documentos-listado-wrapper {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.documentos-listado-seccion {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    padding: 2.2rem 2.4rem;
    transition: opacity 0.25s ease;
}

.documentos-listado-seccion.seccion-vacia {
    opacity: 0.25;
    transform: scale(0.99);
}

.documentos-listado-seccion.seccion-oculta {
    display: none;
}

.documentos-listado-seccion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.6rem;
    gap: 1rem;
}

.documentos-listado-seccion-header h2 {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: #0f172a;
}

.documentos-listado-seccion-header h2 i {
    color: #dc3545;
}

.documentos-listado-count {
    background: rgba(148, 163, 184, 0.15);
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    font-weight: 600;
    color: #334155;
    font-size: 0.85rem;
}

.documentos-listado-grid {
    margin-top: 1rem;
}

.documentos-listado-empty-seccion {
    font-style: italic;
    color: #64748b;
}

.documentos-listado-empty-global {
    margin-top: 3rem;
    text-align: center;
}

.documentos-listado-empty-global .empty-state {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 2.5rem 2rem;
    border-radius: 18px;
    background: rgba(226, 232, 240, 0.4);
    color: #475569;
}

.documentos-listado-empty-global .empty-state i {
    font-size: 2.4rem;
    color: #dc3545;
}

.documentos-listado-empty-global .empty-state h3 {
    font-size: 1.25rem;
    color: #0f172a;
}

.documentos-listado-empty-global .empty-state p {
    max-width: 420px;
    line-height: 1.5;
}

.documentos-listado-ver-mas {
    margin: 2.5rem auto 0;
    display: none;
    justify-content: center;
}

.btn-ver-mas {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 2.1rem;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 16px 32px rgba(220, 53, 69, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-ver-mas i {
    font-size: 1rem;
}

.btn-ver-mas:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(220, 53, 69, 0.32);
}

@media (max-width: 1024px) {
    .documentos-listado-form {
        grid-template-columns: repeat(2, minmax(200px, 1fr));
    }
}

@media (max-width: 640px) {
    .documentos-listado-section {
        padding: 5rem 0 3rem;
    }

    .documentos-listado-controls {
        padding: 1.6rem;
    }

    .documentos-listado-form {
        grid-template-columns: 1fr;
    }

    .documentos-listado-section h1.section-title {
        font-size: 1.8rem;
    }

    .documentos-listado-seccion {
        padding: 1.8rem 1.4rem;
    }
}

/* Sección Prepadrón */
.prepadron-section {
    padding: 3rem 0 5rem;
    background-color: var(--color-light-gray);
}

@media (max-width: 768px) {
    .prepadron-section {
        padding: 2rem 0 3rem;
    }
}

@media (max-width: 480px) {
    .prepadron-section {
        padding: 1.5rem 0 2rem;
    }
}

/* Wrapper para Banner y Búsqueda */
.prepadron-wrapper {
    max-width: 1000px;
    margin: 2rem auto 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .prepadron-wrapper {
        margin-top: 1.5rem;
    }
}

/* Banner Superior del Prepadrón */
.prepadron-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
}

.prepadron-banner h2 {
    color: var(--color-white);
    font-size: 1.8rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: 1px;
}

.prepadron-time {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 500;
}

@media (max-width: 768px) {
    .prepadron-banner {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .prepadron-banner h2 {
        font-size: 1.4rem;
    }

    .prepadron-time {
        font-size: 0.9rem;
    }
}

.section-subtitle {
    text-align: center;
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.prepadron-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.prepadron-content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    align-items: start;
}

/* Tarjetas de Búsqueda */
.prepadron-search-card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 0;
    border-top: none;
    margin-top: 0;
}


.search-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.search-card-header h3 {
    color: var(--color-dark);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.search-clear-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-gray);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.search-clear-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: var(--color-dark);
}

.search-instructions {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prepadron-search-cedula h3 {
    color: var(--color-dark);
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.prepadron-search-cedula h3 i {
    color: var(--color-primary);
}

.prepadron-form {
    margin-top: 0.75rem;
}

.prepadron-form-group {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 0;
    flex-wrap: nowrap;
}

.prepadron-form-label {
    font-weight: 600;
    color: var(--color-dark);
    letter-spacing: 0.01em;
    margin-bottom: 0;
    text-transform: uppercase;
}

.prepadron-form-control {
    flex: 1;
    padding: 0;
}

.prepadron-input-group {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}

.prepadron-input-group .form-control,
.prepadron-input-group .search-input {
    border: none;
    flex: 1;
    padding: 0.65rem 0.9rem;
    font-size: 0.95rem;
    font-family: inherit;
    min-height: 46px;
}

.prepadron-input-group .form-control:focus {
    outline: none;
    box-shadow: none;
}

.input-group-append {
    display: flex;
}

.btn-search {
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    padding: 0 1.8rem;
    border-radius: 0;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    letter-spacing: 0.04em;
}

.btn-search:hover {
    background-color: #b81415;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(228, 25, 26, 0.3);
}

.btn-search:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(228, 25, 26, 0.2);
}

/* Tarjeta de Información de Registro */
.prepadron-info-card {
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e0e0e0;
}

.info-card-banner {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.6rem 1.5rem;
    text-align: center;
}

.info-card-banner h3 {
    color: var(--color-white);
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.info-registro-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
    padding: 1.2rem;
}

.info-registro-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.8rem;
    background-color: var(--color-white);
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    border-left: 3px solid var(--color-primary);
    transition: var(--transition);
}

.info-registro-item.has-data-item {
    background-color: #fafafa;
    border-color: rgba(228, 25, 26, 0.3);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.info-icon {
    font-size: 0.95rem;
    min-width: 22px;
    text-align: center;
    color: var(--color-primary);
}

.info-icon i {
    font-size: 1.1rem;
}

.info-label {
    flex: 1;
    font-weight: 600;
    color: var(--color-gray);
    font-size: 0.75rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-weight: 400;
    color: var(--color-gray);
    font-size: 0.8rem;
    text-align: right;
    min-width: 100px;
    font-family: 'Courier New', monospace;
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    background-color: transparent;
    transition: var(--transition);
}

.info-value.has-data {
    color: var(--color-primary);
    font-weight: 700;
    font-size: 0.95rem;
    background-color: rgba(228, 25, 26, 0.1);
    border: 2px solid rgba(228, 25, 26, 0.2);
    padding: 0.4rem 1rem;
}

/* Tarjeta pequeña de Información Importante */
.info-box-small {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--color-primary);
    max-width: 100%;
    margin-top: 1.5rem;
}

/* Sección de Estadísticas */
.estadisticas-section {
    margin-top: 0;
    width: 100%;
    border-radius: 0;
}

.estadisticas-card {
    background-color: #f8f8f8;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
    border: none;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.estadisticas-header {
    background: linear-gradient(135deg, var(--color-primary) 0%, #b81415 100%);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-align: center;
    border-radius: 0;
}

.estadisticas-header h3 {
    color: var(--color-white);
    margin: 0 0 0.3rem 0;
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.estadisticas-header h3 i {
    font-size: 1.5rem;
}

.estadisticas-descripcion {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.9rem;
}

.estadisticas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem 2rem;
    background-color: var(--color-white);
}

.estadistica-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background-color: var(--color-light-gray);
    border-radius: 8px;
    transition: var(--transition);
    border-left: 3px solid var(--color-primary);
}

.estadistica-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(228, 25, 26, 0.2);
    background-color: #f0f0f0;
}

.estadistica-icon {
    font-size: 2rem;
    color: var(--color-primary);
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.estadistica-icon i {
    font-size: 2rem;
}

.estadistica-content {
    flex: 1;
}

.estadistica-label {
    color: var(--color-gray);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.estadistica-value {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 992px) {
    .estadisticas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .estadisticas-header {
        padding: 1rem 1.5rem;
    }
    
    .estadisticas-header h3 {
        font-size: 1.1rem;
    }
    
    .estadisticas-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 1rem 1.5rem;
        gap: 0.8rem;
    }
    
    .estadistica-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .estadistica-icon {
        font-size: 1.8rem;
    }
    
    .estadistica-icon i {
        font-size: 1.8rem;
    }
    
    .estadistica-value {
        font-size: 1.5rem;
    }
    
    .estadistica-label {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .estadisticas-header {
        padding: 0.8rem 1rem;
    }
    
    .estadisticas-header h3 {
        font-size: 1rem;
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .estadisticas-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.8rem;
    }
    
    .estadistica-item {
        padding: 0.8rem;
    }
    
    .estadistica-icon {
        font-size: 1.5rem;
    }
    
    .estadistica-icon i {
        font-size: 1.5rem;
    }
    
    .estadistica-value {
        font-size: 1.3rem;
    }
    
    .estadistica-label {
        font-size: 0.7rem;
    }
}

.info-box-small h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-box-small h4 i {
    font-size: 1.1rem;
}

.info-box-small ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box-small ul li {
    padding: 0.5rem 0;
    color: var(--color-gray);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
}

.info-box-small ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

@media (max-width: 768px) {
    .prepadron-search-card {
        padding: 1.5rem;
    }

    .prepadron-form-group {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .prepadron-form-label,
    .prepadron-form-control {
        width: 100%;
    }

    .prepadron-input-group {
        flex-direction: column;
    }

    .input-group-append {
        width: 100%;
    }

    .btn-search {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }
    
    .prepadron-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-registro-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 0.6rem;
    }

    .info-registro-item {
        flex-direction: row;
        align-items: center;
        gap: 0.6rem;
        padding: 0.5rem 0.7rem;
    }

    .info-label {
        font-size: 0.7rem;
    }

    .info-value {
        text-align: right;
        min-width: 80px;
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
    
    .info-value.has-data {
        font-size: 0.85rem;
        padding: 0.35rem 0.8rem;
    }

    .info-box-small {
        padding: 1.2rem;
    }
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--color-light-gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

@media (max-width: 480px) {
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem;
        font-size: 0.95rem;
    }
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(228, 25, 26, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.prepadron-result {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.prepadron-result.show {
    display: block;
}

.prepadron-result.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.prepadron-result.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.info-box {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--color-primary);
}

.info-box h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
}

.info-box ul li {
    padding: 0.8rem 0;
    color: var(--color-gray);
    line-height: 1.6;
    padding-left: 1.5rem;
    position: relative;
}

.info-box ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Sección Contacto */
.contacto-section {
    padding: 5rem 0;
    background-color: var(--color-white);
    min-height: calc(100vh - 70px);
}

.contacto-section:first-of-type {
    margin-top: 70px;
}

@media (max-width: 768px) {
    .contacto-section {
        padding: 3rem 0;
        min-height: auto;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .contacto-section {
        padding: 2rem 0;
        margin-top: 55px;
    }
}

.contacto-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.contacto-card {
    background-color: var(--color-light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .contacto-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .contacto-card {
        padding: 1.5rem;
    }
}

.contacto-card h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contacto-form {
    margin-top: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contacto-result {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    display: none;
}

.contacto-result.show {
    display: block;
}

.contacto-result.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contacto-result.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contacto-whatsapp-wrapper {
    display: flex;
    align-items: stretch;
}

.contacto-info-card {
    background-color: var(--color-light-gray);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contacto-info-card h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contacto-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.contacto-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contacto-icon {
    font-size: 1.5rem;
    min-width: 30px;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contacto-icon i {
    font-size: 1.5rem;
}

.contacto-item h4 {
    color: var(--color-dark);
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.contacto-item p {
    color: var(--color-gray);
    margin: 0;
}

.contacto-item a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition);
}

.contacto-item a:hover {
    color: #b81415;
    text-decoration: underline;
}

/* WhatsApp Card */
.whatsapp-card {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    color: var(--color-white);
}

.whatsapp-card h3 {
    color: var(--color-white);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.whatsapp-card > p {
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.8rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.whatsapp-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.whatsapp-link {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.18);
    padding: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition);
    backdrop-filter: blur(10px);
}

.whatsapp-link:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.whatsapp-icon {
    font-size: 1.5rem;
    min-width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-icon i {
    font-size: 1.5rem;
}

.whatsapp-info {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.whatsapp-label {
    font-weight: 600;
    margin-bottom: 0.2rem;
    font-size: 1rem;
}

.whatsapp-number {
    font-size: 0.95rem;
    opacity: 0.95;
}

.whatsapp-detail {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
}

/* Sección Google Maps */
.mapa-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-light-gray);
}

.mapa-section .section-title {
    margin-bottom: 2rem;
    font-size: 2rem;
}

.mapa-container {
    position: relative;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--color-light-gray);
}

.mapa-iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.mapa-link-container {
    text-align: center;
    padding: 1.5rem;
    background-color: var(--color-white);
}

.mapa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.mapa-link i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .mapa-section {
        margin-top: 3rem;
        padding-top: 2rem;
    }
    
    .mapa-section .section-title {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .mapa-iframe {
        height: 350px;
    }
    
    .mapa-link-container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .mapa-section {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    
    .mapa-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .mapa-iframe {
        height: 300px;
    }
}

/* Footer */
.footer {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 3rem 0 1rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 1.5rem 0 1rem;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }
}

.footer-section h3 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Tablet y móvil grande */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }
}

/* Responsive - Tablet y móvil */
@media (max-width: 992px) {
    .section-title {
        font-size: 2.2rem;
    }
    
    .descargas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .autoridades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background-color: var(--color-white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 0.8rem 0;
    }

    .nav-link {
        display: block;
        padding: 0.8rem 1rem;
        width: 100%;
    }

    .section-title {
        font-size: 2rem;
        padding: 0 1rem;
    }

    .section-subtitle {
        font-size: 0.95rem;
        padding: 0 1rem;
    }

    .info-grid,
    .autoridades-grid,
    .documentos-grid,
    .descargas-grid {
        grid-template-columns: 1fr;
    }

    .prepadron-content-grid,
    .contacto-container {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .documentos-filters {
        gap: 0.5rem;
        padding: 0 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .info-card,
    .autoridad-card,
    .documento-card,
    .descarga-card {
        padding: 1.5rem;
    }

    .avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }

    .whatsapp-card {
        padding: 1.5rem;
    }
    
    .contacto-whatsapp-wrapper {
        width: 100%;
    }
    
    .contacto-info-card,
    .whatsapp-card {
        width: 100%;
    }
}

/* Responsive - Móvil pequeño */
@media (max-width: 480px) {
    .nav-menu {
        top: 55px;
        max-height: calc(100vh - 55px);
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
        padding-bottom: 0.8rem;
        padding: 0 0.5rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    .section-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }

    .info-card h3,
    .contacto-card h3,
    .prepadron-card h3,
    .descarga-titulo {
        font-size: 1.3rem;
    }

    .autoridad-nombre {
        font-size: 1.1rem;
    }

    .autoridad-cargo {
        font-size: 1rem;
    }

    .documento-titulo {
        font-size: 1.1rem;
    }

    .documento-descripcion,
    .descarga-descripcion {
        font-size: 0.9rem;
    }

    .info-box h4,
    .info-box-small h4 {
        font-size: 1.1rem;
    }

    .info-box ul li,
    .info-box-small ul li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
        padding-left: 1.2rem;
    }

    .whatsapp-card h3 {
        font-size: 1.3rem;
    }

    .whatsapp-label {
        font-size: 0.9rem;
    }

    .whatsapp-number {
        font-size: 0.85rem;
    }

    .footer-section h3 {
        font-size: 1.3rem;
    }

    .footer-section h4 {
        font-size: 1rem;
    }

    .footer-section p,
    .footer-section a {
        font-size: 0.9rem;
    }
    
    .descarga-icon i,
    .documento-icon i {
        font-size: 2rem;
    }
    
    .btn-descarga,
    .documento-descargar {
        padding: 0.7rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .pdf-modal-header {
        padding: 1rem 1.5rem;
    }
    
    .pdf-modal-header h3 {
        font-size: 1.2rem;
    }
    
    .pdf-modal-body {
        padding: 1rem;
    }
}

/* Responsive - Móvil muy pequeño */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .btn-primary {
        padding: 0.7rem 1.5rem;
        font-size: 0.85rem;
    }

    .documentos-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-btn {
        width: 100%;
        text-align: center;
    }
}

/* Botón Volver Arriba */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(228, 25, 26, 0.4);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(20px);
}

.scroll-to-top.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background-color: #b81415;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(228, 25, 26, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
        font-size: 1rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* Mejoras para dispositivos táctiles */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover,
    .nav-link:hover,
    .documento-card:hover,
    .info-card:hover,
    .autoridad-card:hover {
        transform: none;
    }

    .btn-primary:active {
        transform: scale(0.98);
    }
}

/* Ajustes para orientación landscape en móviles */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 500px;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }
}

/* Sección Resultados Finales */
.resultados-section {
    padding: 5rem 0;
    background-color: var(--color-light-gray);
    min-height: calc(100vh - 70px);
    margin-top: 70px;
}

@media (max-width: 768px) {
    .resultados-section {
        padding: 3rem 0;
        margin-top: 60px;
    }
}

@media (max-width: 480px) {
    .resultados-section {
        padding: 2rem 0;
        margin-top: 55px;
    }
}

.resultados-selector {
    max-width: 1000px;
    margin: 3rem auto 0;
    background-color: var(--color-white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    min-height: 400px;
}

@media (max-width: 768px) {
    .resultados-selector {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

.selector-step {
    animation: fadeInUp 0.5s ease;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-light-gray);
}

.step-title {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    flex: 1;
}

.btn-back {
    background-color: var(--color-light-gray);
    color: var(--color-dark);
    border: 2px solid var(--color-light-gray);
    padding: 0.6rem 1.2rem;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-back:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    border-color: var(--color-primary);
}

.selector-options {
    display: grid;
    gap: 1rem;
}

.nivel-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.departamento-options {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem 0;
}

.resultados-options {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.seccional-options {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.8rem;
    max-height: 600px;
    overflow-y: auto;
    padding: 1rem 0;
}

.selector-btn {
    background-color: var(--color-white);
    color: var(--color-dark);
    border: 2px solid var(--color-primary);
    padding: 1.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.selector-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.selector-btn:hover::before {
    left: 100%;
}

.selector-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(228, 25, 26, 0.3);
}

.selector-btn i:first-child {
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: var(--transition);
}

.selector-btn:hover i:first-child {
    color: var(--color-white);
}

.selector-btn i:last-child {
    font-size: 0.9rem;
    opacity: 0.7;
    transition: var(--transition);
}

.selector-btn:hover i:last-child {
    opacity: 1;
    transform: translateX(5px);
}

.selector-btn span {
    flex: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nivel-btn {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    min-height: 150px;
    justify-content: center;
}

.nivel-btn i:first-child {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.nivel-btn span {
    font-size: 1.1rem;
}

.departamento-btn,
.seccional-btn {
    padding: 1rem 1.2rem;
}

.resultado-btn {
    padding: 1.2rem 1.5rem;
}

@media (max-width: 992px) {
    .nivel-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .resultados-selector {
        padding: 1.5rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .btn-back {
        width: 100%;
        justify-content: center;
    }
    
    .nivel-options {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nivel-btn {
        min-height: 120px;
        padding: 1.5rem 1rem;
    }
    
    .nivel-btn i:first-child {
        font-size: 2.5rem;
    }
    
    .departamento-options {
        grid-template-columns: repeat(2, 1fr);
        max-height: 500px;
    }
    
    .resultados-options {
        grid-template-columns: 1fr;
    }
    
    .seccional-options {
        grid-template-columns: repeat(2, 1fr);
        max-height: 500px;
    }
    
    .selector-btn {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .resultados-selector {
        padding: 1rem;
        border-radius: 5px;
    }
    
    .step-title {
        font-size: 1.3rem;
    }
    
    .nivel-btn {
        min-height: 100px;
        padding: 1.2rem 1rem;
    }
    
    .nivel-btn i:first-child {
        font-size: 2rem;
    }
    
    .nivel-btn span {
        font-size: 0.95rem;
    }
    
    .departamento-options,
    .seccional-options {
        grid-template-columns: 1fr;
        max-height: 400px;
    }
    
    .selector-btn {
        padding: 0.9rem;
        font-size: 0.85rem;
        flex-wrap: wrap;
    }
    
    .selector-btn i:first-child {
        font-size: 1.2rem;
    }
}

/* Mejoras de accesibilidad y rendimiento */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

/* Prevenir zoom en inputs en iOS */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select,
    textarea {
        font-size: 16px !important;
    }
}

/* CTA Resultados Finales 2022 */
.resultados-cta-section {
    padding: 3rem 0;
    background-color: var(--color-white);
}

.resultados-cta-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(228, 25, 26, 0.05) 0%, rgba(228, 25, 26, 0.15) 100%);
    border: 1px solid rgba(228, 25, 26, 0.2);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    animation: pulseCTA 2s ease-in-out infinite;
}

@keyframes pulseCTA {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.resultados-cta-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background-color: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 8px 20px rgba(228, 25, 26, 0.25);
}

.resultados-cta-content h2 {
    margin-bottom: 0.8rem;
    font-size: 2rem;
    color: var(--color-primary);
    text-transform: uppercase;
}

.resultados-cta-content p {
    margin: 0;
    color: var(--color-gray);
    font-size: 1.05rem;
    line-height: 1.6;
}

.resultados-cta-actions .btn-primary {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.resultados-cta-actions .btn-primary::after {
    content: '\f178';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .resultados-cta-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .resultados-cta-icon {
        margin: 0 auto;
    }

    .resultados-cta-actions {
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .resultados-cta-card {
        padding: 1.5rem;
    }

    .resultados-cta-content h2 {
        font-size: 1.6rem;
    }

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

.radio-section {
    padding: 5rem 0;
    position: relative;
}

.radio-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.radio-logo {
    flex: 0 0 140px;
    max-width: 160px;
    position: relative;
}

.radio-logo::after {
    content: '';
    position: absolute;
    inset: -12px;
    background: rgba(220, 53, 69, 0.1);
    border-radius: 24px;
    z-index: -1;
}

.radio-logo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 0 18px 36px rgba(220, 53, 69, 0.25);
}

.radio-heading {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1 1 0%;
    padding: 1.2rem 1.6rem;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.06), rgba(255, 255, 255, 0.92));
    border-radius: 26px;
    box-shadow: 0 18px 32px -18px rgba(220, 53, 69, 0.35);
    border: 1px solid rgba(220, 53, 69, 0.1);
}

.radio-heading-copy {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.radio-heading-title {
    margin: 0;
    font-size: 2rem;
    color: #b01415;
}

.radio-heading-subtitle {
    margin: 0;
    color: rgba(55, 55, 55, 0.88);
    font-size: 1.05rem;
}

.radio-heading-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.radio-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.12);
    color: #b01415;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    box-shadow: inset 0 0 0 1px rgba(220, 53, 69, 0.18);
}

.radio-icon {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.95), rgba(181, 31, 44, 0.85));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    box-shadow: 0 18px 36px rgba(220, 53, 69, 0.32);
}

.radio-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.radio-player {
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
}

.radio-player-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    padding: 1.1rem 1.6rem;
    font-weight: 600;
    color: #721c24;
}

.status-led {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2ecc71;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.55; }
    100% { transform: scale(1); opacity: 1; }
}

.radio-player-body {
    flex: 1;
    min-height: 220px;
    background: #fff;
    padding: 1.5rem;
    position: relative;
    border-radius: 0 0 28px 28px;
}

.radio-player-body.centrado {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 1.5rem 1rem 1.8rem;
    min-height: 220px;
    gap: 1.2rem;
}

.radio-iframe {
    width: 100%;
    height: 100%;
    border-radius: 16px;
    background: #fafafa;
    transition: box-shadow 0.4s ease;
}

.radio-player-body.centrado .radio-iframe {
    max-width: 400px;
    width: 100%;
    height: 55px;
    border-radius: 18px;
    background: #fff;
    padding-left: 10px;
    padding-right: 10px;
}

.radio-player-footer {
    padding: 1rem 1.6rem;
    font-size: 0.95rem;
    color: rgba(114, 28, 36, 0.9);
    background: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
}

.radio-player-body::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 18px;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.98);
    filter: blur(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.radio-player.is-playing .radio-player-body::after {
    opacity: 1;
    transform: scale(1);
    animation: radioGlow 2.4s ease-in-out infinite;
}

.radio-player.is-playing .radio-iframe {
    box-shadow:
        inset 0 0 0 2px rgba(220, 53, 69, 0.25),
        0 0 0 0 rgba(220, 53, 69, 0.35);
    animation: radioPulse 1.8s ease-in-out infinite;
}

@keyframes radioGlow {
    0%, 100% {
        filter: blur(0px);
        opacity: 0.9;
    }
    50% {
        filter: blur(4px);
        opacity: 1;
    }
}

@keyframes radioPulse {
    0%, 100% {
        box-shadow:
            inset 0 0 0 2px rgba(220, 53, 69, 0.25),
            0 0 0 0 rgba(220, 53, 69, 0.35);
    }
    50% {
        box-shadow:
            inset 0 0 0 3px rgba(220, 53, 69, 0.35),
            0 0 12px 6px rgba(220, 53, 69, 0.18);
    }
}

.radio-aside {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    height: 100%;
}

.radio-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 22px 45px -20px rgba(220, 53, 69, 0.3);
    border: 1px solid rgba(220, 53, 69, 0.08);
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.radio-card h3 {
    font-size: 1.35rem;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.radio-info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    align-self: stretch;
    padding: 0;
    margin: 0;
}

.radio-info-list li {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 1rem;
    color: rgba(55, 55, 55, 0.95);
}

.radio-info-list i {
    color: #dc3545;
    font-size: 1rem;
}

.radio-player-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.radio-player-visual-inner {
    position: relative;
    padding: 1.2rem;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 229, 230, 0.5));
    box-shadow: 0 20px 35px -18px rgba(220, 53, 69, 0.45);
}

.radio-player-logo {
    width: 200px;
    max-width: 60vw;
    height: auto;
    display: block;
    filter: drop-shadow(0 12px 18px rgba(220, 53, 69, 0.35));
}

.radio-card .radio-logo {
    flex: 0 0 auto;
    max-width: 180px;
    margin-bottom: 0.5rem;
}

.radio-card .radio-logo::after {
    inset: -10px;
}

.radio-card .radio-logo img {
    border-radius: 22px;
}

.radio-cta {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.95));
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid rgba(220, 53, 69, 0.15);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-label {
    font-weight: 600;
    color: #721c24;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.btn-radio {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.6rem;
}

@media (max-width: 992px) {
    .radio-wrapper {
        grid-template-columns: 1fr;
    }
    .radio-header {
        justify-content: center;
        text-align: center;
    }
    .radio-heading {
        flex-direction: column;
        align-items: center;
    }
    .radio-heading-title {
        font-size: 1.75rem;
    }
    .radio-heading-tags {
        justify-content: center;
    }
    .radio-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    .radio-player-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    .radio-footer-right {
        width: 100%;
        justify-content: space-between;
    }
    .radio-player-meta {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .radio-section {
        padding: 3.5rem 0;
    }
    .radio-card {
        padding: 1.6rem;
    }
    .radio-player {
        border-radius: 22px;
    }
    .radio-player-body {
        padding: 1rem;
        min-height: 200px;
    }
    .radio-iframe {
        border-radius: 14px;
    }
    .radio-header {
        gap: 1.5rem;
    }
}

/* --------------------------------------------------
   Página de noticias
----------------------------------------------------- */
.noticias-page {
    background-color: #f6f8fb;
    padding: 80px 0;
}

.noticias-header {
    text-align: center;
    max-width: 760px;
    margin: 2% auto 48px;
}

.noticias-header h1 {
    font-size: 2.4rem;
    margin: 16px 0 12px;
    color: #1f2937;
    line-height: 1.25;
}

.noticias-header p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.7;
}

.noticias-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    border-radius: 999px;
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.75rem;
}

.noticias-destacada {
    margin-bottom: 56px;
}

.noticia-destacada-card {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.22);
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    background: #0f172a;
}

.noticia-destacada-media {
    position: relative;
    height: 420px;
    overflow: hidden;
    background: #0f172a;
}

.noticia-destacada-media button {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    display: block;
    cursor: zoom-in;
}

.noticia-destacada-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.9));
}

.noticia-destacada-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.noticia-destacada-contenido {
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    gap: 18px;
}

.noticia-destacada-contenido .noticia-meta {
    justify-content: flex-start;
    gap: 18px;
}

.noticia-destacada-contenido .noticia-titulo {
    color: #ffffff;
    font-size: 2.1rem;
}

.noticia-destacada-contenido .noticia-descripcion {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
}

.noticia-destacada-contenido .noticia-categoria {
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
}

.noticia-destacada-contenido .noticia-fecha {
    color: rgba(255, 255, 255, 0.88);
}

.noticia-destacada-contenido .noticia-fecha i {
    color: #ffffff;
}

.noticia-destacada-acciones {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 12px;
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    color: #ffffff;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.72);
    transform: translateY(-1px);
}

.noticias-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto 48px;
}

.noticias-column {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.noticias-complementarias {
    max-width: 1100px;
    margin: 0 auto;
}

.noticias-complementarias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.noticia-card {
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.noticia-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 56px rgba(220, 53, 69, 0.18);
}

.noticia-imagen img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.noticia-contenido {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.noticia-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

.noticia-categoria {
    background: rgba(220, 53, 69, 0.16);
    color: #b21f2d;
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.76rem;
}

.noticia-fecha {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
}

.noticia-fecha i {
    color: #dc3545;
}

.noticia-titulo {
    font-size: 1.4rem;
    color: #1f2937;
    line-height: 1.35;
    margin: 0 0 12px;
}

.noticia-descripcion {
    color: #4b5563;
    line-height: 1.65;
    margin-bottom: 24px;
    font-size: 1rem;
}

.noticia-link {
    margin-top: auto;
    font-weight: 600;
    color: #dc3545;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.noticia-link i {
    transition: transform 0.2s ease;
}

.noticia-link:hover {
    color: #931623;
    transform: translateX(4px);
}

.noticia-link:hover i {
    transform: translateX(2px);
}

.noticias-sidebar {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.sidebar-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.sidebar-card h3 {
    margin-bottom: 18px;
    font-size: 1.1rem;
    color: #1f2937;
}

.sidebar-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card ul li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
}

.tendencia-categoria {
    background: rgba(220, 53, 69, 0.12);
    color: #b21f2d;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sidebar-card ul li p {
    margin: 0;
    color: #374151;
    font-weight: 600;
    line-height: 1.45;
}

.sidebar-card ul li p a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-card ul li p a:hover {
    color: #dc3545;
}

.newsletter-card {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.9));
    border: 1px solid rgba(220, 53, 69, 0.18);
}

.newsletter-card p {
    color: #4b5563;
    margin-bottom: 18px;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-form input[type="email"] {
    border: 1px solid rgba(220, 53, 69, 0.28);
    border-radius: 999px;
    padding: 12px 18px;
    font-size: 0.95rem;
    outline: none;
    transition: border 0.2s ease, box-shadow 0.2s ease;
}

.newsletter-form input[type="email"]:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.12);
}

.newsletter-card small {
    display: block;
    margin-top: 12px;
    color: #6b7280;
    font-size: 0.75rem;
}

.noticias-empty {
    text-align: center;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.08), rgba(220, 53, 69, 0));
    border-radius: 26px;
    padding: 80px 40px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.1);
}

.noticias-empty i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 16px;
}

.noticias-empty h2 {
    font-size: 1.9rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.noticias-empty p {
    color: #4b5563;
    font-size: 1.05rem;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 1320px) {
    .noticia-destacada-card {
        grid-template-columns: 1fr;
    }

    .noticia-destacada-media,
    .noticia-destacada-media button,
    .noticia-destacada-media img {
        height: 380px;
    }
}

@media (max-width: 1024px) {
    .noticias-page {
        padding: 64px 0;
    }

    .noticias-layout {
        grid-template-columns: 1fr;
        max-width: 640px;
    }

    .noticias-column {
        gap: 28px;
    }

    .noticias-complementarias-grid {
        grid-template-columns: 1fr;
    }

    .sidebar-card {
        flex: 1 1 auto;
    }

    .noticia-meta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 820px) {
    .noticia-destacada-contenido {
        padding: 36px 26px;
    }

    .noticia-destacada-contenido .noticia-titulo {
        font-size: 1.9rem;
    }
}

@media (max-width: 640px) {
    .noticias-header h1 {
        font-size: 2rem;
    }

    .noticia-imagen img {
        height: 200px;
    }

    .noticia-contenido {
        padding: 22px;
    }

    .noticia-destacada-contenido .noticia-descripcion {
        font-size: 1rem;
    }

    .noticia-destacada-acciones {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-outline,
    .noticia-destacada-acciones .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------
   Vista detalle de noticia
----------------------------------------------------- */
.noticia-detalle-page {
    background: #f6f8fb;
    padding: 110px 0 80px;
}

.noticia-detalle-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.noticia-detalle-header {
    padding: 38px 44px 24px;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.7));
}

.noticia-detalle-header h1 {
    font-size: 2.4rem;
    margin: 18px 0 12px;
    color: #1f2937;
    line-height: 1.2;
}

.noticia-detalle-resumen {
    font-size: 1.05rem;
    color: #d1d7df;
    line-height: 1.7;
    margin: 0;
}

.noticia-detalle-fecha {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.noticia-detalle-figure {
    margin: 0;
}

.noticia-detalle-figure button {
    border: none;
    padding: 0;
    background: transparent;
    cursor: zoom-in;
    width: 100%;
}

.noticia-detalle-figure img {
    width: 100%;
    max-height: 420px;
    height: auto;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.7));
}

.noticia-detalle-contenido {
    padding: 36px 44px 12px;
    color: #1f2937;
    font-size: 1.05rem;
    line-height: 1.8;
}

.noticia-detalle-contenido p {
    margin-bottom: 1.4rem;
}

.noticia-detalle-footer {
    padding: 0 44px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.noticia-detalle-share {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #6b7280;
}

.noticia-detalle-share a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.noticia-detalle-share a:hover {
    background: #dc3545;
    color: #ffffff;
}

.noticia-detalle-empty {
    text-align: center;
    background: #ffffff;
    border-radius: 28px;
    padding: 80px 40px;
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.noticia-detalle-empty i {
    font-size: 3rem;
    color: #dc3545;
    margin-bottom: 16px;
}

.noticia-detalle-empty h1 {
    font-size: 2rem;
    margin-bottom: 12px;
    color: #1f2937;
}

.breadcrumb-noticia {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #6b7280;
}

.breadcrumb-link {
    color: #dc3545;
    text-decoration: none;
    font-weight: 600;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .noticia-detalle-header {
        padding: 28px 24px 18px;
    }

    .noticia-detalle-figure img {
        max-height: 320px;
    }

    .noticia-detalle-contenido {
        padding: 28px 24px 12px;
    }

    .noticia-detalle-footer {
        padding: 0 24px 28px;
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .noticia-detalle-header h1 {
        font-size: 2rem;
    }

    .noticia-detalle-page {
        padding: 90px 0 60px;
    }

    .noticia-detalle-figure img {
        height: 260px;
    }
}

.noticia-image-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 40px 24px;
}

.noticia-image-modal.is-visible {
    display: flex;
}

.noticia-image-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
}

.noticia-image-modal-content img {
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.12), rgba(255, 255, 255, 0.7));
}

.noticia-image-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(0, 0, 0, 0.65);
    color: #ffffff;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.noticia-image-modal-close:hover {
    background: rgba(220, 53, 69, 0.85);
}

.noticia-image-modal-caption {
    padding: 14px 20px;
    font-size: 0.95rem;
    color: #1f2937;
    background: #ffffff;
}

.noticias-filtros {
    margin-top: 26px;
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    align-items: flex-end;
}

.noticias-filtros .filtro-campo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.noticias-filtros label {
    font-weight: 600;
    color: #4b5563;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.noticias-filtros select {
    min-width: 160px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(220, 53, 69, 0.26);
    transition: border 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.noticias-filtros select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.16);
}

.noticias-filtros .filtro-acciones {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

@media (max-width: 640px) {
    .noticias-filtros {
        flex-direction: column;
        align-items: stretch;
    }

    .noticias-filtros .filtro-campo,
    .noticias-filtros .filtro-acciones {
        width: 100%;
        align-items: stretch;
    }

    .noticias-filtros select,
    .noticias-filtros .btn-primary,
    .noticias-filtros .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

