/* ===== FUENTES TURÍSTICAS ===== */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Nunito:wght@300;400;500;600;700;800&family=Comfortaa:wght@300;400;500;600;700&display=swap');

/* ===== IMPORTANTE: ACCESIBILIDAD =====
 * Este archivo usa las variables de texto de colores-temas.css para garantizar
 * contraste WCAG 2.1 AA en modo claro y oscuro.
 * 
 * REGLAS:
 * - var(--text-primary): Texto principal (ratio 19.85:1 en claro)
 * - var(--text-secondary): Texto secundario (ratio 21:1 en claro)
 * - var(--text-muted): Solo para elementos no críticos (ratio 7.1:1 en oscuro)
 * - NO crear variables de texto personalizadas
 * ===================================== */

/* ===== VARIABLES TEMÁTICAS - TURISMO ===== */
:root {
    /* Paleta de colores inspirados en destinos turísticos */
    --ocean-blue: #0ea5e9;
    --sky-blue: #38bdf8;
    --nature-green: #10b981;
    --sunset-orange: #f97316;
    --golden-yellow: #eab308;
    --mountain-purple: #8b5cf6;
    
    /* Colores de fondo y superficies */
    --bg-light: #fef3c7;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(254, 243, 199, 0.8);
    
    /* Sombras turísticas */
    --shadow-soft: 0 4px 20px rgba(14, 165, 233, 0.08);
    --shadow-medium: 0 8px 30px rgba(14, 165, 233, 0.12);
    --shadow-strong: 0 15px 40px rgba(14, 165, 233, 0.15);
    
    /* Gradientes aventureros */
    --gradient-ocean: linear-gradient(135deg, var(--ocean-blue) 0%, var(--sky-blue) 100%);
    --gradient-adventure: linear-gradient(135deg, var(--nature-green) 0%, var(--ocean-blue) 100%);
    --gradient-sunset: linear-gradient(135deg, var(--golden-yellow) 0%, var(--sunset-orange) 100%);
    --gradient-mountain: linear-gradient(135deg, var(--mountain-purple) 0%, var(--ocean-blue) 100%);
    --gradient-warm: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* ===== TEMA OSCURO - MODO NOCTURNO DE EXPLORADOR ===== */
[data-bs-theme="oscuro"] {
    --bg-light: #1f2937;
    --bg-white: #111827;
    --bg-card: rgba(31, 41, 55, 0.95);
    --bg-glass: rgba(17, 24, 39, 0.8);
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.5);
}

/* ===== CONFIGURACIÓN BASE ===== */
body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
}

/* ===== FONDO ANIMADO TURÍSTICO ===== */
.tourism-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
        var(--bg-light);
}

/* ===== ELEMENTOS FLOTANTES TURÍSTICOS ===== */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.floating-plane, .travel-element, .destination-symbol {
    position: absolute;
    font-size: 2rem;
    opacity: 0.4;
    pointer-events: none;
    animation: float-travel 10s ease-in-out infinite;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.plane-1 { top: 15%; left: 10%; animation-delay: 0s; }
.plane-2 { top: 70%; right: 15%; animation-delay: -3s; }
.plane-3 { top: 45%; left: 85%; animation-delay: -6s; }

.element-1 { top: 25%; right: 20%; animation-delay: -1s; }
.element-2 { top: 60%; left: 15%; animation-delay: -4s; }
.element-3 { top: 35%; right: 40%; animation-delay: -7s; }
.element-4 { bottom: 25%; right: 5%; animation-delay: -2s; }
.element-5 { top: 80%; left: 30%; animation-delay: -5s; }

.symbol-1 { top: 20%; left: 70%; animation-delay: -2.5s; }
.symbol-2 { bottom: 20%; right: 50%; animation-delay: -5.5s; }
.symbol-3 { top: 75%; left: 60%; animation-delay: -8.5s; }
.symbol-4 { top: 40%; left: 40%; animation-delay: -1.5s; }

/* ===== ONDAS DE AVENTURA ===== */
.adventure-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    background: 
        linear-gradient(45deg, 
            transparent 40%, 
            rgba(14, 165, 233, 0.03) 45%, 
            rgba(14, 165, 233, 0.03) 55%, 
            transparent 60%);
    animation: wave-explore 25s linear infinite;
    border-radius: 50%;
}

