/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

:root {
    --header-height: 135px;
}

a {
    text-decoration: none;
}

/* ===== STICKY CONTAINER ===== */
.sticky-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 8px 0;
    width: 100%;
}

.top-bar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 11px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.partners-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.partner-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: saturate(1.5);
}

.partners-logos .divider-line {
    display: inline-block;
    width: 1px;
    height: 30px;
    background-color: #d1d5db;
    margin: 0 12px;
    flex-shrink: 0;
}

.partners-logos a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.partners-logos a:hover {
    transform: scale(1.15);
}

.partners-logos a .partner-logo {
    display: block;
    transition: filter 0.3s ease;
}

.top-right-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.social-icon {
    position: relative;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ===== HEADER ===== */
header {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    box-shadow: rgba(33, 35, 38, 0.1) 0px 10px 10px -10px;
}

.header-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    height: 80px;
    padding: 0 24px !important;
    max-width: 1280px;
    margin: 0 auto;
}

.desktop-nav-wrapper {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-link {
    display: flex;
    align-items: center;
}

.header-logo {
    height: 4rem;
    width: auto;
    display: block;
    transition: filter .3s ease;
}

.header-logo:hover {
    transform: scale(1.12);
}

/* ===== NAVEGACIÓN DESKTOP ===== */
nav {
    font-family: "Barlow", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.desktop-menu {
    display: flex;
    align-items: stretch;
    gap: 0;
    height: 100%;
}

.nav-link-container {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.desktop-menu > a,
.nav-link-container > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 18px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #173060;
    transition: background-color 0.25s ease, color 0.25s ease;
    border-top: 5px solid #ffffff;
    text-decoration: none;
    font-family: "Barlow", sans-serif;
}

.desktop-menu > a:hover,
.nav-link-container > a:hover {
    background: #173060;
    color: #fff !important;
}

.desktop-menu > a.active,
.nav-link-container > a.active {
    background: #173060;
    color: #fff !important;
}

.nav-link {
    position: relative;
    color: #173060;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: "";
    position: absolute;
    height: 2px;
    transition: all 0.3s ease;
}

.style-2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 20px;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    background: #ffffff;
    transition: width 0.3s ease;
}

.style-2:hover::after,
.style-2.active::after,
.nav-link-container:hover > .style-2::after {
    width: calc(100% - 24px);
}

.nav-link-container:hover > a {
    background: #173060;
    color: #fff !important;
}

.nav-arrow-icon {
    margin-left: 6px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.nav-link-container:hover .nav-arrow-icon {
    transform: rotate(180deg);
}

/* ===== SUBMENÚS ===== */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 290px;
    padding: 8px 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
    border-top: 5px solid #173060;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 999;
}

.nav-link-container:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.submenu a {
    display: block;
    padding: 8px 22px;
    color: #4b5563;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    text-decoration: none;
    font-family: "Barlow", sans-serif;
}

.submenu a:hover {
    background: #173060;
    color: #ffffff;
    padding-left: 28px;
}

.submenu-newrink {
    min-width: 400px;
    width: 400px;
    padding: 12px 20px;
}

.submenu-newrink-section {
    margin-bottom: 8px;
}

.submenu-newrink-section-title {
    display: inline-block;
    padding: 0 20px;
    color: #173060;
    font-size: 20px;
    font-weight: 500;
    line-height: 25px;
    letter-spacing: normal;
    text-transform: none;
    background-color: transparent;
    font-family: "Barlow", sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    margin-bottom: 8px;
}

.submenu-newrink a {
    display: block;
    margin: 0 20px;
    padding: 5px 0 5px 12px;
    color: #4b5563;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    font-family: "Barlow", sans-serif;
    text-decoration: none;
}

.submenu-newrink a:hover {
    background: #173060;
    color: #ffffff;
    padding-left: 18px;
}

/* ===== HEADER ACTIONS ===== */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== HAMBURGUESA ===== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 60;
    position: relative;
}

.hamburger-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #173060;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== MENÚ MÓVIL ===== */
.mobile-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    z-index: 55;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.mobile-menu-dropdown.open {
    max-height: 85vh;
    overflow-y: auto;
}

.mobile-menu-container {
    padding: 20px 24px;
    border-top: 1px solid #e5e7eb;
}

/* ============================================ */
/* MENÚ MÓVIL - TEXTOS MÁS GRANDES (SIN NEGRILLA) */
/* ============================================ */

.mobile-nav-link-left {
    display: block;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    color: #173060;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.3s ease;
    text-align: left;
    text-decoration: none;
}

.mobile-nav-link {
    display: block;
    padding: 16px 0;
    font-size: 1.2rem;
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    color: #173060;
    border-bottom: 1px solid #e5e7eb;
    transition: color 0.3s ease;
    text-align: left;
    text-decoration: none;
}

.mobile-nav-parent {
    position: relative;
    display: block;
}

