<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* style.css */

/*------------------------------------------------------------------
[Table of Contents]

1. Root Variables
2. Global Styles &amp; Typography
3. Utility Classes
4. Header &amp; Navigation (Fixed)
5. Main Content &amp; Sections
6. Hero Section
7. Card Styles (Features, Instructors, Blog, etc.)
8. Methodology Section
9. Success Stories / Testimonials
10. Statistical Widgets
11. External Resources Section
12. FAQ Section (Accordion)
13. Careers Section
14. Contact Form
15. Footer
16. Animations &amp; Transitions (Morphing, Scroll Effects)
17. Specific Page Styles (Success, Privacy, Terms)
18. Responsive Design
-------------------------------------------------------------------*/

/* 1. Root Variables
-------------------------------------------------------------------*/
:root {
    --font-primary: 'Roboto', sans-serif;
    --font-secondary: 'Lato', sans-serif;

    /* Triadic Color Scheme */
    --color-primary: #FF6347; /* Tomato Red - Main Accent */
    --color-secondary: #47FF63; /* Bright Green - Secondary Accent */
    --color-tertiary: #6347FF; /* Vibrant Blue/Violet - Tertiary Accent */

    --color-text-dark: #222222;
    --color-text-medium: #333333;
    --color-text-light: #f0f0f0;
    --color-white: #FFFFFF;
    --color-black: #000000;

    --color-bg-light: #f5f5f5;
    --color-bg-medium: #e0e0e0;
    --color-bg-dark: #222222;

    --border-brutalist: 2px solid var(--color-text-medium);
    --border-brutalist-dark: 3px solid var(--color-black);

    --transition-speed: 0.3s;
    --transition-morph: 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* For morphing effects */

    --header-height: 70px; /* Approximate header height for padding */
}

/* 2. Global Styles &amp; Typography
-------------------------------------------------------------------*/
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--color-text-medium);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    color: var(--color-text-dark);
    line-height: 1.3;
    margin-bottom: 0.75em;
    font-weight: 700;
}

h1 { font-size: 2.8em; font-weight: 900; }
h2 { font-size: 2.2em; }
h3 { font-size: 1.7em; }
h4 { font-size: 1.3em; }

p {
    margin-bottom: 1em;
    color: var(--color-text-medium);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Base button styles - Applied globally */
.button,
button,
input[type="submit"],
input[type="button"] {
    display: inline-block;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 1em;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    color: var(--color-white);
    background-color: var(--color-primary);
    border: var(--border-brutalist-dark);
    cursor: pointer;
    transition: background-color var(--transition-speed) ease, color var(--transition-speed) ease, transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    text-decoration: none;
    line-height: 1.5; /* Ensure text is vertically centered */
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover {
    background-color: var(--color-secondary);
    color: var(--color-black);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.button:active,
button:active,
input[type="submit"]:active,
input[type="button"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* Button variations */
.button.secondary {
    background-color: var(--color-secondary);
    color: var(--color-black);
}
.button.secondary:hover {
    background-color: var(--color-tertiary);
    color: var(--color-white);
}
.button.tertiary {
    background-color: var(--color-tertiary);
}
.button.tertiary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 15px;
    border: var(--border-brutalist);
    background-color: var(--color-white);
    font-family: var(--font-secondary);
    font-size: 1em;
    color: var(--color-text-medium);
    transition: border-color var(--transition-speed) ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 2px rgba(255, 99, 71, 0.3); /* Focus ring with primary color */
}

textarea {
    min-height: 150px;
    resize: vertical;
}

/* 3. Utility Classes
-------------------------------------------------------------------*/
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* 4. Header &amp; Navigation (Fixed)
-------------------------------------------------------------------*/
#main-header {
    background-color: rgba(245, 245, 245, 0.95); /* Light with slight transparency */
    backdrop-filter: blur(5px); /* Glassmorphism touch */
    padding: 10px 0;
    border-bottom: var(--border-brutalist-dark);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height);
    display: flex; /* Added for vertical centering */
    align-items: center; /* Added for vertical centering */
}

#main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0; /* Override container padding */
    padding-bottom: 0; /* Override container padding */
}

.logo {
    font-family: var(--font-primary);
    font-size: 1.8em;
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 900;
}
.logo:hover {
    color: var(--color-primary);
}

.main-nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.main-nav ul li {
    margin-left: 25px;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--color-text-medium);
    font-weight: bold;
    font-family: var(--font-primary);
    padding: 8px 12px;
    border-bottom: 3px solid transparent;
    transition: color var(--transition-speed), border-color var(--transition-speed);
}

