/* ========================================
   ESTILOS GLOBALES - DESCODIFICACIÓN TRANSPERSONAL
   Versión Final Completa
   ======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ========================================
   HEADER
   ======================================== */

header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #fbb034 100%);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
}

.logo-link:hover .logo-img-container {
    transform: scale(1.05);
    transition: transform 0.3s;
}

.logo-img-container {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.logo-img-container img {
    height: 50px;
    width: auto;
}

.logo-text {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: #fbb034;
    text-shadow: 0 0 10px rgba(251, 176, 52, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #fbb034;
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* ========================================
   MENÚ HAMBURGUESA - CORREGIDO
   ======================================== */

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    z-index: 1001;
}

.menu-toggle:hover {
    color: #fbb034;
    transform: scale(1.1);
}

.menu-toggle:focus {
    outline: 2px solid #fbb034;
    outline-offset: 4px;
}

.menu-toggle span {
    display: block;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    background: 
        linear-gradient(135deg, 
            rgba(255, 107, 53, 0.75) 0%, 
            rgba(247, 147, 30, 0.8) 25%,
            rgba(251, 176, 52, 0.75) 50%,
            rgba(52, 168, 251, 0.3) 75%,
            rgba(52, 136, 251, 0.4) 100%
        ), 
        url('https://raw.githubusercontent.com/jaselmono-bit/documentos/main/imagenes/pexels-olly-3776808.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(251, 176, 52, 0.4), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(52, 168, 251, 0.3), transparent 40%),
        radial-gradient(circle at 50% 70%, rgba(247, 147, 30, 0.3), transparent 50%),
        radial-gradient(circle at 10% 80%, rgba(255, 107, 53, 0.35), transparent 45%),
        radial-gradient(circle at 90% 60%, rgba(52, 136, 251, 0.25), transparent 40%);
    animation: moveBackground 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes moveBackground {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(-5%, 5%) rotate(5deg); }
    50% { transform: translate(5%, -5%) rotate(-5deg); }
    75% { transform: translate(-3%, -3%) rotate(3deg); }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 
        3px 3px 6px rgba(0,0,0,0.4),
        0 0 30px rgba(251, 176, 52, 0.3);
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 2rem;
    position: relative;
    z-index: 1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, white 0%, #fff7ed 100%);
    color: #ff6b35;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    margin: 0.5rem;
    box-shadow: 
        0 5px 20px rgba(255, 107, 53, 0.3),
        0 0 0 0 rgba(251, 176, 52, 0.5);
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 10px 30px rgba(255, 107, 53, 0.4),
        0 0 20px rgba(251, 176, 52, 0.6);
    background: linear-gradient(135deg, #fbb034 0%, #f7931e 100%);
    color: white;
}

.cta-button.primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    border: 2px solid rgba(251, 176, 52, 0.3);
}

.cta-button.primary:hover {
    background: linear-gradient(135deg, #3488fb 0%, #34a8fb 100%);
    border-color: #34a8fb;
    box-shadow: 
        0 10px 30px rgba(52, 136, 251, 0.4),
        0 0 20px rgba(52, 168, 251, 0.5);
}

.cta-button.secondary {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
}

.cta-button.secondary:hover {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow: 
        0 10px 30px rgba(34, 197, 94, 0.4),
        0 0 20px rgba(74, 222, 128, 0.5);
}

.cta-button.outline {
    background: transparent;
    border: 2px solid #ff6b35;
    color: #ff6b35;
}

.cta-button.outline:hover {
    background: #ff6b35;
    color: white;
}

.cta-button.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.cta-button.small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* ========================================
   CONTAINER
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

section {
    scroll-margin-top: 70px;
}

/* ========================================
   SECTION TITLES
   ======================================== */

.section-title {
    text-align: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #fbb034 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #ff6b35 0%, #fbb034 50%, #3488fb 100%);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.1rem;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ========================================
   BENEFITS SECTION - SIN ÓVALO VERDE
   ======================================== */

.benefits {
    background: linear-gradient(135deg, 
        #fff5f0 0%, 
        #ffe8dc 25%, 
        #fff7ed 50%,
        #e0f2fe 75%,
        #f0f9ff 100%
    );
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(255, 107, 53, 0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(251, 176, 52, 0.1), 
        transparent
    );
    transition: left 0.5s;
}

.benefit-card:hover::before {
    left: 100%;
}

.benefit-card:nth-child(odd):hover {
    border-color: #ff6b35;
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.2);
}

.benefit-card:nth-child(even):hover {
    border-color: #3488fb;
    box-shadow: 0 10px 35px rgba(52, 136, 251, 0.2);
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 3px 6px rgba(255, 107, 53, 0.2));
}

.benefit-card h3 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 700;
}
/* ========================================
   COURSES GRID
   ======================================== */

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.course-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
}

.course-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 107, 53, 0.05) 0%, 
        rgba(52, 168, 251, 0.05) 100%
    );
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.course-card:hover::after {
    opacity: 1;
}

