/*
Theme Name: Enamórate de Pailitas
Theme URI: https://enamoratedelcesar.co
Description: Tema para el micrositio de Gestión Cultural Municipal de Pailitas, Cesar, Colombia
Author: Alcaldía de Pailitas
Author URI: https://pailitas-cesar.gov.co
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: enamorate-pailitas
Tags: cultura, pailitas, institucional, gobierno
*/

/* Variables de colores institucionales */
:root {
    --verde: #06652F;
    --rojo: #DA121A;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --gris-oscuro: #333333;
}

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

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--verde);
    margin-bottom: 1rem;
}

a {
    color: var(--verde);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--rojo);
}

img {
    max-width: 100%;
    height: auto;
}

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

.text-center {
    text-align: center;
}

/* ============================================
   HEADER
   ============================================ */
.site-header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    overflow-x: hidden;
}

.header-top {
    background: linear-gradient(135deg, #06652F 0%, #0d7a3d 100%);
    padding: 8px 0;
    color: #FFFFFF;
    font-size: 0.85rem;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-links span {
    font-size: 0.9rem;
}

.social-links a {
    color: #FFFFFF;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #FFD700;
    transform: scale(1.1);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

.header-main {
    padding: 8px 0;
}

.header-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.logos-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: auto;
}

.logo-escudo {
    width: 70px;
    max-width: 70px;
}

.logo-enamorate {
    width: 90px;
    max-width: 90px;
}

.logo-upc {
    width: 95px;
    max-width: 95px;
}

.site-info {
    display: flex;
    flex-direction: column;
}

.site-title {
    margin: 0;
    font-size: 1.3rem;
    color: var(--verde);
    line-height: 1.2;
}

.site-title a {
    color: var(--verde);
}

.site-description {
    color: var(--rojo);
    margin: 0;
    font-size: 0.85rem;
}

/* Navegación */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--verde);
    font-weight: 500;
    padding: 10px 12px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    position: relative;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 15px;
    right: 15px;
    height: 2px;
    background-color: var(--rojo);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    transform: scaleX(1);
}

.nav-menu a.btn-especial {
    background-color: var(--rojo);
    color: #FFFFFF !important;
    border-radius: 5px;
}

.nav-menu a.btn-especial::after {
    display: none;
}

.nav-menu a.btn-especial:hover {
    background-color: #b10f15;
    transform: translateY(-2px);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--verde);
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================
   HERO CON MAPA SVG
   ============================================ */
.hero-map {
    background: linear-gradient(135deg, #06652F 0%, #0d7a3d 50%, #DA121A 100%);
    min-height: 360px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 20px;
    text-align: center;
    position: relative;
}

.hero-map .container {
    position: relative;
    z-index: 1;
}

.map-svg {
    max-width: 800px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: float 6s ease-in-out infinite;
    margin-bottom: 0;
}

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

.municipio {
    fill: #FFFFFF;
    transition: fill 0.3s ease;
}

.municipio:hover {
    fill: #FFD700;
}



.hero-text {
    color: #FFFFFF;
    margin-top: 5px;
}

.hero-text h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: #F5F5F5;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    display: inline-block;
    background-color: var(--rojo);
    color: #FFFFFF;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary:hover {
    background-color: #b10f15;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 18, 26, 0.4);
}

/* ============================================
   CARRUSEL DE IMÁGENES
   ============================================ */
.carousel-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    margin-top: 20px;
    padding-top: 0;
}

.carousel-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    color: #FFFFFF;
    padding: 40px 20px 30px;
    text-align: center;
}

.carousel-caption h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    color: #F5F5F5;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--verde);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background-color: var(--rojo);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background-color: var(--rojo);
    border-color: var(--rojo);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}



/* ============================================
   SECCIONES
   ============================================ */
.section-programas,
.section-noticias {
    padding: 60px 20px;
    background-color: #F9F9F9;
}

.section-cta {
    padding: 80px 20px;
    background: linear-gradient(135deg, #06652F 0%, #0d7a3d 100%);
    color: #FFFFFF;
}

.section-cta h2 {
    color: #FFFFFF;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-cta p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #F5F5F5;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--verde);
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 50px;
}


/* ============================================
   CARRUSEL DE IMÁGENES
   ============================================ */
.carousel-section {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #000;
    margin-top: 20px;
    padding-top: 0;
}

.carousel-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
}

.carousel-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    image-rendering: auto;
    -ms-interpolation-mode: bicubic;
}

.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0));
    color: #FFFFFF;
    padding: 40px 20px 30px;
    text-align: center;
}

