/* ======== VARIABLES Y ESTILOS GLOBALES ======== */
:root {
    --matte-black: #121212;
    --dark-gray: #1a1a1a;
    --medium-gray: #2c2c2c;
    --light-gray: #999;
    --text-color: #e0e0e0;
    --white-color: #ffffff;
    --primary-red: #e50914;
    --primary-red-hover: #f40612;
    --font-family: 'Poppins', 'Roboto', sans-serif;
    --header-height: 4.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--matte-black);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Remove all GSAP-related styles */
.hero-text>*,
.hero-form-container,
.anim-fade-in {
    visibility: visible;
    opacity: 1;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* ======== COMPONENTES BASE REUTILIZABLES ======== */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--white-color);
}

.section-title-left {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-align: left;
    color: #fff;
}

.section-description {
    font-size: 1.2rem;
    line-height: 1.6;
    max-width: 800px;
    margin-bottom: 3rem;
    text-align: left;
    opacity: 0.9;
    color: #ddd;
}

.background-overlay {
    background-size: cover;
    background-position: center;
    position: relative;
}

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.8);
    z-index: 1;
}

.background-overlay .container {
    position: relative;
    z-index: 2;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: white;
    color: #333;
}

.btn-login {
    border: 1px solid var(--white-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    background-color: var(--white-color);
    color: var(--matte-black);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-course {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-course:hover {
    background: white;
    color: #333;
}

/* ======== HEADER Y NAVEGACIÓN ======== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background-color 0.4s;
    padding: 1rem 0;
}

.nav {
    height: auto;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
}

.nav-left {
    display: flex;
    gap: 2rem;
    align-items: center;
    flex: 1;
    justify-content: flex-start;
    margin-left: 110px;
}

.nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.nav-logo img {
    height: 60px;
    vertical-align: middle;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: flex-end;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s;
    color: var(--white-color);
    font-size: 1rem;
    position: relative;
    text-decoration: none;
}

.nav-link:hover {
    color: var(--primary-red);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: var(--primary-red);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

.btn-login {
    border: 1px solid var(--white-color);
    color: var(--white-color);
    padding: 0.5rem 1.5rem;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-login:hover {
    background-color: var(--white-color);
    color: var(--matte-black);
}

.language-selector {
    display: flex;
    align-items: center;
}

.language-selector select {
    background-color: transparent;
    color: var(--white-color);
    border: 1px solid var(--white-color);
    padding: 0.5rem 0.75rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
    appearance: none;
    padding-right: 2rem;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    background-size: 12px;
}

.language-selector select:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.language-selector option {
    background-color: var(--matte-black);
    color: var(--white-color);
    padding: 0.5rem;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    width: 30px;
    height: 24px;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--white-color);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: var(--matte-black);
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: left 0.3s ease;
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-nav-list li {
    margin: 0;
}

.mobile-nav-list .nav-link {
    font-size: 1.5rem;
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav-list .nav-link:hover {
    color: var(--primary-red);
}

/* Styled login button for mobile menu */
.mobile-nav-list .nav-link.login-btn {
    border: 1px solid var(--white-color);
    color: var(--white-color);
    padding: 0.8rem 2rem;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 1rem;
    display: inline-block;
    font-weight: 600;
}

.mobile-nav-list .nav-link.login-btn:hover {
    background-color: var(--white-color);
    color: var(--matte-black);
}

/* ======== HERO SECTION ======== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center, rgba(30, 30, 30, 1) 0%, var(--matte-black) 70%);
    padding-top: 0;
    margin-top: calc(-1 * var(--header-height) - 2rem);
    /* Extendido más hacia arriba */
    padding-bottom: 2rem;
    /* Compensación para mantener proporción */
}

.hero-background-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100% + 2rem);
    /* Extender la altura de la imagen de fondo */
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.layer-1 {
    background-image: url('../../images_index/2.jpg');
    opacity: 0.6;
    z-index: 1;
}


.hero-content {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 3rem;
    width: 100%;
    margin-top: calc(var(--header-height) + 2rem);
    /* Compensar el espacio adicional */
}

.hero-logo-center {
    width: 250px;
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white-color);
    line-height: 1.2;
    margin-bottom: 1rem;
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(50px);
}

.hero-subtext {
    font-size: 1.2rem;
    color: var(--white-color);
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(50px);
}

