/* ===== AJEDREZ DE SILICIO - CSS COMPLETAMENTE NUEVO ===== */

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #c70039;
    --secondary-color: #ff1744;
    --accent-color: #ff6b9d;
    --background-dark: #0a0a0a;
    --background-light: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --border-color: #333333;
    --gradient-primary: linear-gradient(135deg, #c70039, #ff1744);
    --gradient-secondary: linear-gradient(135deg, #ff1744, #ff6b9d);
    --shadow-glow: 0 0 30px rgba(199, 0, 57, 0.3);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Compensar navbar fija */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== NAVEGACIÓN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 9998;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 80px;
}

.nav-logo img {
    height: 80px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(199, 0, 57, 0.3));
    display: block;
    margin: 0;
    padding: 0;
}

.nav-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(199, 0, 57, 0.5));
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ===== SUBMENÚ ELEGANTE ===== */
.nav-item-dropdown {
    position: relative;
}

.nav-link-dropdown {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-link-dropdown::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.nav-link-dropdown:hover::after {
    width: 100%;
    background: var(--gradient-primary);
}

.nav-link-dropdown:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.nav-link-dropdown .dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem 0;
    min-width: 280px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10000;
    overflow: hidden;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--border-color);
}

.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(10, 10, 10, 0.98);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 1rem 2rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    position: relative;
    border-left: 3px solid transparent;
}

.dropdown-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.dropdown-item:hover::before {
    width: 3px;
}

.dropdown-item:hover {
    background: rgba(199, 0, 57, 0.1);
    color: var(--accent-color);
    padding-left: 2.5rem;
    text-shadow: 0 0 10px rgba(255, 107, 157, 0.3);
}

.dropdown-item-icon {
    margin-right: 0.75rem;
    font-size: 1rem;
    color: var(--accent-color);
    transition: var(--transition);
}

.dropdown-item:hover .dropdown-item-icon {
    transform: scale(1.2);
    color: var(--secondary-color);
}

.dropdown-item-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.dropdown-item-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.8;
    transition: var(--transition);
}

.dropdown-item:hover .dropdown-item-description {
    color: var(--text-primary);
    opacity: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 0 2rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(199, 0, 57, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 23, 68, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    animation: particleFloat 20s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(199, 0, 57, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(199, 0, 57, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 15s linear infinite;
}

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

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

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

.title-main {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.1;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 20px rgba(199, 0, 57, 0.4)); }
    100% { filter: drop-shadow(0 0 40px rgba(199, 0, 57, 0.8)); }
}

.title-underline {
    width: 200px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto 2rem;
    border-radius: 2px;
    animation: underlineExpand 2s ease-out;
}

@keyframes underlineExpand {
    0% { width: 0; }
    100% { width: 200px; }
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.subtitle-text {
    color: var(--text-secondary);
    font-weight: 400;
}

.rotating-text {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0 0.5rem;
    min-width: 200px;
    display: inline-block;
    text-align: left;
    transition: all 0.3s ease;
}

.subtitle-separator {
    color: #FFD700;
    animation: blink 1.5s infinite;
    margin: 0 0.5rem;
}

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

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== BOTONES ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 50px rgba(199, 0, 57, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== SECCIONES GENERALES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
}

/* ===== CABALLO DE SILICIO ===== */
.caballo-silicio {
    padding: 6rem 0;
    background: var(--background-light);
}

.caballo-content {
    text-align: center;
    margin-bottom: 4rem;
}

.caballo-description {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

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

.revista-item {
    background: var(--background-dark);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
}

.revista-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(199, 0, 57, 0.2);
}

.revista-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.portada-revista {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
        opacity: 1;
}

.portada-revista:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(199, 0, 57, 0.3);
}

.portada-revista.activa {
    border: 2px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(199, 0, 57, 0.2);
}

/* Indicador de click eliminado - ya no se necesita */

.btn-revista {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.btn-revista:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(199, 0, 57, 0.3);
}



/* ===== SISTEMA DE PAGINACIÓN ===== */
.pagination-container {
    margin-top: 4rem;
    text-align: center;
}

.pagination-info {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-primary);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-glow);
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(199, 0, 57, 0.6);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-btn svg {
    transition: transform 0.3s ease;
}

