/* =====================================
   BELLEZA.CSS - Estética de Salón UTU
   Tema: Belleza, Elegancia y Sofisticación
   ===================================== */

/* ===== TIPOGRAFÍA ELEGANTE ===== */
:root {
    /* Fuentes principales */
    --font-script: 'Dancing Script', cursive;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
}

/* ===== PALETA DE COLORES - BELLEZA ===== */
:root {
    /* Colores principales - Elegancia y calidez */
    --rose-gold: #E8B4B8;
    --dusty-rose: #D4A5A5;
    --champagne: #F7E7CE;
    --pearl-white: #FAF9F6;
    --soft-pink: #F8E8E8;
    --blush: #F5D5D0;
    --sage-green: #B8C5B8;
    --lavender: #E6E0F8;
    
    /* Colores de acento - Lujo y sofisticación */
    --gold: #D4AF37;
    --copper: #B87333;
    --mauve: #E0B4D6;
    --mint: #C7E9E0;
    
    /* Colores neutros - Base y elegancia */
    --cream: #FDF6E3;
    --warm-white: #FEFCF3;
    --soft-gray: #F8F6F0;
    --charcoal: #2C2C2C;
    --dark-brown: #3E2723;
    
    /* Gradientes elegantes */
    --gradient-rose: linear-gradient(135deg, var(--rose-gold) 0%, var(--dusty-rose) 100%);
    --gradient-gold: linear-gradient(135deg, var(--champagne) 0%, var(--gold) 100%);
    --gradient-soft: linear-gradient(135deg, var(--pearl-white) 0%, var(--soft-pink) 100%);
    --gradient-luxury: linear-gradient(135deg, var(--rose-gold) 0%, var(--gold) 30%, var(--champagne) 100%);
    
    /* Sombras sofisticadas */
    --shadow-soft: 0 4px 20px rgba(232, 180, 184, 0.15);
    --shadow-medium: 0 8px 30px rgba(232, 180, 184, 0.25);
    --shadow-strong: 0 15px 40px rgba(232, 180, 184, 0.35);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* ===== TEMA OSCURO - ELEGANCIA NOCTURNA ===== */
[data-bs-theme="oscuro"] {
    --pearl-white: #2C1810;
    --warm-white: #1A1A1A;
    --soft-gray: #2D2520;
    --cream: #3D2817;
    --charcoal: #F5F5DC;
    --dark-brown: #E8D5B7;
    --soft-pink: #3D2C2C;
    --blush: #4A3532;
    
    --gradient-soft: linear-gradient(135deg, #2C1810 0%, #3D2C2C 100%);
    --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: var(--font-sans);
    background: var(--pearl-white);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* ===== FONDO ANIMADO ELEGANTE ===== */
.beauty-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: 
        radial-gradient(circle at 15% 25%, rgba(232, 180, 184, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 75%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(248, 232, 232, 0.1) 0%, transparent 70%),
        var(--pearl-white);
}

/* ===== ELEMENTOS FLOTANTES DE BELLEZA ===== */
.floating-beauty-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.beauty-element {
    position: absolute;
    opacity: 0.6;
    animation: float-elegant 12s ease-in-out infinite;
}

.sparkle {
    width: 8px;
    height: 8px;
    background: var(--gradient-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.sparkle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.sparkle-2 { top: 30%; right: 15%; animation-delay: -2s; }
.sparkle-3 { top: 60%; left: 10%; animation-delay: -4s; }
.sparkle-4 { bottom: 25%; right: 25%; animation-delay: -6s; }
.sparkle-5 { top: 45%; left: 60%; animation-delay: -8s; }
.sparkle-6 { bottom: 15%; left: 40%; animation-delay: -10s; }

.beauty-shape {
    opacity: 0.3;
    animation: shape-drift 15s linear infinite;
}

.circle-1 {
    width: 60px;
    height: 60px;
    border: 2px solid var(--rose-gold);
    border-radius: 50%;
    top: 20%;
    right: 30%;
    animation-delay: 0s;
}

.circle-2 {
    width: 40px;
    height: 40px;
    background: var(--gradient-rose);
    border-radius: 50%;
    bottom: 30%;
    left: 20%;
    animation-delay: -5s;
}

.triangle-1 {
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-bottom: 25px solid var(--dusty-rose);
    top: 70%;
    right: 20%;
    animation-delay: -3s;
}

.triangle-2 {
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid var(--sage-green);
    top: 25%;
    left: 70%;
    animation-delay: -7s;
}

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

.wave {
    position: absolute;
    width: 200%;
    height: 200%;
    opacity: 0.03;
    animation: wave-flow 25s linear infinite;
    border-radius: 50%;
}

.wave-1 {
    background: var(--gradient-rose);
    animation-delay: 0s;
    transform-origin: 30% 70%;
}

.wave-2 {
    background: var(--gradient-gold);
    animation-delay: -8s;
    transform-origin: 70% 30%;
}

.wave-3 {
    background: var(--gradient-soft);
    animation-delay: -16s;
    transform-origin: 50% 50%;
}

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

/* ===== SECCIÓN HERO ELEGANTE ===== */
.hero-section {
    background: var(--gradient-soft);
    backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 5rem 4rem;
    margin-bottom: 5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(232, 180, 184, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 120%;
    height: 200%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 30px,
            rgba(232, 180, 184, 0.02) 30px,
            rgba(232, 180, 184, 0.02) 60px
        );
    animation: elegant-drift 30s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.title-container {
    margin-bottom: 2rem;
}

.page-title {
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.title-script {
    font-family: var(--font-script);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--rose-gold);
    display: block;
    margin-bottom: 0.5rem;
    animation: script-glow 3s ease-in-out infinite;
}

.title-main {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 300;
    color: var(--charcoal);
    display: block;
    letter-spacing: 0.02em;
}

.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.decoration-line {
    width: 60px;
    height: 1px;
    background: var(--gradient-gold);
}

.decoration-diamond {
    width: 12px;
    height: 12px;
    background: var(--gold);
    transform: rotate(45deg);
    animation: diamond-sparkle 2s ease-in-out infinite;
}

.page-subtitle {
    font-family: var(--font-serif);
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--dark-brown);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.7;
    font-style: italic;
}

/* ===== ICONOS DE SERVICIOS ===== */
.services-preview {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.service-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(232, 180, 184, 0.3);
}

.service-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-medium);
    background: rgba(255, 255, 255, 0.5);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--gradient-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-icon:hover .icon-wrapper::before {
    opacity: 1;
}

.service-emoji {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.service-icon span {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--charcoal);
    letter-spacing: 0.5px;
}

/* ===== DECORACIÓN HERO ===== */
.hero-decoration {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
}

.decoration-petals {
    position: relative;
    width: 100%;
    height: 100%;
}

.petal {
    position: absolute;
    width: 20px;
    height: 40px;
    background: var(--gradient-rose);
    border-radius: 50% 50% 50% 0;
    opacity: 0.6;
    animation: petal-dance 4s ease-in-out infinite;
}

.petal-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    animation-delay: 0s;
}

.petal-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%) rotate(90deg);
    animation-delay: 1s;
}

.petal-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    animation-delay: 2s;
}

