/* ===== FUENTES GASTRONÓMICAS ===== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;900&family=Nunito:wght@300;400;500;600;700;800&family=Dancing+Script:wght@400;500;600;700&display=swap');

/* ===== VARIABLES TEMÁTICAS - GASTRONOMÍA ===== */
:root {
    /* Paleta de colores gastronómicos cálidos y apetitosos */
    --primary-orange: #ff7043;         /* Naranja energético que abre el apetito */
    --primary-red: #d32f2f;           /* Rojo vibrante como tomate maduro */
    --primary-yellow: #ffd54f;        /* Amarillo cálido como mantequilla */
    --primary-green: #388e3c;         /* Verde fresco de hierbas */
    --primary-brown: #8d6e63;         /* Marrón cálido como canela */
    
    /* Tonos neutros y limpios */
    --bg-light: #fef7ed;              /* Beige crema como papel pergamino */
    --bg-white: #ffffff;              /* Blanco limpio de cocina */
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(254, 247, 237, 0.85);
    
    /* Textos */
    --text-dark: #3e2723;             /* Marrón oscuro legible */
    --text-medium: #5d4037;           /* Marrón medio */
    --text-light: #8d6e63;            /* Marrón claro */
    
    /* Sombras gastronómicas */
    --shadow-soft: 0 4px 20px rgba(211, 47, 47, 0.08);
    --shadow-medium: 0 8px 30px rgba(255, 112, 67, 0.12);
    --shadow-strong: 0 15px 40px rgba(211, 47, 47, 0.15);
    
    /* Gradientes apetitosos */
    --gradient-fire: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-orange) 100%);
    --gradient-warmth: linear-gradient(135deg, var(--primary-orange) 0%, var(--primary-yellow) 100%);
    --gradient-fresh: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-yellow) 100%);
    --gradient-comfort: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* ===== TEMA OSCURO - MODO NOCTURNO DE COCINA ===== */
[data-bs-theme="oscuro"] {
    --bg-light: #2e1a16;
    --bg-white: #1a0e0c;
    --bg-card: rgba(46, 26, 22, 0.95);
    --bg-glass: rgba(26, 14, 12, 0.85);
    --text-dark: #fff8e1;
    --text-medium: #d7cc99;
    --text-light: #8d6e63;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.5);
    --shadow-strong: 0 15px 40px rgba(0, 0, 0, 0.6);
}

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

/* ===== FONDO ANIMADO CULINARIO ===== */
.culinary-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 112, 67, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(211, 47, 47, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 213, 79, 0.04) 0%, transparent 50%),
        var(--bg-light);
}

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

.floating-ingredient, .kitchen-utensil, .culinary-symbol {
    position: absolute;
    font-size: 2.2rem;
    opacity: 0.5;
    pointer-events: none;
    animation: float-culinary 10s ease-in-out infinite;
    filter: drop-shadow(0 3px 10px rgba(211, 47, 47, 0.1));
}

/* Posicionamiento específico de ingredientes */
.ingredient-1 { top: 15%; left: 10%; animation-delay: 0s; }
.ingredient-2 { top: 70%; right: 15%; animation-delay: -2s; }
.ingredient-3 { top: 40%; left: 75%; animation-delay: -4s; }
.ingredient-4 { bottom: 25%; left: 20%; animation-delay: -6s; }
.ingredient-5 { top: 25%; right: 30%; animation-delay: -8s; }

/* Posicionamiento de utensilios */
.utensil-1 { top: 30%; right: 10%; animation-delay: -1s; }
.utensil-2 { top: 60%; left: 15%; animation-delay: -3s; }
.utensil-3 { top: 50%; right: 40%; animation-delay: -5s; }
.utensil-4 { bottom: 40%; right: 25%; animation-delay: -7s; }
.utensil-5 { top: 80%; left: 60%; animation-delay: -9s; }

/* Posicionamiento de símbolos culinarios */
.symbol-1 { top: 20%; left: 45%; animation-delay: -2.5s; }
.symbol-2 { bottom: 20%; right: 55%; animation-delay: -4.5s; }
.symbol-3 { top: 65%; left: 80%; animation-delay: -6.5s; }
.symbol-4 { top: 45%; left: 25%; animation-delay: -8.5s; }

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

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

