/**
 * ============================================
 * MEDITA LIBRE - ESTILOS PRINCIPALES
 * ============================================
 */

/* Variables CSS */
:root {
    --primary-purple: #7c3aed;
    --dark-bg: #1e293b;
    --light-purple: #f3e8ff;
    --beige-bg: #f5e6d3;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
}

/* Estilos Generales */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    -webkit-tap-highlight-color: transparent;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Navbar */
.navbar-brand-text {
    font-weight: 600;
    color: var(--dark-bg);
    margin-left: 10px;
}

.navbar .logo-img {
    width: 40px;
    height: 40px;
    background: var(--beige-bg);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar .logo-img img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
}

/* Logo Container */
.logo-container {
    background: white;
    border-radius: 20px;
    padding: 0px;
    display: inline-block;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.3);
}

.logo-img {
    width: 80px;
    height: 80px;
    background: var(--beige-bg);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
}

/* Hero Principal */
.main-hero {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 100px 0;
    text-align: center;
}

.main-hero h1 {
    font-size: 3.5rem;
    font-weight: 300;
    color: var(--dark-bg);
    margin-bottom: 0;
}

.main-hero .gradient-text {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 4rem;
}

.main-hero .lead {
    color: var(--text-muted);
    max-width: 700px;
    margin: 20px auto;
}

.badge-transformacion {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-block;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Botones del Hero */
.btn-comenzar {
    background: var(--primary-purple);
    color: white;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
    transition: transform 0.3s;
}

.btn-comenzar:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-ver-programas {
    background: transparent;
    color: var(--dark-bg);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 10px;
    border: 2px solid var(--border-color);
    transition: all 0.3s;
}

.btn-ver-programas:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

/* Stats */
.stats {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.stat-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.stat-icon-green { background: #10b981; }
.stat-icon-purple { background: #7c3aed; }
.stat-icon-orange { background: #f59e0b; }

/* Sección de Programas */
.programas-section {
    background: #fafafa;
    padding: 80px 0;
}

.subtitle { letter-spacing: 1px; }

.section-description {
    max-width: 700px;
    margin: 0 auto;
}

/* Tarjetas de Programas */
.program-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
}

.program-card.selected {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
}

.program-card.selected .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.program-card.selected h4,
.program-card.selected p,
.program-card.selected .price,
.program-card.selected .price + span,
.program-card.selected .check-item span {
    color: white !important;
}

.program-card.selected .check-icon {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image-container { position: relative; }

.program-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f59e0b;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Badge de oferta de lanzamiento (Intro) */
.popular-badge.oferta-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    animation: pulse-badge 2s infinite;
}

/* Badge de oferta Fin de Año (21 Días) */
.popular-badge.oferta-badge-21dias {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    animation: pulse-badge-21dias 2s infinite;
}

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

@keyframes pulse-badge-21dias {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 20px 5px rgba(239, 68, 68, 0.3); }
}

/* Estilos de precio en tarjeta */
.precio-oferta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.precio-tachado {
    font-size: 1.5rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 500;
}

.precio-gratis {
    font-size: 2rem;
    font-weight: 800;
    color: #10b981;
    text-transform: uppercase;
}

/* Precio con descuento (21 Días) */
.precio-descuento {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ef4444;
}

.texto-temporal {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Texto temporal para 21 Días (rojo) */
.texto-temporal.texto-temporal-21dias {
    color: #ef4444;
}

/* Estilos de precio gratis en card destacada */
.oferta-lanzamiento-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    animation: pulse-badge 2s infinite;
}

.precio-oferta-grande {
    margin-bottom: 10px;
}

.precio-original-tachado {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
    display: block;
    margin-bottom: 5px;
}

.precio-gratis-grande {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    margin: 0;
}

/* Estilos para oferta en header de inscripción (21 Días) */
.precio-total-oferta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.25rem;
}

.precio-original-small {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: line-through;
}

.oferta-texto {
    color: #fbbf24 !important;
    font-weight: 600;
    opacity: 1 !important;
}

.oferta-texto i {
    margin-right: 0.25rem;
}

.icon-box {
    width: 50px;
    height: 50px;
    background: var(--light-purple);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-bg);
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.check-icon {
    color: #10b981;
    font-size: 1.2rem;
}

.btn-elegir {
    background: var(--primary-purple);
    color: white;
    padding: 15px;
    border-radius: 10px;
    border: none;
    width: 100%;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.btn-elegir:hover {
    background: #6d28d9;
    transform: translateX(5px);
}

.btn-elegir.selected {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

/* Sección Comunidad - Paso 1: Mensaje Emocional */
.comunidad-section {
    background: white;
    padding: 80px 0;
    display: none;
}

.comunidad-section.show { display: block; }

.comunidad-intro-card {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-radius: 30px;
    padding: 50px 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.1);
}

.comunidad-intro-card .comunidad-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.comunidad-intro-title {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--dark-bg);
    margin-bottom: 25px;
    line-height: 1.4;
}

.comunidad-intro-title .highlight-si {
    color: var(--primary-purple);
    font-weight: 700;
    font-style: italic;
}

.comunidad-intro-text {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 15px;
    line-height: 1.6;
}

.comunidad-intro-question {
    color: var(--dark-bg);
    font-size: 1.1rem;
    font-weight: 500;
    margin: 25px 0 15px;
}

.comunidad-abrazo {
    color: var(--primary-purple);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.btn-ver-detalles {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
    padding: 18px 40px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-ver-detalles:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

/* Sección Comunidad - Paso 2: Detalles */
.comunidad-detalles-section {
    background: linear-gradient(180deg, #faf5ff 0%, #ffffff 100%);
    padding: 80px 0;
    display: none;
}

.comunidad-detalles-section.show { display: block; }

.badge-suscripcion {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary-purple);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.detalles-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--dark-bg);
    margin-bottom: 10px;
}

.detalles-subtitle {
    color: var(--primary-purple);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 40px;
}

/* Card: Qué incluye */
.incluye-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    border: 1px solid #f0f0f0;
}

.incluye-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 25px;
}

.incluye-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.incluye-lista li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 18px;
    color: var(--dark-bg);
    font-size: 0.95rem;
    line-height: 1.5;
}