.main-nav ul li a:hover,
.main-nav ul li a.active { /* Assuming an 'active' class can be added via JS */
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.mobile-menu-button {
    display: none; /* Hidden by default, shown in media query */
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--color-text-dark);
}

/* 5. Main Content &amp; Sections
-------------------------------------------------------------------*/
main {
    padding-top: var(--header-height); /* Offset for fixed header */
}

section {
    padding: 60px 0;
    border-bottom: var(--border-brutalist);
    overflow: hidden; /* For animations */
}

section:last-of-type {
    border-bottom: none;
}

.section-title {
    font-size: 2.5em; /* As per HTML inline style */
    color: var(--color-text-dark); /* As per HTML inline style */
    text-align: center;
    margin-bottom: 40px; /* As per HTML inline style */
    padding-bottom: 10px; /* As per HTML inline style */
    border-bottom: 3px solid var(--color-primary); /* As per HTML inline style */
    display: inline-block; /* As per HTML inline style, helps with centering */
    position: relative; /* For centering the title block */
    left: 50%;
    transform: translateX(-50%);
}

/* 6. Hero Section
-------------------------------------------------------------------*/
#hero {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Parallax effect */
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
    padding: 40px 0; /* Reduced padding for more content visibility */
    border-bottom: var(--border-brutalist-dark); /* Stronger border for hero */
}

#hero .text-on-image-overlay {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)); /* Darker overlay for better readability */
    padding: 30px;
    border: 2px solid var(--color-primary); /* Brutalist border for overlay */
    max-width: 800px; /* Limit width for better text flow */
}

#hero h1 {
    font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive font size */
    color: var(--color-white);
    text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
    margin-bottom: 20px;
}

#hero p {
    font-size: clamp(1.1em, 2.5vw, 1.4em);
    color: var(--color-white);
    margin-bottom: 30px;
    line-height: 1.7;
}

#hero .button {
    margin: 10px;
}

/* 7. Card Styles (Features, Instructors, Blog, etc.)
-------------------------------------------------------------------*/
.card {
    background-color: var(--color-bg-light);
    border: var(--border-brutalist);
    margin-bottom: 20px;
    display: flex; /* For centering image and content */
    flex-direction: column; /* Stack image and content vertically */
    align-items: stretch; /* Stretch items to fill width, but images might need centering */
    text-align: left; /* Default text align */
    transition: transform var(--transition-morph), box-shadow var(--transition-morph);
    overflow: hidden; /* To contain morphing effects or shadows */
}

.card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card-image {
    width: 100%;
    height: 200px; /* Fixed height for image container */
    overflow: hidden; /* Ensures image fits */
    border-bottom: var(--border-brutalist);
    display: flex; /* Center image if it's smaller */
    align-items: center;
    justify-content: center;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, cropping if necessary */
    transition: transform 0.5s ease;
}

.card:hover .card-image img {
    transform: scale(1.1); /* Slight zoom on hover */
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    color: var(--color-text-dark);
    margin-top: 0;
    font-size: 1.5em; /* Match HTML */
    margin-bottom: 10px;
    text-align: center; /* Center card titles */
}

.card-content p {
    color: var(--color-text-medium);
    line-height: 1.6; /* Match HTML */
    font-size: 0.95em;
    margin-bottom: 15px;
}
.card-content p:last-child {
    margin-bottom: 0;
}

.card .button {
    margin-top: auto; /* Pushes button to bottom if card content varies */
    align-self: center; /* Center button in card */
}

/* Specific card layouts */
/* For sections like "Nuestros Paquetes" or "Instructores" where cards are in a row */
#cursos .card-content h3, #instructores .card-content h3 {
    min-height: 2.5em; /* Ensure titles have enough space, helps alignment if varying lengths */
}

/* Ensure images in cards like instructor profiles are centered if they don't fill the .card-image container (though object-fit: cover should handle this) */
#instructores .card-image {
    height: 300px; /* As per HTML, specific to instructor images */
}


/* 8. Methodology Section
-------------------------------------------------------------------*/
#metodologia .flex-container { /* Assuming a div with this class wraps image and text */
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}
#metodologia .flex-container &gt; div {
    flex: 1;
    min-width: 300px;
}
#metodologia img {
    border: var(--border-brutalist);
    /* Potential biomorphic touch: clip-path for organic shape */
    /* clip-path: polygon(0% 15%, 15% 0%, 100% 0%, 85% 100%, 0% 100%); */
}

/* 9. Success Stories / Testimonials
-------------------------------------------------------------------*/
#testimonios .card {
    background-color: var(--color-white); /* As per HTML */
    border-left-width: 5px; /* As per HTML */
    border-top: var(--border-brutalist);
    border-right: var(--border-brutalist);
    border-bottom: var(--border-brutalist);
}
#testimonios .card:nth-child(1) { border-left-color: var(--color-primary); }
#testimonios .card:nth-child(2) { border-left-color: var(--color-secondary); }
#testimonios .card:nth-child(3) { border-left-color: var(--color-tertiary); }

#testimonios .card-content {
    position: relative;
    padding-left: 20px;
}
#testimonios .card-content img {
    width: 80px; /* As per HTML */
    height: 80px; /* As per HTML */
    border-radius: 50%; /* As per HTML */
    float: left; /* As per HTML */
    margin-right: 15px; /* As per HTML */
    border: var(--border-brutalist); /* As per HTML */
    object-fit: cover;
}
#testimonios .card-content h3 {
    text-align: left; /* As per HTML */
    margin-bottom: 5px;
    padding-top: 5px; /* Adjust alignment with floated image */
}
#testimonios .card-content p em {
    font-style: italic;
    color: var(--color-text-medium);
    display: block;
    margin-bottom: 10px;
}
#testimonios .card-content p:last-of-type { /* For "Curso Tomado" */
    font-weight: bold;
    font-size: 0.9em;
    color: var(--color-text-dark);
}

/* 10. Statistical Widgets
-------------------------------------------------------------------*/
#estadisticas {
    background-color: var(--color-text-dark); /* As per HTML */
    color: var(--color-white);
}
#estadisticas .section-title {
    color: var(--color-white);
    border-bottom-color: var(--color-primary); /* As per HTML */
}
.stat-widget {
    padding: 20px;
    background-color: rgba(255,255,255,0.05); /* Darker than HTML's 0.1 for more contrast */
    border: 1px solid; /* Color set by inline style in HTML */
    text-align: center;
    min-width: 200px;
    flex: 1;
    transition: transform var(--transition-speed) ease;
}
.stat-widget:hover {
    transform: scale(1.05);
}
.stat-widget p:first-child {
    font-size: 3em; /* As per HTML */
    font-family: var(--font-primary);
    margin-bottom: 5px; /* As per HTML */
    font-weight: 900;
}
.stat-widget p:last-child {
    font-size: 1.2em; /* As per HTML */
    color: var(--color-text-light); /* As per HTML */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 11. External Resources Section
-------------------------------------------------------------------*/
#recursos-externos {
    background-color: var(--color-bg-medium); /* As per HTML */
}
#recursos-externos ul {
    list-style: none;
    padding: 0;
}
#recursos-externos li {
    background-color: var(--color-white); /* As per HTML */
    border: var(--border-brutalist); /* As per HTML */
    margin-bottom: 15px; /* As per HTML */
    padding: 20px; /* Increased padding */
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
#recursos-externos li:hover {
    transform: translateY(-3px) scale(1.01); /* Subtle lift */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
#recursos-externos li h3 {
    margin-top: 0; /* As per HTML */
    margin-bottom: 8px; /* As per HTML */
    font-size: 1.2em;
    text-align: left; /* As per HTML */
}
#recursos-externos li h3 a {
    text-decoration: none; /* As per HTML */
}
#recursos-externos li p {
    margin-bottom: 0; /* As per HTML */
    color: #555; /* As per HTML */
    font-size: 0.9em; /* As per HTML */
}

/* 12. FAQ Section (Accordion)
-------------------------------------------------------------------*/
.accordion-item {
    border: var(--border-brutalist);
    margin-bottom: 10px;
    background-color: var(--color-white);
}
.accordion-item:last-child {
    margin-bottom: 0;
}
.accordion-button {
    background-color: transparent;
    color: var(--color-text-dark);
    cursor: pointer;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.1em;
    font-family: var(--font-primary);
    font-weight: bold;
    transition: background-color var(--transition-speed);
    position: relative;
}
.accordion-button::after { /* Arrow indicator */
    content: '+';
    font-size: 1.5em;
    color: var(--color-primary);
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform var(--transition-speed) ease;
}
.accordion-button[aria-expanded="true"]::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg); /* Simple flip isn't enough, just change content */
}
.accordion-button:hover {
    background-color: var(--color-bg-light);
}
.accordion-content {
    padding: 0 25px 20px 25px; /* Padding only when open */
    background-color: var(--color-white);
    overflow: hidden;
    border-top: 1px solid var(--color-bg-medium); /* Separator */
}
.accordion-content p {
    color: var(--color-text-medium);
    font-size: 0.95em;
    line-height: 1.7;
}