.wave-1 { 
    animation-delay: 0s; 
    transform-origin: 30% 70%;
}
.wave-2 { 
    animation-delay: -8s; 
    transform-origin: 70% 30%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(211, 47, 47, 0.02) 45%, 
        rgba(211, 47, 47, 0.02) 55%, 
        transparent 60%);
}
.wave-3 { 
    animation-delay: -16s; 
    transform-origin: 50% 50%;
    background: linear-gradient(45deg, 
        transparent 40%, 
        rgba(255, 213, 79, 0.02) 45%, 
        rgba(255, 213, 79, 0.02) 55%, 
        transparent 60%);
}

/* ===== PARTÍCULAS AROMÁTICAS ===== */
.aroma-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* ===== CURSOR PERSONALIZADO CULINARIO ===== */
#culinary-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(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 112, 67, 0.7);
    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(--primary-orange);
    border-radius: 50%;
    opacity: 0.4;
    transition: all 0.3s ease;
}

/* Estados del cursor */
#culinary-cursor.hover .cursor-inner {
    width: 14px;
    height: 14px;
    background: var(--primary-red);
    box-shadow: 0 0 25px rgba(211, 47, 47, 0.8);
}

#culinary-cursor.hover .cursor-trail {
    width: 36px;
    height: 36px;
    border-color: var(--primary-red);
    opacity: 0.6;
}

#culinary-cursor.click .cursor-inner {
    width: 18px;
    height: 18px;
    background: var(--primary-yellow);
    box-shadow: 0 0 30px rgba(255, 213, 79, 1);
}

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

/* ===== SECCIÓN HERO CULINARIA ===== */
.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.3);
    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(255, 112, 67, 0.02) 25px,
            rgba(255, 112, 67, 0.02) 50px
        );
    animation: diagonal-move 30s linear infinite;
}

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

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

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

.title-word:nth-child(1) { animation-delay: 0s; color: var(--primary-orange); }
.title-word:nth-child(2) { animation-delay: 0.3s; color: var(--primary-red); }
.title-word:nth-child(3) { animation-delay: 0.6s; color: var(--primary-brown); }

.title-word.highlight {
    background: var(--gradient-warmth);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 213, 79, 0.4);
}

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

/* ===== ICONOS CULINARIOS ===== */
.culinary-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.culi-icon:hover {
    transform: translateY(-12px) 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-fire);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

.culi-icon[data-subject="tecnicas"] .icon-circle {
    background: var(--gradient-fire);
}

.culi-icon[data-subject="nutricion"] .icon-circle {
    background: var(--gradient-fresh);
}

.culi-icon[data-subject="gestion"] .icon-circle {
    background: var(--gradient-warmth);
}

.culi-icon[data-subject="vanguardia"] .icon-circle {
    background: var(--gradient-fire);
}

.culi-icon span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

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

.title-decoration {
    font-size: 2.5rem;
    animation: decoration-steam 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(450px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

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

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

.culinary-card[data-card-type="btp"]::before {
    background: var(--gradient-warmth);
}

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

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

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

/* ===== ILUSTRACIONES DE TARJETAS ===== */
.card-illustration {
    width: 130px;
    height: 130px;
    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-comfort);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

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

/* Elementos del chef */
.chef-elements {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chef-hat {
    font-size: 3.5rem;
    animation: chef-cook 4s ease-in-out infinite;
    position: relative;
    z-index: 3;
}

.cooking-flame {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
    animation: flame-flicker 2s ease-in-out infinite;
    z-index: 1;
}

.ingredient {
    position: absolute;
    font-size: 1.2rem;
    animation: ingredient-float 3s ease-in-out infinite;
}

.ingredient-tomato {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.ingredient-herb {
    bottom: 20%;
    left: 15%;
    animation-delay: 1s;
}

/* Vapor de cocción */
.cooking-steam {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.steam {
    position: absolute;
    width: 3px;
    height: 15px;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.6), transparent);
    border-radius: 50%;
    animation: steam-rise 2s ease-in-out infinite;
}

.steam-1 {
    left: -5px;
    animation-delay: 0s;
}

.steam-2 {
    left: 0px;
    animation-delay: 0.3s;
}

.steam-3 {
    left: 5px;
    animation-delay: 0.6s;
}

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

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

/* ===== CARACTERÍSTICAS ===== */
.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.6);
    border-radius: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 112, 67, 0.1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(8px);
    border-color: rgba(255, 112, 67, 0.2);
}

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

.feature-item span {
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ===== BOTONES CULINARIOS ===== */
.btn-culinary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--gradient-fire);
    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;
}