.carousel-caption h3 {
    color: #FFFFFF;
    font-size: 2rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    color: #F5F5F5;
    font-size: 1.2rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Botones de navegación */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    color: var(--verde);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background-color: var(--rojo);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn-prev {
    left: 20px;
}

.carousel-btn-next {
    right: 20px;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicadores */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-indicator.active {
    background-color: var(--rojo);
    border-color: var(--rojo);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}


/* ============================================
   CARDS/TARJETAS
   ============================================ */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card-date {
    color: var(--rojo);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--verde);
    margin-bottom: 15px;
}

.card-text {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.card-link {
    color: var(--rojo);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.card-link:hover {
    gap: 10px;
}

/* ============================================
   CONTENIDO INTERNO
   ============================================ */
.content-page {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.content-page h2 {
    font-size: 2rem;
    color: var(--verde);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 5px solid var(--rojo);
    padding-left: 15px;
}

.content-page h3 {
    font-size: 1.5rem;
    color: var(--verde);
    margin-top: 25px;
    margin-bottom: 12px;
}

.content-page p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.content-page ul,
.content-page ol {
    margin: 20px 0 20px 30px;
    line-height: 1.8;
}

.content-page li {
    margin-bottom: 10px;
    color: #444;
}

.content-intro {
    font-size: 1.2rem;
    color: #555;
    margin-bottom: 40px;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(6, 101, 47, 0.08) 0%, rgba(218, 18, 26, 0.08) 100%);
    border-left: 5px solid var(--rojo);
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.info-box {
    background-color: #F0F8FF;
    border: 2px solid var(--verde);
    border-radius: 10px;
    padding: 25px;
    margin: 30px 0;
}

.info-box h3 {
    color: var(--verde);
    margin-top: 0;
}

.highlight-box {
    background-color: #FFF5F5;
    border-left: 5px solid var(--rojo);
    padding: 20px;
    margin: 25px 0;
    border-radius: 5px;
}

/* ============================================
   PÁGINA DE DESTINOS
   ============================================ */
.destinos-page {
    padding: 30px 20px;
    background: linear-gradient(to bottom, #FFFFFF 0%, #FAFAFA 100%);
}

.destino-item {
    margin-bottom: 50px;
    padding: 15px 30px 30px;
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #E0E0E0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destino-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.destino-item:last-child {
    margin-bottom: 40px;
}

.destino-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--verde);
    margin-bottom: 12px;
    margin-top: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 10px 25px;
    background: linear-gradient(135deg, rgba(6, 101, 47, 0.1) 0%, rgba(218, 18, 26, 0.1) 100%);
    border-radius: 15px;
    display: inline-block;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.destino-title::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(to right, var(--rojo), var(--verde));
    border-radius: 2px;
}

.destino-content {
    display: grid;
    grid-template-columns: 1.8fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.destino-images {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 400px;
    border: 3px solid var(--verde);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.destino-images:hover {
    border-color: var(--rojo);
    box-shadow: 0 15px 40px rgba(6, 101, 47, 0.3);
}

.destino-image-single {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
}

.destino-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.destino-image-single:hover img {
    transform: scale(1.05);
}

/* Carrusel interno para imágenes */
.destino-images-carousel {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    height: 100%;
}

.destino-images-carousel .destino-image-single {
    min-width: 100%;
    flex-shrink: 0;
    height: 400px;
}

.destino-images-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.6);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
    color: rgba(6, 101, 47, 0.7);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0.7;
}

.destino-images:has(.destino-image-single:nth-child(2)) .destino-images-nav {
    display: flex;
}

.destino-images-nav:hover {
    background: rgba(218, 18, 26, 0.85);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.05);
    opacity: 1;
}

.destino-images-nav.prev {
    left: 15px;
}

.destino-images-nav.next {
    right: 15px;
}

.destino-images-nav svg {
    width: 18px;
    height: 18px;
}

.destino-images-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 8px;
    z-index: 5;
}

.destino-images:has(.destino-image-single:nth-child(2)) .destino-images-indicators {
    display: flex;
}

.destino-images-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #FFFFFF;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.destino-images-indicator.active {
    background-color: var(--rojo);
    border-color: var(--rojo);
    transform: scale(1.2);
}

.destino-text {
    padding: 20px 25px;
    background: linear-gradient(135deg, #F0F8F0 0%, #FFFFFF 100%);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--verde);
    border-left: 5px solid var(--rojo);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    min-height: 400px;
    overflow-y: auto;
}

.destino-text p {
    margin-bottom: 10px;
    line-height: 1.55;
    color: #2C3E50;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: justify;
}

.destino-text p:last-child {
    margin-bottom: 0;
}

.destino-text p strong {
    color: var(--rojo);
    font-weight: 700;
    font-size: 1.15rem;
    display: block;
    margin-bottom: 8px;
    margin-top: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rojo);
    width: fit-content;
}

.destino-text p strong + br {
    display: block;
    margin-top: 8px;
    line-height: 1.6;
}

.destino-text p {
    position: relative;
}

/* Separador decorativo entre párrafos - solo para párrafos largos */
.destino-text p:not(:last-child):not(:has(strong))::after {
    content: '';
    display: block;
    width: 35px;
    height: 1px;
    background: linear-gradient(to right, rgba(6, 101, 47, 0.3), transparent);
    margin: 10px 0;
}

/* ============================================
   AGENDA CULTURAL - DISEÑO UX/UI PREMIUM
   ============================================ */
.agenda-section-title {
    font-size: 2.2rem;
    color: #1a1a1a;
    margin: 50px 0 40px;
    font-weight: 700;
    text-align: left;
    position: relative;
    padding-left: 20px;
    letter-spacing: -0.5px;
}

