html, body {
    max-width: 100%;
    overflow-x: hidden;
}

:root {
    --whatsapp-green: #25d366;
    --whatsapp-green-dark: #1ebe5d;
}

.active {
    font-weight: bolder;
}

/* Utilidades Glassmorphism */
.glass-pildora {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    box-shadow: var(--glass-shadow);
}

.circulo-logo {
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: rgba(144, 159, 204, 0.27);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;  
}

.glass-panel {
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.4) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--glass-shadow);
}

.btn-gradient {
    background: linear-gradient(90deg, #5b86e5, #36d1dc); /* Ajusta al gradiente de la imagen */
    color: white;
    border: none;
}

.btn-blue-gradient { 
    background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%); 
    color: white; border: none; 
}

.btn-purple-gradient { 
    background: linear-gradient(90deg, #a18cd1 0%, #fbc2eb 100%); 
    color: white; border: none; 
}

.btn-gold-gradient { 
    background: linear-gradient(90deg, #f6d365 0%, #fda085 100%); 
    color: white; border: none; 
}

.main-bg {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 15% 50%, var(--bg-blue-glow) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, var(--bg-purple-glow) 0%, transparent 50%);
    z-index: -1;
}

/*Enlaces*/

a {
    text-decoration: none;
    color: black;
}

.circulo-logo a {
    display: flex;
    align-items: center;
    justify-content: center;
}

/*Navbar*/
header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
}


.logo-header {
    font-size: larger;
    font-weight: bolder;
}

.logo-header img {
    width: 80px;
}
.glass-navbar {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    width: 80%;
    margin: 0 auto;   
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: width 0.4s ease, border-radius 0.4s ease,
    box-shadow 0.4s ease, background 0.4s ease, top 0.4s ease;
}

.glass-navbar.is-sticky {
    position: fixed;
    top: 15px; 
    left: 50%;
    transform: translateX(-50%);
    z-index: 1030;
    border-radius: 40px;
}

.navbar li {
    padding-left: 10px;
}

.nav-derecha {
    margin-left: auto;
    display: flex;
    align-items: center;
    color: inherit;
    padding: 0 20px;

}

.nav-logo-mini {
    opacity: 0;
    transform: translateY(-20px) scale(0.6);
    max-width: 0;
    overflow: hidden;
    margin: 0;
    pointer-events: none;
    white-space: nowrap;
    font-weight: bold;
    transition: opacity 0.4s ease, transform 0.4s ease,
    max-width 0.4s ease, margin 0.4s ease;
}

.glass-navbar.is-sticky .nav-logo-mini {
    opacity: 1;
    transform: translateY(0) scale(1);
    max-width: 150px;
    margin-right: 1rem;
    pointer-events: auto;
}

.top-bar {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.top-bar.is-hidden {
    opacity: 0;
    transform: translateY(-15px);
}

/*AQUI ES EL CTA FINAL**/

.cta-final {
    --cta-section-bg: #eef1fb;                 
    --cta-panel-from: #4a6cf7;                 
    --cta-panel-to: #6a5af9;                   
    --cta-panel-shadow: 74, 108, 247;          
    --cta-btn-from: #f6d365;                   
    --cta-btn-to: #fda085;                     
    --cta-btn-ink: #1a1a2e;                    
    --cta-halo: 253, 160, 133;                 
    --cta-chip-bg: #1a1a2e;                   
    --cta-chip-ink: #25d366;                   
    --cta-on-panel: #ffffff;                   
    background-color: var(--cta-section-bg);
    padding: clamp(3rem, 8vw, 6rem) 0;
}
 
.cta-final__panel {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    text-align: center;
    color: var(--cta-on-panel);
    padding: clamp(2.5rem, 6vw, 4.75rem) clamp(1.5rem, 5vw, 4rem);
    border-radius: 32px;
    background: linear-gradient(135deg, var(--cta-panel-from), var(--cta-panel-to));
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow:
        0 30px 60px -24px rgba(var(--cta-panel-shadow), 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
 
.cta-final__panel::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: -45%;
    left: -10%;
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28) 0%, transparent 68%);
    pointer-events: none;
}
 
