/* CSS Variables */
:root {
    /* Monochrome Color Palette */
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #666666;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #495057;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradient Backgrounds */
    --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    --gradient-secondary: linear-gradient(135deg, #333333 0%, #666666 100%);
    --gradient-light: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(51, 51, 51, 0.9) 100%);
    
    /* Typography */
    --font-primary: 'Archivo Black', sans-serif;
    --font-secondary: 'Roboto', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 2.2rem; }
h4 { font-size: 1.8rem; }
h5 { font-size: 1.4rem; }
h6 { font-size: 1.2rem; }

p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.1rem;
    color: var(--secondary-color);
}

/* Global Button Styles */
.btn, .button, button, input[type="submit"] {
    display: inline-block;
    padding: 12px 30px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-light);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover, .button:hover, button:hover, input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

.btn::before, .button::before, button::before, input[type="submit"]::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    transition: left var(--transition-medium);
    z-index: -1;
}

.btn:hover::before, .button:hover::before, button:hover::before, input[type="submit"]:hover::before {
    left: 0;
}

.btn.is-outlined, .button.is-outlined {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn.is-outlined:hover, .button.is-outlined:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Read More Links */
.read-more {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-fast);
}

.read-more::after {
    content: '→';
    margin-left: 5px;
    transition: margin-left var(--transition-fast);
}

.read-more:hover {
    color: var(--accent-color);
}

.read-more:hover::after {
    margin-left: 10px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: var(--spacing-sm) 0;
    box-shadow: var(--shadow-light);
    transition: all var(--transition-fast);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    padding: var(--spacing-xs) 0;
}

.navbar {
    background: transparent !important;
    box-shadow: none !important;
}

.brand-logo {
    font-family: var(--font-primary);
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-item {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-fast);
}

.navbar-item:hover {
    color: var(--primary-color);
}

.navbar-item:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-body {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: var(--spacing-xl) 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    color: var(--white) !important;
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    color: var(--white) !important;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-description {
    color: var(--white) !important;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    opacity: 0.8;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section:nth-child(even) {
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

/* Vision Section */
.vision-section {
    background: var(--gradient-light);
    position: relative;
    overflow: hidden;
}

.vision-content {
    text-align: center;
}

.vision-description {
    font-size: 1.3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-color);
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.vision-item {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-fast);
    text-align: center;
}

.vision-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Instructors Section */
.instructors-section {
    background: var(--white);
}

.instructors-carousel {
    max-width: 1200px;
    margin: 0 auto;
}

.instructor-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.instructor-card .card-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-card .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.instructor-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.instructor-card .card-content {
    padding: var(--spacing-md);
    text-align: center;
}

/* Success Stories Section */
.success-stories-section {
    background: var(--light-gray);
}

.success-slider {
    max-width: 1200px;
    margin: 0 auto;
}

.success-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.success-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.success-card .card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0 auto;
}

.success-card .card-content {
    padding: var(--spacing-md);
    text-align: center;
}

.success-metrics {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.metric {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Accolades Section */
.accolades-section {
    background: var(--white);
}

.accolade-item {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    transition: transform var(--transition-fast);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.accolade-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Clientele Section */
.clientele-section {
    background: var(--light-gray);
}

.clientele-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-color);
}

.client-category {
    background: var(--white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    text-align: center;
    transition: transform var(--transition-fast);
}

.client-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Resources Section */
.resources-section {
    background: var(--white);
}

.resources-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-color);
}

.external-links {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.external-link {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-weight: 500;
}

.external-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: var(--white);
}

/* Pricing Section */
.pricing-section {
    background: var(--light-gray);
}

.pricing-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
    overflow: hidden;
    transition: all var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

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

.pricing-card.featured {
    transform: scale(1.05);
    border: 3px solid var(--primary-color);
}

.pricing-card.featured::before {
    content: 'Más Popular';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xs);
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card .card-content {
    padding: var(--spacing-md);
    text-align: center;
}

.pricing-card.featured .card-content {
    padding-top: calc(var(--spacing-md) + 30px);
}

.price {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.period {
    font-size: 1rem;
    color: var(--accent-color);
}

.features-list {
    list-style: none;
    margin-bottom: var(--spacing-md);
}

.features-list li {
    padding: var(--spacing-xs) 0;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--secondary-color);
}

.features-list li:last-child {
    border-bottom: none;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--light-gray);
    margin-bottom: var(--spacing-sm);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-light);
}

.faq-question {
    padding: var(--spacing-md);
    cursor: pointer;
    transition: background var(--transition-fast);
    margin-bottom: 0;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.faq-question:hover {
    background: var(--medium-gray);
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

/* Contact Section */
.contact-section {
    background: var(--light-gray);
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-description {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
    color: var(--secondary-color);
}

.contact-form {
    background: var(--white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-light);
}

.field {
    margin-bottom: var(--spacing-md);
}

.label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--secondary-color);
}

.input, .textarea {
    width: 100%;
    padding: var(--spacing-sm);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-sm);
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

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

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-lg);
}

.footer h3, .footer h4 {
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--spacing-md);
}

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

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.social-links {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.social-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.social-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--white);
    transition: width var(--transition-fast);
}

.social-links a:hover {
    color: var(--white);
}

.social-links a:hover::after {
    width: 100%;
}

/* Success Page Styles */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-light);
    padding: var(--spacing-lg);
}

.success-content {
    text-align: center;
    max-width: 600px;
    background: var(--white);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
}

.success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: var(--spacing-md);
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
    padding-top: 100px;
    min-height: 100vh;
}

.privacy-content, .terms-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.privacy-content h1, .terms-content h1 {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.privacy-content h2, .terms-content h2 {
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
}

.privacy-content p, .terms-content p {
    margin-bottom: var(--spacing-md);
}

.privacy-content ul, .terms-content ul {
    margin-bottom: var(--spacing-md);
    padding-left: var(--spacing-md);
}

.privacy-content li, .terms-content li {
    margin-bottom: var(--spacing-xs);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scroll Animation Classes */
.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .button {
        width: 100%;
        max-width: 300px;
    }
    
    .vision-grid {
        grid-template-columns: 1fr;
    }
    
    .success-metrics {
        flex-direction: column;
        align-items: center;
    }
    
    .external-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-burger {
        color: var(--primary-color);
    }
    
    .navbar-menu {
        background: var(--white);
        box-shadow: var(--shadow-light);
    }
    
    .section {
        padding: var(--spacing-lg) 0;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .contact-form {
        padding: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section {
        padding: var(--spacing-md) 0;
    }
    
    .contact-form {
        padding: var(--spacing-sm);
    }
    
    .success-content {
        padding: var(--spacing-md);
    }
}

/* Parallax Effect */
.parallax-element {
    transform: translateZ(0);
    will-change: transform;
}

/* Glassmorphism Effect */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Asymmetric Balance Elements */
.asymmetric-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--spacing-md);
}

.asymmetric-grid:nth-child(even) {
    grid-template-columns: 2fr 1fr;
}

/* Scroll-dependent animations */
.scroll-fade {
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.scroll-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-slide-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.6s ease-out;
}

.scroll-slide-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-slide-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s ease-out;
}

.scroll-slide-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }

.shadow-light { box-shadow: var(--shadow-light); }
.shadow-medium { box-shadow: var(--shadow-medium); }
.shadow-heavy { box-shadow: var(--shadow-heavy); }

.rounded-sm { border-radius: var(--radius-sm); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }