/*
  Enamórate de Chiriguana - Gestión Cultural Municipal
  Colores: bandera de Chiriguana (verde, amarillo, blanco)
  Cesar, Colombia
*/

/* Variables de colores institucionales - Bandera Chiriguaná */
:root {
    --verde: #0B5C2E;
    --amarillo: #F0C014;
    --amarillo-oscuro: #D4A017;
    --blanco: #FFFFFF;
    --gris-claro: #F5F5F5;
    --gris-oscuro: #333333;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Overpass', 'Segoe UI', sans-serif;
    color: #2C3E50;
    line-height: 1.6;
    background-color: #FFFFFF;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Overpass', '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(--verde);
}

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, #0B5C2E 0%, #0E8B47 50%, #F0C014 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;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.header-contact svg {
    flex-shrink: 0;
}

.map-svg-placeholder .map-svg {
    max-width: 500px;
    margin: 0 auto 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: #FFFFFF;
}

.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-bandera {
    width: 56px;
    max-width: 56px;
    object-fit: contain;
}

.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(--amarillo);
    margin: 0;
    font-size: 0.85rem;
    text-transform: none;
}

/* 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(--amarillo);
    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(--amarillo);
    color: #FFFFFF !important;
    border-radius: 5px;
}

.nav-menu a.btn-especial::after {
    display: none;
}

.nav-menu a.btn-especial:hover {
    background-color: var(--amarillo);
}

.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, #0B5C2E 0%, #0E8B47 50%, #F0C014 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: #FFFFFF;
}



.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(--amarillo);
    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: var(--amarillo);
}

/* ============================================
   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: rgba(255, 255, 255, 0.9);
    color: var(--verde);
}

.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(--amarillo);
    border-color: var(--amarillo);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background-color: transparent;
    border-color: #FFFFFF;
}

/* ============================================
   SECCIONES
   ============================================ */
.section-destinos,
.section-noticias {
    padding: 24px 20px;
    background-color: #F9F9F9;
}

.section-noticias .section-title {
    margin-bottom: 4px;
}

.section-noticias .section-subtitle {
    margin-bottom: 14px;
}

/* Decoración de cards en Destinos y en Últimas Noticias */
.section-destinos .card,
.section-noticias .card {
    border-top: 3px solid var(--amarillo);
}

/* Imagen en cards de noticias */
.section-noticias .card {
    padding-top: 0;
    overflow: hidden;
}