/* 13. Careers Section
-------------------------------------------------------------------*/
#carreras {
    background-color: var(--color-bg-light); /* As per HTML */
}
#carreras img {
    border: var(--border-brutalist); /* As per HTML */
    margin-bottom: 20px; /* As per HTML */
    max-width: 600px; /* As per HTML */
    margin-left: auto;
    margin-right: auto;
}
#carreras p a {
    color: var(--color-primary); /* As per HTML */
    text-decoration: underline; /* As per HTML */
}
#carreras p a:hover {
    color: var(--color-secondary);
}

/* 14. Contact Form (in Contact section and on other pages)
-------------------------------------------------------------------*/
.contact-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--color-text-dark); /* Darker labels */
}
/* General contact section layout from HTML */
#contacto-rapido .flex-container, /* Assuming a wrapper, or directly style children of #contacto-rapido &gt; .container &gt; div */
.contact-page-container .flex-container { /* For contacts.html */
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start; /* Align items to the top */
}

#contacto-rapido .flex-container &gt; div,
.contact-page-container .flex-container &gt; div {
    flex: 1;
    min-width: 300px;
}

/* 15. Footer
-------------------------------------------------------------------*/
footer {
    background-color: var(--color-bg-dark); /* As per HTML */
    color: var(--color-text-light); /* As per HTML */
    padding: 50px 0; /* Increased padding */
    text-align: center;
    border-top: 5px solid var(--color-primary); /* As per HTML */
}

footer .container &gt; div:first-child { /* The flex container for links */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin-bottom: 30px; /* Increased margin */
    gap: 20px;
    text-align: left;
}

footer h4 {
    font-family: var(--font-primary); /* As per HTML */
    margin-bottom: 15px; /* Increased margin */
    font-size: 1.2em;
    text-transform: uppercase;
    letter-spacing: 1px;
}
footer h4[style*="color: #FF6347"] { color: var(--color-primary) !important; }
footer h4[style*="color: #47FF63"] { color: var(--color-secondary) !important; }
footer h4[style*="color: #6347FF"] { color: var(--color-tertiary) !important; }


footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px; /* As per HTML */
}

footer ul li a {
    color: var(--color-text-light); /* As per HTML */
    text-decoration: none;
    transition: color var(--transition-speed) ease, padding-left var(--transition-speed) ease;
}

footer ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px; /* Slight indent on hover for biomorphic feel */
    text-decoration: underline;
}

footer p:last-child { /* Copyright */
    font-size: 0.9em; /* As per HTML */
    margin-top: 20px;
    color: #aaa; /* Lighter gray for copyright */
}

/* Cookie Consent Popup */
#cookieConsentPopup {
    /* Styles are mostly inline in HTML as per prompt, but can be enhanced here */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.2);
}
#cookieConsentPopup p {
    color: var(--color-white) !important; /* Ensure white text */
}

/* 16. Animations &amp; Transitions (Morphing, Scroll Effects)
-------------------------------------------------------------------*/
/* Elements to animate on scroll (requires JS to add 'visible' class) */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Morphing button example on hover (more advanced than simple transform) */
/* This requires careful crafting and might be too much for brutalism. Keeping it subtle. */
.button:hover {
    /* border-radius: 5px; /* Slight rounding - biomorphic */
    /* letter-spacing: 0.5px; */
}