.petal-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%) rotate(270deg);
    animation-delay: 3s;
}

/* ===== SECCIÓN DE CURSO ===== */
.course-section {
    margin: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-serif);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.title-accent {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--rose-gold);
    font-weight: 300;
    display: block;
    font-style: italic;
}

.section-title .title-main {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--charcoal);
    font-weight: 600;
    display: block;
}

.section-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.deco-line {
    width: 40px;
    height: 1px;
    background: var(--gradient-rose);
}

.deco-star {
    color: var(--gold);
    font-size: 1.2rem;
    animation: star-twinkle 2s ease-in-out infinite;
}

/* ===== CONTENEDOR DE CURSO ===== */
.course-container {
    display: flex;
    justify-content: center;
}

/* ===== TARJETA PRINCIPAL DEL CURSO ===== */
.beauty-card {
    background: var(--warm-white);
    backdrop-filter: blur(25px);
    border-radius: 32px;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(232, 180, 184, 0.2);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    max-width: 1000px;
    width: 100%;
}

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

.beauty-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-strong);
}

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

.main-course-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    min-height: 600px;
}

/* ===== SECCIÓN DE IMAGEN ===== */
.card-image-section {
    position: relative;
    padding: 2rem;
    background: var(--gradient-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--gradient-luxury);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 10px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: rotate-border 10s linear infinite;
}

.image-overlay {
    text-align: center;
    z-index: 2;
    position: relative;
}

.overlay-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: icon-pulse 2s ease-in-out infinite;
}

.image-overlay p {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--charcoal);
    margin: 0;
    text-align: center;
}

.image-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-element {
    position: absolute;
    font-size: 1.5rem;
    animation: float-gentle 3s ease-in-out infinite;
}

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

.elem-2 {
    top: 70%;
    right: 15%;
    animation-delay: 1s;
}

.elem-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 2s;
}