.agenda-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 35px;
    background: linear-gradient(to bottom, var(--rojo), var(--verde));
    border-radius: 3px;
}

/* PRÓXIMOS EVENTOS DESTACADOS - DISEÑO PREMIUM */
.proximos-eventos {
    margin-bottom: 80px;
}

.eventos-destacados {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.evento-destacado {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(6, 101, 47, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
}

.evento-destacado::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--rojo) 0%, var(--verde) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.evento-destacado:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(6, 101, 47, 0.2);
}

.evento-destacado:hover::before {
    transform: scaleX(1);
}

.evento-imagen {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%);
    position: relative;
}

.evento-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.evento-destacado:hover .evento-imagen::after {
    opacity: 1;
}

.evento-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.evento-destacado:hover .evento-imagen img {
    transform: scale(1.08);
}

.evento-contenido {
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.evento-titulo {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    transition: color 0.3s ease;
}

.evento-destacado:hover .evento-titulo {
    color: var(--verde);
}

.evento-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.evento-fecha,
.evento-hora {
    font-size: 0.875rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--rojo) 0%, #c4141f 100%);
    border-radius: 25px;
    box-shadow: 0 2px 8px rgba(218, 18, 26, 0.25);
    letter-spacing: 0.3px;
}

.evento-descripcion {
    color: #4a4a4a;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}

/* AGENDA SEMANAL - DISEÑO PREMIUM */
.agenda-semanal {
    margin-bottom: 80px;
}

.semana-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
    position: relative;
}

.semana-container::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--verde) 0%, var(--rojo) 100%);
    opacity: 0.2;
    z-index: 0;
}

.dia-semana {
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 18px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(6, 101, 47, 0.08);
    position: relative;
    overflow: hidden;
}

.dia-semana::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--verde);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.dia-semana:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border-color: rgba(6, 101, 47, 0.2);
}

.dia-semana:hover::before {
    transform: scaleY(1);
}

.dia-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 28px;
    background: linear-gradient(135deg, rgba(6, 101, 47, 0.03) 0%, rgba(218, 18, 26, 0.03) 100%);
    border-bottom: 1px solid rgba(6, 101, 47, 0.1);
    position: relative;
}

.dia-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 28px;
    right: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--verde) 0%, transparent 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.dia-semana:hover .dia-header::after {
    transform: scaleX(1);
}

.dia-nombre {
    font-size: 1.2rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    padding-left: 20px;
}

.dia-nombre::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--verde);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(6, 101, 47, 0.1);
    transition: all 0.4s ease;
}

.dia-semana:hover .dia-nombre::before {
    background: var(--rojo);
    box-shadow: 0 0 0 6px rgba(218, 18, 26, 0.15);
    transform: translateY(-50%) scale(1.2);
}

.dia-fecha {
    font-size: 0.875rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--verde) 0%, #057a38 100%);
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(6, 101, 47, 0.2);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.dia-semana:hover .dia-fecha {
    background: linear-gradient(135deg, var(--rojo) 0%, #c4141f 100%);
    box-shadow: 0 4px 12px rgba(218, 18, 26, 0.3);
    transform: scale(1.05);
}

.eventos-del-dia {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
    padding: 20px 28px;
}

.evento-card {
    display: flex;
    background: #FFFFFF;
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(6, 101, 47, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    align-items: stretch;
	cursor: pointer;
}

.evento-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--verde);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.evento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(6, 101, 47, 0.2);
}

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