.section-noticias .card-image {
    margin: 0 -30px 20px -30px;
    line-height: 0;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.section-noticias .card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.section-destinos .card-icon {
    width: 64px;
    height: 64px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 50%;
    background: rgba(240, 192, 20, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-destinos .card-icon svg {
    color: var(--verde);
}

.section-cta {
    padding: 0;
    background: linear-gradient(135deg, #0B5C2E 0%, #0E8B47 100%);
    color: #FFFFFF;
    overflow: hidden;
}

.cta-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 380px;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-image {
    position: relative;
    min-height: 280px;
}

.cta-image img {
    width: 100%;
    height: 100%;
    min-height: 380px;
    object-fit: cover;
    display: block;
}

.cta-content {
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.section-cta h2 {
    color: #FFFFFF;
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-cta p {
    font-size: 1.1rem;
    margin-bottom: 28px;
    color: #F5F5F5;
    line-height: 1.6;
}

.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: rgba(255, 255, 255, 0.9);
    color: var(--verde);
}

.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(--amarillo);
    border-color: var(--amarillo);
    transform: scale(1.2);
}

.carousel-indicator:hover {
    background-color: transparent;
    border-color: #FFFFFF;
}


/* ============================================
   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 {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-icon svg {
    width: 48px;
    height: 48px;
    color: var(--verde);
    flex-shrink: 0;
}

.card-date {
    color: var(--amarillo-oscuro);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.5rem;
    color: var(--verde);
    margin-bottom: 15px;
    text-align: center;
}

.card-text {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
    text-align: justify;
}

.card-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    gap: 6px;
    color: var(--amarillo-oscuro);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 16px;
    padding: 6px 14px;
    background: rgba(240, 192, 20, 0.15);
    border: 1px solid rgba(240, 192, 20, 0.4);
    border-radius: 50px;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 1px 3px rgba(240, 192, 20, 0.1);
}

.card-link .card-link-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.card-link:hover {
    background: rgba(240, 192, 20, 0.15);
    color: var(--amarillo-oscuro);
    border-color: rgba(240, 192, 20, 0.4);
    box-shadow: 0 1px 3px rgba(240, 192, 20, 0.1);
}

.card-link:hover .card-link-icon {
    transform: translateX(2px);
}

.card-link--disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

/* ============================================
   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(--amarillo);
    padding-left: 15px;
}

/* Los h2 con .agenda-section-title no usan los estilos de .content-page h2 */
.content-page h2.agenda-section-title {
    border-left: none;
    padding-left: 20px;
    margin-top: unset;
    margin-bottom: unset;
    color: #1a1a1a;
}

.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.1rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 40px;
    padding: 0;
    text-align: center;
}


.content-page.agenda-page {
    padding-top: 32px;
}

.content-page.agenda-page .agenda-section-title:first-of-type {
    margin-top: 0;
}

.content-page.agenda-page .agenda-section-title:nth-of-type(2) {
    margin-top: 8px;
    margin-bottom: 20px;
}

.content-page.agenda-page .section-noticias {
    padding-top: 16px;
}

.content-page.agenda-page .section-noticias .cards-grid {
    margin-top: 20px;
}

.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: #FFFDF5;
    border-left: 5px solid var(--amarillo);
    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%);
}

/* Layout con lista lateral de destinos */
.destinos-layout {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 24px;
    align-items: start;
}

.destinos-sidebar {
    position: sticky;
    top: 230px;
    align-self: start;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 16px;
    z-index: 1;
}

/* Evita que el header fijo tape el destino al hacer click */
.destinos-page .destino-item {
    scroll-margin-top: 240px;
}

.destinos-sidebar-title {
    font-weight: 800;
    color: var(--verde);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 10px;
    text-align: center;
}

.destinos-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.destinos-nav-link {
    display: block;
    padding: 8px 10px;
    border-radius: 10px;
    border: 1px solid rgba(11, 92, 46, 0.10);
    background: rgba(11, 92, 46, 0.04);
    color: #1a1a1a;
    font-weight: 600;
    font-size: 0.92rem;
}

.destinos-nav-link:hover {
    color: #1a1a1a;
    background: rgba(240, 192, 20, 0.12);
    border-color: rgba(240, 192, 20, 0.35);
}

.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(--amarillo), 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(--amarillo);
    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.72);
    border: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
    color: rgba(11, 92, 46, 0.95);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
}

.destino-images:has(.destino-image-single:nth-child(2)) .destino-images-nav {
    display: flex;
}

.destino-images-nav:hover {
    background: rgba(11, 92, 46, 0.92);
    border-color: rgba(11, 92, 46, 0.3);
    color: #FFFFFF;
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 14px 34px rgba(11, 92, 46, 0.28);
}

.destino-images:hover .destino-images-nav {
    opacity: 0.85;
    pointer-events: auto;
}

.destino-images-nav:active {
    transform: translateY(-50%) scale(0.98);
}

.destino-images-nav.prev {
    left: 15px;
}

.destino-images-nav.next {
    right: 15px;
}

.destino-images-nav svg {
    width: 18px;
    height: 18px;
    display: block;
}

.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(--amarillo);
    border-color: var(--amarillo);
    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(--amarillo);
    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(--amarillo);
    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(--amarillo);
    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;
    background: transparent;
}

.agenda-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 35px;
    background: linear-gradient(to bottom, var(--amarillo), 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(--amarillo) 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(--amarillo) 0%, var(--amarillo-oscuro) 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: 24px;
}

.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(--amarillo) 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 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(6, 101, 47, 0.2);
    position: relative;
    overflow: hidden;
}

.dia-semana::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--verde);
    transform: scaleY(1);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.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(1);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.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%) scale(1.2);
    width: 8px;
    height: 8px;
    background: var(--amarillo);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(218, 18, 26, 0.15);
    transition: all 0.4s ease;
}

.dia-fecha {
    font-size: 0.875rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--amarillo) 0%, var(--amarillo-oscuro) 100%);
    border-radius: 25px;
    box-shadow: 0 4px 12px rgba(218, 18, 26, 0.3);
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    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.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    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(1);
    transform-origin: top;
    transition: transform 0.3s ease;
}