/* ===== SECCIÓN DE CONTENIDO ===== */
.card-content-section {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.beauty-card-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.beauty-card-title {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    color: var(--charcoal);
    line-height: 1.3;
    margin: 0;
}

/* ===== DESTACADOS DEL CURSO ===== */
.course-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1rem 0;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(232, 180, 184, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(232, 180, 184, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    background: rgba(232, 180, 184, 0.2);
    transform: translateY(-2px);
}

.highlight-icon {
    font-size: 1.1rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.highlight-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
}

.beauty-card-description {
    color: var(--dark-brown);
    line-height: 1.7;
    font-size: 1rem;
    text-align: justify;
    margin: 0;
}

/* ===== ÁREAS DE ESTUDIO ===== */
.study-areas {
    margin: 1.5rem 0;
}

.study-areas h4 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--charcoal);
    margin-bottom: 1rem;
    font-weight: 500;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--gradient-soft);
    border-radius: 16px;
    border: 1px solid rgba(232, 180, 184, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
}

.area-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-soft);
}

.area-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-rose);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: var(--shadow-soft);
}

.area-item span {
    font-weight: 500;
    color: var(--charcoal);
    font-size: 0.95rem;
}

/* ===== BOTONES ELEGANTES ===== */
.card-action {
    margin-top: auto;
    padding-top: 1rem;
}

.beauty-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    letter-spacing: 0.5px;
}

.beauty-btn.primary {
    background: var(--gradient-luxury);
    color: var(--charcoal);
    box-shadow: var(--shadow-medium);
}

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

.beauty-btn.secondary {
    background: var(--gradient-rose);
    color: var(--warm-white);
    box-shadow: var(--shadow-soft);
}

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

.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.6s ease;
}

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

.btn-arrow {
    font-size: 1.2rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.beauty-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* ===== SECCIÓN CTA ===== */
.cta-section {
    background: var(--gradient-soft);
    backdrop-filter: blur(25px);
    border-radius: 32px;
    padding: 4rem;
    margin: 5rem 0;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(232, 180, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: 
        radial-gradient(circle, 
            rgba(212, 175, 55, 0.05) 0%, 
            transparent 30%),
        radial-gradient(circle at 70% 70%, 
            rgba(232, 180, 184, 0.03) 0%, 
            transparent 40%);
    animation: cta-glow 20s ease-in-out infinite;
}

.cta-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.cta-decoration-left,
.cta-decoration-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    opacity: 0.7;
}

.deco-circle {
    width: 60px;
    height: 60px;
    border: 2px solid var(--rose-gold);
    border-radius: 50%;
    animation: circle-rotate 8s linear infinite;
}

.deco-triangle {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 35px solid var(--dusty-rose);
    animation: triangle-bob 3s ease-in-out infinite;
}

.deco-sparkle,
.deco-star {
    font-size: 2rem;
    animation: sparkle-twinkle 2s ease-in-out infinite;
}

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

.cta-title {
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.cta-script {
    font-family: var(--font-script);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--rose-gold);
    display: block;
    font-weight: 500;
}

.cta-main-text {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--charcoal);
    font-weight: 600;
    display: block;
}

.cta-description {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    color: var(--dark-brown);
    margin-bottom: 2rem;
    font-style: italic;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

@keyframes shape-drift {
    0% { transform: translateX(0) translateY(0) rotate(0deg); }
    25% { transform: translateX(10px) translateY(-10px) rotate(90deg); }
    50% { transform: translateX(5px) translateY(-5px) rotate(180deg); }
    75% { transform: translateX(-5px) translateY(-15px) rotate(270deg); }
    100% { transform: translateX(0) translateY(0) rotate(360deg); }
}

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

@keyframes script-glow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(232, 180, 184, 0.3);
        transform: scale(1);
    }
    50% { 
        text-shadow: 0 0 20px rgba(232, 180, 184, 0.6);
        transform: scale(1.02);
    }
}

@keyframes diamond-sparkle {
    0%, 100% { 
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
        transform: rotate(45deg) scale(1);
    }
    50% { 
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.8);
        transform: rotate(45deg) scale(1.2);
    }
}

@keyframes star-twinkle {
    0%, 100% { 
        opacity: 0.7; 
        transform: scale(1);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
    }
}

@keyframes petal-dance {
    0%, 100% { transform: translateX(-50%) translateY(-50%) rotate(0deg) scale(1); }
    25% { transform: translateX(-50%) translateY(-50%) rotate(5deg) scale(1.1); }
    75% { transform: translateX(-50%) translateY(-50%) rotate(-5deg) scale(0.9); }
}

@keyframes elegant-drift {
    0% { transform: translateX(-50px) translateY(50px) rotate(0deg); }
    100% { transform: translateX(50px) translateY(-50px) rotate(360deg); }
}

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