.pagination-btn:hover:not(:disabled) svg {
    transform: scale(1.1);
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.page-number:hover:not(.dots) {
    background: var(--primary-color);
    color: var(--text-primary);
    transform: scale(1.1);
}

.page-number.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: transparent;
    box-shadow: var(--shadow-glow);
}

.page-number.dots {
    border: none;
    cursor: default;
    font-size: 1.2rem;
}

.page-number.dots:hover {
    background: transparent;
    color: var(--text-secondary);
    transform: none;
}

/* ===== MODAL DE VISTA AMPLIADA ===== */
.modal-ampliado {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-ampliado.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
}

.modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    background: var(--background-dark);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.modal-ampliado.active .modal-container {
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--background-dark), var(--background-light));
}

.modal-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
 cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-color);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-content {
    padding: 2rem;
}

/* ===== PESTAÑAS DEL MODAL ===== */
.modal-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.modal-tab {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-tab:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.modal-tab.active {
    background: var(--gradient-primary);
    border-color: transparent;
    color: var(--text-primary);
    box-shadow: var(--shadow-glow);
}

.modal-tab i {
    font-size: 1rem;
}

.modal-image-container {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.modal-image {
    max-width: 100%;
    max-height: 60vh;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
        opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-image.active {
        opacity: 1;
    position: relative;
}

.modal-image:hover {
    transform: scale(1.02);
}

.modal-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
}

.modal-nav-btn {
    background: rgba(199, 0, 57, 0.9);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    pointer-events: auto;
    box-shadow: 0 5px 15px rgba(199, 0, 57, 0.3);
}

.modal-nav-btn:hover {
    background: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(199, 0, 57, 0.5);
}

.modal-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.modal-info {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

/* Indicador eliminado - ya no se necesita */

/* ===== CONTACTO ===== */
.contact {
    padding: 6rem 0;
    background: var(--background-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--background-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(199, 0, 57, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: var(--gradient-primary);
    color: var(--text-primary);
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(199, 0, 57, 0.3);
}

.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--background-dark);
    border-radius: 8px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-size: 1.2rem;
}

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

.contact-details p {
    color: var(--text-secondary);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--background-dark);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.05) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
    position: relative;
    z-index: 2;
}

.footer-logo {
    position: relative;
    transition: all 0.4s ease;
}

.footer-logo img {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 0 20px rgba(255, 0, 0, 0.3));
    transition: all 0.4s ease;
    animation: logoFloat 6s ease-in-out infinite;
}

.footer-logo:hover img {
    transform: scale(1.1) rotate(2deg);
    filter: drop-shadow(0 0 30px rgba(255, 0, 0, 0.6));
}

.footer-logo::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: logoGlow 4s ease-in-out infinite alternate;
    z-index: -1;
}

.footer-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

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

