
/* ====== ZIZAU STYLES ====== */
/* Variables CSS para temas y colores */
:root {
    /* Colores principales */
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #a5b4fc;
    --secondary-color: #f59e0b;
    --accent-color: #10b981;
    --danger-color: #ef4444;
    
    /* Colores de fondo */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    --bg-hero: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    
    /* Colores de texto */
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;
    
    /* Tipografías */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Espaciados */
    --section-padding: 100px 0;
    --container-padding: 1rem;
    
    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Transiciones */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Variables */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-card: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #cbd5e1;
    --text-light: #94a3b8;
}

/* ====== RESET Y BASE ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

/* Skip Link para accesibilidad */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 6px;
}

/* ====== TIPOGRAFÍA ====== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.section-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    position: relative;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ====== NAVEGACIÓN ====== */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all var(--transition-normal);
    padding: 1rem 0;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0;
}

.navbar-brand {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    font-weight: 500;
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-color) !important;
    background: rgba(99, 102, 241, 0.1);
}

/* Dark Mode Toggle */
#darkModeToggle {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ====== COOKIE BANNER ====== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 1rem;
    z-index: 1050;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1rem;
}

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
}

/* ====== HERO SECTIONS ====== */
.hero-section {
    background: var(--bg-hero);
    color: var(--text-white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.geometric-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.typed-text {
    position: relative;
}

.typed-text::after {
    content: '|';
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

.hero-actions {
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Code Window Visual */
.hero-visual {
    position: relative;
}

.code-window {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    margin-left: auto;
}

.code-header {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.code-buttons {
    display: flex;
    gap: 0.5rem;
}
.code-buttons {
    display: flex;
    gap: 0.5rem;
}

.code-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-buttons span:nth-child(1) { background: #ef4444; }
.code-buttons span:nth-child(2) { background: #f59e0b; }
.code-buttons span:nth-child(3) { background: #10b981; }

.code-title {
    color: #cbd5e1;
    font-size: 0.875rem;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 0.5rem;
}

.keyword { color: #c084fc; }
.variable { color: #60a5fa; }
.string { color: #34d399; }
.function { color: #fbbf24; }
.method { color: #fb7185; }
.comment { color: #94a3b8; }

.typing-animation {
    overflow: hidden;
    border-right: 2px solid #fbbf24;
    white-space: nowrap;
    animation: typing 3s steps(30) infinite, blink-caret 1s step-end infinite;
}

@keyframes typing {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 100%; }
}

@keyframes blink-caret {
    0%, 50% { border-color: #fbbf24; }
    51%, 100% { border-color: transparent; }
}

/* ====== SECCIONES ====== */
section {
    padding: var(--section-padding);
    position: relative;
}

.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}


.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.5;
}

.section-pattern {
    width: 100%;
    height: 100%;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.float-element {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: float 8s linear infinite;
}

.float-element:nth-child(1) { top: 10%; left: 20%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 70%; right: 30%; animation-delay: 3s; }
.float-element:nth-child(3) { bottom: 20%; left: 60%; animation-delay: 6s; }

/* ====== TARJETAS Y COMPONENTES ====== */
.benefit-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: all var(--transition-normal);
    height: 100%;
    text-align: center;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.benefit-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ====== TIMELINE ====== */
.methodology-section {
    background: var(--bg-secondary);
}

.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 51%;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 51%;
    text-align: right;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    position: relative;
}

.timeline-step {
    position: absolute;
    top: 50%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    font-size: 1.25rem;
    transform: translateY(-50%);
    border: 4px solid var(--bg-primary);
}

.timeline-item:nth-child(even) .timeline-step {
    left: -30px;
}

.timeline-item:nth-child(odd) .timeline-step {
    right: -30px;
}

@media (max-width: 768px) {
    .timeline-container::before { left: 30px; }
    .timeline-item:nth-child(even) .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content {
        margin-left: 80px;
        margin-right: 0;
        text-align: left;
    }
    .timeline-item:nth-child(even) .timeline-step,
    .timeline-item:nth-child(odd) .timeline-step {
        left: 0;
        right: auto;
    }
}

/* ====== CURSOS ====== */
.courses-section {
    background: var(--bg-secondary);
}

.course-featured {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-xl);
    position: relative;
    border: 2px solid var(--primary-color);
}

.course-badge {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 600;
}

.course-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-features i {
    color: var(--accent-color);
    font-size: 1rem;
}

.course-tech-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tech-badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.course-price {
    text-align: center;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 16px;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.price-details {
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.course-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform var(--transition-normal);
}

.course-card:hover {
    transform: translateY(-4px);
}

.course-duration {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 1rem 0;
}

/* ====== MAPA DE HABILIDADES ====== */
.skills-map-section {
    background: var(--bg-dark);
    color: var(--text-white);
}

.skills-map {
    position: relative;
    height: 500px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-center {
    position: absolute;
    z-index: 10;
}

.skill-node {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: white;
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.center-node {
    width: 150px;
    height: 150px;
    font-size: 1.25rem;
}

.skill-branch {
    position: absolute;
}

.skill-branch.frontend { top: 0; left: 50%; transform: translateX(-50%); }
.skill-branch.backend { right: 0; top: 50%; transform: translateY(-50%); }
.skill-branch.fullstack { bottom: 0; left: 50%; transform: translateX(-50%); }
.skill-branch.data { left: 0; top: 50%; transform: translateY(-50%); }

.skill-node.clickable:hover {
    transform: scale(1.1);
}

.skill-details {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1rem;
    border-radius: 8px;
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    min-width: 200px;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
    z-index: 12;
}

.skill-node:hover + .skill-details {
    opacity: 1;
    visibility: visible;
}

/* ====== CALCULADORA DE COSTES ====== */
.cost-calculator-section {
    background: var(--bg-secondary);
}

.calculator-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-range {
    margin: 1rem 0;
}

.slider-value {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.calculator-result {
    background: rgba(99, 102, 241, 0.05);
    padding: 2rem;
    border-radius: 16px;
    margin: 2rem 0;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.result-item:last-child {
    margin-bottom: 0;
}

.result-item strong {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.disclaimer {
    color: var(--text-light);
    text-align: center;
    display: block;
    margin-top: 1rem;
}

/* ====== LABORATORIO EN VIVO ====== */
.live-lab-section {
    background: var(--bg-secondary);
}

.lab-features {
    list-style: none;
    margin: 2rem 0;
}

.lab-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.lab-features i {
    color: var(--accent-color);
    width: 24px;
}

.lab-mockup {
    position: relative;
}

.mockup-browser {
    background: #1e293b;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.browser-header {
    background: #334155;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.browser-buttons {
    display: flex;
    gap: 0.5rem;
}

.browser-buttons span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.browser-buttons span:nth-child(1) { background: #ef4444; }
.browser-buttons span:nth-child(2) { background: #f59e0b; }
.browser-buttons span:nth-child(3) { background: #10b981; }

.browser-url {
    background: #475569;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    color: #cbd5e1;
    font-size: 0.875rem;
    flex: 1;
}

.browser-content {
    padding: 0;
}

.lab-interface {
    display: flex;
    height: 300px;
}

.lab-sidebar {
    background: #0f172a;
    width: 200px;
    padding: 1rem;
}

.lab-file {
    color: #94a3b8;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lab-file:hover,
.lab-file.active {
    background: #334155;
    color: #60a5fa;
}

.lab-editor {
    flex: 1;
    padding: 1rem;
    background: #1e293b;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.875rem;
}

.code-line {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.line-number {
    color: #64748b;
    min-width: 20px;
    text-align: right;
}

.code-content {
    color: #cbd5e1;
}

/* ====== LABORATORIO DE CV ====== */
.cv-lab-section {
    background: var(--bg-secondary);
}

.cv-checklist {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.checklist-item:last-of-type {
    border-bottom: none;
}

.checklist-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.checklist-item label {
    font-size: 1.125rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.checklist-item input:checked + label {
    color: var(--accent-color);
    text-decoration: line-through;
}

.cv-score {
    text-align: center;
    padding: 2rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 16px;
    margin: 2rem 0;
}

.score-display {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.score-feedback {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.cv-resources {
    margin-top: 2rem;
}

.cv-resources h5 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.resource-link {
    display: block;
    padding: 0.75rem 1rem;
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all var(--transition-fast);
}

.resource-link:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateX(5px);
}

/* ====== ZONA DE RETOS ====== */
.challenges-section {
    background: var(--bg-secondary);
}

.challenge-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
    transition: transform var(--transition-normal);
    position: relative;
}

.challenge-card:hover {
    transform: translateY(-4px);
}

.challenge-level {
    position: absolute;
    top: -10px;
    right: 1rem;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.challenge-level.beginner {
    background: var(--accent-color);
    color: white;
}

.challenge-level.intermediate {
    background: var(--secondary-color);
    color: white;
}

.challenge-level.advanced {
    background: var(--danger-color);
    color: white;
}

.challenge-tech {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    display: inline-block;
    margin: 1rem 0;
}

/* ====== TESTIMONIOS ====== */
.testimonials-section {
    background: var(--bg-secondary);
}

.testimonials-slider {
    padding: 2rem 0;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    margin: 0 1rem;
    height: auto;
}

.testimonial-content p {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.author-info h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info span {
    color: var(--text-light);
    font-size: 0.875rem;
}

.testimonial-rating {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.testimonial-card-simple {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: 100%;
}

.testimonial-card-simple p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.testimonial-card-simple .testimonial-author strong {
    color: var(--text-primary);
    display: block;
}

.testimonial-card-simple .testimonial-author span {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ====== EVENTOS ====== */
.events-section {
    background: var(--bg-secondary);
}

.events-calendar {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.calendar-header {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    padding: 2rem;
    text-align: center;
}

.calendar-header h4 {
    margin-bottom: 0.5rem;
}

.calendar-header span {
    opacity: 0.8;
}

.event-item {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
    gap: 1.5rem;
}

.event-item:last-child {
    border-bottom: none;
}

.event-date {
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    min-width: 80px;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.event-date .month {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.event-info h5 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.event-info p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-size: 0.875rem;
}

/* ====== PROYECTOS DE ESTUDIANTES ====== */
.student-projects-section {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.project-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.project-card:hover {
    transform: translateY(-8px);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-info {
    padding: 1.5rem;
}

.project-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-tech {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tech span {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* ====== CTA SECTIONS ====== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.about-cta-section {
    background: var(--bg-secondary);
    text-align: center;
}

/* ====== ABOUT PAGE ESPECÍFICO ====== */
.about-hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--text-white);
    padding: 120px 0 80px;
}

.about-visual img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.story-section {
    background: var(--bg-secondary);
}

.story-content {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.story-text p.lead {
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 500;
}

.values-section {
    padding: 100px 0;
}

.mission-text {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.value-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform var(--transition-normal);
}

.value-card:hover {
    transform: translateY(-4px);
}

.value-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.value-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.numbers-section {
    background: var(--bg-secondary);
}

.number-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
}

.number-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: var(--font-display);
    margin-bottom: 0.5rem;
}

.number-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.number-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.team-section {
    padding: 100px 0;
}

.team-card {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform var(--transition-normal);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-8px);
}

.team-avatar {
    height: 250px;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.team-role {
    color: var(--primary-color);
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.team-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.team-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.team-social a {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.team-description {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.location-section {
    background: var(--bg-secondary);
}

.location-content .lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.location-benefits {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.benefit-item div h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.benefit-item div p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.location-visual {
    position: relative;
}

.location-visual img {
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.location-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--bg-card);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.location-badge i {
    color: var(--primary-color);
}

.location-badge span {
    font-weight: 500;
    color: var(--text-primary);
}

.recognition-section {
    padding: 100px 0;
}

.recognition-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: transform var(--transition-normal);
}

.recognition-card:hover {
    transform: translateY(-4px);
}

.recognition-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #f59e0b);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.recognition-card h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.recognition-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
    font-weight: 500;
}

.contact-info-section {
    background: var(--bg-secondary);
}

.contact-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    height: 100%;
    transition: transform var(--transition-normal);
}

.contact-card:hover {
    transform: translateY(-4px);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.contact-card h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-card p {
    color: var(--text-secondary);
    margin-bottom: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* ====== CONTACT PAGE ESPECÍFICO ====== */
.contact-hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--text-white);
    padding: 120px 0 80px;
    text-align: center;
}

.contact-form-section {
    padding: 100px 0;
}

.contact-form-container {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
}

.form-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.contact-form {
    margin-top: 2rem;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.contact-form .form-control.is-invalid,
.contact-form .form-select.is-invalid {
    border-color: var(--danger-color);
}

.contact-form .form-control.is-valid,
.contact-form .form-select.is-valid {
    border-color: var(--accent-color);
}

.privacy-note {
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
    margin: 1rem 0;
}

.privacy-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.contact-info-sidebar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 2rem;
}

.contact-method .contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: white;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-details p {
    margin-bottom: 0.25rem;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

.contact-details small {
    color: var(--text-light);
    font-size: 0.875rem;
}

.quick-faq {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
}

.quick-faq h4 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.social-proof {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(99, 102, 241, 0.1);
    text-align: center;
}

.rating-display {
    background: rgba(99, 102, 241, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.rating-display span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.map-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.map-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    max-width: 250px;
}

.map-info h4 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.map-info p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.alternative-contact-section {
    padding: 100px 0;
}

.contact-option {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    height: 100%;
    transition: transform var(--transition-normal);
}

.contact-option:hover {
    transform: translateY(-8px);
}

.option-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.contact-option:nth-child(1) .option-icon {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.contact-option:nth-child(2) .option-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.contact-option:nth-child(3) .option-icon {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    color: white;
}

.contact-option h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.contact-option p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.testimonials-contact-section {
    background: var(--bg-secondary);
    padding: 100px 0;
}

/* ====== FOOTER ====== */
.footer-section {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 60px 0 30px;
}

.footer-brand h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.2);
    color: var(--text-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-section h5 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.contact-info p {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.contact-info a {
    color: var(--text-light);
    text-decoration: none;
}

.contact-info a:hover {
    color: var(--primary-color);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0;
}

.footer-copyright {
    color: var(--text-light);
    margin-bottom: 0;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }
}

/* ====== BOTONES ====== */
.btn {
    font-weight: 500;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:focus {
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #3730a3);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-outline-light {
    background: transparent;
    color: var(--text-white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--text-white);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--text-secondary);
}

.btn-outline-secondary:hover {
    background: var(--text-secondary);
    color: white;
}

.btn-outline-success {
    background: transparent;
    color: #25d366;
    border-color: #25d366;
}

.btn-outline-success:hover {
    background: #25d366;
    color: white;
}

.btn-outline-info {
    background: transparent;
    color: #0ea5e9;
    border-color: #0ea5e9;
}

.btn-outline-info:hover {
    background: #0ea5e9;
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* ====== UTILIDADES ====== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.shadow-custom {
    box-shadow: var(--shadow-xl);
}

.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) 1;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1200px) {
    :root {
        --section-padding: 80px 0;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .contact-info-sidebar {
        position: static;
        margin-top: 2rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    :root {
        --section-padding: 40px 0;
    }
    
    .hero-section {
        padding: 110px 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .benefit-card,
    .course-featured,
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
    
    .team-card .team-info {
        padding: 1.5rem;
    }
}

/* ====== ANIMACIONES ADICIONALES ====== */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% { transform: translate3d(0,0,0); }
    40%, 43% { transform: translate3d(0, -10px, 0); }
    70% { transform: translate3d(0, -5px, 0); }
    90% { transform: translate3d(0, -2px, 0); }
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-bounce {
    animation: bounce 2s infinite;
}

/* ====== ACCESIBILIDAD ====== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus visible para navegación por teclado */
.btn:focus-visible,
.nav-link:focus-visible,
a:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Alto contraste para texto importante */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #333333;
        --bg-primary: #ffffff;
    }
}

/* ====== PRINT STYLES ====== */
@media print {
    .navbar,
    .footer-section,
    .cookie-banner,
    .floating-elements,
    .hero-background {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        background: none;
        color: black;
        padding: 20pt 0;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}