.evento-card-imagen {
    width: 110px;
    min-width: 110px;
    height: auto;
    min-height: 110px;
    align-self: stretch;
    overflow: hidden;
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.evento-card-imagen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(6, 101, 47, 0.1) 0%, rgba(218, 18, 26, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.evento-card:hover .evento-card-imagen::after {
    opacity: 1;
}

.evento-card-imagen img {
    width: 100%;
    height: 100%;
    min-height: 110px;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.evento-card:hover .evento-card-imagen img {
    transform: scale(1.1);
}

.evento-card-info {
    flex: 1;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    min-height: 110px;
}

.evento-card-titulo {
    font-size: 1.05rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.evento-card:hover .evento-card-titulo {
    color: var(--verde);
}

.evento-card-hora {
    font-size: 0.85rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--rojo) 0%, #c4141f 100%);
    border-radius: 20px;
    box-shadow: 0 2px 6px rgba(218, 18, 26, 0.2);
    letter-spacing: 0.3px;
    width: fit-content;
    margin: 4px 0;
    text-align: center;
}

.evento-card-descripcion {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.dia-vacio {
    padding: 40px 28px;
    text-align: center;
    color: #999;
    font-style: italic;
}

.dia-vacio p {
    margin: 0;
    font-size: 0.95rem;
    color: #999;
}

/* Indicador de programación en eventos */
.evento-card::after {
    content: 'Ver programación';
    position: absolute;
    bottom: 12px;
    right: 12px;
    font-size: 0.75rem;
    color: var(--verde);
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    background: rgba(255, 255, 255, 0.95);
    padding: 4px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.evento-card:hover::after {
    opacity: 1;
}

/* ============================================
   MODAL DE PROGRAMACIÓN DETALLADA - UX/UI PREMIUM
   ============================================ */
.evento-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.evento-modal.active {
    opacity: 1;
    visibility: visible;
}

.evento-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.evento-modal-content {
    position: relative;
    background: #FFFFFF;
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10001;
}

.evento-modal.active .evento-modal-content {
    transform: translateY(0);
    opacity: 1;
}

.evento-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #1a1a1a;
}

.evento-modal-close:hover {
    background: var(--rojo);
    color: #FFFFFF;
    transform: rotate(90deg);
    box-shadow: 0 6px 20px rgba(218, 18, 26, 0.3);
}

.evento-modal-header {
    display: flex;
    gap: 20px;
    padding: 25px 40px 15px;
    border-bottom: 1px solid rgba(6, 101, 47, 0.1);
    background: #FFFFFF;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.evento-modal.active .evento-modal-header {
    opacity: 1;
    transform: translateY(0);
}

.evento-modal-imagen {
    width: 180px;
    min-width: 180px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #E8E8E8 0%, #F5F5F5 100%);
}

.evento-modal-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.evento-modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.evento-modal-titulo {
    font-size: 2rem;
    color: #1a1a1a;
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.evento-modal-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.evento-modal-fecha,
.evento-modal-lugar {
    font-size: 0.9rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--verde) 0%, #057a38 100%);
    border-radius: 25px;
    box-shadow: 0 3px 10px rgba(6, 101, 47, 0.25);
    letter-spacing: 0.3px;
}

.evento-modal-lugar {
    background: linear-gradient(135deg, var(--rojo) 0%, #c4141f 100%);
    box-shadow: 0 3px 10px rgba(218, 18, 26, 0.25);
}

.evento-modal-body {
    padding: 30px 40px 40px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.evento-modal.active .evento-modal-body {
    opacity: 1;
    transform: translateY(0);
}

.programacion-titulo {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin: 0 0 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(6, 101, 47, 0.1);
    position: relative;
}

.programacion-titulo::before {
    content: '⏱';
    font-size: 2rem;
    background: linear-gradient(135deg, var(--verde) 0%, var(--rojo) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.programacion-titulo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--verde) 0%, var(--rojo) 100%);
    border-radius: 2px;
}

.programacion-timeline {
    position: relative;
    padding: 20px 0;
}

.programacion-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, 
        var(--verde) 0%, 
        rgba(6, 101, 47, 0.5) 50%, 
        var(--rojo) 100%);
    border-radius: 2px;
    box-shadow: 0 0 20px rgba(6, 101, 47, 0.3);
}

.programacion-item {
    position: relative;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: default;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.programacion-item.animate-in {
    animation: slideInCard 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.programacion-item:nth-child(odd) {
    flex-direction: row;
}

.programacion-item:nth-child(even) {
    flex-direction: row-reverse;
}

.programacion-item:nth-child(1) { animation-delay: 0.1s; }
.programacion-item:nth-child(2) { animation-delay: 0.2s; }
.programacion-item:nth-child(3) { animation-delay: 0.3s; }
.programacion-item:nth-child(4) { animation-delay: 0.4s; }
.programacion-item:nth-child(5) { animation-delay: 0.5s; }
.programacion-item:nth-child(6) { animation-delay: 0.6s; }
.programacion-item:nth-child(7) { animation-delay: 0.7s; }
.programacion-item:nth-child(8) { animation-delay: 0.8s; }

.programacion-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--verde) 0%, var(--rojo) 100%);
    border-radius: 50%;
    border: 5px solid #FFFFFF;
    box-shadow: 0 0 0 4px rgba(6, 101, 47, 0.2), 
                0 4px 20px rgba(6, 101, 47, 0.4),
                inset 0 2px 4px rgba(255, 255, 255, 0.3);
    z-index: 3;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.programacion-item:hover::before {
    transform: translate(-50%, -50%) scale(1.3);
    box-shadow: 0 0 0 6px rgba(6, 101, 47, 0.3), 
                0 6px 30px rgba(6, 101, 47, 0.5),
                inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

.programacion-item-content {
    flex: 1;
    max-width: 45%;
    position: relative;
    overflow: visible;
}

.programacion-item:nth-child(odd) .programacion-item-content {
    text-align: right;
}

.programacion-item:nth-child(even) .programacion-item-content {
    text-align: left;
}

.programacion-hora {
    font-size: 1.1rem;
    color: #FFFFFF;
    font-weight: 700;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--verde) 0%, #057a38 100%);
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(6, 101, 47, 0.35),
                0 2px 8px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.programacion-hora::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 ease;
}

.programacion-item:hover .programacion-hora::before {
    left: 100%;
}

.programacion-item:nth-child(even) .programacion-hora {
    background: linear-gradient(135deg, var(--rojo) 0%, #c4141f 100%);
    box-shadow: 0 4px 15px rgba(218, 18, 26, 0.35),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

.programacion-actividad {
    font-size: 1.05rem;
    color: #2a2a2a;
    line-height: 1.7;
    margin: 0;
    padding: 24px 28px;
    background: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    border-radius: 16px;
    border: 2px solid rgba(6, 101, 47, 0.1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08),
                0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.programacion-actividad::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(to bottom, var(--verde) 0%, var(--rojo) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    border-radius: 16px 0 0 16px;
}

.programacion-item:nth-child(even) .programacion-actividad::before {
    left: auto;
    right: 0;
    border-radius: 0 16px 16px 0;
}

.programacion-item:hover .programacion-actividad,
.programacion-item:focus-within .programacion-actividad,
.programacion-item.in-view .programacion-actividad {
    background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
    border-color: rgba(6, 101, 47, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
                0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.programacion-item:hover .programacion-actividad::before,
.programacion-item:focus-within .programacion-actividad::before,
.programacion-item.in-view .programacion-actividad::before {
    transform: scaleY(1);
}

/* Asegurar que el hover funcione incluso cuando el elemento está parcialmente visible */
.programacion-item:active .programacion-actividad::before {
    transform: scaleY(1);
}

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

@keyframes slideInTimeline {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Modal */
@media (max-width: 768px) {
    .evento-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .evento-modal-header {
        flex-direction: column;
        padding: 15px 20px 12px;
        gap: 12px;
    }
    
    .evento-modal-imagen {
        width: 100%;
        height: 200px;
    }
    
    .evento-modal-titulo {
        font-size: 1.5rem;
    }
    
    .evento-modal-body {
        padding: 15px 15px 25px;
    }
    
    .programacion-titulo {
        font-size: 1.4rem;
        margin-bottom: 25px;
        padding-bottom: 15px;
    }
    
    .programacion-titulo::before {
        font-size: 1.5rem;
    }
    
    .programacion-timeline {
        padding: 15px 0;
    }
    
    .programacion-timeline::before {
        left: 20px;
        transform: none;
        width: 3px;
    }
    
    .programacion-item {
        flex-direction: row !important;
        gap: 15px;
        margin-bottom: 28px;
        align-items: flex-start;
    }
    
    .programacion-item-content {
        max-width: calc(100% - 50px) !important;
        text-align: left !important;
        margin-left: 50px;
    }
    
    .programacion-item::before {
        left: 20px;
        top: 20px;
        transform: translateX(-50%);
        width: 20px;
        height: 20px;
        border-width: 4px;
    }
    
    .programacion-item:hover::before {
        transform: translateX(-50%) scale(1.2);
    }
    
    .programacion-hora {
        font-size: 0.9rem;
        padding: 10px 18px;
        margin-bottom: 12px;
        display: block;
        width: fit-content;
    }
    
    .programacion-actividad {
        font-size: 0.9rem;
        padding: 16px 18px;
        line-height: 1.6;
    }
    
    .programacion-item:hover .programacion-actividad {
        transform: translateY(-2px);
    }
    
    /* Asegurar que las animaciones funcionen en responsive */
    .programacion-item.animate-in {
        animation: slideInCard 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    .programacion-item:hover .programacion-actividad::before,
    .programacion-item:focus-within .programacion-actividad::before,
    .programacion-item.in-view .programacion-actividad::before {
        transform: scaleY(1);
    }
    
    .programacion-item.in-view .programacion-actividad {
        background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
        border-color: rgba(6, 101, 47, 0.3);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12),
                    0 4px 12px rgba(0, 0, 0, 0.08);
        transform: translateY(-4px);
    }
    
    .evento-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .evento-modal-content {
        width: 98%;
        max-height: 98vh;
        border-radius: 16px;
    }
    
    .evento-modal-header {
        padding: 12px 15px 10px;
        gap: 10px;    
	}
    
    .evento-modal-imagen {
        height: 160px;
    }
    
    .evento-modal-titulo {
        font-size: 1.3rem;
    }
    
    .evento-modal-body {
        padding: 15px 15px 25px;
    }
    
    .programacion-titulo {
        font-size: 1.2rem;
        margin-bottom: 25px;
        padding-bottom: 12px;
        gap: 12px;
    }
    
    .programacion-titulo::before {
        font-size: 1.3rem;
    }
    
    .programacion-timeline::before {
        left: 15px;
        width: 2px;
    }
    
    .programacion-item {
        gap: 12px;
        margin-bottom: 24px;
    }
    
    .programacion-item-content {
        margin-left: 40px;
        max-width: calc(100% - 40px) !important;
    }
    
    .programacion-item::before {
        left: 15px;
        top: 18px;
        width: 16px;
        height: 16px;
        border-width: 3px;
    }
    
    .programacion-hora {
        font-size: 0.85rem;
        padding: 8px 16px;
        margin-bottom: 10px;
    }
    
    .programacion-actividad {
        font-size: 0.85rem;
        padding: 14px 16px;
        line-height: 1.5;
    }
    
    /* Asegurar animaciones en móvil */
    .programacion-item.animate-in {
        animation: slideInCard 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    
    .programacion-item:hover .programacion-actividad::before,
    .programacion-item:focus-within .programacion-actividad::before,
    .programacion-item:active .programacion-actividad::before,
    .programacion-item.in-view .programacion-actividad::before {
        transform: scaleY(1);
    }
    
    .programacion-item.in-view .programacion-actividad {
        background: linear-gradient(135deg, #FFFFFF 0%, #F8F8F8 100%);
        border-color: rgba(6, 101, 47, 0.3);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1),
                    0 3px 10px rgba(0, 0, 0, 0.06);
        transform: translateY(-2px);
    }
    
    .evento-modal-close {
        top: 10px;
        right: 10px;
        width: 36px;
        height: 36px;
    }
    
    .evento-modal-fecha,
    .evento-modal-lugar {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background-color: #033d1c;
    color: #FFFFFF;
    padding: 50px 20px 20px;
}

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

.footer-section h3 {
    color: #FFFFFF;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #CCC;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #CCC;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.footer-section .social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.footer-section .social-links a {
    color: #FFFFFF;
    transition: all 0.3s ease;
}

.footer-section .social-links a:hover {
    color: #FFD700;
    transform: scale(1.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #AAA;
    font-size: 0.9rem;
}

/* ============================================
   BOTÓN SCROLL TO TOP
   ============================================ */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--rojo);
    color: #FFFFFF;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: #b10f15;
    transform: translateY(-5px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (min-width: 1201px) {
    .carousel-slide img {
        image-rendering: auto;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        filter: contrast(1.05) brightness(1.02);
    }
}

/* Pantallas grandes (1200px y menores) */
@media (max-width: 1200px) {
    .header-content {
        gap: 12px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .map-svg {
        width: min(92vw, 700px);
    }
    .hero-map {
        min-height: 420px;
        padding: 28px 20px;
    }
	
	    .carousel-section {
        margin-top: 15px;
    }
    
    .carousel-slides {
        height: 450px;
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
}

/* Tablets (1024px y menores) */
@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 15px;
    }
    
    .header-top {
        padding: 6px 0;
        font-size: 0.8rem;
    }
    
    .header-main {
        padding: 6px 0;
    }
    
    .header-content {
        gap: 6px;
    }
    
    .logo-escudo {
        width: 65px;
        max-width: 65px;
    }
    
    .logo-enamorate {
        width: 85px;
        max-width: 85px;
    }
    
    .logo-upc {
        width: 88px;
        max-width: 88px;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .site-description {
        font-size: 0.8rem;
    }
    
    .nav-menu {
        gap: 8px;
    }
    
    .nav-menu a {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
    
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
	
	 .carousel-section {
        margin-top: 12px;
    }
    
    .carousel-slides {
        height: 400px;
    }
    
    .carousel-caption {
        bottom: 40px;
        padding: 30px 20px 25px;
    }
    
    .carousel-caption h3 {
        font-size: 1.6rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-btn {
        width: 45px;
        height: 45px;
    }
    
    .carousel-btn-prev {
        left: 15px;
    }
    
    .carousel-btn-next {
        right: 15px;
    }
	
	 
    .destino-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    .destino-content {
        grid-template-columns: 1.5fr 1fr;
        gap: 40px;
    }
    
    .destino-images {
        height: 450px;
    }
    
    .destino-image-single {
        height: 450px;
    }
    
    .destino-images-carousel .destino-image-single {
        height: 450px;
    }
    
    .destino-text {
        min-height: 450px;
    }
	
}

/* Tablets medianas (900px y menores) */
@media (max-width: 900px) {
    .header-content {
        gap: 10px;
    }
    
    .logo-section {
        gap: 10px;
    }
    
    .logos-container {
        gap: 12px;
    }
    
    .logo-escudo {
        width: 60px;
        max-width: 60px;
    }
    
    .logo-enamorate {
        width: 80px;
        max-width: 80px;
    }
    
    .logo-upc {
        width: 82px;
        max-width: 82px;
    }
    
    .site-title {
        font-size: 1.15rem;
    }
    
    .nav-menu {
        gap: 6px;
    }
    
    .nav-menu a {
        font-size: 0.8rem;
        padding: 6px 8px;
    }
}

/* Tablets pequeñas y móviles grandes (768px y menores) */
@media (max-width: 768px) {
    .header-top {
        font-size: 0.8rem;
        padding: 8px 0;
    }
    
    .header-top .container {
        justify-content: center;
        text-align: center;
    }
    
    .social-links {
        gap: 10px;
        justify-content: center;
        width: 100%;
    }
    
    .social-links span {
        display: none;
    }
    
    .header-main {
        padding: 6px 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        justify-content: center;
    }
    
    .logo-section {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        width: 100%;
    }
    
    .logos-container {
        gap: 10px;
        justify-content: center;
    }
    
    .logo-escudo {
        width: 65px;
    }
    
    .logo-enamorate {
        width: 85px;
    }
    
    .logo-upc {
        width: 88px;
    }
    
    .site-info {
        text-align: center;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .site-description {
        font-size: 0.85rem;
    }
    
    .menu-toggle {
        display: flex;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 1001;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background-color: white;
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease;
        gap: 5px;
        overflow-y: auto;
        z-index: 1000;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        width: 100%;
        text-align: left;
        padding: 15px 20px;
        font-size: 0.95rem;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-menu a.btn-especial {
        margin-top: 10px;
        text-align: center;
    }
    
    .hero-map {
        min-height: 340px;
        padding: 20px 15px;
    }
    
    .map-svg {
        width: min(92vw, 420px);
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .hero-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .btn-primary {
        padding: 10px 25px;
        font-size: 0.9rem;
    }
    
    .section-programas,
    .section-noticias {
        padding: 40px 15px;
    }
    
    .section-cta {
        padding: 50px 15px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .card-icon {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .card-title {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 8px;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .section-cta h2 {
        font-size: 1.8rem;
    }
    
    .section-cta p {
        font-size: 1.1rem;
    }
    
    .content-page {
        padding: 40px 15px;
    }
    
    .content-page h2 {
        font-size: 1.6rem;
    }
    
    .content-page h3 {
        font-size: 1.3rem;
    }
    
    .info-box,
    .highlight-box {
        padding: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .site-footer {
        padding: 40px 15px 15px;
    }
    
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
	
	 .carousel-section {
        margin-top: 10px;
    }
    
    .carousel-slides {
        height: 350px;
    }
    
    .carousel-caption {
        bottom: 35px;
        padding: 25px 15px 20px;
    }
    
    .carousel-caption h3 {
        font-size: 1.4rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-btn-prev {
        left: 10px;
    }
    
    .carousel-btn-next {
        right: 10px;
    }
    
    .carousel-indicators {
        bottom: 15px;
    }
    
    .carousel-indicator {
        width: 10px;
        height: 10px;
    }
    
	  .destinos-page {
        padding: 20px 15px;
    }
    
    .destino-item {
        margin-bottom: 40px;
        padding: 15px 20px 25px;
    }
    
    .destino-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 10px 20px;
    }
    
    .destino-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .destino-images {
        height: 300px;
    }
    
    .destino-image-single {
        height: 300px;
    }
    
    .destino-images-carousel .destino-image-single {
        height: 300px;
    }
    
    .destino-text {
        position: static;
        padding: 20px;
        min-height: auto;
    }
    
    .destino-images-nav {
        width: 32px;
        height: 32px;
    }
    
    .destino-images-nav svg {
        width: 16px;
        height: 16px;
    }
	
	
    /* Agenda Responsive Tablet */
    .agenda-section-title {
        font-size: 1.8rem;
        margin: 40px 0 30px;
    }
    
    .eventos-destacados {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .evento-imagen {
        height: 200px;
    }
    
    .eventos-del-dia {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 15px;
    }
	
    /* Mostrar "Ver programación" siempre visible en móvil - solo para eventos de agenda */
    .agenda-semanal .evento-card::after,
    .eventos-del-dia .evento-card::after {
        opacity: 1 !important;
        font-size: 0.7rem;
        padding: 5px 12px;
        bottom: 10px;
        right: 10px;
    }
    
    
    .dia-nombre {
        font-size: 1.2rem;
    }
    
    .semana-container::before {
        left: 20px;
    }
    
    .evento-destacado {
        flex-direction: column;
    }
    
    .evento-imagen {
        width: 100%;
        min-width: 100%;
        height: 200px;
    }
    
    .evento-contenido {
        padding: 20px;
    }
    
    .evento-titulo {
        font-size: 1.2rem;
    }
    
    .eventos-destacados {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .evento-card-hora {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
    
    .evento-card-descripcion {
        font-size: 0.85rem;
    }
    
    .eventos-del-dia {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 20px;
    }
    
    .dia-header {
        padding: 10px 20px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .dia-vacio {
        padding: 30px 20px;
    }
    
    .dia-nombre {
        font-size: 1.1rem;
        padding-left: 18px;
    }
    
    .dia-nombre::before {
        width: 6px;
        height: 6px;
    }
    
    .semana-container::before {
        left: 15px;
    }
    
    .evento-card-imagen {
        width: 100px;
        min-width: 100px;
        height: auto;
        min-height: 100px;
    }
    
    .evento-card-imagen img {
        min-height: 100px;
    }
    
    .evento-card-info {
        padding: 15px;
        min-height: 100px;
    }
    
    .evento-card-titulo {
        font-size: 0.95rem;
    }
    
    .evento-card-descripcion {
        font-size: 0.85rem;
    }
    
    
}

/* Móviles pequeños (480px y menores) */
@media (max-width: 480px) {
    .header-top span {
        font-size: 0.75rem;
    }
    
    .logo-escudo {
        width: 55px;
    }
    
    .logo-enamorate {
        width: 65px;
    }
    
    .logo-upc {
        width: 70px;
    }
    
    .site-title {
        font-size: 1rem;
    }
    
    .site-description {
        font-size: 0.75rem;
    }
    
    .hero-map {
        min-height: 300px;
        padding: 18px 12px;
    }
    
    .map-svg {
        width: min(92vw, 320px);
    }
    
    .hero-text h2 {
        font-size: 1.5rem;
    }
    
    .hero-text p {
        font-size: 0.9rem;
    }
    
    .btn-primary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .card {
        padding: 20px;
    }
    
    .card-icon {
        font-size: 2rem;
    }
    
    .card-title {
        font-size: 1.2rem;
    }
    
    .card-text {
        font-size: 0.95rem;
    }
    
    .section-cta h2 {
        font-size: 1.5rem;
    }
    
    .section-cta p {
        font-size: 1rem;
    }
    
    .content-page h2 {
        font-size: 1.4rem;
    }
    
    .content-page h3 {
        font-size: 1.2rem;
    }
    
    .content-intro {
        font-size: 1rem;
        padding: 15px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-section p {
        font-size: 0.85rem;
    }
	
	 .carousel-section {
        margin-top: 8px;
    }
    
    .carousel-slides {
        height: 300px;
    }
    
    .carousel-caption {
        bottom: 30px;
        padding: 20px 12px 15px;
    }
    
    .carousel-caption h3 {
        font-size: 1.2rem;
    }
    
    .carousel-caption p {
        font-size: 0.85rem;
    }
    
    .carousel-btn {
        width: 35px;
        height: 35px;
    }
    
    .carousel-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .carousel-btn-prev {
        left: 8px;
    }
    
    .carousel-btn-next {
        right: 8px;
    }
    
    .carousel-indicators {
        bottom: 10px;
        gap: 8px;
    }
    
    .carousel-indicator {
        width: 8px;
        height: 8px;
    }
	
	 .destinos-page {
        padding: 15px 10px;
    }
    
    .destino-item {
        margin-bottom: 30px;
        padding: 12px 15px 20px;
    }
    
    .destino-title {
        font-size: 1.5rem;
        margin-bottom: 12px;
        padding: 8px 15px;
    }
    
    .destino-content {
        gap: 15px;
    }
    
    .destino-images {
        height: 250px;
    }
    
    .destino-image-single {
        height: 250px;
    }
    
    .destino-images-carousel .destino-image-single {
        height: 250px;
    }
    
    .destino-text {
        padding: 15px;
        min-height: auto;
    }
    
    .destino-text p {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    
    .destino-images-nav {
        width: 30px;
        height: 30px;
    }
    
    .destino-images-nav svg {
        width: 14px;
        height: 14px;
    }
    
    .destino-images-indicators {
        bottom: 10px;
    }
	
	 /* Agenda Responsive Móvil */
    .agenda-section-title {
        font-size: 1.4rem;
        margin: 25px 0 15px;
    }
    
    .evento-destacado {
        flex-direction: column;
    }
    
    .evento-imagen {
        width: 100%;
        min-width: 100%;
        height: 180px;
    }
    
    .evento-contenido {
        padding: 15px;
    }
    
    .evento-titulo {
        font-size: 1.1rem;
    }
    
    .evento-card-hora {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
    
    .evento-card-descripcion {
        font-size: 0.8rem;
    }
    
    .evento-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .evento-fecha,
    .evento-hora {
        font-size: 0.85rem;
    }
    
    .evento-descripcion {
        font-size: 0.9rem;
    }
    
    .agenda-section-title {
        font-size: 1.5rem;
        margin: 35px 0 25px;
        padding-left: 15px;
    }
    
    .agenda-section-title::before {
        width: 4px;
        height: 28px;
    }
    
    .eventos-destacados {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }
    
    .evento-imagen {
        height: 160px;
    }
    
    .evento-contenido {
        padding: 18px;
        gap: 12px;
    }
    
    .evento-titulo {
        font-size: 1.2rem;
    }
    
    .evento-fecha,
    .evento-hora {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .evento-descripcion {
        font-size: 0.9rem;
    }
	
   /* Mostrar "Ver programación" siempre visible en móvil pequeño - solo para eventos de agenda */
    .agenda-semanal .evento-card::after,
    .eventos-del-dia .evento-card::after {
        opacity: 1 !important;
        font-size: 0.65rem;
        padding: 4px 10px;
        bottom: 8px;
        right: 8px;
    }
	
	
    .semana-container {
        gap: 18px;
        margin-top: 30px;
    }
    
    .semana-container::before {
        left: 12px;
    }
    
    .dia-semana {
        border-radius: 15px;
    }
    
    .dia-header {
        padding: 8px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    
    .dia-vacio {
        padding: 25px 18px;
    }
    
    .dia-vacio p {
        font-size: 0.85rem;
    }
    
    .dia-nombre {
        font-size: 1rem;
        padding-left: 16px;
    }
    
    .dia-nombre::before {
        width: 6px;
        height: 6px;
        box-shadow: 0 0 0 3px rgba(6, 101, 47, 0.1);
    }
    
    .dia-fecha {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    .eventos-del-dia {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px;
    }
    
    .evento-card {
        border-radius: 12px;
    }
    
    .evento-card-imagen {
        width: 90px;
        min-width: 90px;
        height: auto;
        min-height: 90px;
    }
    
    .evento-card-imagen img {
        min-height: 90px;
    }
    
    .evento-card-info {
        padding: 14px;
        gap: 5px;
        min-height: 90px;
    }
    
    .evento-card-titulo {
        font-size: 0.9rem;
    }
    
    .evento-card-descripcion {
        font-size: 0.8rem;
    }
    
}

/* Móviles extra pequeños (360px y menores) */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-text h2 {
        font-size: 1.3rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .card {
        padding: 15px;
    }
    
    .nav-menu {
        width: 90%;
    }
}