.wave-1 { 
    animation-delay: 0s; 
    transform-origin: 25% 75%;
}
.wave-2 { 
    animation-delay: -8s; 
    transform-origin: 75% 25%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(16, 185, 129, 0.03) 45%, 
        rgba(16, 185, 129, 0.03) 55%, 
        transparent 60%);
}
.wave-3 { 
    animation-delay: -16s; 
    transform-origin: 50% 50%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(249, 115, 22, 0.02) 45%, 
        rgba(249, 115, 22, 0.02) 55%, 
        transparent 60%);
}

/* ===== PARTÍCULAS DE EXPLORACIÓN ===== */
.exploration-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ===== CURSOR PERSONALIZADO TURÍSTICO ===== */
#tourism-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 32px;
    height: 32px;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease;
}

.cursor-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--ocean-blue);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(14, 165, 233, 0.6);
    transition: all 0.2s ease;
}

.cursor-trail {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 26px;
    height: 26px;
    border: 2px solid var(--ocean-blue);
    border-radius: 50%;
    opacity: 0.4;
    transition: all 0.3s ease;
}

#tourism-cursor.hover .cursor-inner {
    width: 14px;
    height: 14px;
    background: var(--sunset-orange);
    box-shadow: 0 0 25px rgba(249, 115, 22, 0.8);
}

#tourism-cursor.hover .cursor-trail {
    width: 38px;
    height: 38px;
    border-color: var(--sunset-orange);
    opacity: 0.6;
}

#tourism-cursor.click .cursor-inner {
    width: 18px;
    height: 18px;
    background: var(--nature-green);
    box-shadow: 0 0 30px rgba(16, 185, 129, 1);
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.page-container {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* ===== SECCIÓN HERO TURÍSTICA ===== */
.hero-section {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 4rem 3rem;
    margin-bottom: 4rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 100%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 25px,
            rgba(14, 165, 233, 0.03) 25px,
            rgba(14, 165, 233, 0.03) 50px
        );
    animation: diagonal-journey 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-title {
    font-family: 'Comfortaa', cursive;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.title-word {
    display: inline-block;
    margin: 0 0.2em;
    animation: word-adventure 2.5s ease-in-out infinite;
}

.title-word:nth-child(1) { animation-delay: 0s; color: var(--ocean-blue); }
.title-word:nth-child(2) { animation-delay: 0.3s; color: var(--nature-green); }
.title-word:nth-child(3) { animation-delay: 0.6s; color: var(--sunset-orange); }

.title-word.highlight {
    background: var(--gradient-sunset);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(249, 115, 22, 0.3);
}

.page-subtitle {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
}

/* ===== ICONOS TURÍSTICOS ===== */
.tourism-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.tourism-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.tourism-icon:hover {
    transform: translateY(-10px) scale(1.05);
}

.icon-circle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--gradient-ocean);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.tourism-icon:hover .icon-circle {
    box-shadow: var(--shadow-medium);
    transform: rotate(15deg);
}

.tourism-icon[data-destination="aventura"] .icon-circle {
    background: var(--gradient-mountain);
}

.tourism-icon[data-destination="cultural"] .icon-circle {
    background: var(--gradient-adventure);
}

.tourism-icon[data-destination="ecoturismo"] .icon-circle {
    background: var(--gradient-adventure);
}

.tourism-icon[data-destination="gastronomico"] .icon-circle {
    background: var(--gradient-sunset);
}

.tourism-icon span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* ===== SECCIÓN DE CONTENIDO ===== */
.section-container {
    margin: 4rem 0;
}

.section-title {
    font-family: 'Comfortaa', cursive;
    font-size: clamp(2rem, 5vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.title-decoration {
    font-size: 2rem;
    animation: decoration-sparkle 3s ease-in-out infinite;
}

.title-decoration:nth-child(1) { animation-delay: 0s; }
.title-decoration:nth-child(3) { animation-delay: 1.5s; }

/* ===== GRID DE CURSOS ===== */
.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

/* ===== TARJETAS TURÍSTICAS ===== */
.tourism-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
}

.tourism-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-ocean);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tourism-card[data-card-type="tecnologo-turismo"]::before {
    background: var(--gradient-adventure);
}

.tourism-card:hover::before {
    opacity: 1;
}

.tourism-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
}

.tourism-card.animate-in {
    opacity: 1;
    transform: translateY(0);
    animation: slide-in-adventure 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* ===== ILUSTRACIONES DE TARJETAS ===== */
.card-illustration {
    width: 140px;
    height: 140px;
    margin: 0 auto 2rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.illustration-background {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    overflow: hidden;
}

.tourism-card:hover .illustration-background {
    transform: rotate(10deg) scale(1.1);
    box-shadow: var(--shadow-medium);
}

.compass-map {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.map-base {
    width: 80px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #0ea5e9);
    border-radius: 8px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: map-pulse 3s ease-in-out infinite;
}

.compass-needle {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 2rem;
    animation: compass-rotate 4s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.destination-markers {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.marker {
    position: absolute;
    font-size: 0.8rem;
    color: #fff;
    animation: marker-bounce 2s ease-in-out infinite;
}

.marker-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.marker-2 {
    top: 60%;
    right: 25%;
    animation-delay: 0.7s;
}

.marker-3 {
    bottom: 25%;
    left: 15%;
    animation-delay: 1.4s;
}

.floating-camera {
    position: absolute;
    top: -15px;
    left: -15px;
    font-size: 1.5rem;
    animation: camera-float 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
}

/* ===== CONTENIDO DE TARJETAS ===== */
.card-title {
    font-family: 'Comfortaa', cursive;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1.3;
}

.card-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-align: justify;
    font-size: 1rem;
}

/* ===== CARACTERÍSTICAS - ACCESIBILIDAD Y SEPARACIÓN VISUAL MEJORADAS ===== */
.card-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(14, 165, 233, 0.15);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.08);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
    border-color: var(--ocean-blue);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

.feature-item:focus-within {
    outline: 3px solid var(--focus-outline, #1D4ED8);
    outline-offset: 2px;
}

.feature-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-ocean);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.feature-item span {
    font-weight: 500;
    color: var(--text-primary, #0F172A);
    font-size: 0.95rem;
}

/* Modo oscuro para feature items */
[data-bs-theme="oscuro"] .feature-item {
    background: rgba(31, 41, 55, 0.7);
    border: 2px solid rgba(96, 165, 250, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-bs-theme="oscuro"] .feature-item:hover {
    background: rgba(31, 41, 55, 0.95);
    border-color: var(--accent-blue);
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.3);
}

[data-bs-theme="oscuro"] .feature-item span {
    color: var(--text-primary, #F8FAFC);
}

/* ===== BOTONES TURÍSTICOS ===== */
.btn-tourism {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-adventure);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-tourism:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-tourism:focus-visible {
    outline: 3px solid var(--focus-outline, #1D4ED8);
    outline-offset: 2px;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn-tourism:hover .btn-icon {
    transform: translateX(4px);
}

/* ===== CALL TO ACTION TURÍSTICO ===== */
.tourism-cta {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tourism-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, 
            rgba(14, 165, 233, 0.1) 0%, 
            transparent 30%),
        radial-gradient(circle at 70% 70%, 
            rgba(16, 185, 129, 0.08) 0%, 
            transparent 40%);
    animation: cta-background-explore 18s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: map-bounce 2.5s ease-in-out infinite;
}

.tourism-cta h3 {
    font-family: 'Comfortaa', cursive;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.tourism-cta p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary-action {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--gradient-sunset);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.btn-primary-action:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.btn-primary-action:focus-visible {
    outline: 3px solid var(--focus-outline, #1D4ED8);
    outline-offset: 2px;
}

.btn-shine {
    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;
}

.btn-primary-action:hover .btn-shine {
    left: 100%;
}

/* ===== DECORACIONES CTA ===== */
.cta-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.decoration-plane {
    position: absolute;
    top: 20%;
    right: 10%;
    font-size: 2rem;
    animation: plane-fly 5s ease-in-out infinite;
    animation-delay: 0s;
}

.decoration-star {
    position: absolute;
    font-size: 1.5rem;
    animation: star-twinkle 2.5s ease-in-out infinite;
}

.star-1 {
    top: 15%;
    left: 15%;
    animation-delay: 0s;
}

.star-2 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.2s;
}

.star-3 {
    top: 60%;
    left: 10%;
    animation-delay: 2.4s;
}

/* ===== ANIMACIONES TURÍSTICAS ===== */
@keyframes float-travel {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(3deg); }
    50% { transform: translateY(-8px) rotate(-2deg); }
    75% { transform: translateY(-18px) rotate(2deg); }
}

@keyframes wave-explore {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes word-adventure {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes decoration-sparkle {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(20deg) scale(1.1); }
    75% { transform: rotate(-20deg) scale(1.1); }
}

@keyframes slide-in-adventure {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes map-pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    }
}

@keyframes compass-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes marker-bounce {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-4px) scale(1.1); }
}

@keyframes camera-float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
    }
    50% { 
        transform: translateY(-8px) rotate(5deg);
        filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.2));
    }
}

