/* Base Styles */
:root {
    --primary-color: #1E3A8A;
    --accent-color: #F97316;
    --background-color: #F3F4F6;
    --text-color: #111827;
    --text-secondary: #4B5563;
    --white: #FFFFFF;
    --header-bg: #172554;
    --footer-bg: #0F172A;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

section[id] {
    scroll-margin-top: 80px;
}

div {
    word-break: break-word;
    overflow-wrap: break-word;
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

/* Body with menu toggle */
body:has(#menu-toggle:checked) {
    overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

.section {
    padding: 5rem 0;
}

.section p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.bg-light {
    background-color: var(--white);
}

/* Header and Navigation */
header {
    background-color: var(--header-bg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
}

.menu-checkbox {
    display: none;
}

.menu-toggle-label {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle-label span {
    width: 30px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: var(--transition);
}

nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

nav ul a {
    color: var(--white);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

nav ul a:hover {
    color: var(--accent-color);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    color: var(--white);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: block;
    padding: 12px 25px;
    background-color: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    margin: auto;
    max-width: max-content;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--white);
    border: 2px solid var(--accent-color);
}
.btn-primary:hover {
    color: white;
}

/* Grid Layouts */
.features-grid,
.audience-grid,
.benefits-grid,
.pricing-grid,
.testimonials-grid,
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

/* Feature Cards */
.feature-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-card h3, .feature-card p {
    padding: 0 20px;
    text-align: center;
}

.feature-card h3 {
    margin-top: 1rem;
}

.feature-card p {
    padding-bottom: 20px;
}

/* Audience Cards */
.audience-card {
    background-color: var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    color: var(--white);
    box-shadow: var(--card-shadow);
    text-align: center;
}

.audience-card h3 {
    color: var(--white);
}

/* Benefit Items */
.benefit-item {
    padding: 1.5rem;
    border-radius: 8px;
    background-color: var(--white);
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Pricing Cards */
.pricing-card {
    display: grid;
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
    transition: var(--transition);
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card h3 {
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    margin-bottom: 2rem;
    text-align: left;
}

.pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.featured {
    border: 3px solid var(--accent-color);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonial Cards */
.testimonial-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: #eee;
    z-index: 0;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Instructor Cards */
.instructor-card {
    background-color: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.instructor-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.instructor-card h3,
.instructor-card p,
.instructor-card .instructor-role {
    padding: 0 20px;
    text-align: center;
}

.instructor-role {
    display: block;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.instructor-card p {
    padding-bottom: 20px;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.contact-item {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: var(--white);
}

.form-group select option {
    background-color: white;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 2rem;
}

.footer-info .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-links h3,
.footer-legal h3,
.footer-contact h3 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links ul,
.footer-legal ul {
    list-style: none;
}

.footer-links a,
.footer-legal a,
.footer-contact a {
    color: #ccc;
    transition: var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover {
    color: var(--accent-color);
}

.footer-links li,
.footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
    color: #ccc;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1.5rem;
    display: none;
    min-width: 300px;
}

.cookie-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cookie-content h3 {
    margin-bottom: 0.5rem;
}

.cookie-content p {
    margin-bottom: 1rem;
}

/* FAQ */
.faq-checkbox {
    display: none;
}

/* Thanks Section */
.thanks-section {
    min-height: 100vh;
    display: grid;
    align-items: center;
}

.thanks-container {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    text-align: center;
    max-width: 600px;
    margin: 5rem auto;
}

/* ===== Política de Cookies ===== */
.policy-content {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--card-shadow);
    max-width: 900px;
    margin: 0 auto;
}

.policy-content h1 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.policy-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    border-left: 4px solid var(--accent-color);
    padding-left: 10px;
}

.policy-content h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-color);
}

.policy-content p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.policy-content ul {
    margin: 1rem 0 1.5rem 1.5rem;
    padding-left: 1rem;
    list-style-type: disc;
    color: var(--text-secondary);
}

.policy-content ul li {
    margin-bottom: 0.8rem;
}

.policy-content a {
    color: var(--accent-color);
    font-weight: 600;
}

.policy-content a:hover {
    text-decoration: underline;
}


/* Responsive Design */
@media (max-width: 992px) {
    .features-grid,
    .audience-grid,
    .benefits-grid,
    .pricing-grid,
    .testimonials-grid,
    .instructors-grid,
    .contact-info {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .hero {
        height: 70vh;
    }
    
    .thanks-section {
        height: auto;
    }
    
    /* Navigation */
    .menu-toggle-label {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background-color: var(--header-bg);
        max-height: 0;
        overflow: hidden;
        transition: var(--transition);
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
    }
    
    nav ul a {
        display: block;
        padding: 15px;
    }
    
    .menu-checkbox:checked ~ nav {
        max-height: 100vh;
        height: 100vh;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 15px;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    nav ul {
        gap: 5px;
    }
}