.incluye-lista li i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Card: Precio destacado */
.precio-card-destacado {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

.precio-label {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 10px;
}

.precio-grande {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.precio-periodo {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.precio-cita {
    background: rgba(255,255,255,0.15);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
}

.precio-cita p {
    margin: 0;
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    opacity: 0.95;
}

.btn-skool {
    background: white;
    color: var(--primary-purple);
    padding: 16px 35px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    width: 100%;
    justify-content: center;
}

.btn-skool:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    color: var(--primary-purple);
}

.acceso-inmediato {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 15px;
    margin-bottom: 0;
}

/* Beneficios mini */
.beneficio-mini {
    background: white;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: transform 0.3s ease;
    height: 100%;
}

.beneficio-mini:hover {
    transform: translateY(-5px);
}

.beneficio-mini i {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 10px;
    display: block;
}

.beneficio-mini.purple {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.beneficio-mini.purple i {
    color: #c026d3;
}

.beneficio-mini.green {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.beneficio-mini.green i {
    color: #10b981;
}

.beneficio-mini h5 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin-bottom: 5px;
}

.beneficio-mini p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Sin compromiso */
.sin-compromiso-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 15px;
    padding: 20px 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.sin-compromiso-card i {
    font-size: 1.8rem;
    color: #10b981;
}

.sin-compromiso-card h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-bg);
    margin: 0 0 3px 0;
}

.sin-compromiso-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Responsive para comunidad */
@media (max-width: 768px) {
    .comunidad-intro-title { font-size: 1.5rem; }
    .detalles-title { font-size: 1.8rem; }
    .precio-grande { font-size: 2.8rem; }
    .comunidad-intro-card { padding: 40px 25px; }
}

/* Sección Inscripción */
.inscripcion-section, .vision-section {
    background: white;
    padding: 80px 0;
    display: none;
}

.inscripcion-section.show, .vision-section.show { display: block; }

.fecha-inicio-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.fecha-selected-box {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.fecha-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-purple);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.small-text { font-size: 0.9rem; }

.selected-date-text {
    font-weight: 700;
    color: var(--dark-bg);
}

.program-title {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 5px;
}

.horario-option {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.horario-option:hover {
    border-color: var(--primary-purple);
    background: #faf5ff;
}

.horario-option input[type="radio"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-purple);
}

.horario-option label {
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.horario-option.selected {
    border-color: var(--primary-purple);
    background: #faf5ff;
}

.info-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
    margin-top: 15px;
    font-size: 0.95rem;
}

.inscripcion-header {
    background: var(--primary-purple);
    color: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.inscripcion-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.inscripcion-header p {
    margin: 0;
    opacity: 0.9;
}

.header-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
}

.precio-total {
    font-size: 2.5rem;
    font-weight: 700;
}

.small-precio {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Calendario */
.calendar-info-message {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid #3b82f6;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-info-message i {
    color: #3b82f6;
    font-size: 1.5rem;
}

.calendar-info-message p {
    margin: 0;
    color: #1e40af;
    font-weight: 500;
}

/* Placeholder de fecha */
.fecha-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 30px;
    min-height: 300px;
}

.placeholder-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.placeholder-icon i {
    font-size: 4rem;
    color: #cbd5e1;
}

.placeholder-text {
    font-size: 1.15rem;
    color: var(--dark-bg);
    font-weight: 500;
    margin-bottom: 15px;
    line-height: 1.5;
    max-width: 280px;
}

.placeholder-hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

.placeholder-hint .hint-purple {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Estado seleccionado */
.fecha-selected-info {
    animation: fadeInUp 0.4s ease-out;
}

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

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header h5 {
    margin: 0;
    font-weight: 600;
}

.calendar-nav-btn {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-nav-btn:hover { background: var(--border-color); }

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    text-align: center;
}

.calendar-day-header {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    padding: 8px 0;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: var(--light-purple);
}

.calendar-day.selected {
    background: var(--dark-bg);
    color: white;
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.calendar-day.disabled.weekend-disabled {
    color: #e2e8f0;
    background: #f8fafc;
}

.calendar-day.other-month { color: #cbd5e1; }

/* Días del programa */
.calendar-day.programa-day {
    background: #f3e8ff;
    color: #7c3aed;
    font-weight: 500;
}

.calendar-day.programa-day.programa-preview {
    background: #f3e8ff;
    color: #a78bfa;
    font-weight: 500;
}

.calendar-day.programa-day.programa-activo {
    background: #ddd6fe;
    color: #5b21b6;
    font-weight: 600;
    box-shadow: inset 0 0 0 2px rgba(124, 58, 237, 0.3);
    animation: pulseIn 0.3s ease-out;
}

@keyframes pulseIn {
    0% {
        transform: scale(0.95);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Lunes disponible */
.calendar-day.inicio-disponible {
    background: var(--primary-purple);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.calendar-day.inicio-disponible:hover {
    background: #6d28d9;
    transform: scale(1.1);
}

.calendar-day.inicio-disponible.inicio-seleccionado {
    background: var(--dark-bg);
    color: white;
    font-weight: 700;
    box-shadow: 0 0 0 3px var(--primary-purple), 0 0 0 5px rgba(124, 58, 237, 0.3);
    transform: scale(1.1);
}

.calendar-day.inicio-disponible.inicio-seleccionado::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    background: #10b981;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.calendar-day.dia-disponible { cursor: pointer; }

.calendar-day.dia-disponible:hover:not(.disabled) {
    background: var(--light-purple);
}

.calendar-day.dia-seleccionado {
    background: var(--dark-bg);
    color: white;
    font-weight: 700;
}

.calendar-legend {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    font-size: 0.9rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.legend-color.disponible { background: var(--primary-purple); }
.legend-color.programa { background: #ddd6fe; }

/* Formularios */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 12px 16px;
}

.form-control:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 0.2rem rgba(124, 58, 237, 0.1);
}

.form-label {
    font-weight: 600;
    color: var(--dark-bg);
    margin-bottom: 8px;
}

.form-control.is-invalid { border-color: #dc3545; }
.form-control.is-valid { border-color: #10b981; }

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.error-message.show { display: block; }

.seguridad-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 10px;
    color: #166534;
    margin: 20px 0;
}

.seguridad-badge i { font-size: 1.5rem; }
.seguridad-badge span { font-weight: 600; }

.btn-pagar {
    background: var(--primary-purple);
    color: white;
    padding: 18px;
    border-radius: 12px;
    border: none;
    width: 100%;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.btn-pagar:hover {
    background: #6d28d9;
    transform: translateY(-2px);
}

/* Testimonios */
.testimonios-section {
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    padding: 80px 0;
}

.testimonio-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
}

.testimonio-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonio-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonio-info h5 {
    margin: 0;
    font-weight: 700;
    color: var(--dark-bg);
}

.testimonio-info p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonio-stars {
    color: #f59e0b;
    margin-bottom: 15px;
}

.testimonio-text {
    color: var(--text-muted);
    line-height: 1.7;
    font-style: italic;
}

/* FAQ */
.faq-section {
    background: #fafafa;
    padding: 80px 0;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--dark-bg);
    transition: all 0.3s;
}

.faq-question:hover { background: #f8fafc; }

.faq-question i {
    color: var(--primary-purple);
    transition: transform 0.3s;
}

.faq-question.active i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
    color: var(--text-muted);
}

.faq-answer.show {
    max-height: 500px;
    padding: 0 25px 20px;
}

/* Consultas Personalizadas */
.consultas-section {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
    padding: 80px 0;
}

.consultas-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.consultas-section .logo-container {
    margin-bottom: 20px;
}

.badge-consultas {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.consultas-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.consultas-title strong {
    font-weight: 700;
}

.consultas-description {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 600px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.consultas-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    opacity: 0.95;
}

.feature-item i {
    font-size: 1.3rem;
}

.btn-agendar-consulta {
    background: white;
    color: var(--primary-purple);
    padding: 18px 50px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.btn-agendar-consulta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Modal de Consulta */
.modal-consulta-content {
    border-radius: 20px;
    border: none;
    overflow: hidden;
}

.modal-consulta-content .modal-header {
    padding: 25px 30px 15px;
}

.modal-consulta-content .modal-body {
    padding: 15px 30px 25px;
}

.modal-consulta-content .modal-footer {
    padding: 15px 30px 25px;
}

.calendario-consulta-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

/* Grid de horarios para consultas */
.horarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.horario-slot {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
}

.horario-slot:hover {
    border-color: var(--primary-purple);
    background: var(--light-purple);
}

.horario-slot.selected {
    background: var(--dark-bg);
    color: white;
    border-color: var(--dark-bg);
}

.horario-slot.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #f1f5f9;
}

.horario-slot.disabled:hover {
    border-color: #e2e8f0;
    background: #f1f5f9;
}

/* Botón confirmar consulta */
.btn-confirmar-consulta {
    background: linear-gradient(135deg, #c4b5fd 0%, #ddd6fe 100%);
    color: var(--primary-purple);
    padding: 16px 40px;
    border-radius: 15px;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-confirmar-consulta:not(:disabled) {
    background: linear-gradient(135deg, #7c3aed 0%, #9333ea 100%);
    color: white;
}

.btn-confirmar-consulta:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 58, 237, 0.4);
}

.btn-confirmar-consulta:disabled {
    cursor: not-allowed;
}

/* Responsive consultas */
@media (max-width: 768px) {
    .consultas-title { font-size: 2rem; }
    .consultas-features { flex-direction: column; gap: 15px; }
    .horarios-grid { grid-template-columns: repeat(2, 1fr); }
}

.consultas-section .lead {
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-agendar {
    background: white;
    color: #7c3aed;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s;
}

.btn-agendar:hover {
    transform: translateY(-2px);
    color: #7c3aed;
}

/* Footer */
footer.hero-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

/* Loading y Modales */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-overlay.show { display: flex; }

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.3);
    border-top: 5px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Modal de PayPal */
.modal-paypal .modal-dialog {
    max-width: 500px;
    margin: 30px auto;
}

.modal-paypal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

.modal-paypal .modal-body {
    min-height: 500px;
    padding: 20px 25px 30px;
}

#paypal-button-wrapper {
    min-height: 450px;
    padding: 10px 0;
}

#paypal-button-wrapper .paypal-buttons {
    min-height: 450px !important;
}

.success-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transition: transform 0.3s ease;
}

.success-modal.show {
    transform: translate(-50%, -50%) scale(1);
}

.success-modal h3 {
    color: var(--dark-bg);
    margin-bottom: 15px;
}

.success-modal p { color: var(--text-muted); }

.success-icon {
    width: 80px;
    height: 80px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    color: white;
    font-size: 3rem;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.btn-cerrar-success {
    background: var(--primary-purple);
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    margin-top: 20px;
    cursor: pointer;
}

/* Animaciones */
.fade-in { animation: fadeIn 0.6s ease-in; }

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

/* Responsive */
@media (max-width: 768px) {
    .main-hero h1 { font-size: 2.5rem; }
    .main-hero .gradient-text { font-size: 3rem; }
    .stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    .comunidad-title { font-size: 2rem; }
    .precio-total { font-size: 2rem; }
    .program-card h4 { font-size: 1.25rem; }
}

@media (max-width: 576px) {
    .main-hero h1 { font-size: 2rem; }
    .main-hero .gradient-text { font-size: 2.5rem; }
    .main-hero { padding: 60px 0; }
    .programas-section, .inscripcion-section, .vision-section, .consultas-section { padding: 50px 0; }
    .price { font-size: 2rem; }
    .btn-comenzar, .btn-ver-programas {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}

/* Animaciones de aparición (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.from-left {
    transform: translateX(-50px);
}

.reveal.from-right {
    transform: translateX(50px);
}

.reveal.from-bottom {
    transform: translateY(50px);
}

.reveal.scale-in {
    transform: scale(0.9);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }
.reveal.delay-5 { transition-delay: 0.5s; }

.program-card.reveal {
    transition: opacity 0.6s ease-out, transform 0.6s ease-out, box-shadow 0.3s ease;
}

.stat-item.reveal {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.testimonio-card.reveal {
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.faq-item.reveal {
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.hero-animate {
    animation: heroFadeIn 1s ease-out forwards;
}

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

.badge-transformacion, .badge-acceso {
    animation: subtlePulse 3s ease-in-out infinite;
}

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

.logo-container {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.4);
}

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-animate,
    .badge-transformacion,
    .badge-acceso,
    .logo-container {
        animation: none;
        transition: none;
        opacity: 1;
        transform: none;
    }
}

/* ============================================
   ACORDEÓN TRANSFERENCIA BANCARIA
   ============================================ */

.transferencia-accordion {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: #fafafa;
}

.transferencia-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-weight: 500;
}

.transferencia-toggle:hover {
    background: #f0f0f0;
    color: var(--dark-bg);
}

.transferencia-toggle span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.transferencia-toggle .bi-bank {
    font-size: 1.2rem;
    color: var(--primary-purple);
}

.transferencia-toggle .toggle-icon {
    transition: transform 0.3s ease;
    color: var(--primary-purple);
}

.transferencia-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.transferencia-accordion.active .transferencia-content {
    border-top: 1px solid var(--border-color);
}

.datos-bancarios {
    padding: 20px;
    background: white;
}

.datos-bancarios h6 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.datos-bancarios h6 i {
    color: var(--primary-purple);
}

.dato-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e2e8f0;
}

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

.dato-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

.dato-valor {
    color: var(--dark-bg);
    font-weight: 600;
    font-family: 'SF Mono', 'Consolas', monospace;
    font-size: 0.95rem;
    text-align: right;
    word-break: break-all;
}

.dato-valor.destacado {
    color: var(--primary-purple);
    font-size: 1.1rem;
}

.comprobante-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
    border-radius: 10px;
    border-left: 4px solid var(--primary-purple);
}

.comprobante-info i {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-top: 2px;
}

.comprobante-info p {
    margin: 0;
    color: var(--dark-bg);
    font-size: 0.9rem;
}

.comprobante-info a {
    color: var(--primary-purple);
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}

.comprobante-info a:hover {
    text-decoration: underline;
}

.btn-copiar-datos {
    width: 100%;
    margin-top: 15px;
    padding: 12px 20px;
    background: var(--dark-bg);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-copiar-datos:hover {
    background: #334155;
    transform: translateY(-2px);
}

.btn-copiar-datos.copiado {
    background: #10b981;
}

.btn-copiar-datos i {
    font-size: 1.1rem;
}

/* Responsive para datos bancarios */
@media (max-width: 576px) {
    .dato-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .dato-valor {
        text-align: left;
        font-size: 0.9rem;
    }
}