.culinary-card[data-card-type="btp"] .btn-culinary {
    background: var(--gradient-warmth);
}

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

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

.btn-culinary:hover .btn-icon {
    transform: translateX(5px);
}

/* ===== CALL TO ACTION CULINARIO ===== */
.culinary-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.25);
}

.culinary-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, 
            rgba(255, 112, 67, 0.08) 0%, 
            transparent 30%),
        radial-gradient(circle at 70% 70%, 
            rgba(211, 47, 47, 0.06) 0%, 
            transparent 40%);
    animation: cta-background-flow 18s ease-in-out infinite;
}

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

.cta-icon {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    animation: chef-celebration 3s ease-in-out infinite;
}

.culinary-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.btn-primary-action {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--gradient-fire);
    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;
}

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

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        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-plate {
    position: absolute;
    top: 20%;
    right: 8%;
    font-size: 2.5rem;
    animation: plate-spin 5s ease-in-out infinite;
    animation-delay: 0s;
}

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

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

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

.star-3 {
    top: 65%;
    left: 8%;
    animation-delay: 2.4s;
}

/* ===== ANIMACIONES ===== */
@keyframes float-culinary {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(3deg); }
    50% { transform: translateY(-6px) rotate(-2deg); }
    75% { transform: translateY(-15px) rotate(2deg); }
}

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

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

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

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

@keyframes chef-cook {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

@keyframes flame-flicker {
    0%, 100% { 
        transform: translateX(-50%) scale(1);
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: translateX(-50%) scale(1.1) rotate(-2deg);
        filter: hue-rotate(10deg);
    }
    75% { 
        transform: translateX(-50%) scale(0.9) rotate(2deg);
        filter: hue-rotate(-10deg);
    }
}

@keyframes ingredient-float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(5deg); }
}

@keyframes steam-rise {
    0% { 
        opacity: 0.8; 
        transform: translateY(0px) scaleX(1);
    }
    50% { 
        opacity: 0.4; 
        transform: translateY(-10px) scaleX(0.8);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-20px) scaleX(0.6);
    }
}

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

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

@keyframes chef-celebration {
    0%, 100% { transform: translateY(0px) scale(1); }
    25% { transform: translateY(-5px) scale(1.05); }
    75% { transform: translateY(-8px) scale(0.95); }
}

@keyframes plate-spin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

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

@keyframes float-up {
    0% {
        opacity: 0.8;
        transform: translateY(0px);
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh);
    }
}

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