.cta-final__titulo {
    font-size: clamp(1.8rem, 4.6vw, 3.1rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.01em;
    margin: 0 auto 1rem;
    max-width: 18ch;
    color: inherit;
    text-wrap: balance;
}
 
.cta-final__texto {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    line-height: 1.55;
    margin: 0 auto clamp(1.75rem, 4vw, 2.5rem);
    max-width: 46ch;
    color: rgba(255, 255, 255, 0.86);
}
 
/* ---------- Botón display ---------- */
.btn-cta-display {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.55rem 0.55rem 0.55rem clamp(1.75rem, 4vw, 2.5rem);
    border: 0;
    border-radius: 50px;
    font-size: clamp(1.1rem, 2.4vw, 1.45rem);
    font-weight: 800;
    line-height: 1.1;
    text-decoration: none;
    color: var(--cta-btn-ink);
    cursor: pointer;
    background:
        linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.6) 50%, transparent 65%) -160% 0 / 60% 100% no-repeat,
        linear-gradient(90deg, var(--cta-btn-from), var(--cta-btn-to));
    box-shadow:
        0 14px 32px -10px rgba(var(--cta-halo), 0.75),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        background-position 0.9s ease;
}
 
.btn-cta-display::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: inherit;
    animation: cta-halo 2.6s ease-out infinite;
    pointer-events: none;
}
 
@keyframes cta-halo {
    0%   { box-shadow: 0 0 0 0 rgba(var(--cta-halo), 0.55); }
    70%  { box-shadow: 0 0 0 20px rgba(var(--cta-halo), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--cta-halo), 0); }
}
 
.btn-cta-display__icono {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: clamp(3rem, 6vw, 3.6rem);
    aspect-ratio: 1;
    border-radius: 50%;
    color: white;
    background: #25d366;
    font-size: clamp(1.35rem, 2.6vw, 1.7rem);
    transition: transform 0.3s ease;
}
 
.btn-cta-display:hover {
    color: var(--cta-btn-ink);
    transform: translateY(-4px) scale(1.03);
    background-position: 260% 0, 0 0;
    box-shadow:
        0 22px 40px -12px rgba(var(--cta-halo), 0.9),
        inset 0 1px 0 rgba(255, 255, 255, 0.586);
}
 
.btn-cta-display:hover .btn-cta-display__icono {
    transform: rotate(-12deg) scale(1.08);
}
 
.btn-cta-display:active {
    transform: translateY(-1px) scale(0.99);
}
 
.btn-cta-display:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 5px;
}
 
.cta-final__nota {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0 0;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
}
 
/*Sección Hero*/
.video-hero {
    background-color: #d6e4fa;
    color: white;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -3;
}

.hero-princ {
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    padding-top: 180px; 
    padding-bottom: 50px;
}

.hero-princ::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #6f32df8f;
    z-index: 1;             
    pointer-events: none;   
}

.info-hero {
    margin-top: 180px;
    margin-left: 50px;
    margin-right: 50px;
    position: relative;
    z-index: 2;  
    color: white;               
}

.info-hero a {
    color: white;
}

.btn-gradient,
.btn-blue-gradient, 
.btn-purple-gradient, 
.btn-gold-gradient {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-gradient:hover,
.btn-blue-gradient:hover, 
.btn-purple-gradient:hover, 
.btn-gold-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: rgb(21, 0, 79); 
}


.hero-principal {
    position: relative;
    width: 100%;
    height: 90vh;
    min-height: 380px;
    max-height: 620px;
    overflow: hidden;
    margin-top: -150px;
}

/*Sección OFRECE*/
.que-ofrece {
    position: relative;
}

.que-ofrece h2 {
    font-weight: 700;
    color: #1a1a2e;
}

.que-ofrece .subtitulo {
    color: rgba(26, 26, 46, 0.65);
    font-size: 1.05rem;
}

.oferta-card {
    padding: 2rem 1.75rem;
    text-align: center;
    border-radius: 20px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.oferta-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.oferta-icono {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.1));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.oferta-icono i {
    font-size: 1.8rem;
    color: #4a6cf7; 
}

.oferta-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1a1a2e;
}

.oferta-card p {
    font-size: 0.95rem;
    color: rgba(26, 26, 46, 0.7);
    margin-bottom: 0;
    line-height: 1.5;
}

