/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

body.menu-open {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    z-index: 1001;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    width: 100%;
    height: 3px;
    background: #000;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

.nav-list a:hover,
.nav-list a.active {
    color: #000;
    font-weight: 600;
}

.header-contact .phone {
    color: #333;
    font-weight: 500;
}

/* Main content */
.main-content {
    margin-top: 80px;
}

/* Hero Section */
.hero {
    background: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: #000;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #fff;
    color: #000;
    border: 2px solid #000;
}

.btn-secondary:hover {
    background: #000;
    color: #fff;
}

/* About Section */
.about {
    background: #fff;
    padding: 4rem 0;
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Services Section */
.services {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
}

.services h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
}

.services p {
    text-align: center;
    color: #ccc;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.services-list {
    list-style: none;
}

.services-list li {
    padding: 1.5rem 0;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 500;
}

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

/* CTA Section */
.cta {
    background: #1a1a1a;
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: #fff;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.contact-info .icon {
    margin-right: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1rem;
}

.footer-bottom-content {
    text-align: center;
    color: #999;
}

/* Courses Section */
.courses {
    background: #fff;
    padding: 4rem 0;
}

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

.course-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.12);
    border-color: #e0e0e0;
}

.course-image {
    height: 180px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.course-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

.course-features {
    list-style: none;
    margin-bottom: 2rem;
    flex: 1;
}

.course-features li {
    padding: 0.4rem 0;
    color: #555;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

.course-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
    font-size: 0.9rem;
}

.course-card .btn {
    margin-top: auto;
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Course Detail Page */
.course-detail {
    background: #fff;
    padding: 4rem 0;
}

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

.course-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.course-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.course-image {
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    background: #f8f9fa;
}

.course-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 400px;
}

.course-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.course-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin: 2rem 0 1rem 0;
}

.learning-objectives {
    list-style: none;
    margin-bottom: 2rem;
}

.learning-objectives li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.learning-objectives li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #000;
    font-weight: bold;
}

.course-modules {
    margin-bottom: 2rem;
}

.module {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.module h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.module p {
    color: #666;
    margin: 0;
}

.course-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Contact Page */
.contact-section {
    background: #fff;
    padding: 4rem 0;
}

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

.contact-info h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #666;
    margin: 0;
}

.contact-form-section h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    color: #000;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #000;
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin: 0;
    width: auto;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Values Section */
.values {
    background: #fff;
    padding: 4rem 0;
}

.values h2 {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #000;
    margin-bottom: 3rem;
}

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

.value-card {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.value-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #000;
    margin-bottom: 1rem;
}

.value-card p {
    color: #666;
    margin: 0;
}

/* Legal Pages */
.legal-page {
    background: #fff;
    padding: 4rem 0;
}

.legal-page h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #000;
    margin: 2rem 0 1rem 0;
}

.legal-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #000;
    margin: 1.5rem 0 0.5rem 0;
}

.legal-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content li {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1a1a1a;
    color: #fff;
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

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

.cookie-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #fff;
}

.cookie-text p {
    color: #ccc;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: #fff;
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

.cookie-banner .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.cookie-banner .btn-primary {
    background: #fff;
    color: #1a1a1a;
    border: none;
}

.cookie-banner .btn-primary:hover {
    background: #f0f0f0;
}

.cookie-banner .btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.cookie-banner .btn-secondary:hover {
    background: #fff;
    color: #1a1a1a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: #fff;
        transition: left 0.3s ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav.active {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .nav-list a {
        font-size: 1.2rem;
        padding: 1rem 0;
        display: block;
        width: 100%;
    }
    
    .header-contact {
        display: none;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .course-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .course-content {
        padding: 1.5rem;
    }
    
    .course-image {
        min-height: 250px;
    }
    
    .course-image img {
        max-height: 300px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .services h2 {
        font-size: 2rem;
    }
    
    .cta h2 {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 320px) {
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .nav-list a {
        font-size: 1.1rem;
        padding: 0.8rem 0;
    }
    
    .cookie-banner {
        padding: 1rem;
    }
    
    .cookie-banner .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .course-content {
        padding: 1.25rem;
    }
    
    .course-content h3 {
        font-size: 1.2rem;
    }
    
    .course-content p {
        font-size: 0.9rem;
    }
    
    .course-features li {
        font-size: 0.85rem;
    }
    
    .course-image {
        min-height: 180px;
    }
    
    .course-image img {
        max-height: 200px;
    }
}