@keyframes diagonal-journey {
    0% { transform: translateX(-100px) translateY(100px); }
    100% { transform: translateX(100px) translateY(-100px); }
}

@keyframes cta-background-explore {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.2); }
    66% { transform: rotate(240deg) scale(0.8); }
}

@keyframes map-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

@keyframes plane-fly {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    50% { 
        transform: translateY(-15px) rotate(10deg);
        opacity: 1;
    }
}

@keyframes star-twinkle {
    0%, 100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
    50% { opacity: 1; transform: scale(1.3) rotate(180deg); }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    body {
        cursor: auto;
    }
    
    #tourism-cursor {
        display: none;
    }
    
    .page-container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }
    
    .tourism-icons {
        gap: 1rem;
    }
    
    .tourism-icon {
        padding: 0.75rem;
    }
    
    .icon-circle {
        width: 55px;
        height: 55px;
        font-size: 1.7rem;
    }
    
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .tourism-card {
        padding: 2rem;
    }
    
    .card-illustration {
        width: 120px;
        height: 120px;
    }
    
    .tourism-cta {
        padding: 3rem 2rem;
    }
}

@media (max-width: 480px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .tourism-card {
        padding: 1.5rem;
    }
    
    .card-illustration {
        width: 100px;
        height: 100px;
    }
    
    .feature-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .btn-tourism {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-plane,
    .travel-element,
    .destination-symbol,
    .wave,
    #tourism-cursor {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}


/* ===== COMPATIBILIDAD CON ALTO CONTRASTE ===== */
@media (prefers-contrast: high) {
    .feature-item {
        border: 3px solid currentColor;
    }
    
    .feature-item span {
        font-weight: 700;
    }
    
    .btn-tourism,
    .btn-primary-action {
        border: 3px solid currentColor;
    }
}

/* ===== CLASES DE TEXTO TURÍSTICO ===== */
.turismo-text {
    font-family: var(--font-primary);
    font-weight: 500;
}

.turismo-title {
    font-family: var(--font-primary);
    font-weight: 700;
    letter-spacing: 0.02em;
}
/* ===== ESTILOS DE IMPRESIÓN OPTIMIZADOS ===== */
@media print {
    /* Reseteo general para impresión */
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Ocultar elementos innecesarios para impresión */
    #header-placeholder,
    #footer-placeholder,
    #theme-toggle-placeholder,
    #arrow-button-placeholder,
    #preloader-placeholder,
    #tourism-cursor,
    .skip-link,
    .tourism-background,
    .floating-elements,
    .adventure-waves,
    .exploration-particles,
    .floating-plane,
    .travel-element,
    .destination-symbol,
    .wave,
    .cursor-inner,
    .cursor-trail,
    .btn-tourism,
    .btn-primary-action,
    .tourism-cta,
    .cta-decoration,
    .btn-icon,
    .btn-shine {
        display: none !important;
    }
    
    /* Configuración de página */
    @page {
        margin: 2cm;
        size: A4 portrait;
    }
    
    /* Contenedor principal */
    body {
        font-family: 'Times New Roman', Times, serif;
        font-size: 12pt;
        line-height: 1.5;
        color: black;
        background: white;
        margin: 0;
        padding: 0;
    }
    
    .page-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    /* Sección Hero simplificada */
    .hero-section {
        background: white !important;
        border: 2px solid black;
        border-radius: 0;
        padding: 1.5cm;
        margin-bottom: 1cm;
        box-shadow: none !important;
        page-break-after: avoid;
    }
    
    .hero-section::before {
        display: none !important;
    }
    
    .hero-content {
        text-align: left;
    }
    
    /* Títulos */
    .page-title {
        font-family: 'Times New Roman', Times, serif;
        font-size: 24pt;
        font-weight: bold;
        color: black !important;
        margin-bottom: 0.5cm;
        line-height: 1.2;
        border-bottom: 3px solid black;
        padding-bottom: 0.3cm;
    }
    
    .title-word {
        color: black !important;
        animation: none !important;
        display: inline;
        margin: 0;
    }
    
    .title-word.highlight {
        background: none !important;
        -webkit-background-clip: initial !important;
        -webkit-text-fill-color: black !important;
        background-clip: initial !important;
        text-shadow: none !important;
        font-weight: bold;
        text-decoration: underline;
    }
    
    .page-subtitle {
        font-size: 11pt;
        color: black !important;
        margin-bottom: 0.8cm;
        line-height: 1.6;
        text-align: justify;
    }
    
    /* Iconos turísticos - simplificados */
    .tourism-icons {
        display: flex;
        gap: 0.5cm;
        margin-top: 0.5cm;
        page-break-inside: avoid;
    }
    
    .tourism-icon {
        background: white !important;
        border: 1px solid black;
        padding: 0.3cm;
        border-radius: 0;
    }
    
    .icon-circle {
        background: white !important;
        border: 2px solid black;
        width: 1cm;
        height: 1cm;
        font-size: 14pt;
    }
    
    .tourism-icon span {
        color: black !important;
        font-size: 9pt;
    }
    
    /* Títulos de sección */
    .section-title {
        font-size: 18pt;
        font-weight: bold;
        color: black !important;
        text-align: center;
        margin: 1cm 0 0.8cm 0;
        border-bottom: 2px solid black;
        padding-bottom: 0.3cm;
        page-break-after: avoid;
    }
    
    .title-decoration {
        display: none;
    }
    
    /* Grid de cursos */
    .cursos-grid {
        display: block;
        margin: 0;
    }
    
    /* Tarjetas de curso */
    .tourism-card {
        background: white !important;
        border: 2px solid black;
        border-radius: 0;
        padding: 1cm;
        margin-bottom: 1cm;
        page-break-inside: avoid;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .tourism-card::before {
        display: none !important;
    }
    
    /* Ilustraciones - simplificadas */
    .card-illustration {
        width: 3cm;
        height: 3cm;
        margin: 0 auto 0.5cm;
        page-break-inside: avoid;
    }
    
    .illustration-background {
        background: white !important;
        border: 2px solid black;
        border-radius: 0;
    }
    
    .map-base {
        background: white !important;
        border: 2px solid black;
    }
    
    .compass-needle,
    .floating-camera {
        filter: none !important;
    }
    
    /* Contenido de tarjeta */
    .card-title {
        font-size: 16pt;
        font-weight: bold;
        color: black !important;
        margin-bottom: 0.5cm;
        text-align: left;
        page-break-after: avoid;
    }
    
    .card-description {
        font-size: 11pt;
        color: black !important;
        line-height: 1.6;
        text-align: justify;
        margin-bottom: 0.5cm;
    }
    
    /* Características */
    .card-features {
        margin-bottom: 0.5cm;
        page-break-inside: avoid;
    }
    
    .feature-item {
        background: white !important;
        border: 1px solid black !important;
        padding: 0.3cm;
        margin-bottom: 0.2cm;
        border-radius: 0;
    }
    
    .feature-icon {
        background: white !important;
        border: 1px solid black;
        width: 0.8cm;
        height: 0.8cm;
        font-size: 10pt;
        border-radius: 0;
    }
    
    .feature-item span {
        color: black !important;
        font-size: 10pt;
        font-weight: normal;
    }
    
    /* Evitar saltos de página en lugares inapropiados */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    p, .card-description {
        orphans: 3;
        widows: 3;
    }
    
    /* Mostrar URLs de enlaces */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #333;
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
}