.btn-cta-sag {
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    background: linear-gradient(135deg, #4a6cf7, #6a5af9);
    color: #fff;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-cta-sag:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(74, 108, 247, 0.35);
}

/*Testimonios*/

.testimonios {
    position: relative;
    background-color: #eef1fb;
}

.testimonios h2 {
    font-weight: 700;
    color: #1a1a2e;
}

.testimonios .subtitulo {
    color: rgba(26, 26, 46, 0.65);
    font-size: 1.05rem;
}

.testimonio-card {
    padding: 2.25rem 1.75rem;
    text-align: center;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.testimonio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonio-icono {
    width: 72px;
    height: 72px;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.15));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.testimonio-icono i {
    font-size: 2.2rem;
    color: #4a6cf7; 
}

.testimonio-cita {
    font-size: 1rem;
    font-style: italic;
    color: #1a1a2e;
    line-height: 1.5;
    margin-bottom: 1rem;
    position: relative;
}

.testimonio-autor {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(26, 26, 46, 0.7);
    margin-bottom: 0;
}

/*Que nos hace diferentes*/

.diferenciadores {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.diferenciadores h2 {
    font-weight: 700;
    color: #fff;
}

.diferenciadores .subtitulo {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
}

.diferenciador-card {
    padding: 1.75rem 2rem;
    border-radius: 20px;
    gap: 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.diferenciador-card:hover {
    transform: translateX(8px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.diferenciador-icono {
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.35), rgba(106, 90, 249, 0.2));
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.diferenciador-icono i {
    font-size: 1.7rem;
    color: #8fa4ff;
}

.diferenciador-texto h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.35rem;
}

.diferenciador-texto p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    line-height: 1.5;
}

/*PÁGINA CURSOS*/
.hero-media {
    position: relative;
    width: 100%;
    height: 70vh;          
    min-height: 380px;
    max-height: 620px;
    overflow: hidden;
    margin-top: -150px;
}

.video-hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;     
    object-position: center;
    display: block;
}

.hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 26, 46, 0.55) 0%,
        rgba(26, 26, 46, 0.45) 50%,
        rgba(26, 26, 46, 0.75) 100%
    );
    z-index: 1;
}

.info-hero {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    margin-bottom: 180px;
}

.info-hero h1 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(1.8rem, 4vw, 3rem);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.info-hero .subtitulo {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    margin-bottom: 0;
}

#ir-testimonios {
    scroll-margin-top: 70px;

}

.header-azul {
    background: linear-gradient(135deg, #4a6cf7, #6a5af9);
    padding-bottom: 142px;

}

/* ---- Intro y enfoque integral ---- */
.cursos-intro {
    background-color: #fff;
}

.cursos-intro h1 {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 2.2rem;
}

.cursos-intro .subtitulo,
.temarios-universidad .subtitulo,
.modalidad .subtitulo,
.inversion .subtitulo {
    color: rgba(26, 26, 46, 0.6);
    font-size: 1.05rem;
}

.enfoque-integral {
    padding: 2.5rem;
    border-radius: 20px;
}

.enfoque-icono {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.15), rgba(106, 90, 249, 0.08));
}

.enfoque-icono i {
    font-size: 2rem;
    color: #4a6cf7;
}

.enfoque-integral h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a1a2e;
}

.enfoque-integral p {
    color: rgba(26, 26, 46, 0.75);
    line-height: 1.65;
}

.enfoque-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.enfoque-tags span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
    padding: 0.35rem 0.9rem;
    border-radius: 50px;
}

/* ---- Cards de universidad ---- */
.temarios-universidad {
    background-color: #eef1fb;
}

.temarios-universidad h2,
.modalidad h2,
.inversion h2 {
    font-weight: 700;
    color: #1a1a2e;
}

.uni-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border-top: 5px solid #4a6cf7;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.uni-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.uni-card-head {
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(26, 26, 46, 0.07);
}

.uni-sigla {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a2e;
    letter-spacing: 0.02em;
}

.uni-enfoque {
    font-size: 0.88rem;
    color: rgba(26, 26, 46, 0.6);
    margin: 0.35rem 0 0;
}

.uni-card-body {
    padding: 1.25rem 1.5rem;
    flex-grow: 1;
}

.temario-lista {
    list-style: none;
    padding: 0;
    margin: 0;
}

.temario-lista li {
    display: flex;
    align-items: flex-start;
    gap: 0.25rem;
    font-size: 0.9rem;
    color: rgba(26, 26, 46, 0.78);
    padding: 0.3rem 0;
    line-height: 1.45;
}

.temario-lista i {
    color: #4a6cf7;
    font-size: 1.2rem;
    flex: 0 0 auto;
    line-height: 1.2;
}

.badge-area {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(74, 108, 247, 0.12);
    color: #4a6cf7;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    margin-left: 0.25rem;
}

.uni-nota {
    font-size: 0.85rem;
    color: rgba(26, 26, 46, 0.6);
    font-style: italic;
    margin-top: 0.75rem;
    margin-bottom: 0.5rem;
}