.hero-form-container {
    background-color: var(--dark-gray);
    margin-top: 110px;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--medium-gray);
    will-change: transform, opacity;
    opacity: 0;
    transform: translateY(50px);
}

.cta-form h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--white-color);
}

.form-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--medium-gray);
    border: 1px solid #444;
    border-radius: 5px;
    color: var(--white-color);
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group label {
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    color: var(--light-gray);
    pointer-events: none;
    transition: all 0.3s;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group select:focus+label,
.form-group select:valid+label {
    top: -0.6rem;
    left: 0.5rem;
    font-size: 0.75rem;
    background-color: var(--dark-gray);
    padding: 0 0.2rem;
    color: var(--white-color);
}

.form-group select {
    appearance: none;
}

.cta-form button {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.form-confirmation-message {
    text-align: center;
    margin-top: 1rem;
    color: #4CAF50;
    font-weight: 600;
    display: none;
}

/* Que el menú siempre quede visible y con scroll propio */
.iti--container {
    z-index: 9999 !important;
}

/* sobre todo */
.iti--container .iti__country-list {
    max-height: calc(50vh - 50px) !important;
    /* alto adaptable a la ventana */
    overflow-y: auto !important;
    max-width: calc(100vw - 24px) !important;
    /* que no desborde a lo ancho */
    box-sizing: border-box;
}

/* Desktop-only: Match dropdown width to phone input */
@media screen and (min-width: 769px) {
    .iti--container .iti__country-list {
        width: 100% !important;
        max-width: 320px !important;
        min-width: 250px !important;
    }
}

/* ======== ABOUT SECTION ======== */
.about {
    background-image: url('../../images_index/20.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.about-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    text-align: center;
    color: var(--white-color);
}

.about .section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    opacity: 0;
    transform: scale(0.8);
}

.about-content p {
    margin-bottom: 1.8rem;
    font-size: 1.2rem;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
}

/* ======== SPEAK SECTION ======== */
.speak {
    background-image: url('../../images_index/4.jpg');
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 0;
}

.speak::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.speak-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    margin: 0;
    text-align: left;
}

.speak-left {
    flex: 0 0 450px;
    max-width: 450px;
    color: var(--white-color);
    padding-top: 100px;
}

.speak-title {
    font-size: 8.5rem;
    font-weight: 900;
    color: var(--white-color);
    margin-bottom: 0rem;
    letter-spacing: 0em;
    line-height: 1;
}

.metod {
    font-size: 1.2rem;
    color: var(--white-color);
    margin-top: -1rem;
    /* Reducir el margen superior para acercarlo más a SPEAK */
    margin-bottom: 3rem;
    margin-left: 327px;
    opacity: 0.8;
}

.speak-subtitle-main {
    font-size: 2rem;
    font-weight: bold;
    color: var(--white-color);
    margin-top: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.speak-text {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.6;
}

.speak-right {
    flex: 0 0 550px;
    max-width: 550px;
    padding-top: 100px;
    margin-left: 200px;
}

.speak-list {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-top: 1rem;
}

.speak-list li {
    font-size: 1.3rem;
    color: var(--white-color);
    margin-bottom: 3.5rem;
    line-height: 1.2;
}

.acronym-letter {
    font-size: 2.5rem;
    font-weight: 900;
    display: inline-block;
    width: 25px;
    margin-right: 5px;
    color: var(--white-color);
}

/* ======== LANGUAGES SECTION ======== */
.languages {
    background-image: url('../../images_index/20.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.languages::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.5);
    z-index: 1;
}

.languages .section-title {
    text-align: left;
}

.languages .container {
    position: relative;
    z-index: 2;
}

.languages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 4rem;
}

.language-card {
    background: transparent;
    border-radius: 1px;
    overflow: hidden;
    transition: transform 0.3s ease;
    aspect-ratio: 896/1344;
    height: auto;
    position: relative;
}

.language-card:hover {
    transform: translateY(-10px);
}

.language-image {
    height: 100%;
    overflow: hidden;
    border-radius: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.language-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.language-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

@media (max-width: 1200px) {
    .languages-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 900px) {
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 600px) {
    .languages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

/* ======== TESTIMONIALS SECTION ======== */
.testimonials {
    background-image: url('../../images_index/20.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.8);
    z-index: 1;
}

.testimonials .section-title {
    text-align: left;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials-carousel {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin-top: 50px;
}

.testimonial-track {
    display: flex;
    gap: 20px;
    animation: scrollTestimonials 60s linear infinite;
}

.testimonial-card {
    flex: 0 0 300px;
    box-sizing: border-box;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 2px solid var(--primary-red);
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-320px * 8));
    }
}

.testimonials-carousel:hover .testimonial-track {
    animation-play-state: paused;
}

/* ======== FINAL CTA SECTION ======== */
.final-cta {
    background-image: url('../../images_index/15.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    text-align: center;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.8);
    z-index: 1;
}

.final-cta .container {
    position: relative;
    z-index: 2;
}

.final-cta h2 {
    font-size: 2.8rem;
    color: var(--white-color);
    margin-bottom: 1rem;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--light-gray);
    margin-bottom: 2.5rem;
}

/* ======== COURSES SECTION ======== */
.courses-vertical {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -16vh;
    margin-bottom: -15vh;
}

.course-item {
    min-height: 100vh;
    width: 100vw;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.course-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 18, 18, 0.4);
    z-index: 1;
    margin: 0;
    padding: 0;
}

.course-item .course-content {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    color: white;
    padding: 2rem 3rem;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.course-item .course-title {
    font-size: 7.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-transform: uppercase;
    margin-top: 0;
    line-height: 1.1;
}

.course-item .course-description {
    font-size: 1.2rem;
    margin-bottom: 0;
    opacity: 0.9;
    margin-top: 0;
    margin-left: 0.5rem;
}

.course-item .btn-course {
    margin-left: 2rem;
    margin-top: 0;
    margin-bottom: 0;
    align-self: flex-end;
}

/* ======== WHO WE ARE SECTION ======== */
.who-we-are {
    background-image: url('../../images_index/16.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 4rem 0;
}

.who-we-are::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.8);
    z-index: 1;
}

.who-we-are .section-title {
    text-align: left;
}

.who-we-are .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.who-we-are-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

.who-we-are-text {
    max-width: 100%;
}

.who-we-are-text .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.who-we-are-text p {
    font-size: 0.75rem;
    line-height: 1.4;
    margin-bottom: 0.8rem;
    color: var(--text-color);
    opacity: 0.95;
}

.who-we-are-image img {
    width: 100%;
    height: auto;
    border-radius: 1px;
    object-fit: cover;
    margin-top: 5vh;
}

/* ======== OUR TEAM SECTION ======== */
.our-team {
    background-image: url('../../images_index/20.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.our-team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 18, 0.8);
    z-index: 1;
}

.our-team .section-title {
    text-align: left;
}

.our-team .container {
    position: relative;
    z-index: 2;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-member {
    text-align: center;
    background: var(--dark-gray);
    padding: 2rem;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 1rem;
    overflow: hidden;
    border-radius: 1px;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-name {
    font-size: 1.5rem;
    color: var(--white-color);
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--light-gray);
    font-size: 1rem;
}

/* ======== ANIMACIONES GSAP ======== */
.anim-fade {
    opacity: 0;
    transform: translateY(20px);
}

.anim-fade.in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-slide {
    opacity: 0;
    transform: translateX(-30px);
}

.anim-slide.in {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.anim-scale {
    opacity: 0;
    transform: scale(0.9);
}

.anim-scale.in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ======== RESPONSIVE DESIGN - MOBILE ONLY ======== */
@media screen and (max-width: 768px) {
    body {
        font-size: 15px;
        overflow-x: hidden;
        position: relative;
        height: auto;
        min-height: 100vh;
    }

    #smooth-wrapper,
    #smooth-content {
        position: static !important;
        height: auto !important;
        overflow: visible !important;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-title-left {
        font-size: 2.5rem;
    }

    /* Mobile-specific About section visibility */
    .about .section-title {
        opacity: 1 !important;
        transform: none !important;
        font-size: 2.2rem;
    }

    .about-content p {
        opacity: 1 !important;
        transform: none !important;
        font-size: 1.1rem;
    }

    /* Mobile-specific Speak section visibility */
    .speak-title,
    .metod,
    .speak-subtitle-main,
    .speak-text {
        opacity: 1 !important;
        transform: none !important;
    }

    .speak-list li {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Header móvil */
    .header {
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100vw;
        z-index: 1000;
        transition: background-color 0.4s;
        padding: 0.8rem 0;
    }

    .nav {
        max-width: 100%;
        padding: 0 1rem;
        box-sizing: border-box;
        height: auto;
    }

    .nav-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
    }

    /* Ocultar navegación izquierda en móvil */
    .nav-left {
        display: none !important;
    }

    /* Logo centrado en móvil */
    .nav-logo {
        position: static;
        transform: none;
        z-index: 2;
    }

    .nav-logo img {
        height: 45px;
    }

    /* Navegación derecha en móvil */
    .nav-right {
        position: relative;
        gap: 1rem;
        display: flex;
        align-items: center;
        flex: none;
        justify-content: flex-end;
    }

    /* Ocultar enlaces de navegación en móvil */
    .nav-right .nav-link {
        display: none !important;
    }

    /* Ocultar botón login en móvil */
    .nav-right .btn-login {
        display: none !important;
    }

    /* Mostrar hamburger menu en móvil */
    .nav-toggle {
        display: flex !important;
    }

    /* Asegurar que el menú móvil funcione correctamente */
    .mobile-nav {
        display: flex;
    }

    .mobile-nav-list .nav-link {
        font-size: 1.8rem !important;
        padding: 0.5rem 0;
    }

    /* Hero responsive */
    .hero {
        height: auto;
        padding: 8rem 0 4rem;
        min-height: auto;
        position: relative;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        order: 2;
    }

    .hero-form-container {
        order: 1;
        margin-bottom: 3rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 2rem;
        padding: 1.5rem;
    }

    .cta-form h3 {
        margin-bottom: 1.2rem;
        font-size: 1.3rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    /* Speak section móvil */
    .speak {
        padding: 4rem 0;
        min-height: auto;
        position: relative;
    }

    .speak-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
        justify-content: center;
    }

    .speak-left,
    .speak-right {
        padding-top: 1rem;
        max-width: 100%;
        flex: none;
    }

    .speak-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

    .metod {
        font-size: 1rem;
        margin-bottom: 2rem;
        margin-left: 0;
        text-align: center;
    }

    .speak-subtitle-main {
        font-size: 1.1rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .speak-text {
        font-size: 1rem;
    }

    .speak-list li {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }

    .acronym-letter {
        font-size: 1.8rem;
        width: 18px;
        margin-right: 0px;
    }

    /* Languages carousel móvil */
    .language-card {
        flex: 0 0 100%;
    }

    .carousel-btn {
        width: 50px;
        height: 50px;
    }

    .carousel-btn::before {
        width: 10px;
        height: 10px;
        border-width: 0 2px 2px 0;
    }

    /* Who we are móvil */
    .who-we-are-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .who-we-are-text {
        text-align: left;
        max-width: 100%;
        order: 2;
    }

    .who-we-are-image {
        order: 1;
    }

    .who-we-are-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    /* Team grid móvil */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        padding: 1rem;
    }

    .member-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 1rem;
    }

    .member-name {
        font-size: 1.1rem;
    }

    .member-role {
        font-size: 0.8rem;
    }

    /* Courses móvil */
    .courses-vertical {
        width: 100vw;
        margin-left: -50vw;
        margin-right: -50vw;
        left: 50%;
        right: 50%;
        margin-top: -8vh;
        margin-bottom: -8vh;
    }

    .course-item {
        min-height: 100vh;
        width: 100vw;
        padding: 0;
        margin: 0;
        background-attachment: scroll;
    }

    .course-item .course-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
        gap: 2rem;
        max-width: 100%;
        width: 100%;
        margin: 0;
    }

    .course-item .course-title {
        font-size: 3.5rem;
        margin-top: 0;
        margin-bottom: 1rem;
    }

    .course-item .course-description {
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    .course-item .btn-course {
        margin: 0;
    }

    @media (hover: none) and (pointer: coarse) {

        .problem-card,
        .solution-container {
            cursor: default;
        }

        .solution-image img {
            transition: transform 0.3s ease;
        }
    }
}


@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}

.problem-card,
.solution-container {
    cursor: default;
}

.solution-image img {
    transition: transform 0.3s ease;
}



@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}

.course-item .course-title {
    margin-top: 0;
    margin-bottom: 1rem;
}

.course-item .course-description {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.course-item .btn-course {
    margin: 0;
}

@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}



@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}

.problem-card,
.solution-container {
    cursor: default;
}

.solution-image img {
    transition: transform 0.3s ease;
}



@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}



@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}



@media (hover: none) and (pointer: coarse) {

    .problem-card,
    .solution-container {
        cursor: default;
    }

    .solution-image img {
        transition: transform 0.3s ease;
    }
}