.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: 1;
    transition: opacity 0.3s ease;
}

.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-imagen img {
    transform: scale(1.05);
}

.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: var(--verde);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: -0.2px;
    transition: color 0.3s ease;
}

.evento-card-hora {
    font-size: 0.85rem;
    color: #FFFFFF;
    font-weight: 600;
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--amarillo) 0%, var(--amarillo-oscuro) 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: 1;
    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);
}

/* ============================================
   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(--amarillo);
    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: 260px;
    min-width: 260px;
    height: 260px;
    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(--amarillo) 0%, var(--amarillo-oscuro) 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(--amarillo) 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(--amarillo) 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(--amarillo) 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(--amarillo) 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(--amarillo) 0%, var(--amarillo-oscuro) 100%);
    box-shadow: 0 4px 15px rgba(218, 18, 26, 0.35),
                0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Etiquetas de categoría para noticias */
.noticias-page .news-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--verde);
    background: rgba(11, 92, 46, 0.06);
    border-radius: 999px;
    padding: 4px 12px;
    margin: 4px 0 10px 0;
}

.noticias-page .news-tag--convocatoria {
    color: #8a4b00;
    background: rgba(240, 192, 20, 0.12);
}

.noticias-page .news-tag--evento {
    color: #0B5C2E;
}

.noticias-page .news-tag--formacion {
    color: #074b90;
    background: rgba(7, 75, 144, 0.06);
}

/* ============================================
   CURSOS DE FORMACIÓN (LISTADO)
   Prefijo .ch-cursos-page para ganar a estilos del tema.
   Flex con flex-basis fijo: 2 columnas (tablet) y 3 (escritorio).
   ============================================ */
.ch-cursos-page .ch-cursos-section-inner {
    max-width: 100%;
    padding: 0;
    width: 100%;
}

.ch-cursos-backline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
    margin: 4px auto 18px;
    padding: 12px 16px;
    max-width: 720px;
    background: rgba(11, 92, 46, 0.05);
    border: 1px solid rgba(11, 92, 46, 0.12);
    border-radius: 10px;
    font-size: 0.92rem;
}

.ch-cursos-backline__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--verde);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ch-cursos-backline__link:hover {
    color: var(--amarillo-oscuro);
    text-decoration: underline;
}

.ch-cursos-backline__arrow {
    font-size: 1.1em;
    line-height: 1;
}

.ch-cursos-backline__current {
    color: #555;
    font-weight: 600;
    padding: 4px 12px;
    background: #fff;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.ch-cursos-page .ch-cursos-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    align-content: flex-start;
    gap: 18px;
    width: 100%;
    max-width: 1040px;
    margin: 18px auto 0;
    padding: 0 12px;
    box-sizing: border-box;
}

.ch-cursos-page .ch-cursos-grid > article.ch-curso-card.card {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 16px 16px 14px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    flex: 0 0 auto;
    min-width: 0;
}

/* Tablet: 2 tarjetas por fila (ancho fijo, filas centradas) */
@media (min-width: 640px) {
    .ch-cursos-page .ch-cursos-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 18px;
        padding: 0 16px;
    }

    .ch-cursos-page .ch-cursos-grid > article.ch-curso-card.card {
        width: 280px;
        max-width: 280px;
        flex: 0 0 280px;
    }
}

/* Escritorio: 3 tarjetas por fila */
@media (min-width: 1024px) {
    .ch-cursos-page .ch-cursos-grid {
        max-width: 1000px;
        gap: 20px;
        padding: 0 20px;
    }

    .ch-cursos-page .ch-cursos-grid > article.ch-curso-card.card {
        width: 300px;
        max-width: 300px;
        flex: 0 0 300px;
    }
}

.ch-cursos-page .ch-cursos-grid > article.ch-curso-card.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.11);
}

/* Imagen más baja y márgenes acordes al padding compacto */
.section-noticias .ch-curso-card .card-image {
    margin: 0 -16px 10px -16px;
    border-radius: 8px 8px 0 0;
}

.section-noticias .ch-curso-card .card-image img {
    height: 128px;
}

.ch-curso-card .news-tag {
    font-size: 0.68rem;
    padding: 2px 8px;
    margin: 0 0 6px 0;
    letter-spacing: 0.06em;
}