.course-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 15px 45px rgba(255, 107, 53, 0.25),
        0 0 30px rgba(251, 176, 52, 0.15);
    border-color: #fbb034;
}

.course-card:nth-child(3n):hover {
    border-color: #3488fb;
    box-shadow: 
        0 15px 45px rgba(52, 136, 251, 0.25),
        0 0 30px rgba(52, 168, 251, 0.15);
}

.course-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card:hover .course-image {
    transform: scale(1.1);
}

.course-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.course-card h3 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.course-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.course-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.course-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #ffe8dc;
    color: #555;
}

.course-features li:before {
    content: "✓ ";
    background: linear-gradient(135deg, #ff6b35 0%, #fbb034 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    margin-right: 0.5rem;
}

.course-button {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #fbb034 100%);
    color: white;
    padding: 0.8rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.course-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.course-button:hover::before {
    width: 300px;
    height: 300px;
}

.course-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 6px 25px rgba(255, 107, 53, 0.4),
        0 0 20px rgba(251, 176, 52, 0.3);
}

.course-button.free {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
}

.course-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: white;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.course-badge.free {
    background: #4CAF50;
}

.course-badge.promo {
    background: #FF9800;
}

.course-badge.pago {
    background: #9C27B0;
}

/* ========================================
   CONSULTAS GRID
   ======================================== */

.consultas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.consulta-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.consulta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(76, 175, 80, 0.25);
    border-color: #4CAF50;
}

.consulta-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

.consulta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.consulta-card:hover .consulta-image {
    transform: scale(1.1);
}

.consulta-content {
    padding: 2rem;
}

.consulta-content h3 {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.consulta-preview {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.consulta-preview p {
    margin-bottom: 0.8rem;
}

.consulta-preview p:last-child {
    margin-bottom: 0;
}

.consulta-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.consulta-buttons .course-button {
    flex: 1;
    min-width: 140px;
}

.consulta-buttons .course-button.secondary {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
}

/* ========================================
   BLOG GRID
   ======================================== */

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(52, 136, 251, 0.25);
    border-color: #3488fb;
}

.blog-image-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.blog-card:hover .blog-image {
    transform: scale(1.1);
}

.blog-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 107, 53, 0.95);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.video-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 0, 0, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}

.blog-content {
    padding: 2rem;
}

.blog-content h3 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid #ffe8dc;
    border-bottom: 1px solid #ffe8dc;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-modalidad {
    background: linear-gradient(135deg, #3488fb 0%, #34a8fb 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ========================================
   RESOURCES GRID
   ======================================== */

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.resource-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.2);
    border-color: #fbb034;
}

.resource-card:nth-child(2):hover {
    border-color: #3488fb;
    box-shadow: 0 12px 35px rgba(52, 136, 251, 0.2);
}

.resource-image {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #f7931e 25%,
        #fbb034 50%,
        #3488fb 75%,
        #34a8fb 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.resource-image::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 70%);
    animation: rotate 10s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.resource-content {
    padding: 2rem;
}

.resource-tag {
    display: inline-block;
    background: linear-gradient(135deg, #fff5f0 0%, #e0f2fe 100%);
    color: #ff6b35;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    font-weight: 600;
    border: 1px solid #ffe8dc;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.contact-info {
    background: linear-gradient(135deg, 
        #fff5f0 0%, 
        #ffe8dc 50%,
        #e0f2fe 100%
    );
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
}

.contact-item {
    display: flex;
    align-items: start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 3px 15px rgba(255, 107, 53, 0.1);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.contact-item:hover {
    transform: translateX(5px);
    border-left-color: #fbb034;
    box-shadow: 0 5px 20px rgba(251, 176, 52, 0.2);
}

.contact-item:nth-child(even):hover {
    border-left-color: #3488fb;
}

.contact-item .icon {
    font-size: 2rem;
    margin-right: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #fbb034 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-item h3 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    border: 2px solid #ffe8dc;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #fbb034;
    box-shadow: 
        0 0 0 3px rgba(251, 176, 52, 0.1),
        0 0 15px rgba(52, 168, 251, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #f7931e 50%, 
        #fbb034 100%
    );
    color: white;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    box-shadow: 
        0 5px 20px rgba(255, 107, 53, 0.3),
        0 0 0 0 rgba(251, 176, 52, 0);
}

.submit-button:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 8px 30px rgba(255, 107, 53, 0.4),
        0 0 20px rgba(251, 176, 52, 0.3);
}

/* ========================================
   STATS SECTION
   ======================================== */

.stats-section {
    background: linear-gradient(135deg, 
        #ff6b35 0%, 
        #f7931e 25%,
        #fbb034 50%,
        #3488fb 75%,
        #34a8fb 100%
    );
    color: white;
    padding: 4rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15), transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(52, 168, 251, 0.2), transparent 60%);
    pointer-events: none;
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 3rem auto 0;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    transition: transform 0.3s;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.stat-item:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    text-shadow: 
        2px 2px 4px rgba(0,0,0,0.2),
        0 0 20px rgba(251, 176, 52, 0.5);
}