.divisiones {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.divisiones span {
    font-size: 0.8rem;
    font-weight: 700;
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
}

.uni-card-foot {
    padding: 0 1.5rem 1.5rem;
}

.uni-card-foot .whatsapp-btn--curso {
    margin-top: 0;
}

.modalidad {
    background-color: #fff;
}

.modalidad-card {
    padding: 1.75rem 1.5rem;
    text-align: center;
    border-radius: 18px;
}

.modalidad-icono {
    width: 58px;
    height: 58px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(74, 108, 247, 0.15), rgba(106, 90, 249, 0.08));
}

.modalidad-icono i {
    font-size: 1.5rem;
    color: #4a6cf7;
}

.modalidad-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.modalidad-card p {
    font-size: 0.92rem;
    color: rgba(26, 26, 46, 0.7);
    margin-bottom: 0;
    line-height: 1.5;
}

.horario-card-v2 {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    color: #fff;
    text-align: center;
    transition: transform 0.3s ease;
}

.horario-card-v2:hover {
    transform: translateY(-6px);
}

.horario-etiqueta {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #8fa4ff;
    background: rgba(143, 164, 255, 0.12);
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.horario-dias {
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.4rem;
}

.horario-hora {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.4rem;
}

.horario-hora i {
    margin-right: 0.3rem;
    color: #8fa4ff;
}

.horario-card-v2 .horario-nota {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

/* ---- Inversión ---- */
.inversion {
    background-color: #eef1fb;
}

.precio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    padding: 2.25rem 1.75rem 1.75rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.precio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.1);
}

.precio-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.75rem;
}

.precio-total {
    font-size: 2.5rem;
    font-weight: 800;
    color: #4a6cf7;
    margin-bottom: 0.25rem;
    line-height: 1;
}

.precio-total span {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(26, 26, 46, 0.5);
}

.precio-desc {
    font-size: 0.85rem;
    color: rgba(26, 26, 46, 0.55);
    margin-bottom: 1.5rem;
}

.precio-detalle {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.precio-detalle li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(26, 26, 46, 0.75);
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(26, 26, 46, 0.06);
}

.precio-detalle li:last-child {
    border-bottom: none;
}

.precio-detalle i {
    color: #25d366;
    flex: 0 0 auto;
    margin-top: 0.15rem;
}

.precio-promo {
    border: 2px solid #4a6cf7;
}

.precio-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #4a6cf7, #6a5af9);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1.1rem;
    border-radius: 50px;
    white-space: nowrap;
}


/*TESTIMONIOS CURSOS*/