.ch-curso-card .card-title {
    text-align: left;
    font-size: 1.05rem;
    line-height: 1.2;
    margin-bottom: 8px;
}

.ch-curso-card .card-text {
    text-align: left;
    font-size: 0.82rem;
    line-height: 1.45;
    margin-bottom: 12px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ch-curso-card .card-link {
    align-self: flex-start;
    margin-top: auto;
    font-size: 0.78rem;
    padding: 5px 11px;
}

.ch-curso-card .card-link .card-link-icon {
    width: 12px;
    height: 12px;
}

.ch-curso-card__meta {
    list-style: none;
    margin: 0 0 8px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.76rem;
    color: #555;
    line-height: 1.3;
}

.ch-curso-card__meta li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
}

.ch-curso-card__meta .ch-curso-card__ico {
    flex-shrink: 0;
    margin-top: 1px;
    width: 13px;
    height: 13px;
    color: var(--verde);
    opacity: 0.88;
}

.ch-cursos-footer {
    margin-top: 1.75rem;
    text-align: center;
}

@media (max-width: 639px) {
    .ch-cursos-page .ch-cursos-grid {
        gap: 14px;
        margin-top: 14px;
    }

    .ch-cursos-page .ch-cursos-grid > article.ch-curso-card.card {
        max-width: 100%;
        width: 100%;
        padding: 16px 18px 14px;
    }

    .ch-cursos-backline {
        margin-bottom: 14px;
        padding: 10px 12px;
        font-size: 0.88rem;
    }

    .section-noticias .ch-curso-card .card-image {
        margin: 0 -18px 10px -18px;
    }

    .section-noticias .ch-curso-card .card-image img {
        height: 150px;
    }
}

/* ============================================
   NOTICIA (DETALLE) - DISEÑO PROFESIONAL
   ============================================ */
.news-detail {
    max-width: 920px;
    margin: 0 auto;
}

.news-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: #666;
    margin: 8px 0 18px;
}

.news-breadcrumb a {
    color: var(--verde);
    font-weight: 600;
}

.news-header {
    margin-bottom: 18px;
}

.news-header .section-title {
    margin-bottom: 10px;
}

.news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
}

.news-meta .news-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    background: rgba(11, 92, 46, 0.06);
    border: 1px solid rgba(11, 92, 46, 0.10);
    padding: 8px 12px;
    border-radius: 999px;
}

.news-hero {
    margin: 18px 0 22px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    background: #f3f3f3;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.news-hero img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

.news-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #2f2f2f;
}

.news-content p {
    margin-bottom: 16px;
}

.news-content h2 {
    font-size: 1.6rem;
    color: var(--verde);
    margin: 28px 0 12px;
    border: none;
    padding: 0;
}

.news-footer-actions {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

@media (max-width: 768px) {
    .news-hero img { height: 260px; }
    .news-detail { max-width: 100%; }
}

@media (max-width: 420px) {
    .news-hero img { height: 220px; }
}

.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(--amarillo) 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: 240px;
    }
    
    .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: 200px;
    }
    
    .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: #073d1e;
    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: #CCC;
}

.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: #FFFFFF;
}

.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(--amarillo);
    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: var(--amarillo);
}

/* ============================================
   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) {
    .destinos-layout {
        grid-template-columns: 1fr;
    }

    .destinos-sidebar {
        position: static;
        top: auto;
    }

    .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-destinos,
    .section-noticias {
        padding: 24px 15px;
    }
    
    .cta-wrap {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .cta-image {
        min-height: 240px;
    }
    
    .cta-image img {
        min-height: 240px;
    }
    
    .cta-content {
        padding: 50px 24px;
        text-align: center;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .card {
        padding: 25px;
    }
    
    .card-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .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: 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: 36px;
        height: 36px;
        opacity: 0.85;
        pointer-events: auto;
    }
    
    .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 svg {
        width: 36px;
        height: 36px;
    }
    
    .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%;
    }
}

.biblioteca-layout {
    display: flex;
    gap: 32px;
    align-items: stretch;
    margin-bottom: 32px;
    margin-top: 12px;
}

.biblioteca-info {
    flex: 1.2;
}

.biblioteca-imagen {
    flex: 1;
    max-width: 420px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.biblioteca-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .biblioteca-layout {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .biblioteca-imagen {
        max-width: 100%;
    }
}