@keyframes logoGlow {
    0% { 
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% { 
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Navegación móvil */
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 1rem;
        transform: translateY(-100%);
        transition: var(--transition);
        border-top: 1px solid var(--border-color);
        z-index: 999;
        display: none;
        box-sizing: border-box;
    }
    
    /* Submenú móvil - Solución radical */
    .dropdown-menu {
        display: none; /* Oculto por defecto */
    }
    
    .dropdown-menu.mobile-open {
        display: block; /* Mostrar solo cuando esté abierto */
    }
    
    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none;
    }
    
    /* Elementos del submenú como enlaces normales del menú */
    .dropdown-item {
        display: block;
        padding: 1rem 2rem;
        color: var(--text-primary);
        text-decoration: none;
        font-weight: 500;
        font-size: 0.9rem;
        letter-spacing: 1px;
        transition: var(--transition);
        position: relative;
        white-space: nowrap;
        border-left: 3px solid transparent;
        margin: 0.25rem 0;
        background: rgba(199, 0, 57, 0.05);
        border-radius: 0;
    }
    
    .dropdown-item::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--gradient-primary);
        transition: var(--transition);
    }
    
    .dropdown-item:hover::after {
        width: 100%;
    }
    
    .dropdown-item:hover {
        background: rgba(199, 0, 57, 0.1);
        color: var(--accent-color);
        border-left-color: var(--primary-color);
        padding-left: 2.5rem;
    }
    
    .dropdown-item-icon {
        font-size: 1rem;
        margin-right: 1rem;
        color: var(--accent-color);
        transition: var(--transition);
    }
    
    .dropdown-item:hover .dropdown-item-icon {
        color: var(--secondary-color);
        transform: scale(1.1);
    }
    
    .dropdown-item-title {
        color: var(--text-primary);
        font-weight: 600;
        margin-bottom: 0.25rem;
        display: block;
    }
    
    .dropdown-item-description {
        font-size: 0.8rem;
        color: var(--text-secondary);
        opacity: 0.8;
        transition: var(--transition);
        display: block;
    }
    
    .dropdown-item:hover .dropdown-item-description {
        color: var(--text-primary);
        opacity: 1;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    /* Ocultar completamente el menú en móvil cuando no esté activo */
    .nav-menu:not(.active) {
        display: none !important;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-100%);
    }
    
    /* Asegurar que solo se vea el logo y el botón hamburguesa */
    .nav-container {
        justify-content: space-between;
    }
    
    .nav-logo {
        flex-shrink: 0;
    }
    
    /* Ocultar todos los elementos del menú en móvil por defecto */
    .nav-menu {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* Hero section móvil */
    .hero-content {
        padding: 0 1rem;
        text-align: center;
    }
    
    .title-main {
        font-size: clamp(2.5rem, 10vw, 4rem);
        line-height: 1.1;
        margin-bottom: 1.5rem;
    }
    
    .title-underline {
        width: 150px;
        margin: 0 auto 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .rotating-text {
        min-width: auto;
    text-align: center;
        margin: 0;
    }
    
    .subtitle-separator {
    display: none;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-actions {
    flex-direction: column;
    align-items: center;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .btn {
    width: 100%;
        max-width: 300px;
    justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Grid responsive */
    .revistas-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    /* Paginación responsive */
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .page-numbers {
        order: -1;
        margin-bottom: 1rem;
    }
    
    .pagination-btn {
    width: 100%;
    justify-content: center;
        max-width: 200px;
    }
    
    .page-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    /* Contacto responsive */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Logo responsive para tablets */
    .nav-logo img {
        height: 70px;
    }
    
    /* Footer responsive */
    .footer {
        padding: 3rem 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .footer-logo img {
        height: 80px;
    }
    
    .footer-logo::after {
        width: 100px;
        height: 100px;
    }
    
    /* Secciones responsive */
    .caballo-silicio, .contact {
        padding: 4rem 0;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    /* Navegación muy pequeña */
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    .nav-logo img {
        height: 50px;
    }
    
    .nav-menu {
        padding: 1.5rem;
    }
    
    /* Hero muy pequeño */
    .hero-content {
        padding: 0 0.75rem;
    }
    
    .title-main {
        font-size: clamp(2rem, 12vw, 3rem);
        margin-bottom: 1rem;
    }
    
    .title-underline {
        width: 120px;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    /* Paginación muy pequeña */
    .pagination-container {
        margin-top: 3rem;
        padding: 0 1rem;
    }
    
    .pagination-info {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .page-numbers {
        gap: 0.25rem;
    }
    
    .page-number {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .pagination-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Indicadores muy pequeños */
    .revista-item::after {
        font-size: 0.55rem;
        padding: 0.25rem 0.5rem;
        right: 0.4rem;
        top: 0.4rem;
    }
    
    .btn-revista::after {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
        bottom: -1.8rem;
    }
    
    /* Footer muy pequeño */
    .footer {
        padding: 2rem 0;
    }
    
    .footer-logo img {
        height: 60px;
    }
    
    .footer-logo::after {
        width: 80px;
        height: 80px;
    }
    
        .footer-text {
        font-size: 1rem;
    }
    
    /* Responsive para sección de academia */
    @media (max-width: 768px) {
        .nuestra-academia {
            padding: 4rem 0;
        }
        
        .academia-hero {
            padding: 2rem;
        }
        
        .academia-hero-content {
            grid-template-columns: 1fr;
            gap: 2rem;
    text-align: center;
        }
        
        .academia-hero-title {
            font-size: 2rem;
        }
        
        .academia-hero-subtitle {
            font-size: 1.1rem;
        }
        
        .academia-stats {
            grid-template-columns: repeat(3, 1fr);
            gap: 1rem;
        }
        
        .stat-item {
            padding: 1rem;
        }
        
        .stat-number {
            font-size: 1.5rem;
        }
        
        .stat-label {
            font-size: 0.8rem;
        }
        
        .academia-section {
            padding: 2rem;
            margin-bottom: 3rem;
        }
        
        .academia-section-header {
            flex-direction: column;
            gap: 1rem;
    text-align: center;
}
        
        .academia-section-header h3 {
            font-size: 1.5rem;
        }
        
        .academia-benefits-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .benefit-card {
            padding: 1.5rem;
        }
        
        .paises-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }
        
        .horarios-display {
            padding: 2rem;
        }
        
        .horarios-pais-detalle {
            margin-top: 1.5rem;
        }
        
        .pais-detalle-header {
            padding: 1.5rem;
        }
        
        .horario-dias-detalle {
            padding: 1.5rem;
        }
        
        .logros-grid {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .logro-item {
            padding: 1.5rem;
        }
        
        .academia-pricing {
            padding: 2rem;
        }
        
        .pricing-cards {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        
        .pricing-card {
            padding: 2rem;
        }
        
        .amount {
            font-size: 3rem;
        }
        
        .academia-cta-final {
            padding: 3rem 2rem;
        }
        
        .cta-content h3 {
            font-size: 1.8rem;
        }
        
        .cta-content p {
            font-size: 1.1rem;
        }
        
        .cta-hero h3 {
            font-size: 2rem;
        }
        
        .cta-hero p {
            font-size: 1.1rem;
        }
        
        .btn-cta-primary {
            padding: 1.25rem 2.5rem;
        }
        
        .btn-content {
            flex-direction: column;
            gap: 0.75rem;
    text-align: center;
        }
        
        .btn-icon {
            width: 45px;
            height: 45px;
            font-size: 1.3rem;
        }
        
        .btn-text {
    align-items: center;
        }
        
        .btn-title {
            font-size: 1.2rem;
        }
        
        .btn-subtitle {
            font-size: 0.85rem;
        }
        
        .cta-benefits {
            gap: 1rem;
        }
        
        .benefit-tag {
            padding: 0.6rem 1.2rem;
            font-size: 0.85rem;
        }
    }
    
    @media (max-width: 480px) {
        .nuestra-academia {
            padding: 3rem 0;
        }
        
        .academia-hero {
            padding: 1.5rem;
        }
        
        .academia-hero-title {
            font-size: 1.8rem;
        }
        
        .academia-hero-subtitle {
            font-size: 1rem;
        }
        
        .academia-stats {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .academia-section {
            padding: 1.5rem;
        }
        
        .academia-section-header h3 {
            font-size: 1.3rem;
        }
        
        .academia-badge {
            font-size: 0.7rem;
            padding: 0.4rem 0.8rem;
        }
        
        .benefit-card {
            padding: 1.25rem;
        }
        
        .benefit-icon {
            width: 60px;
            height: 60px;
            font-size: 1.5rem;
        }
        
        .paises-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        .pais-card {
            padding: 1.5rem 1rem;
        }
        
        .pais-flag-large {
            font-size: 2.5rem;
        }
        
        .pais-card h5 {
            font-size: 1.1rem;
        }
        
        .horarios-display {
            padding: 1.5rem;
        }
        
        .placeholder-icon {
            font-size: 3rem;
        }
        
        .horarios-placeholder h4 {
            font-size: 1.3rem;
        }
        
        .horarios-placeholder p {
            font-size: 1rem;
        }
        
        .pais-detalle-header {
            padding: 1.25rem;
        flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        .pais-info {
            flex-direction: column;
        text-align: center;
    }
        
        .pais-info .pais-flag {
            font-size: 2rem;
        }
        
        .pais-info h4 {
            font-size: 1.5rem;
        }
        
        .horario-dias-detalle {
            padding: 1.25rem;
        }
        
        .dia-horario-detalle {
            padding: 1rem;
            flex-direction: column;
            gap: 1rem;
            text-align: center;
        }
        
        .dia-info {
        justify-content: center;
        }
        
        .horario-info {
        text-align: center;
        }
        
        .academia-pricing {
            padding: 1.5rem;
        }
        
        .pricing-header h3 {
            font-size: 1.6rem;
        }
        
        .amount {
            font-size: 2.5rem;
        }
        
        .academia-cta-final {
            padding: 2rem 1.5rem;
        }
        
        .cta-content h3 {
            font-size: 1.5rem;
        }
        
        .cta-content p {
            font-size: 1rem;
        }
        
        .btn-cta-primary,
        .btn-cta-secondary {
            padding: 1rem 2rem;
            font-size: 1rem;
        }
    }
    
    /* ===== SECCIÓN NUESTRA ACADEMIA ===== */
.nuestra-academia {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
                position: relative;
                overflow: hidden;
            }

.nuestra-academia::before {
    content: '';
                position: absolute;
    top: 0;
                left: 0;
    right: 0;
                bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(139,0,0,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

/* Hero de la Academia */
.academia-hero {
    margin-bottom: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.academia-hero-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3rem;
    align-items: center;
}

.academia-hero-text {
    text-align: left;
}

.academia-hero-title {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.academia-hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.academia-hero-highlight {
                display: flex;
                flex-direction: column;
    gap: 1rem;
}

.highlight-text {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.highlight-reason {
    font-size: 1rem;
    color: var(--accent-color);
    font-style: italic;
}

.academia-hero-visual {
                display: flex;
                justify-content: center;
            }

.academia-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Secciones de la Academia */
.academia-section {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.academia-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.academia-section-header h3 {
    color: var(--accent-color);
    font-size: 1.8rem;
    font-weight: 600;
                display: flex;
                align-items: center;
    gap: 0.75rem;
}

.academia-section-header h3 i {
    font-size: 1.5rem;
}

.academia-badge {
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.academia-section-content {
    margin-top: 2rem;
}

.academia-text-main {
    font-size: 1.2rem;
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
        font-weight: 500;
}

.academia-text-secondary {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.academia-vision {
        display: flex;
        align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(139, 0, 0, 0.1);
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.academia-vision i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.academia-vision span {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Grid de Beneficios */
.academia-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    padding: 2rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
        text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    font-size: 2rem;
    color: white;
}

.benefit-card h4 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Selector de Horarios Elegante */
.horarios-selector {
    margin-top: 2rem;
}

.selector-header {
    text-align: center;
    margin-bottom: 3rem;
}

.selector-header h4 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.selector-header p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.paises-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pais-selector {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pais-selector:hover .pais-card {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.2);
    border-color: var(--accent-color);
}

.pais-card {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem 1.5rem;
        text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
        overflow: hidden;
    }

.pais-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pais-selector:hover .pais-card::before {
    opacity: 1;
}

.pais-flag-large {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.pais-card h5 {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.pais-timezone {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    display: block;
}

.pais-indicator {
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.pais-selector:hover .pais-indicator {
    transform: translateY(3px);
}

/* Display de Horarios */
.horarios-display {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(0, 0, 0, 0.1));
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.horarios-placeholder {
    color: var(--text-secondary);
}

.placeholder-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.horarios-placeholder h4 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.horarios-placeholder p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Detalle de Horarios por País */
.horarios-pais-detalle {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.08), rgba(0, 0, 0, 0.15));
    border: 2px solid var(--accent-color);
    border-radius: 20px;
    margin-top: 2rem;
    overflow: hidden;
    backdrop-filter: blur(15px);
    animation: slideInHorarios 0.5s ease-out;
}

@keyframes slideInHorarios {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pais-detalle-header {
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    color: white;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pais-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pais-info .pais-flag {
    font-size: 2.5rem;
}

.pais-info h4 {
    font-size: 1.8rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
}

.pais-info .pais-timezone {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
                letter-spacing: 1px;
              }

.cerrar-horarios {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
                display: flex;
                align-items: center;
                justify-content: center;
            }

.cerrar-horarios:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.horario-dias-detalle {
    padding: 2rem;
}

.dia-horario-detalle {
                display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.dia-horario-detalle:hover {
    background: rgba(139, 0, 0, 0.1);
    border-color: var(--accent-color);
    transform: translateX(5px);
}

.dia-horario-detalle:last-child {
    margin-bottom: 0;
}

.dia-info {
                display: flex;
                align-items: center;
    gap: 1rem;
}

.dia-numero {
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.dia-nombre {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.horario-info {
    text-align: right;
}

.horario-tiempo {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.horario-duracion {
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Grid de Logros */
.logros-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.logro-item {
    text-align: center;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.logro-item:hover {
    transform: translateY(-3px);
    border-color: var(--accent-color);
}

.logro-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    border-radius: 50%;
                display: flex;
                align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.logro-item h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.logro-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Precios */
.academia-pricing {
    margin-bottom: 4rem;
    padding: 3rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 20px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pricing-header h3 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

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

.pricing-card {
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.pricing-card.primary {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1), rgba(0, 0, 0, 0.2));
    border: 2px solid var(--accent-color);
}

.pricing-card.secondary {
    background: rgba(139, 0, 0, 0.05);
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(139, 0, 0, 0.2);
}

.pricing-amount {
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0 0.5rem;
}

.period {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature {
    color: var(--text-primary);
    font-size: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    border: 1px solid var(--border-color);
    }

.pricing-terms {
        text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-terms p {
    color: var(--text-secondary);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.pricing-terms i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

/* Call to Action Final Mejorado */
.academia-cta-final {
    text-align: center;
    padding: 5rem 3rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.15), rgba(0, 0, 0, 0.25));
    border-radius: 30px;
    border: 2px solid var(--border-color);
    backdrop-filter: blur(20px);
        position: relative;
        overflow: hidden;
    }

.academia-cta-final::before {
    content: '';
        position: absolute;
    top: 0;
        left: 0;
    right: 0;
        bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="sparkle" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(139,0,0,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23sparkle)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

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

.cta-sparkle {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: sparkle 2s ease-in-out infinite;
}

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

.cta-hero h3 {
    color: var(--text-primary);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), #FFD700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-hero p {
    color: var(--text-secondary);
    font-size: 1.3rem;
    margin-bottom: 0;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-actions {
        display: flex;
    flex-direction: column;
        align-items: center;
    gap: 2rem;
}

.cta-main-action {
        position: relative;
}

.btn-cta-primary {
        position: relative;
    display: inline-flex;
        align-items: center;
    padding: 1.5rem 3rem;
    border-radius: 60px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    overflow: hidden;
    background: linear-gradient(135deg, var(--accent-color), #8B0000);
    color: white;
        border: none;
    box-shadow: 0 10px 30px rgba(139, 0, 0, 0.4);
}

.btn-cta-primary:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 50px rgba(139, 0, 0, 0.6);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.btn-icon {
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    backdrop-filter: blur(10px);
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
}

.btn-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 60px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-cta-primary:hover .btn-glow {
    opacity: 1;
}

.cta-benefits {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.benefit-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(139, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.benefit-tag:hover {
    background: rgba(139, 0, 0, 0.2);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.benefit-tag i {
    color: var(--accent-color);
    font-size: 1rem;
}
    
    /* Modal responsive para pantallas pequeñas */
    .modal-container {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
    }
    
    .modal-header h3 {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-controls {
        padding: 0 0.5rem;
    }
    
    .modal-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    /* Pestañas responsive */
    .modal-tabs {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .modal-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    /* Indicadores responsive */
    .revista-item::after {
        font-size: 0.6rem;
        padding: 0.3rem 0.6rem;
        right: 0.5rem;
        top: 0.5rem;
    }
    
    .btn-revista::after {
        font-size: 0.55rem;
        padding: 0.25rem 0.5rem;
        bottom: -2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .hero-actions {
        padding: 0 0.5rem;
    }
    
    /* Grid muy pequeño */
    .revistas-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.75rem;
    }
    
    .revista-item {
        padding: 0.75rem;
    }
    
    .revista-item h3 {
        font-size: 0.9rem;
    }
    
    .portada-revista {
        margin-bottom: 1rem;
    }
    
    .btn-revista {
        padding: 0.625rem 1.25rem;
        font-size: 0.8rem;
    }
    
    /* Secciones muy pequeñas */
    .caballo-silicio, .contact {
        padding: 3rem 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    /* Contacto muy pequeño */
    .contact-content {
        padding: 0 0.75rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .btn-submit {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* ===== ANIMACIONES RESPONSIVAS ===== */
@media (max-width: 768px) {
    .title-main {
        animation: titleGlowMobile 3s ease-in-out infinite alternate;
    }
    
    @keyframes titleGlowMobile {
        0% { filter: drop-shadow(0 0 15px rgba(199, 0, 57, 0.4)); }
        100% { filter: drop-shadow(0 0 25px rgba(199, 0, 57, 0.6)); }
    }
    
    .title-underline {
        animation: underlineExpandMobile 2s ease-out;
    }
    
    @keyframes underlineExpandMobile {
        0% { width: 0; }
        100% { width: 150px; }
    }
}

/* ===== MODAL ELEGANTE PARA NOTIFICACIONES ===== */
.modal-elegante {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-elegante.active {
    opacity: 1;
    visibility: visible;
}

.modal-elegante-container {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid rgba(199, 0, 57, 0.3);
    border-radius: 20px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(199, 0, 57, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.modal-elegante.active .modal-elegante-container {
    transform: scale(1) translateY(0);
}

.modal-elegante-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #c70039, #ff4757, #c70039);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.modal-elegante-header {
    padding: 30px 30px 20px;
    text-align: center;
    position: relative;
}

.modal-elegante-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #c70039, #ff4757);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(199, 0, 57, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: pulse 2s infinite;
}

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

.modal-elegante-icon i {
    font-size: 36px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-elegante-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-elegante-message {
    font-size: 16px;
    color: #b0b0b0;
    line-height: 1.6;
    margin: 0;
    padding: 0 20px;
}

.modal-elegante-actions {
    padding: 20px 30px 30px;
    text-align: center;
}

.modal-elegante-btn {
    background: linear-gradient(135deg, #c70039, #ff4757);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 25px rgba(199, 0, 57, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-elegante-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.modal-elegante-btn:hover::before {
    left: 100%;
}

.modal-elegante-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 35px rgba(199, 0, 57, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-elegante-btn:active {
    transform: translateY(0);
}

/* Variantes del modal */
.modal-elegante.success .modal-elegante-icon {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    box-shadow: 
        0 10px 30px rgba(0, 212, 170, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-elegante.success .modal-elegante-container {
    border-color: rgba(0, 212, 170, 0.3);
}

.modal-elegante.success .modal-elegante-container::before {
    background: linear-gradient(90deg, #00d4aa, #00b894, #00d4aa);
}

.modal-elegante.success .modal-elegante-btn {
    background: linear-gradient(135deg, #00d4aa, #00b894);
    box-shadow: 
        0 8px 25px rgba(0, 212, 170, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-elegante.success .modal-elegante-btn:hover {
    box-shadow: 
        0 12px 35px rgba(0, 212, 170, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-elegante.error .modal-elegante-icon {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    box-shadow: 
        0 10px 30px rgba(255, 71, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-elegante.error .modal-elegante-container {
    border-color: rgba(255, 71, 87, 0.3);
}

.modal-elegante.error .modal-elegante-container::before {
    background: linear-gradient(90deg, #ff4757, #ff3742, #ff4757);
}

.modal-elegante.error .modal-elegante-btn {
    background: linear-gradient(135deg, #ff4757, #ff3742);
    box-shadow: 
        0 8px 25px rgba(255, 71, 87, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.modal-elegante.error .modal-elegante-btn:hover {
    box-shadow: 
        0 12px 35px rgba(255, 71, 87, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .modal-elegante-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-elegante-header {
        padding: 25px 20px 15px;
    }
    
    .modal-elegante-icon {
        width: 60px;
        height: 60px;
    }
    
    .modal-elegante-icon i {
        font-size: 28px;
    }
    
    .modal-elegante-title {
        font-size: 24px;
    }
    
    .modal-elegante-message {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .modal-elegante-actions {
        padding: 15px 20px 25px;
    }
    
    .modal-elegante-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    @keyframes titleGlowMobile {
        0% { filter: drop-shadow(0 0 10px rgba(199, 0, 57, 0.3)); }
        100% { filter: drop-shadow(0 0 20px rgba(199, 0, 57, 0.5)); }
    }
    
    @keyframes underlineExpandMobile {
        0% { width: 0; }
        100% { width: 120px; }
    }
}

/* ===== ESTILOS ESPECÍFICOS MOVIDOS DESDE INLINE ===== */
.stat-number.avanzado {
    color: #00ff88 !important;
}

.hidden-by-default {
    display: none !important;
}


/* Estilos del modal iframe - movidos desde inline */
.modal-iframe-container {
    width: 100%;
}

.modal-iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
}

.modal-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}