.mobile-toggle-icon {
    position: absolute;
    right: 16px;
    top: 5px;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    pointer-events: auto;
    z-index: 9999;
}

.mobile-toggle-icon i {
    transition: transform 0.3s ease;
    display: inline-block;
}

.mobile-toggle-icon.open i {
    transform: rotate(180deg);
}

.mobile-submenu {
    margin-top: 4px;
    margin-bottom: 8px;
    border-radius: 8px;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.mobile-submenu.open {
    max-height: 700px;
    overflow-y: auto;
}

.mobile-submenu a {
    display: block;
    padding: 12px 20px 12px 35px;
    color: #4b5563;
    font-size: 1rem;
    font-weight: 500;
    font-family: "Barlow", sans-serif;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    text-decoration: none;
}

.mobile-submenu a:hover {
    background-color: #173060;
    color: #ffffff !important;
    padding-left: 40px;
}

.mobile-submenu .submenu-section-title-mobile {
    display: inline-block;
    padding: 10px 20px 6px 20px;
    color: #0A1C3A;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: normal;
    text-transform: none;
    margin-top: 6px;
    font-family: "Barlow", sans-serif;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.mobile-submenu .submenu-item-indent {
    padding-left: 35px;
}

.mobile-nav-link-left:hover,
.mobile-nav-link:hover {
    background-color: #173060;
    color: #ffffff !important;
}

.mobile-nav-parent .mobile-nav-link {
    padding-right: 50px;
}

/* ============================================ */
/* SECCIONES PRINCIPALES */
/* ============================================ */
.youth-programs {
    position: relative;
    background-color: #ffffff;
    padding: 0 1.5rem 0 1.5rem;
    margin-top: var(--header-height);
    margin-bottom: 20px;
}

.side-by-side-images {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.side-image {
    flex: 1;
}

.side-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 300px;
    cursor: pointer;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover img {
    transform: scale(1.06);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(23, 48, 96, 0.85);
    z-index: 1;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 8px;
}

.card:hover::before {
    transform: scaleY(1);
}

.card h3 {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 2rem;
    color: #ffffff;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Bebas Neue", sans-serif;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}

.card.active h3 {
    background: rgba(23, 48, 96, 0.9);
}

.info-div {
    background: 
        linear-gradient(
            to bottom,
            #2766b2 0%,
            #15498b 25%,
            #041b3f 65%,
            #000814 100%
    );
    padding: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    animation: slideDown 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.info-div h4 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.80rem;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: italic;
}

.info-div p {
    color: #ffffff;
    line-height: 1.6;
    margin-bottom: 15px;
    font-family: "Bai Jamjuree", sans-serif;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.youth-programs-two {
    position: relative;
    background-color: #ffffff;
    padding: 4rem 1.5rem 0 1.5rem;
    margin-bottom: 0;
}

.youth-programs-three {
    position: relative;
    background-color: #ffffff;
    padding: 0 1.5rem 0 1.5rem;
    margin-bottom: 0;
    margin-top: 1.5rem;
}

.youth-programs-four {
    position: relative;
    padding: 0 1.5rem 0 1.5rem;
    margin-bottom: 20px;
}

.hero-strip-two {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;
    background-image: url('../img/ice.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 0;
    overflow: hidden;
}

.hero-strip-six {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 190px;
    background-image: url('../img/DiagonalLines_TutorBird.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

/* OVERLAY - CONTENIDO SOBRE EL PARALLAX */
.hero-strip-three-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-strip-six-overlay {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.hero-strip-three-content {
    width: 100%;
    max-width: 1280px;
    max-height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    pointer-events: auto;
    overflow: hidden;
}

.hero-strip-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 100%;
    width: 100%;
}

.hero-strip-title-img {
    max-width: 30%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s ease;
}

.hero-strip-title-img:hover {
    transform: scale(1.02);
}

.container-two {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
}

.container-four {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding-bottom: 1rem;
}

.left-column-with-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Wrapper de la imagen izquierda */
.left-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.left-section-img {
    width: 50%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.left-section-img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Mantener el texto con el mismo estilo */
.left-text {
    background: #ffffff;
    padding: 30px;
}

.left-text p {
    color: #3e3e3e;
    font-family: "Barlow", sans-serif;
    line-height: 1.6;
    margin-bottom: 15px;
}

.left-text p:last-child {
    margin-bottom: 0;
}

/* Columna derecha - imagen centrada */
.right-cards {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.right-image-centered {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.centered-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.5s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.centered-img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* TÍTULO CENTRAL */
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    background-clip: text;
    -webkit-background-clip: text;
    color: #173060;
    text-transform: uppercase;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: italic;
    font-weight: 600;
    display: inline-block;
    position: relative;
}

.small-cards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.small-card {
    position: relative;
    top: 40px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    padding: 20px;
}

.small-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 0;
}

.small-card-img-bg {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: top center;
    opacity: 0.18;
    display: block;
}

.small-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.icon-wrapper {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.icon-wrapper img {
    width: 50px;
    height: 50px;
    display: block;
    margin: 0 auto;
}

.small-card h3 {
    width: 100%;
    margin: 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.1rem;
    color: #173060;
    text-align: center;
}

.two-columns {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.left-text {
    flex: 1;
    background: #ffffff;
    padding: 30px;
}

.left-text p {
    color: #3e3e3e;
    font-family: "Barlow", sans-serif;
    line-height: 1.6;
    margin-bottom: 15px;
}

.right-cards {
    flex: 1;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.vertical-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.5s ease;
    cursor: pointer;
    text-align: center;
    overflow: hidden;
}

.vertical-card:hover {
    transform: translateY(-10px);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.vertical-card img {
    width: 100%;
    object-fit: cover;
    margin: 0 auto 15px auto;
    transition: transform 0.5s ease;
}

.vertical-card:hover img {
    transform: scale(1.06);
}

.vertical-card .card-content {
    flex: 1;
}

.vertical-card .card-content h4 {
    color: #173060;
    margin: 0 10px 0;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 1.2rem;
    text-align: left;
}

.vertical-card .card-content p {
    color: #3e3e3e;
    margin: 0;
    line-height: 1.5;
    font-size: 0.9rem;
    margin: 0 10px 10px;
    text-align: left;
}

/* Estilos para la descripción de Tutoring */
.tutoring-description-wrapper {
    max-width: 900px;
    margin: 6rem auto 3rem auto;
    text-align: center;
}

.tutoring-description {
    font-family: "Barlow", sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #3e3e3e;
    margin-bottom: 0;
}

.cards-grid-two {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-content: center;
    gap: 2rem;
}

.cards-grid-three {
    width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    justify-content: center;
    gap: 2rem;
}

.program-card {
    background: #ffffff;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    cursor: pointer;
    transform: translateY(-10px);
}

.card-image-two {
    position: relative;
    width: 100%;
    background: linear-gradient(
        to bottom,
        #d6e2f7 0%,
        #d6e2f7 8%,
        #ffffff 22%,
        #ffffff 78%,
        #d6e2f7 92%,
        #d6e2f7 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    overflow: hidden;
}

.image-bottom-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #173060, #0a1c3a);
    color: white;
    text-align: center;
    padding: 8px 12px;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: italic;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    z-index: 5;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.program-card:hover .image-bottom-text {
    background: linear-gradient(90deg, #0a1c3a, #173060);
    padding: 10px 12px;
}

.logo-img-two {
    width: 100%;
    max-width: none;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.program-card:hover .logo-img {
    transform: scale(1.08);
}

.program-card:hover .logo-img-two {
    transform: scale(1.08);
}

.card-title {
    font-size: 1.5rem;
    font-family: "Bai Jamjuree", sans-serif;
    font-style: italic;
    font-weight: 600;
    color: #0a2e4a;
    letter-spacing: -0.3px;
    line-height: 1.25;
    margin: 0 1.5rem 0.75rem 1.5rem;
    transition: none;
}

.card-title-one {
    padding: 10px 0;
}

.card-description {
    font-family: "Barlow", sans-serif;
    color: #3e3e3e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 1.5rem 1.5rem 1.5rem;
    flex-grow: 1;
    font-weight: 400;
}

.subtitle {
    font-family: "Barlow", sans-serif;
    color: #19589b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 1.5rem 0 1.5rem;
    flex-grow: 1;
    font-weight: 400;
}

.card-description-two {
    font-family: "Barlow", sans-serif;
    color: #3e3e3e;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0.20rem 1.5rem 0.30rem 1.5rem;
    flex-grow: 1;
    font-weight: 400;
}

.card-buttons-group {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    margin: 0 auto 1.8rem auto;
    width: fit-content;
}

.card-btn {
    display: block;
    width: fit-content;
    margin: 0 auto 1.8rem auto;
    padding: 0.60rem 2rem;
    background: 
        linear-gradient(
            to bottom,
            #2766b2 0%,
            #15498b 25%,
            #041b3f 65%,
            #000814 100%
    );
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(28, 110, 164, 0.25);
}

.card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(23, 48, 96, 0.35);
    filter: brightness(1.08);
}

/* ============================================ */
/* LEARN MORE SECTION - IMAGEN PEQUEÑA CON BOTÓN */
/* ============================================ */

.learn-more-section {
    background-color: #ffffff;
    padding: 0 1.5rem 3rem 1.5rem;
}

.learn-more-wrapper {
    max-width: 1280px;
    margin: 0 auto;
}

.learn-more-image {
    position: relative;
    width: 50%;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.learn-more-banner {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.learn-more-image:hover .learn-more-banner {
    transform: scale(1.03);
}

/* Botón flotante sobre la imagen - más pequeño y elegante */
.learn-more-btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: #ffffff;
    color: #33cbcc;
    font-family: "Barlow", sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(23, 48, 96, 0.35);
    border: 1.5px solid #33cbcc;
    z-index: 2;
}

.learn-more-btn i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.learn-more-btn:hover {
    background: #33cbcc;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(23, 48, 96, 0.45);
    border-color: #ffffff;
}

.learn-more-btn:hover i {
    transform: translateX(4px);
}

/* ============================================ */
/* SECCIÓN TUTOR BIRD - NUEVA IMPLEMENTACIÓN */
/* ============================================ */

.tutorbird-wrapper {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    padding: 40px 0 60px 0;
}

/* COLUMNA IZQUIERDA */
.tutorbird-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.tutorbird-description {
    font-family: "Barlow", sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.7;
    color: #3e3e3e;
    margin: 0 0 30px 0;
    text-align: left;
}

/* BOTONES EN HORIZONTAL */
.tutorbird-buttons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.tutorbird-btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 28px;
    background: #2db6c0;
    color: #ffffff;
    font-family: "Bai Jamjuree", sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    border-radius: 100px;
    border: solid 1px #ffffff;
}

.s i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.tutorbird-btn:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: #2db6c0;
    border: solid 1px #2db6c0;
}

.tutorbird-btn:hover i {
    transform: scale(1.15);
}

.tutorbird-btn:active {
    transform: translateY(0) scale(0.98);
}

/* FLECHA A LA DERECHA EN BOTONES */
.tutorbird-btn-arrow {
    margin-left: auto;
    font-size: 0.9rem;
    transition: transform 0.35s ease;
}

.tutorbird-btn:hover .tutorbird-btn-arrow {
    transform: translateX(6px);
}

/* COLUMNA DERECHA - IMAGEN */
.tutorbird-right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tutorbird-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px -10px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: block;
}

.tutorbird-img:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.3);
}

/* ============================================ */
/* TUTOR BIRD - IMAGEN DE TÍTULO EN EL HERO */
/* ============================================ */

#tutorbird .hero-strip-title-img {
    max-width: 30%;
    max-height: 130px;
    width: auto;
    height: auto;
    object-fit: contain;
    flex-shrink: 0;
    display: block;
}

/* ============================================ */
/* FOOTER - ESTILOS COMPLETOS */
/* ============================================ */

footer {
    position: relative;
    z-index: 10;
    text-align: center;
    color: #ffffff;
    background-image: url('img/background_footer.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

footer .max-w-7xl {
    max-width: 1280px;
    margin: 0 auto;
    padding: 40px 24px;
}

footer .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

footer .text-center {
    text-align: center;
}

footer .flex {
    display: flex;
}

footer .justify-center {
    justify-content: center;
}

footer .mb-3 {
    margin-bottom: 12px;
}

footer .footer-logo {
    width: 75%;
    height: auto;
}

.footer-font {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.footer-font-two {
    font-family: "Bai Jamjuree", sans-serif;
    font-style: normal;
    line-height: 1.8;
}

.footer-font-three {
    font-weight: 400;
    font-family: "Barlow", sans-serif;
}

.footer-contact-section {
    margin-top: 40px;
}

footer h3 {
    font-family: "Bebas Neue", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #ffffff;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Barlow", sans-serif;
    font-weight: 400;
}

footer ul li a:hover {
    color: #ffffff;
}

footer .social-icons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 12px;
}

footer .social-icon {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

footer .social-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-style-1 {
    position: relative;
    display: inline-block;
}

.footer-style-1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.footer-style-1:hover::after {
    width: 100%;
}

footer .pt-6 {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

footer .flex-col {
    display: flex;
    flex-direction: column;
}

footer .flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    justify-content: flex-start;
}

footer .items-center {
    align-items: center;
}

footer .gap-4 {
    gap: 16px;
}

footer .text-xs {
    font-size: 0.75rem;
}

footer .text-white {
    color: #ffffff;
}

footer .mb-6 {
    margin-bottom: 24px;
}

/* ============================================ */
/* FOOTER BOTTOM - LINKS LEFT, COPYRIGHT RIGHT */
/* ============================================ */

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.1);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px 20px;
}

.footer-links a {
    font-weight: 400;
    font-family: "Barlow", sans-serif;
    color: #fff;
    font-size: .75rem;
}

.footer-copyright {
    text-align: right;
    font-size: .75rem;
    color: #fff;
    font-family: "Barlow", sans-serif;
    font-weight: 300;
    letter-spacing: .5px;
    white-space: nowrap;
}

/* =========================================================
   RESPONSIVE - MEDIA QUERIES UNIFICADAS
   ========================================================= */

/* =========================================================
   DESKTOP (min-width: 1001px) - Ocultar hamburguesa y menú móvil
   ========================================================= */
@media (min-width: 1001px) {
    .hamburger-btn {
        display: none;
    }

    .mobile-menu-dropdown {
        display: none !important;
    }
}

/* TABLET GRANDE (max-width: 1024px) */
@media (max-width: 1024px) {
    :root { --header-height: 114px; }

    .cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .small-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
        margin-bottom: 40px;
    }

    .small-card {
        top: 0;
        min-height: 120px;
    }

    .two-columns {
        flex-direction: column;
        gap: 30px;
    }

    .hero-strip-two {
        height: 160px;
        background-attachment: scroll;
    }

    .hero-strip-six {
        height: 160px;
        background-attachment: scroll;
    }

    .hero-strip-six-overlay {
        height: 160px;
    }

    #tutorbird .hero-strip-title-img {
        max-width: 45%;
        max-height: 110px;
    }

    .left-text,
    .right-cards {
        flex: none;
        width: 100%;
    }

    .right-cards {
        flex-direction: row;
    }

    .cards-grid-two,
    .cards-grid-three {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.5rem;
    }

    .proshop-sidebar { max-width: 100%; }

    .section-title h2 { font-size: 2rem; }

    .card-title {
        font-size: 1.3rem;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .card-description,
    .card-description-two {
        margin-left: 1rem;
        margin-right: 1rem;
        font-size: 0.85rem;
    }

    .learn-more-image { width: 75%; }
}

/* TABLET PEQUEÑA / MÓVIL GRANDE (max-width: 1000px) */
@media (max-width: 1000px) {
    :root { 
        --header-height: 114px; 
    }

    .hamburger-btn { 
        display: block; 
    }

    .desktop-menu { 
        display: none !important;
    }

    .header-container {
        height: 70px;
        align-items: center;
    }

    .logo-wrapper img {
        height: 50px;
        max-width: 220px;
    }

    .top-bar { padding: 6px 0; }

    .top-bar-container {
        max-width: 100%;
        padding: 0 16px;
        gap: 8px;
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .partners-logos {
        min-width: 0;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 14px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        padding: 4px 0;
    }

    .partners-logos::-webkit-scrollbar { display: none; }

    .partner-logo {
        height: 28px;
        flex: 0 0 auto;
    }

    .partners-logos .divider-line {
        height: 24px;
        margin: 0 4px;
        flex: 0 0 1px;
    }

    .top-right-actions {
        flex: 0 0 auto;
        width: auto;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .mobile-menu-container { padding: 16px 20px; }

    .mobile-nav-link-left,
    .mobile-nav-link {
        font-size: 1.15rem;
        font-weight: 500;
        padding: 15px 0;
    }

    .mobile-toggle-icon { right: 8px; }

    .youth-programs { padding: 0 1rem; }

    .youth-programs-two { padding: 3rem 1rem 4rem; }

    .hero-strip-two {
        height: 150px;
        background-attachment: scroll;
    }

    .hero-strip-six {
        height: 150px;
        background-attachment: scroll;
    }

    .hero-strip-six-overlay {
        height: 150px;
    }

    #tutorbird .hero-strip-title-img {
        max-width: 55%;
        max-height: 100px;
    }

    .section-title { margin-bottom: 2rem; }

    .section-title h2 { font-size: 1.5rem; }

    .left-section-img { width: min(70%, 420px); }

    .tutoring-description-wrapper {
        margin: 3rem auto 2.5rem;
    }

    .tutoring-description { font-size: 1rem; }

    .cards-grid-two,
    .cards-grid-three {
        width: 100%;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .program-card { width: 100%; }

    .card-title { font-size: 1.2rem; }

    .card-buttons-group {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: min(80%, 360px);
    }

    .card-btn {
        width: 100%;
        margin: 0;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .image-bottom-text {
        font-size: 0.75rem;
        padding: 6px 10px;
    }

    .learn-more-section { padding: 0 1rem 2.5rem; }

    .learn-more-image { width: 90%; }

    footer .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* MÓVIL (max-width: 768px) */
@media (max-width: 768px) {
    :root { --header-height: 108px; }

    .header-container {
        height: 64px;
    }

    .logo-wrapper img {
        height: 46px;
        max-width: 190px;
    }

    /* TOP BAR - ALINEACIÓN A LA IZQUIERDA EN MÓVIL */
    .top-bar-container {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px 12px;
        padding: 0 16px;
        justify-content: flex-start;
        align-items: center;
    }

    .partners-logos {
        justify-content: flex-start;
        gap: 10px;
        width: auto;
        flex: 1 1 auto;
    }

    .partner-logo {
        height: 28px;
    }

    .top-right-actions {
        justify-content: flex-start;
        width: auto;
        flex: 0 0 auto;
        gap: 10px;
        margin-left: 0;
    }

    .hero-strip-two {
        height: 110px;
        background-attachment: scroll;
    }

    .hero-strip-six {
        height: 110px;
        background-attachment: scroll;
    }

    .hero-strip-six-overlay {
        height: 110px;
    }

    #tutorbird .hero-strip-title-img {
        max-width: 70%;
        max-height: 80px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .partners-logos .divider-line {
        height: 25px;
        margin: 0 6px;
    }

    .mobile-menu-dropdown.open {
        max-height: calc(100vh - var(--header-height));
    }

    .mobile-menu-container { 
        padding: 18px 20px; 
    }

    .mobile-nav-link-left,
    .mobile-nav-link {
        font-size: 1.15rem;
        font-weight: 500;
        padding: 15px 0;
    }

    .mobile-submenu a {
        font-size: 0.98rem;
        padding: 11px 18px 11px 32px;
    }

    .mobile-submenu .submenu-section-title-mobile {
        font-size: 1rem;
        padding: 10px 18px 6px 18px;
    }

    .youth-programs {
        padding: 0 0.75rem;
        margin-bottom: 10px;
    }

    .side-by-side-images {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .side-image { width: 100%; }

    .cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .card { height: 240px; }

    .card h3 { font-size: 1.45rem; }

    .youth-programs-two {
        padding: 2.5rem 0.75rem 3.5rem;
        margin-top: 0;
    }

    .section-title { margin-bottom: 1.75rem; }

    .section-title h2 {
        font-size: clamp(1.25rem, 5vw, 1.6rem);
        line-height: 1.2;
    }

    .small-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        margin-bottom: 30px;
    }

    .small-card {
        min-height: 100px;
        padding: 15px;
    }

    .icon-wrapper img {
        width: 40px;
        height: 40px;
    }

    .small-card h3 { font-size: 0.9rem; }

    .two-columns { gap: 25px; }

    .left-text { padding: 20px 10px; }

    .left-text p { font-size: 0.9rem; }

    .left-section-img { width: min(80%, 360px); }

    .right-cards {
        flex-direction: column;
        gap: 20px;
    }

    .vertical-card {
        flex-direction: row;
        text-align: left;
        align-items: center;
    }

    .vertical-card img {
        width: 120px;
        height: auto;
        margin: 15px;
        flex: 0 0 120px;
    }

    .vertical-card .card-content h4 {
        font-size: 1rem;
        margin: 0 10px 0 0;
    }

    .vertical-card .card-content p {
        font-size: 0.8rem;
        margin: 0 10px 10px 0;
    }

    .cards-grid-two,
    .cards-grid-three {
        grid-template-columns: 1fr;
        width: 100%;
        gap: 1.5rem;
    }

    .program-card { max-width: 100%; }

    .card-title {
        font-size: 1.2rem;
        margin: 0 1rem 0.5rem;
    }

    .card-title-one { padding: 5px 0; }

    .card-description,
    .card-description-two {
        font-size: 0.85rem;
        margin: 0 1rem 1rem;
    }

    .card-buttons-group { width: min(90%, 360px); }

    .info-sidebar {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding: 15px;
    }

    .info-sidebar h3 {
        font-size: 1.1rem;
        margin-bottom: 0;
    }

    .hours {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }

    .hours p {
        justify-content: center;
        gap: 15px;
        font-size: 0.85rem;
    }

    .phone-info {
        justify-content: center;
        font-size: 0.85rem;
    }

    .info-div { 
        padding: 15px; 
    }

    .info-div h4 { 
        font-size: 1.3rem; 
    }

    .info-div p { 
        font-size: 0.85rem; 
    }

    .learn-more-section { 
        padding: 0 0.75rem 2.5rem; 
    }

    .learn-more-image {
        width: 100%;
        border-radius: 8px;
    }

    .learn-more-btn {
        bottom: 12px;
        right: 12px;
        padding: 7px 14px;
        font-size: 0.7rem;
        gap: 5px;
    }

    .learn-more-btn i { font-size: 0.65rem; }

    /* FOOTER */
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    footer .grid.md\:grid-cols-3 {
        grid-template-columns: 1fr !important;
        gap: 2.5rem;
        text-align: center;
    }

    footer .footer-logo {
        width: min(75%, 300px);
        margin-left: auto;
        margin-right: auto;
    }

    footer ul {
        text-align: center;
    }

    footer .social-icons {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .footer-contact-section {
        margin-top: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px 20px;
    }
}

@media (max-width: 640px) {
    /* TOP BAR - MÓVILES GRANDES */
    .top-bar-container {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 6px 10px;
        padding: 0 12px;
        justify-content: flex-start;
        align-items: center;
    }

    .partners-logos {
        gap: 6px;
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .partner-logo {
        height: 24px;
    }

    .top-right-actions {
        flex: 0 0 auto;
        gap: 8px;
        width: auto;
        justify-content: flex-start;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .partners-logos .divider-line {
        height: 20px;
        margin: 0 4px;
    }
}

/* MÓVIL PEQUEÑO (max-width: 480px) */
@media (max-width: 480px) {
    :root { --header-height: 104px; }

    .header-container {
        height: 60px;
        padding: 0 12px;
    }

    .logo-wrapper img {
        height: 42px;
        max-width: 170px;
    }

    .top-bar-container {
        padding: 0 5px;
    }
    .partners-logos {
        gap: 5px;
    }
    .partner-logo {
        height: 20px;
    }
    .social-icon {
        width: 20px;
        height: 20px;
    }
    .sign-in-btn {
        padding: 5px 10px;
        font-size: 12px;
    }
    .mobile-menu-container { 
        padding: 16px 18px; 
    }

    .mobile-nav-link-left,
    .mobile-nav-link {
        font-size: 1.1rem;
        font-weight: 500;
        padding: 14px 0;
    }

    .mobile-submenu a {
        font-size: 0.95rem;
        padding: 10px 16px 10px 30px;
    }

    .mobile-submenu .submenu-section-title-mobile {
        font-size: 0.95rem;
        padding: 9px 16px 5px 16px;
    }

    .youth-programs,
    .youth-programs-two {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
        padding-bottom: 0.65rem;
    }

    .section-title h2 { font-size: 1.15rem; }

    .small-cards-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .tutoring-description {
        font-size: 0.75rem;
    }

    .small-card {
        min-height: 76px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 12px;
        padding: 10px 14px;
    }

    .icon-wrapper {
        margin-bottom: 0;
        width: auto;
        flex: 0 0 auto;
    }

    .icon-wrapper img {
        width: 34px;
        height: 34px;
    }

    .small-card h3 {
        text-align: left;
        font-size: 0.88rem;
    }

    .card { height: 220px; }

    .card h3 { font-size: 1.15rem; }

    .card-title { font-size: 1.05rem; }

    .card-description,
    .card-description-two {
        font-size: 0.8rem;
    }

    .card-buttons-group {
        width: 100%;
        gap: 8px;
    }

    .card-btn {
        font-size: 0.75rem;
        padding: 0.4rem 0.6rem;
    }

    .vertical-card {
        flex-direction: column;
        text-align: center;
    }

    .vertical-card img {
        width: 100%;
        flex-basis: auto;
        margin: 0 0 15px;
    }

    .vertical-card .card-content h4 {
        text-align: center;
        margin: 0 10px 5px;
    }

    .vertical-card .card-content p {
        text-align: center;
        margin: 0 10px 15px;
    }

    .hero-strip-two { 
        height: 100px; 
    }

    .hero-strip-six { 
        height: 100px; 
    }

    .hero-strip-six-overlay {
        height: 100px;
    }

    #tutorbird .hero-strip-title-img {
        max-width: 80%;
        max-height: 70px;
    }

    .learn-more-btn {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 0.68rem;
    }

    footer .grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    footer .footer-logo {
        width: 60%;
        max-width: 180px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .footer-links {
        justify-content: center;
    }

    .footer-copyright {
        white-space: normal;
        text-align: center;
        overflow-wrap: break-word;
    }
}

/* MÓVIL EXTRA PEQUEÑO (max-width: 400px) */
@media (max-width: 400px) {
    .partner-logo { 
        height: 18px; 
    }
    .partners-logos { 
        gap: 8px; 
    }
    .partners-logos .divider-line { 
        height: 16px; margin: 0 2px; 
    }
    .social-icon { 
        width: 20px; height: 20px; 
    }
    /* TOP BAR - MUY PEQUEÑOS */
    .top-bar-container {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 4px 5px;
        padding: 0 4px;
        justify-content: flex-start;
        align-items: center;
    }

    .partners-logos {
        gap: 4px;
        flex: 1 1 auto;
        justify-content: flex-start;
    }

    .partner-logo {
        height: 16px;
    }

    .top-right-actions {
        flex: 0 0 auto;
        gap: 4px;
        width: auto;
        justify-content: flex-start;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .partners-logos .divider-line {
        height: 14px;
        margin: 0 2px;
    }
    .logo-wrapper img { 
        height: 36px; max-width: 140px; 
    }
    .header-container { 
        height: 54px; padding: 0 10px; 
    }
    .section-title h2 { 
        font-size: 1rem; 
    }
    .card-title { 
        font-size: 0.95rem; 
    }
    .card-description { 
        font-size: 0.75rem; 
    }
    .learn-more-btn { 
        padding: 4px 10px; font-size: 0.6rem; 
    }
    .learn-more-btn i { 
        font-size: 0.55rem; 
    }
    .mobile-nav-link { 
        font-size: 1.05rem; 
        padding: 13px 0;
        font-weight: 500;
    }
    .mobile-submenu a {
        font-size: 0.92rem;
        padding: 10px 14px 10px 28px;
    }
    .hero-strip-two { 
        height: 95px; 
    }

    .hero-strip-six { 
        height: 95px; 
    }

    .hero-strip-six-overlay {
        height: 95px;
    }

    #tutorbird .hero-strip-title-img {
        max-width: 85%;
        max-height: 60px;
    }
}

/* MODO HORIZONTAL EN MÓVIL */
@media (max-width: 768px) and (orientation: landscape) {
    .small-cards-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cards-grid-two,
    .cards-grid-three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vertical-card {
        flex-direction: row;
        text-align: left;
    }

    .vertical-card img {
        width: 100px;
        flex-basis: 100px;
    }

    .mobile-menu-dropdown.open {
        max-height: 60vh;
    }
}

/* PANTALLAS GRANDES (min-width: 1600px) */
@media (min-width: 1600px) {
    .container-two { max-width: 1400px; }

    .cards-grid-two,
    .cards-grid-three {
        max-width: 1400px;
        gap: 2.5rem;
    }

    .section-title h2 { font-size: 2.8rem; }

    .card-title { font-size: 1.6rem; }

    .card-description { 
        font-size: 1rem; 
    }
}

/* DISPOSITIVOS TÁCTILES - DESACTIVAR HOVER */
@media (hover: none) and (pointer: coarse) {
    .program-card:hover,
    .card:hover,
    .vertical-card:hover,
    .small-card:hover {
        transform: none;
    }

    .program-card:active,
    .card:active {
        transform: translateY(-5px);
    }

    .card-btn:active { transform: translateY(-2px); }

    .partners-logos a:hover {
        transform: none;
    }
}

/* ============================================ */
/* RESPONSIVE - TUTOR BIRD */
/* ============================================ */

/* TABLET (769px - 1000px) */
@media (min-width: 769px) and (max-width: 1000px) {
    .tutorbird-wrapper {
        gap: 30px;
        padding: 30px 0 50px 0;
    }

    .tutorbird-btn {
        padding: 12px 22px;
        font-size: 0.85rem;
    }
}

/* MÓVIL (hasta 768px) */
@media (max-width: 768px) {
    .tutorbird-wrapper {
        flex-direction: column;
        gap: 30px;
        padding: 30px 0 40px 0;
    }

    .tutorbird-left,
    .tutorbird-right {
        width: 100%;
        flex: none;
    }

    .tutorbird-buttons {
        justify-content: center;
    }

    .tutorbird-btn {
        flex: 1 1 auto;
        min-width: 140px;
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .tutorbird-description {
        font-size: 0.95rem;
        text-align: center;
    }
}

/* MÓVIL PEQUEÑO (hasta 480px) */
@media (max-width: 480px) {
    .tutorbird-wrapper {
        gap: 25px;
        padding: 20px 0 30px 0;
    }

    .tutorbird-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .tutorbird-btn {
        width: 100%;
        padding: 14px 18px;
        font-size: 0.85rem;
        justify-content: space-between;
    }

    .tutorbird-description {
        font-size: 0.75rem;
        text-align: left;
    }
}

/* ============================================ */
/* FIX DE EMERGENCIA - TutorBird Hero Image */
/* ============================================ */

#tutorbird {
    position: relative;
    overflow: hidden;
}

#tutorbird .hero-strip-six-overlay {
    height: 190px !important;
    max-height: 190px !important;
    overflow: hidden !important;
}

#tutorbird .hero-strip-three-content {
    height: 190px !important;
    max-height: 190px !important;
    overflow: hidden !important;
    padding: 0 20px !important;
}

#tutorbird .hero-strip-center {
    max-height: 100% !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#tutorbird .hero-strip-title-img {
    max-height: 130px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Móvil */
@media (max-width: 1024px) {
    #tutorbird .hero-strip-six-overlay,
    #tutorbird .hero-strip-three-content {
        height: 160px !important;
        max-height: 160px !important;
    }

    #tutorbird .hero-strip-title-img {
        max-height: 110px !important;
        max-width: 45% !important;
    }
}

@media (max-width: 1000px) {
    #tutorbird .hero-strip-six-overlay,
    #tutorbird .hero-strip-three-content {
        height: 150px !important;
        max-height: 150px !important;
    }

    #tutorbird .hero-strip-title-img {
        max-height: 100px !important;
        max-width: 55% !important;
    }
}

@media (max-width: 768px) {
    #tutorbird .hero-strip-six-overlay,
    #tutorbird .hero-strip-three-content {
        height: 110px !important;
        max-height: 110px !important;
    }

    #tutorbird .hero-strip-title-img {
        max-height: 80px !important;
        max-width: 70% !important;
    }
}

@media (max-width: 480px) {
    #tutorbird .hero-strip-six-overlay,
    #tutorbird .hero-strip-three-content {
        height: 100px !important;
        max-height: 100px !important;
    }

    #tutorbird .hero-strip-title-img {
        max-height: 65px !important;
        max-width: 80% !important;
    }
}

@media (max-width: 400px) {
    #tutorbird .hero-strip-six-overlay,
    #tutorbird .hero-strip-three-content {
        height: 95px !important;
        max-height: 95px !important;
    }

    #tutorbird .hero-strip-title-img {
        max-height: 55px !important;
        max-width: 85% !important;
    }
}