.glass-panel {
    background: rgba(255, 255, 255, 0.05); /* Ideal si usas un fondo oscuro */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.glass-panel:hover {
    transform: translateY(-5px);
}

.unam-theme { border-top: 4px solid #D4AF37; }
.unam-text { color: #D4AF37; }

.uam-theme { border-top: 4px solid #555555; }
.uam-text { color: #CCCCCC; } 

.poli-theme { border-top: 4px solid #6c1236; }
.poli-text { color: #8e1b4a; }

.carousel-indicators {
    bottom: -3.5rem; 
}

.carousel-indicators button {
    background-color: #888 !important;
    width: 12px !important;
    height: 12px !important;
    border-radius: 50%; 
    margin: 0 5px;
}

.carousel-indicators button.active {
    background-color: #D4AF37 !important;
}

.arrow-custom {
    filter: invert(1) grayscale(100) brightness(200); 
}
   

.carousel-inner {
    padding-left: 60px !important;
    padding-right: 60px !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px; 
    opacity: 0.8;
}

.carousel-control-prev {
    left: 0;
}
.carousel-control-next {
    right: 0;
}

/* Extensión de Facebook */
.facebook-cta {
    background: linear-gradient(145deg, rgba(24, 119, 242, 0.05) 0%, rgba(255, 255, 255, 0.05) 100%);
    border: 1px solid rgba(24, 119, 242, 0.2);
}

#testimoniosCarousel {
    margin-bottom: 5rem !important; 
}

.carousel-indicators {
    bottom: -3.5rem; 
}

/* ========== TESTIMONIOS: menú interno + galería de resultados ========== */
.testimonios-tabs {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    gap: 0.4rem;
    padding: 0.4rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.testimonios-tabs .nav-link {
    border-radius: 50px;
    color: #1a1a2e;
    font-weight: 600;
    padding: 0.6rem 1.25rem;
    transition: background 0.25s ease, color 0.25s ease;
}

.testimonios-tabs .nav-link:hover:not(.active) {
    background: rgba(74, 108, 247, 0.1);
}

.testimonios-tabs .nav-link.active {
    background: linear-gradient(135deg, #4a6cf7, #6a5af9);
    color: #fff;
}

.tab-contador {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    background: rgba(74, 108, 247, 0.15);
    color: #4a6cf7;
}

.testimonios-tabs .nav-link.active .tab-contador {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.galeria-conteo {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(26, 26, 46, 0.55);
    margin-bottom: 1.5rem;
}

/* ---- Masonry de capturas ---- */
.galeria-masonry {
    column-count: 2;
    column-gap: 1rem;
}

.resultado-item {
    position: relative;
    display: inline-block;
    width: 100%;
    margin-bottom: 1rem;
    padding: 0;
    border: 1px solid rgba(26, 26, 46, 0.08);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    break-inside: avoid;
    cursor: zoom-in;
    animation: resultado-aparece 0.45s ease both;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resultado-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.resultado-item img {
    display: block;
    width: 100%;
    height: auto;
}

.resultado-zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 26, 46, 0.35);
    color: #fff;
    font-size: 1.6rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.resultado-item:hover .resultado-zoom,
.resultado-item:focus-visible .resultado-zoom {
    opacity: 1;
}

.resultado-item.pendiente {
    aspect-ratio: 3 / 4;
    cursor: default;
    background: repeating-linear-gradient(135deg, rgba(74, 108, 247, 0.06), rgba(74, 108, 247, 0.06) 10px, rgba(74, 108, 247, 0.1) 10px, rgba(74, 108, 247, 0.1) 20px);
}

.pendiente-txt {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(74, 108, 247, 0.7);
}

.pendiente-txt i {
    font-size: 1.8rem;
}

.resultado-item.pendiente .resultado-zoom {
    display: none;
}

@keyframes resultado-aparece {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---- Visor ampliado ---- */
.lightbox-dialog {
    max-width: 560px;
}

.lightbox-content {
    position: relative;
    align-items: center;
    background: transparent;
    border: 0;
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.lightbox-cerrar {
    position: absolute;
    top: -2.25rem;
    right: 0;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #1a1a2e;
    font-size: 1.1rem;
    transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.08);
}

.lightbox-prev { left: -1.5rem; }
.lightbox-next { right: -1.5rem; }

.lightbox-pie {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #fff;
    text-align: center;
}

/*BOTONES WSP*/
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #ffffff !important;
    background-color: var(--whatsapp-green);
    border: none;
    transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-btn:hover {
    background-color: var(--whatsapp-green-dark);
    color: #ffffff !important;
}

.whatsapp-btn i {
    font-size: 1.2rem;
    line-height: 1;
}

.whatsapp-btn--header {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.whatsapp-btn--curso {
    display: inline-flex;
    padding: 0.8rem 1.25rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-top: 0.5rem;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn--curso:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 211, 102, 0.4);
}


/*PÁGINA ECOSISTEMA*/

.custom-accordion .accordion-item {
    border: 1px solid rgba(0,0,0,0.05) !important;
}
.custom-accordion .accordion-button {
    background-color: #fff;
    color: #333;
    box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #f8f9fa;
    color: #000;
}
.custom-accordion .accordion-button::after {
    filter: grayscale(100%); 
}

.media-frame {
    border: 1px solid rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}
.media-frame:hover {
    transform: translateY(-5px);
}
.frame-decorations {
    display: flex;
    gap: 6px;
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 10;
}
.frame-decorations .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.unified-media {
    filter: grayscale(30%) contrast(105%) sepia(5%);
    transition: filter 0.4s ease;
}
.media-frame:hover .unified-media {
    filter: grayscale(0%) contrast(100%) sepia(0%);
}

.custom-hover-card {
    transition: all 0.3s ease;
    border-top: 4px solid transparent !important;
}
.custom-hover-card:hover {
    transform: translateY(-8px);
    border-top: 4px solid #212529 !important; 
    box-shadow: 0 1rem 3rem rgba(0,0,0,.1) !important;
}

.modal-backdrop.show {
    opacity: 0.85; 
}

.video-modal {
    max-width: 75%;
    max-height: 60vh;
    object-fit: contain;
}

/*NOSOTROS*/
.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4a6cf7;
    margin-bottom: 0.5rem;
}

.cuerpo-academico h2,
.experiencia-historica h2,
.profesor-principal h2 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.cuerpo-academico p,
.experiencia-historica p,
.profesor-principal p {
    color: rgba(26, 26, 46, 0.75);
    line-height: 1.65;
}

.cuerpo-academico { background-color: #fff; }
.experiencia-historica { background-color: #eef1fb; }
.profesor-principal { background-color: #fff; }

/* ---- Placeholders de foto ---- */
.foto-placeholder {
    background: repeating-linear-gradient(
        135deg,
        rgba(74, 108, 247, 0.06),
        rgba(74, 108, 247, 0.06) 10px,
        rgba(74, 108, 247, 0.1) 10px,
        rgba(74, 108, 247, 0.1) 20px
    );
    border: 2px dashed rgba(74, 108, 247, 0.35);
    border-radius: 18px;
    overflow: hidden;
}

.foto-icono {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 1rem;
}

.foto-icono i {
    font-size: 2.5rem;
    color: rgba(74, 108, 247, 0.5);
}

.foto-icono span {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(74, 108, 247, 0.7);
    max-width: 220px;
}

.foto-perfil {
    max-width: 340px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden; 
}

.foto-perfil img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: top; 
}

 .foto-asistencia img {
        width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: start;
 }


.foto-real {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.75rem 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.stat-numero {
    display: block;
    font-size: 2.4rem;
    font-weight: 800;
    color: #4a6cf7;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.85rem;
    color: rgba(26, 26, 46, 0.65);
    margin-bottom: 0;
    line-height: 1.4;
}

.stat-placeholder .stat-numero {
    color: rgba(74, 108, 247, 0.45);
    font-size: 1.6rem;
    font-style: italic;
}

.profesor-nombre {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.25rem;
}

.profesor-titulo {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 600;
    color: #4a6cf7;
    margin-bottom: 1rem;
}

.profesor-titulo i {
    margin-right: 0.4rem;
}

.contacto-intro { background-color: #fff; }

.contacto-intro h1 {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 2.2rem;
}

.atencion-personalizada {
    background-color: #eef1fb;
}

.atencion-personalizada h2 {
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 1rem;
}

.atencion-personalizada p {
    color: rgba(26, 26, 46, 0.75);
    line-height: 1.65;
}

.whatsapp-btn--grande {
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-size: 1rem;
    margin-top: 0.5rem;
}

.proceso-inscripcion { background-color: #fff; }

.proceso-inscripcion h2 { font-weight: 700; color: #1a1a2e; }

.stepper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
}

.step-numero {
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4a6cf7, #6a5af9);
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.step-item:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 48px;
    left: 23px;
    width: 2px;
    height: calc(100% + 2rem - 48px);
    background: rgba(74, 108, 247, 0.25);
    z-index: 1;
}

.step-contenido h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.4rem;
}

.step-contenido p {
    font-size: 0.92rem;
    color: rgba(26, 26, 46, 0.7);
    margin-bottom: 0;
    line-height: 1.5;
}

.faq { background-color: #eef1fb; }
.faq h2 { font-weight: 700; color: #1a1a2e; }

.faq-lista {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 780px;
    margin: 0 auto;
}

.faq-pill {
    background: #fff;
    border-radius: 50px;
    padding: 1.1rem 1.75rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: border-radius 0.35s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.faq-pregunta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-weight: 600;
    color: #1a1a2e;
}

.faq-icono {
    flex: 0 0 auto;
    color: #4a6cf7;
    transition: transform 0.3s ease;
}

.faq-respuesta {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq-respuesta p {
    margin: 0;
    padding-top: 1rem;
    color: rgba(26, 26, 46, 0.7);
    font-size: 0.92rem;
    line-height: 1.55;
}

.faq-pill:hover,
.faq-pill.active {
    border-radius: 20px;
    background: #f7f9ff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.faq-pill:hover .faq-respuesta,
.faq-pill.active .faq-respuesta {
    max-height: 220px;
    opacity: 1;
}

.faq-pill:hover .faq-icono,
.faq-pill.active .faq-icono {
    transform: rotate(45deg);
}

/*Footer*/
.footer {
    background-color: #1a1a2e; 
    color: #ffffff;
    padding: 40px 0 20px 0;
}

.footer a {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08); 
    margin-top: 30px;
    padding-top: 15px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5); 
    margin: 0;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #ffffff;
}

.footer-col{
   padding: 0 15px;
}

.footer-col h4{
	font-size: 18px;
	text-transform: capitalize;
	margin-bottom: 35px;
	font-weight: 500;
	position: relative;
}
.footer-col h4::before{
	content: '';
	position: absolute;
	left:0;
	bottom: -10px;
	background-color: #e2a64a;
	height: 2px;
	box-sizing: border-box;
	width: 50px;
}

.footer-col ul li a{
	font-size: 16px;
	text-decoration: none;
	font-weight: 300;
	display: block;
	transition: all 0.3s ease;
}
.footer-col ul li a:hover{
	padding-left: 8px;
}

.footer-col .social-links a{
	display: inline-block;
	height: 40px;
	width: 40px;
	background-color: rgba(255,255,255,0.2);
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	transition: all 0.5s ease;
}

.glass-navbar { -webkit-backdrop-filter: blur(20px); }
.circulo-logo { -webkit-backdrop-filter: blur(12px); }

.hero-index .hero-principal {
    height: auto;
    min-height: 480px;
    max-height: none;
    margin-top: 0;
    display: flex;
    align-items: center;
    padding: 13rem 0 3rem;
}

.hero-index .info-hero {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 clamp(1.25rem, 4vw, 50px);
    display: block;
}

.hero-index .info-hero h1 {
    font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.5rem);
    line-height: 1.15;
    text-wrap: balance;
    margin-bottom: 1rem;
}

.hero-index .info-hero p {
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
    max-width: 52ch;
    margin-bottom: 0;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}

.hero-ctas .btn {
    padding-block: 0.7rem;
}

.hero-cursos .hero-media,
.hero-ecosistema .hero-media {
    height: auto;
    min-height: 440px;
    max-height: none;
    margin-top: 0;
    display: flex;
    align-items: center;
    padding: 13rem 0 3rem;
}

.hero-cursos .info-hero,
.hero-ecosistema .info-hero {
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0 clamp(1rem, 4vw, 50px);
    display: block;
}

.hero-cursos .info-hero h1,
.hero-ecosistema .info-hero h1 {
    text-wrap: balance;
}

.carousel-indicators button {
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    background-clip: padding-box;
    margin-left: 0;
    margin-right: 0;
}

.lightbox-img {
    max-height: 80vh;
    max-height: 80dvh; 
}

.media-frame .carousel-item :is(img, video) {
    height: clamp(220px, 62vw, 350px);
}

.video-modal {
    max-height: 60vh;
    max-height: 60dvh;
}







/* Ajustes responsive */
@media (max-width: 991.98px) {
    .glass-navbar {
        width: 90%;
    }
    
    .glass-navbar.is-sticky {
        width: 60%; 
        top: 10px;
    }

    .nav-logo-mini {
        font-size: 0.9rem;
    }
    
    .navbar-collapse {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(15px);
        padding: 20px;
        border-radius: 20px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    .nav-derecha {
        margin-left: 0;
        flex-direction: column;
        gap: 15px;
        padding: 10px 0 0 0;
    }
        .enfoque-integral {
        padding: 2rem 1.5rem;
    }
    .enfoque-tags {
        justify-content: center;
    }
    .enfoque-integral .col-lg-8 {
        text-align: center;
    }

        .cuerpo-academico .row.align-items-center,
    .experiencia-historica .row.align-items-center,
    .profesor-principal .row.align-items-center {
        text-align: center;
    }
    .foto-placeholder:not(.foto-perfil) {
        max-width: 420px;
        margin: 0 auto 1rem;
    }
}


/* ==========================================================================
   1. Media Queries (max-width: 575.98px) - Dispositivos muy pequeños / Móviles
   ========================================================================== */
@media (max-width: 575.98px) {
    .testimonios-tabs {
        width: 100%;
        border-radius: 24px;
    }
    .testimonios-tabs .nav-item {
        flex: 1;
    }
    .testimonios-tabs .nav-link {
        width: 100%;
        padding: 0.55rem 0.5rem;
        font-size: 0.85rem;
        text-align: center;
    }
    .whatsapp-btn--float {
        width: 52px;
        height: 52px;
        bottom: 16px;
        right: 16px;
    }
    .whatsapp-btn--float i {
        font-size: 1.5rem;
    }
    .cta-final__panel {
        border-radius: 24px;
    }
    .btn-cta-display {
        width: 100%;
    }
    .glass-navbar,
    .glass-navbar.is-sticky {
        width: calc(100% - 1.5rem);
    }
}

/* ==========================================================================
   2. Media Queries (max-width: 767.98px) - Tablets pequeñas y Móviles
   ========================================================================== */
@media (max-width: 767.98px) {
    .footer-col {
        margin-bottom: 30px;
    }
    .testimonio-card {
        padding: 1.75rem 1.25rem;
    }
    .testimonios h2 {
        font-size: 1.6rem;
    }
    .oferta-card {
        padding: 1.5rem 1.25rem;
    }
    .que-ofrece h2 {
        font-size: 1.75rem;
    }
    .diferenciador-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem 1.25rem;
    }
    .accordion-glass .accordion-button {
        font-size: 1rem;
    }
    .precio-card {
        padding: 2rem 1.35rem 1.5rem; /* Combinado y actualizado */
    }
    .whatsapp-btn--header span {
        display: none; 
    }
    .whatsapp-btn--header {
        padding: 0.5rem 0.65rem;
    }
    .cursos-intro h1 {
        font-size: 1.7rem;
    }
    .precio-total {
        font-size: 2.1rem;
    }
    .hero-media {
        height: 50vh;
        min-height: 320px;
    }
    .stat-numero { 
        font-size: 1.9rem; 
    }
    .contacto-intro h1 { 
        font-size: 1.7rem; 
    }
    .faq-pill { 
        padding: 1rem 1.25rem; 
    }
    .faq-pregunta { 
        font-size: 0.95rem; 
    }
    .lightbox-prev { 
        left: 0.5rem; 
    }
    .lightbox-next { 
        right: 0.5rem; 
    }
    #testimoniosCarousel .carousel-inner {
        padding-left: 2.75rem !important;
        padding-right: 2.75rem !important;
    }
    #learningMediaCarousel .carousel-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .carousel-control-prev,
    .carousel-control-next {
        width: 2.75rem;
    }
    .video-modal {
        max-width: 100%;
    }
    #arGalleryModal .border-end {
        border-right-width: 0 !important;
        border-bottom: 1px solid var(--bs-border-color) !important;
    }
}

/* ==========================================================================
   3. Media Queries (min-width: 576px) and (max-width: 991.98px)
   ========================================================================== */
@media (min-width: 576px) and (max-width: 991.98px) {
    .hero-ctas {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .hero-ctas .btn {
        flex: 1 1 16rem;
    }
}

/* ==========================================================================
   4. Media Queries (max-width: 991.98px) - Tablets y pantallas medianas
   ========================================================================== */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100vh - 6rem);
        max-height: calc(100svh - 6rem);
        overflow-y: auto;
    }
    .navbar-nav .nav-link {
        padding-block: 0.75rem;
    }
}

/* ==========================================================================
   5. Media Queries (min-width: 768px) - Tablets y Laptops pequeñas
   ========================================================================== */
@media (min-width: 768px) {
    .galeria-masonry { 
        column-count: 3; 
    }
}

/* ==========================================================================
   6. Media Queries (min-width: 992px) - Escritorios
   ========================================================================== */
@media (min-width: 992px) {
    .stepper {
        flex-direction: row;
        align-items: flex-start;
        gap: 0;
    }
    .step-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        flex: 1;
        padding: 0 1rem;
    }
    .step-item:not(:last-child)::before {
        top: 24px;
        left: calc(50% + 24px);
        width: calc(100% - 48px);
        height: 2px;
    }
    .step-contenido { 
        margin-top: 1.25rem; 
    }
    .hero-ctas {
        align-items: flex-start;
    }
    .footer .row > .footer-col:not([class*="col-"]) {
        width: 25%;
    }
}

/* ==========================================================================
   7. Media Queries (min-width: 1200px) - Pantallas grandes
   ========================================================================== */
@media (min-width: 1200px) {
    .galeria-masonry { 
        column-count: 4; 
    }
}

/* ==========================================================================
   8. Feature Queries / Interacción (Hover y Reducción de Movimiento)
   ========================================================================== */
@media (hover: none) {
    .oferta-card:hover,
    .testimonio-card:hover,
    .diferenciador-card:hover,
    .glass-panel:hover,
    .precio-card:hover,
    .horario-card-v2:hover,
    .media-frame:hover {
        transform: none;
    }
    .custom-hover-card:hover {
        transform: none;
        border-top-color: transparent !important;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn-cta-display,
    .btn-cta-display__icono {
        transition: none;
    }
    .btn-cta-display::before {
        animation: none;
    }
    .btn-cta-display:hover {
        transform: none;
    }
    .resultado-item {
        animation: none;
    }
}