/* 17. Specific Page Styles (Success, Privacy, Terms)
-------------------------------------------------------------------*/
/* success.html */
body.success-page { /* Add class to body on success.html */
    display: flex;
    flex-direction: column; /* For header/footer */
    min-height: 100vh;
}
.success-page main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.success-container {
    padding: 40px;
    background-color: var(--color-bg-light);
    border: var(--border-brutalist-dark);
    max-width: 600px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.success-container h1 {
    color: var(--color-secondary); /* Green for success */
    font-size: 2.5em;
}
.success-container p {
    font-size: 1.2em;
    margin-bottom: 25px;
}

/* privacy.html &amp; terms.html */
body.privacy-page main,
body.terms-page main {
    padding-top: 40px; /* Additional top padding for content, main already has header offset */
    padding-bottom: 40px;
}
.privacy-page .container h1,
.terms-page .container h1 {
    text-align: left;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
    display: block; /* Override inline-block from .section-title */
    left: auto;
    transform: none;
}
.privacy-page .container h2,
.terms-page .container h2 {
    text-align: left;
    margin-top: 30px;
    font-size: 1.8em;
    color: var(--color-text-dark);
}
.privacy-page .container p,
.terms-page .container p,
.privacy-page .container ul,
.terms-page .container ul {
    text-align: left;
    color: var(--color-text-medium);
}
.privacy-page .container ul,
.terms-page .container ul {
    list-style-position: outside;
    padding-left: 20px;
    margin-bottom: 1em;
}


/* 18. Responsive Design
-------------------------------------------------------------------*/
@media (max-width: 992px) {
    h1 { font-size: 2.3em; }
    h2, .section-title { font-size: 1.9em; }
    h3 { font-size: 1.5em; }

    #hero h1 { font-size: clamp(2em, 4vw, 3em); }
    #hero p { font-size: clamp(1em, 2vw, 1.2em); }

    .card-content { padding: 20px; }
}

@media (max-width: 768px) {
    body { font-size: 15px; }
    .container { width: 95%; }

    #main-header .container {
        /* Flex properties set in HTML's inline styles seem to handle this.
           .header-content will contain logo and button
           .main-nav needs to be handled by JS for active class */
    }
    .main-nav {
        /* JS handles display:flex and position, etc. when .active */
    }
    .main-nav ul {
        flex-direction: column;
        position: absolute;
        top: calc(var(--header-height) - 3px); /* Align below header border */
        left: 0;
        width: 100%;
        background-color: rgba(240, 240, 240, 0.98); /* Slightly more opaque */
        backdrop-filter: blur(8px);
        border-top: var(--border-brutalist);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 10px 0;
        display: none; /* Initially hidden */
    }
    .main-nav ul.active {
        display: flex; /* Showed by JS */
    }
    .main-nav ul li {
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    .main-nav ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid var(--color-bg-medium);
    }
    .main-nav ul li:last-child a {
        border-bottom: none;
    }

    .mobile-menu-button {
        display: block; /* Show burger */
    }

    #hero { min-height: calc(80vh - var(--header-height)); }

    #cursos .container &gt; div, /* Flex container for cards */
    #instructores .container &gt; div,
    #blog .container &gt; div,
    #testimonios .container &gt; div {
        flex-direction: column;
        align-items: center;
    }
    #cursos .card, #instructores .card, #blog .card, #testimonios .card {
        max-width: 400px; /* Limit card width on mobile */
        width: 100%;
    }

    #estadisticas .flex-container { /* HTML has 'display: flex; flex-wrap: wrap;' */
        flex-direction: column; /* Stack stats on mobile */
    }
    .stat-widget {
        width: 100%;
        margin-bottom: 15px;
    }
    .stat-widget:last-child { margin-bottom: 0; }

    #metodologia .flex-container,
    #contacto-rapido .flex-container,
    .contact-page-container .flex-container {
        flex-direction: column;
    }
    #metodologia .flex-container &gt; div,
    #contacto-rapido .flex-container &gt; div,
    .contact-page-container .flex-container &gt; div {
        min-width: 100%; /* Full width on mobile */
    }

    footer .container &gt; div:first-child { /* Links columns */
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    footer .container &gt; div:first-child &gt; div { /* Each column */
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
    footer h4 { text-align: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2, .section-title { font-size: 1.6em; }
    h3 { font-size: 1.3em; }

    #hero { padding: 20px 0; }
    #hero h1 { font-size: clamp(1.8em, 6vw, 2.5em); }
    #hero p { font-size: clamp(0.9em, 3vw, 1.1em); }
    #hero .button { padding: 10px 20px; font-size: 0.9em; }

    .button, button, input[type="submit"] {
        padding: 10px 20px;
        font-size: 0.95em;
    }
    .card-content { padding: 15px; }

    .section-title {
        font-size: 1.8em; /* Further reduce for very small screens */
    }

    .accordion-button {
        padding: 15px 20px;
        font-size: 1em;
    }
    .accordion-button::after {
        right: 20px;
    }
}

/* Accessibility: Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--color-tertiary);
    outline-offset: 2px;
    box-shadow: 0 0 0 5px rgba(99, 71, 255, 0.3);
}

/*
  The HTML structure uses inline styles for some elements (e.g., section background colors, specific dimensions).
  This CSS file provides a comprehensive base and enhances styling, respecting those inline styles where appropriate
  or overriding them if a global rule is more suitable (like button styles).
  The goal is a cohesive design adhering to the prompt's requirements.
*/</pre></body></html>