@keyframes icon-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

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

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

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

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

/* ===== DISEÑO RESPONSIVO ===== */
@media (max-width: 1024px) {
    .main-course-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .card-image-section {
        order: -1;
        padding: 2rem;
    }
    
    .image-container {
        max-width: 200px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .cta-decoration-left,
    .cta-decoration-right {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .page-container {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 3rem 2rem;
        margin-bottom: 3rem;
    }
    
    .hero-decoration {
        display: none;
    }
    
    .services-preview {
        gap: 1.5rem;
    }
    
    .service-icon {
        padding: 1rem;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .card-content-section {
        padding: 2rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .course-highlights {
        justify-content: center;
    }
    
    .cta-section {
        padding: 3rem 2rem;
        margin: 3rem 0;
    }
}

@media (max-width: 480px) {
    .beauty-card {
        border-radius: 24px;
    }
    
    .hero-section {
        border-radius: 24px;
        padding: 2rem 1.5rem;
    }
    
    .card-content-section {
        padding: 1.5rem;
    }
    
    .services-preview {
        gap: 1rem;
    }
    
    .service-icon {
        padding: 0.75rem;
        flex: 1;
        min-width: 120px;
    }
    
    .beauty-btn {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    .cta-section {
        padding: 2rem 1.5rem;
        border-radius: 24px;
    }
}

/* ===== ACCESIBILIDAD ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-beauty-elements,
    .elegance-waves,
    .hero-decoration {
        display: none;
    }
}

/* ===== ALTA CONTRASTE ===== */
@media (prefers-contrast: high) {
    :root {
        --charcoal: #000000;
        --dark-brown: #1a1a1a;
        --rose-gold: #8B4513;
        --gold: #B8860B;
    }
    
    .beauty-btn {
        border: 2px solid currentColor;
    }
}
/* =====================================
   ESTILOS DE IMPRESIÓN - BELLEZA
   ===================================== */

@media print {
    /* ===== RESET GENERAL ===== */
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        animation: none !important;
        transition: none !important;
    }
    
    /* ===== OCULTAR ELEMENTOS INNECESARIOS ===== */
    #header-placeholder,
    #footer-placeholder,
    #theme-toggle-placeholder,
    #arrow-button-placeholder,
    #preloader-placeholder,
    .skip-link,
    .beauty-background,
    .floating-beauty-elements,
    .elegance-waves,
    .hero-decoration,
    .decoration-petals,
    .image-decoration,
    .floating-element,
    .btn-shine,
    .btn-arrow,
    .cta-decoration-left,
    .cta-decoration-right,
    .deco-circle,
    .deco-triangle,
    .deco-sparkle,
    .deco-star,
    .beauty-element,
    .sparkle,
    .beauty-shape,
    .wave,
    .section-decoration,
    .title-decoration,
    .services-preview {
        display: none !important;
    }
    
    /* ===== CONFIGURACIÓN DE PÁGINA ===== */
    @page {
        margin: 2cm;
        size: A4 portrait;
    }
    
    body {
        font-family: 'Times New Roman', Times, serif;
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
        background: #fff;
        margin: 0;
        padding: 0;
    }
    
    /* ===== CONTENEDOR PRINCIPAL ===== */
    .page-container {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }
    
    /* ===== SECCIÓN HERO ===== */
    .hero-section {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 0 1.5cm 0;
        margin-bottom: 1.5cm;
        page-break-after: avoid;
    }
    
    .hero-section::before {
        display: none !important;
    }
    
    .hero-content {
        text-align: center;
    }
    
    /* ===== TÍTULOS ===== */
    .page-title {
        margin-bottom: 1cm;
        page-break-after: avoid;
    }
    
    .title-script {
        font-family: 'Georgia', serif;
        font-size: 20pt;
        color: #333;
        display: block;
        margin-bottom: 0.3cm;
        font-style: italic;
    }
    
    .title-main {
        font-family: 'Georgia', serif;
        font-size: 28pt;
        font-weight: bold;
        color: #000;
        display: block;
        letter-spacing: 0.05em;
    }
    
    .page-subtitle {
        font-size: 11pt;
        color: #333;
        margin-bottom: 1cm;
        font-style: italic;
        line-height: 1.5;
    }
    
    /* ===== SECCIÓN DE CURSO ===== */
    .course-section {
        margin: 0;
        page-break-inside: avoid;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 1cm;
        page-break-after: avoid;
    }
    
    .section-title {
        margin-bottom: 0.5cm;
    }
    
    .title-accent {
        font-size: 14pt;
        color: #666;
        display: block;
        font-style: italic;
    }
    
    .section-title .title-main {
        font-size: 18pt;
        font-weight: bold;
        color: #000;
    }
    
    /* ===== TARJETA DE CURSO ===== */
    .beauty-card {
        background: #fff !important;
        border: 2px solid #000;
        border-radius: 0 !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .beauty-card::before {
        display: none !important;
    }
    
    .main-course-card {
        display: block;
        min-height: auto;
    }
    
    /* ===== SECCIÓN DE IMAGEN ===== */
    .card-image-section {
        display: none !important;
    }
    
    /* ===== CONTENIDO DEL CURSO ===== */
    .card-content-section {
        padding: 0.8cm;
    }
    
    .beauty-card-content {
        gap: 0.5cm;
    }
    
    .beauty-card-title {
        font-size: 14pt;
        font-weight: bold;
        color: #000;
        margin-bottom: 0.5cm;
        page-break-after: avoid;
        border-bottom: 2px solid #000;
        padding-bottom: 0.3cm;
    }
    
    /* ===== DESTACADOS ===== */
    .course-highlights {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4cm;
        margin: 0.5cm 0;
        page-break-inside: avoid;
    }
    
    .highlight-item {
        background: none !important;
        border: 1px solid #000;
        border-radius: 0 !important;
        padding: 0.3cm 0.5cm;
        page-break-inside: avoid;
    }
    
    .highlight-icon {
        display: none;
    }
    
    .highlight-item span {
        font-size: 10pt;
        font-weight: bold;
        color: #000;
    }
    
    .highlight-item::before {
        content: "• ";
        font-weight: bold;
    }
    
    /* ===== DESCRIPCIÓN ===== */
    .beauty-card-description {
        font-size: 11pt;
        color: #000;
        line-height: 1.6;
        text-align: justify;
        margin: 0.5cm 0;
        page-break-inside: avoid;
    }
    
    /* ===== ÁREAS DE ESTUDIO ===== */
    .study-areas {
        margin: 0.8cm 0 0.5cm 0;
        page-break-inside: avoid;
    }
    
    .study-areas h4 {
        font-size: 12pt;
        font-weight: bold;
        color: #000;
        margin-bottom: 0.4cm;
        page-break-after: avoid;
        border-bottom: 1px solid #000;
        padding-bottom: 0.2cm;
    }
    
    .areas-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.4cm;
        page-break-inside: avoid;
    }
    
    .area-item {
        background: none !important;
        border: 1px solid #000;
        border-radius: 0 !important;
        padding: 0.3cm;
        page-break-inside: avoid;
    }
    
    .area-icon {
        display: none;
    }
    
    .area-item span {
        font-size: 10pt;
        font-weight: normal;
        color: #000;
    }
    
    .area-item::before {
        content: "✓ ";
        font-weight: bold;
        margin-right: 0.2cm;
    }
    
    /* ===== BOTONES (OCULTAR) ===== */
    .card-action,
    .beauty-btn {
        display: none !important;
    }
    
    /* ===== SECCIÓN CTA ===== */
    .cta-section {
        background: none !important;
        border: 2px dashed #000;
        border-radius: 0 !important;
        padding: 0.8cm;
        margin-top: 1cm;
        box-shadow: none !important;
        page-break-inside: avoid;
    }
    
    .cta-section::before {
        display: none !important;
    }
    
    .cta-content {
        display: block;
        text-align: center;
    }
    
    .cta-main {
        padding: 0;
    }
    
    .cta-title {
        margin-bottom: 0.5cm;
        page-break-after: avoid;
    }
    
    .cta-script {
        font-size: 14pt;
        color: #333;
        font-style: italic;
    }
    
    .cta-main-text {
        font-size: 18pt;
        font-weight: bold;
        color: #000;
    }
    
    .cta-description {
        font-size: 11pt;
        color: #000;
        margin-bottom: 0.5cm;
        line-height: 1.5;
    }
    
    /* ===== INFORMACIÓN DE CONTACTO (SI EXISTE) ===== */
    .cta-description::after {
        content: "\A\A Para más información, visite: www.utu.edu.uy";
        white-space: pre;
        display: block;
        font-weight: bold;
        margin-top: 0.5cm;
        padding-top: 0.3cm;
        border-top: 1px solid #000;
    }
    
    /* ===== EVITAR SALTOS DE PÁGINA INAPROPIADOS ===== */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }
    
    p, li {
        orphans: 3;
        widows: 3;
    }
    
    /* ===== ENLACES ===== */
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        font-style: italic;
    }
    
    a[href^="#"]::after,
    a[href^="javascript:"]::after {
        content: "";
    }
}