@media (max-width: 480px) {
    .cursos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .culinary-card {
        padding: 1.5rem;
    }
    
    .card-illustration {
        width: 90px;
        height: 90px;
    }
    
    .feature-item {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .btn-culinary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .chef-hat {
        font-size: 2.8rem;
    }
    
    .cooking-flame {
        font-size: 1.4rem;
    }
}

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

/* Evitar selección de texto en iconos */
.culinary-card .chef-hat,
.culinary-card .cooking-flame,
.culinary-card .ingredient {
    user-select: none;
}

.gastronomia-text {
    /* Reemplazando Nunito */
    font-family: var(--font-primary);
    font-weight: 400;
}

.gastronomia-title {
    /* Reemplazando Playfair Display */
    font-family: var(--font-serif);
    font-weight: 700;
}
/* ===== ESTILOS DE IMPRESIÓN ===== */
@media print {
    /* Reseteo general para impresión */
    * {
        animation: none !important;
        transition: none !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Forzar fondo blanco y texto negro */
    body {
        background: white !important;
        color: #000 !important;
        font-family: 'Nunito', Arial, sans-serif;
        font-size: 12pt;
        line-height: 1.5;
        margin: 0;
        padding: 0;
        cursor: auto !important;
    }
    
    /* Ocultar elementos decorativos y de navegación */
    #header-placeholder,
    #footer-placeholder,
    #theme-toggle-placeholder,
    #arrow-button-placeholder,
    #preloader-placeholder,
    .skip-link,
    .culinary-background,
    .floating-elements,
    .flavor-waves,
    .aroma-particles,
    #culinary-cursor,
    .hero-section::before,
    .culinary-card::before,
    .culinary-cta::before,
    .cta-decoration,
    .cooking-steam,
    .cooking-flame,
    .ingredient,
    .btn-culinary,
    .btn-primary-action,
    .culinary-icons {
        display: none !important;
    }
    
    /* Contenedor principal */
    .page-container {
        max-width: 100%;
        margin: 0;
        padding: 1cm;
    }
    
    /* Hero Section */
    .hero-section {
        background: white !important;
        backdrop-filter: none !important;
        border-radius: 0 !important;
        padding: 0 0 1cm 0 !important;
        margin-bottom: 1cm !important;
        box-shadow: none !important;
        border: none !important;
        page-break-after: avoid;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .page-title {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 24pt;
        font-weight: 700;
        color: #000 !important;
        margin-bottom: 0.5cm;
        line-height: 1.2;
    }
    
    .title-word {
        color: #000 !important;
        background: none !important;
        -webkit-text-fill-color: initial !important;
    }
    
    .page-subtitle {
        font-size: 11pt;
        color: #333 !important;
        margin-bottom: 1cm;
        line-height: 1.6;
    }
    
    /* Sección de contenido */
    .section-container {
        margin: 0;
    }
    
    .section-title {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 18pt;
        color: #000 !important;
        text-align: center;
        margin-bottom: 0.8cm;
        page-break-after: avoid;
    }
    
    .title-decoration {
        display: none;
    }
    
    /* Grid de cursos */
    .cursos-grid {
        display: block;
    }
    
    /* Tarjetas culinarias */
    .culinary-card {
        background: white !important;
        backdrop-filter: none !important;
        border: 2pt solid #333 !important;
        border-radius: 0 !important;
        padding: 0.5cm !important;
        box-shadow: none !important;
        margin-bottom: 0.8cm !important;
        page-break-inside: avoid;
        opacity: 1 !important;
        transform: none !important;
    }
    
    /* Ilustración de tarjeta */
    .card-illustration {
        width: 60pt;
        height: 60pt;
        margin: 0 auto 0.3cm;
    }
    
    .illustration-background {
        background: #f5f5f5 !important;
        border: 1pt solid #ccc;
        box-shadow: none !important;
    }
    
    .chef-hat {
        font-size: 32pt;
    }
    
    /* Contenido de tarjetas */
    .card-title {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 16pt;
        font-weight: 600;
        color: #000 !important;
        margin-bottom: 0.4cm;
        text-align: left;
        page-break-after: avoid;
    }
    
    .card-description {
        color: #333 !important;
        font-size: 11pt;
        line-height: 1.6;
        margin-bottom: 0.5cm;
        text-align: justify;
    }
    
    /* Características */
    .card-features {
        margin-bottom: 0.5cm;
    }
    
    .feature-item {
        background: white !important;
        border: 1pt solid #ddd !important;
        border-radius: 0 !important;
        padding: 0.2cm !important;
        margin-bottom: 0.15cm;
        page-break-inside: avoid;
    }
    
    .feature-icon {
        background: #f0f0f0 !important;
        width: 20pt;
        height: 20pt;
        font-size: 10pt;
    }
    
    .feature-item span {
        color: #000 !important;
        font-size: 10pt;
    }
    
    /* Call to Action */
    .culinary-cta {
        background: white !important;
        backdrop-filter: none !important;
        border: 2pt solid #333 !important;
        border-radius: 0 !important;
        padding: 0.5cm !important;
        box-shadow: none !important;
        text-align: center;
        page-break-inside: avoid;
        margin-top: 1cm;
    }
    
    .cta-icon {
        font-size: 32pt;
        margin-bottom: 0.3cm;
    }
    
    .culinary-cta h3 {
        font-family: 'Playfair Display', Georgia, serif;
        font-size: 16pt;
        color: #000 !important;
        margin-bottom: 0.3cm;
    }
    
    .culinary-cta p {
        font-size: 11pt;
        color: #333 !important;
        margin-bottom: 0.5cm;
    }
    
    /* Información de contacto impresa */
    .culinary-cta::after {
        content: "UTU Rocha - Para más información visite nuestro sitio web";
        display: block;
        margin-top: 0.5cm;
        padding-top: 0.3cm;
        border-top: 1pt solid #ccc;
        font-size: 9pt;
        color: #666;
    }
    
    /* Evitar saltos de página no deseados */
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    /* Asegurar que los enlaces muestren la URL */
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
}