* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
    min-height: 100dvh;
}

.top-bar {
    padding: 1rem 0;
    color: white;
    background-image: url(../img/barra-colores-encabezado.svg);
    background-size: cover;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.logo-text img {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
    filter: brightness(1.1);
}

.header {
    background: linear-gradient(135deg, #63760b 0%, #87ebab 100%);
    color: white;
    padding: 3rem 1rem;
    text-align: center;
}

.header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.header p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.destacados {
    background: white;
    padding: 3rem 1rem;
}

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

.destacado-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 2px solid #77bf42;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.destacado-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.2);
    border-color: #FFD700;
}

.destacado-card h3 {
    color: #026f2c;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.destacado-card p {
    color: #666;
    font-size: 0.95rem;
}

.section-title {
    text-align: center;
    color: #161616;
    font-size: 2.5rem;
    margin: 3rem 0 2rem 0;
    font-weight: bold;
}
.section-title-sub {
    text-align: left;
    color: #161616;
    font-size: 2.5rem;
    margin: 3rem 0 2rem 0;
    font-weight: bold;
}
.section-subtitle {
    text-align: left;
    color: #161616;
    font-size: 1.5rem;
    margin: 3rem 0 2rem 0;
    font-weight: bold;
}

.informacion-section-sub {
    padding: 3rem 1rem;
    background: #f8f9fa;
    /*height: calc(100vh - 6rem);*/
}
.informacion-section {
    padding: 3rem 1rem;
    background: #f8f9fa;
}

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

.info-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(74, 144, 226, 0.15);
}

.card-image {
    height: 200px;
    background: linear-gradient(45deg, #4A90E2, #87CEEB);
    position: relative;
    overflow: hidden;
}

.card-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    color: #026f2c;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.noticias-section {
    background: white;
    padding: 3rem 1rem;
}

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

.noticia-card {
    border-left: 4px solid #77bf42;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 0 12px 12px 0;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.noticia-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(119, 191, 66, 0.1));
    transition: width 0.3s ease;
}

.noticia-card:hover {
    background: white;
    border-left-color: #026f2c;
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(119, 191, 66, 0.15);
}

.noticia-card:hover::before {
    width: 100%;
}

.noticia-card h4 {
    color: #026f2c;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    position: relative;
    z-index: 2;
}

.noticia-card p {
    color: #666;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.noticia-card:hover h4 {
    color: #63760b;
}

/* Añadir iconos opcionales */
.noticia-card::after {
    content: '→';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #77bf42;
    font-size: 1.2rem;
    font-weight: bold;
    opacity: 0;
    transition: all 0.3s ease;
}

.noticia-card:hover::after {
    opacity: 1;
    right: 1rem;
}

.footer {
    background-image: url(../img/barra-colores-encabezado.svg);
    background-size: cover;
    color: black;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(1.2);
}

/* Responsive */
@media (max-width: 768px) {
    .logo-text img {
        height: 60px;
        max-width: 250px;
    }

    .header h1 {
        font-size: 2.2rem;
    }

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

    .cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text img {
        height: 50px;
        max-width: 200px;
    }
}

/* Estilos para listas de links */
ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

ul li {
    margin-bottom: 1rem;
}

ul li a {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: white;
    color: #026f2c;
    text-decoration: none;
    border-left: 4px solid #77bf42;
    border-radius: 0 8px 8px 0;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

ul li a:hover {
    background: #f8f9fa;
    border-left-color: #026f2c;
    transform: translateX(8px);
    box-shadow: 0 4px 15px rgba(119, 191, 66, 0.2);
    color: #63760b;
}

ul li a::after {
    content: '↗';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

ul li a:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

/* Variante más compacta si prefieres */
ul.compact li a {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
}

/* Variante con numeración automática */
ul.numbered {
    counter-reset: link-counter;
}

ul.numbered li {
    counter-increment: link-counter;
}

ul.numbered li a::before {
    content: counter(link-counter, decimal-leading-zero) '. ';
    color: #77bf42;
    font-weight: bold;
    margin-right: 0.5rem;
}
.footer-social {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: scale(1.1);
}

.social-icon {
    font-size: 20px;
}

.twitter {
    background-color: #000;
    color: white;
}

.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.facebook {
    background-color: #1877f2;
    color: white;
}