.stat-label {
    font-size: 1.1rem;
}

/* ========================================
   FOOTER
   ======================================== */

footer {
    background: linear-gradient(135deg, #1f2937 0%, #2d3748 100%);
    color: white;
    padding: 3rem 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        #ff6b35 0%, 
        #fbb034 33%,
        #3488fb 66%,
        #ff6b35 100%
    );
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #ff6b35 0%, #fbb034 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #cbd5e0;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
}

.footer-section a:hover {
    color: #fbb034;
    padding-left: 5px;
}

.footer-logo {
    text-align: center;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 3px 10px rgba(251, 176, 52, 0.3));
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #4a5568;
    color: #cbd5e0;
}

/* ========================================
   DESCRIPCIONES CON SALTOS DE LÍNEA
   ======================================== */

.blog-description,
.consulta-description,
.course-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-description p,
.consulta-description p,
.course-description p {
    margin-bottom: 1rem;
}

.blog-description p:last-child,
.consulta-description p:last-child,
.course-description p:last-child {
    margin-bottom: 0;
}

/* ========================================
   VIDEO CONTAINER
   ======================================== */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 1.5rem 0;
    border-radius: 15px;
    background: #f5f5f5;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* ========================================
   INFO GRID
   ======================================== */

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.info-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.info-item:hover {
    border-color: #ff6b35;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.2);
}

.info-item h3 {
    color: #ff6b35;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-item p {
    color: #666;
    font-size: 0.95rem;
}

/* ========================================
   LOADING & ERROR STATES
   ======================================== */

.loading {
    text-align: center;
    padding: 4rem 2rem;
    font-size: 1.2rem;
    color: #666;
}

.loading:after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}

.error-message,
.error-container {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    margin: 2rem auto;
    max-width: 600px;
}

.error-message h2,
.error-container h2 {
    color: #ff6b35;
    margin-bottom: 1.5rem;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin: 3rem 0;
    flex-wrap: wrap;
}

/* ========================================
   WHATSAPP FLOTANTE
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    z-index: 999;
    transition: all 0.3s;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7);
}

.whatsapp-icon {
    font-size: 1.5rem;
}

.whatsapp-text {
    font-weight: 600;
    font-size: 0.95rem;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 5px 20px rgba(37, 211, 102, 0.5);
    }
    50% {
        box-shadow: 0 5px 30px rgba(37, 211, 102, 0.8);
    }
}

/* ========================================
   CORRECCIONES DE IMÁGENES
   ======================================== */

.course-image,
.blog-image,
.consulta-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s;
}

@media (min-width: 769px) {
    .course-image,
    .blog-image,
    .consulta-image {
        height: 220px;
    }
}

/* ========================================
   DETALLE DE BLOG - VIDEO ARRIBA
   ======================================== */

.blog-detail-container .blog-header {
    text-align: center;
    margin-bottom: 2rem;
}

.blog-detail-container .blog-header h1 {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #fbb034 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.blog-detail-container .video-section {
    margin: 2rem 0;
}

.blog-detail-container .video-container {
    margin: 0 auto;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
}

/* ========================================
   DETALLE DE CONSULTA
   ======================================== */

.consulta-detail-container .consulta-header {
    text-align: center;
    margin-bottom: 2rem;
}

.consulta-detail-container .consulta-header h1 {
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.consulta-detail-container .consulta-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto 2rem;
    display: block;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.consulta-section {
    background: white;
    padding: 2.5rem;
    margin: 2rem 0;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.12);
    border-left: 5px solid #4CAF50;
}

.consulta-section h2 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f0f9ff;
    border-radius: 15px;
    border-left: 4px solid #4CAF50;
    transition: all 0.3s;
}

.benefit-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.2);
}

.benefit-icon {
    font-size: 2rem;
    background: #4CAF50;
    color: white;
    padding: 0.8rem;
    border-radius: 50%;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(76, 175, 80, 0.3);
}

.benefit-content h3 {
    color: #2E7D32;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.benefit-content p {
    color: #666;
    line-height: 1.6;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .hero {
        padding: 5rem 2rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo-img-container img {
        height: 40px;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #fbb034 100%);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 1.5rem;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 1rem;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .courses-grid,
    .resources-grid,
    .blog-grid,
    .consultas-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-button {
        width: 100%;
        text-align: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .consulta-buttons {
        flex-direction: column;
    }
    
    .consulta-buttons .course-button {
        width: 100%;
    }
    
    .whatsapp-float {
        width: 60px;
        height: 60px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }
    
    .whatsapp-text {
        display: none;
    }
    
    .whatsapp-icon {
        font-size: 2rem;
    }
    
    .course-image,
    .blog-image,
    .consulta-image {
        height: 200px;
    }
    
    .video-container {
        height: 0;
        padding-bottom: 56.25%;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .courses-grid,
    .blog-grid,
    .consultas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}