/*------------------------ ESTILOS GENERALES -----------------------------*/
body {
    margin: 0%;
    padding-top: 60px;
    /* ajustar con el nav, atencion!!*/
    width: 100%;
    min-height: 100vh;
    box-sizing: border-box;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--color-texto);
    background-color: var(--fondo-claro);
    overflow-x: hidden;
    font-size: 1rem;
}

:root {
    --color-principal: #00471D;
    --color-fondo-principal: #E6FFF0;
    --color-secundario: #ffd400;
    --color-fondo-seccundario: #fff6c8;
    --color-texto: #1f2a37;
    --color-texto-claro: #ffffff;
    --color-texto-gris: rgb(180, 180, 180);
    --destacados-verde: #00D154;
    --destacados-rojo: #ff3b3b;
    --fondo-claro: #f3f3f3;
}

.accent {
    color: var(--destacados-verde);
}

.lead {
    color: #e6e9ee;
    font-size: 20px;
    margin-bottom: 20px;
}

.lead-oscuro {
    color: var(--color-texto);
    font-size: 20px;
    margin-bottom: 20px;
}

h1 {
    font-weight: 900;
    line-height: 1.2;
    font-size: 80px;
    margin: 20px 0px 20px 0px;
}

h2 {
    font-weight: 900;
    line-height: 1;
    font-size: 60px;
    margin-bottom: 20px;
}

h3 {
    font-weight: 900;
    line-height: 1;
    font-size: 40px;
}

.btn-green {
    background: var(--color-principal);
    color: white;
    font-weight: 800;
    border: none;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    transition: 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-green:hover {
    background-color: var(--fondo-claro);
    color: var(--color-principal);
}

.btn-green:active {
    box-shadow: 0 3px 7px inset grey;
    transform: translateY(2px);
    background-color: var(--fondo-claro);
}

.btn-ghost {
    background: rgba(255, 255, 255, .12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .35);
    padding: .9rem 1.2rem;
    border-radius: .8rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
    text-decoration: none;
    transition: 0.1s;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, .18);
}

.btn-ghost:active {
    box-shadow: 0 3px 7px inset grey;
    transform: translateY(2px);
}

.textos-principales {
    margin-top: 50px;
    text-align: center;
}


@media (min-width: 650px) and (max-width: 1500px) {
    h1 {
        font-weight: 800;
        font-size: 70px;
        margin: 15px 0px 15px 0px;
    }

    h2 {
        font-weight: 800;
        font-size: 50px;
        margin-bottom: 15px;
    }

    h3 {
        font-weight: 800;
        font-size: 30px;
    }

    .btn-green {
        font-weight: 600;
        padding: 10px;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    body {
        margin: 0%;
        padding-top: 10px;
        width: 100%;
    }

    h1 {
        font-weight: 500;
        font-size: 40px;
        margin: 10px 0px 10px 0px;
    }

    h2 {
        font-weight: 500;
        font-size: 30px;
        margin-bottom: 10px;
    }

    h3 {
        font-weight: 500;
        font-size: 15px;
    }

    .btn-green {
        font-weight: 300;
        border: none;
        padding: 10px;
    }

    .textos-principales {
        margin-top: 40px;
        text-align: center;
        padding: 15px;
    }

}

/*------------------------ FINAL ESTILOS GENERALES -----------------------------*/

/* ----------------------------- SECCION NAVBAR ----------------------------------------*/

.navbar {
    width: 100%;
    height: 10%;
    background: #fff;
    padding: 0%;
}

.navbar-brand,
.nav-link {
    color: var(--color-texto) !important;
}

.navbar .container-fluid {
    padding: 0 !important;
    height: 100%;
}

#brand-box {
    height: 100%;
    width: 30%;
    display: flex;
    font-size: 25px;
    margin: 0%;
    align-items: center;
    padding: 5px 0px 5px 50px;
}

#mainNav {
    height: 100%;
    align-items: center;
}

.nav-item {
    text-decoration: none;
}

.navbar-nav {
    font-size: 25px;
    font-weight: 600;
    height: 100%;
    padding-right: 50px;
}

#brand-box div {
    height: 90%;
    width: 15%;
    margin: 0% !important;
    background-color: var(--color-principal);
    color: white;
    font-weight: 900;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

#brand-box a {
    height: 100%;
    text-decoration: none;
    padding-left: 10px;
    color: var(--color-principal);
    font-weight: 900;
    align-items: center;
    align-content: center;
    justify-content: center;
}

#brand-box a>p {
    margin-bottom: 0%;
}

.nav-link {
    transition: all 0.5s;
}

.nav-link:hover {
    text-decoration: underline;
}

.login-popover {
    position: fixed;
    right: 30px;
    top: 90px;
    width: 340px;
    max-width: 92vw;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 12px;
    z-index: 1055;
}

@media (max-width: 576px) {
    .login-popover {
        right: 8px;
        top: 72px;
        width: 300px;
    }
}


@media (min-width: 650px) and (max-width: 1500px) {
    .navbar {
        height: 13%;
    }

    #brand-box {
        width: 30%;
    }

    #brand-box div {
        height: 90%;
        width: 15%;
        margin: 0% !important;
        background-color: var(--destacados-rojo);
        color: white;
        font-weight: 900;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    .navbar {
        width: 100%;
        padding-left: 0px;
        padding-right: 0px;
    }

    .navbar div {
      
        height: auto;
    }

    #brand-box {
        width: 50%;
        height: 100%;
        padding: 0%;
        font-size: 18px;
        margin-left: 20px;
    }

    .navbar-toggler {
        margin-right: 15px;
    }

    #brand-box div {
        height: 60%;
        margin: 0% !important;
        font-weight: 700;
        padding: 7px 15px;
    }

    #mainNav {
        width: 100% !important;
        margin: 0%;
        padding: 0%;
        height: auto;
    }

    #brand-box a {
        padding-top: 0px;
        padding-left: 10px;
        font-weight: 800;
    }

    .navbar-nav {
        background-color: white;
        width: 100%;
        padding: 10px 15px 15px;
        font-size: 17px;
        height: unset;
    }

    #btnAreaAlumno {
        margin-bottom: 10px;
    }

}

/* ----------------------------- FINAL SECCION NAVBAR ----------------------------------------*/

/* ----------------------------- SECCION HERO ----------------------------------------*/

.hero{
  position: relative;
  width: 100%;
  height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--color-texto-claro);
  isolation: isolate;
}

/* el fondo SIEMPRE ocupa exactamente el hero */
.hero__bg{
  position: absolute;
  inset: 0;         
  z-index: -2;
  overflow: hidden;
}

.hero__bg img{
  position: absolute;
  inset: -25% 0;          
  width: 100%;
  height: 150%;
  object-fit: cover;
  filter: blur(1.5px);
  transform: translate3d(0, var(--y, 0px), 0);
  will-change: transform;
}


/* Overlay oscuro para contraste del texto */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .55) 50%, rgba(0, 0, 0, .55) 100%);
    z-index: -1;
}

/* Contenido centrado */
.hero__content {
    max-width: 1100px;
    padding: clamp(1rem, 3vw, 2rem);
    text-align: center;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .9rem;
    padding: .35rem .7rem;
    border-radius: 999px;
    background: rgba(23, 201, 100, .15);
    color: var(--color-texto-claro);
    border: 1px solid rgba(255, 255, 255, .2);
    backdrop-filter: blur(4px);
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(.6rem, 2vw, 1rem);
    margin-top: clamp(1rem, 2.6vw, 2rem);
}

.stat {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 15px;
    padding: 15px;
    backdrop-filter: blur(6px);
}

.stat strong {
    font-size: 1.25rem;
}

.stat .ok {
    color: var(--destacados-verde);
    font-weight: 900;
}

.stat .hot {
    color: var(--destacados-rojo);
    font-weight: 900;
}

@media (max-width: 576px) {
    .hero__stats {
        grid-template-columns: 1fr;
    }
}

/* =========================
   MOBILE FIXES
========================= */
@media (max-width: 768px){

  .hero{
    min-height: 78svh;      
    height: auto;
    padding: 90px 16px 24px;
  }

  .hero__content{
    gap: 14px;
    padding: 0;
  }

  .hero__content h1{
    font-size: clamp(32px, 8vw, 46px);
    line-height: 1.05;
  }

  .hero__content p{
    font-size: 16px;
    line-height: 1.45;
    max-width: 34ch;
    margin: 0 auto;
    margin-bottom: 10px;
  }


  .hero__stats{
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .hero__stats .stat{
    padding: 14px 16px;
  }
}


@media (min-width: 650px) and (max-width: 1500px) {
    .hero {
        width: 100%;
        height: 90vh;
    }

    .hero__bg {
        position: absolute;
        z-index: -2;
        overflow: hidden;
    }

    .hero__bg img {
        width: 100%;
        height: 130vh !important;
        object-fit: cover;
    }

    .hero__eyebrow {
        display: none;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    .hero {
        width: 100%;
        height: 100vh;
    }

    .hero__bg {
        position: absolute;
        z-index: -2;
        overflow: hidden;
    }

    .hero__bg img {
        width: 100%;
        height: 230vh !important;
        object-fit: cover;
    }

    .hero__eyebrow {
        display: none;
    }

}

/* ----------------------------- FINAL SECCION HERO ----------------------------------------*/

/* ------------------------------ SECCION CURSOS -------------------------------------------*/

#cursos {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--fondo-claro);
}

#pantalla-cursos {
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 40px;
}

#info-cursos {
    width: 40%;
    display: flex;
    align-items: end;
    flex-direction: column;
    gap: 15px;
}

.tarjetas-info-cursos {
    border: 1px solid var(--color-principal);
    padding: 30px;
    font-size: 20px;
    border-radius: 15px;
    width: 90%;
    background-color: white;
}

.tarjetas-info-cursos i {
    color: var(--destacados-verde);
    font-size: 25px;
}

#caja-tarjetero-cursos {
    width: 60%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

#tarjetero-cursos {
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: space-between;
}

#frase-tarjetero {
    width: 90%;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 20px;
    align-items: center;
    padding: 0px 35px 10px 35px;
}

#frase-tarjetero div {
    display: flex;
    gap: 20px;
}

#frase-tarjetero span {
    font-size: 40px;
    font-weight: 900;
    color: var(--destacados-verde);
}

.tarjetas-cursos {
    display: flex;
    flex-direction: column;
    width: 20%;
    height: 70%;
    text-align: left;
    font-size: 25px;
    border-radius: 15px;
    background-color: white;
    box-shadow: 2px 5px 10px rgb(163, 163, 163);
    transition: all 0.3s ease;
    padding: 25px;
    text-align: center;
    background-color: var(--color-secundario);
}

.tarjetas-cursos span {
    font-size: 40px;
    font-weight: 900;
}

.tarjetas-cursos button {
    margin-top: 10px;
    border-radius: 15px;
    font-weight: 500;
    background-color: var(--fondo-claro);
    box-shadow: 0px 5px 5px grey;
    transition: 0.2s;
    background-color: white;
}

.tarjetas-cursos button:active {
    box-shadow: 0 3px 7px inset grey;
    transform: translateY(2px);
}

#footer-cursos {
    width: 100%;
    align-items: center;
    justify-content: center;
    background-color: var(--fondo-claro);
    display: flex;
    background-color: var(--color-principal);
}

#texto-footer-cursos {
    width: 50%;
    display: flex;
    align-items: center;
    font-size: 40px;
    color: var(--destacados-verde);
    color: #fff;
    padding: 0%;
    margin: 0%;
}

#texto-footer-cursos h3 {
    padding: 0%;
    margin: 0%;
}

#tarjetas-footer-cursos {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    width: 40%;
    align-items: center;
    padding: 50px 0px;
}

#tarjetas-footer-cursos div {
    display: flex;
    align-items: center;
    height: 40%;
    padding: 20px;
    gap: 10px;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 1.5rem;
    border: 2px solid white;
    background: rgba(255, 255, 255, 0.10);
}

@media (min-width: 650px) and (max-width: 1500px) {
    #pantalla-cursos {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #caja-tarjetero-cursos {
        width: 100%;
    }

    #tarjetero-cursos {
        height: 60%;
        margin-top: 0% !important;
        margin-bottom: 20px;
    }

    #info-cursos {
        width: 100%;
        height: 30%;
        display: flex !important;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 20px;
    }

    .tarjetas-info-cursos {
        width: 30%;
        height: 100% !important;
        margin: 0%;
        font-size: 17px;
        padding: 20px;
    }

    #footer-cursos {
        height: 200px;
    }

    #tarjetas-footer-cursos {
        height: 100%;
        padding: 10px;
    }

    #tarjetas-footer-cursos div {
        width: 30%;
        font-size: 15px;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    #pantalla-cursos {
        display: flex;
        flex-direction: column;
    }

    #caja-tarjetero-cursos {
        width: 100%;
    }

    #tarjetero-cursos {
        height: 100%;
        margin-top: 0% !important;
        margin-bottom: 20px;
        flex-wrap: wrap;
        gap: 10px;

    }

    .tarjetas-cursos {
        width: 45%;
        height: 20%;
        font-size: 17px;
        padding: 15px;
        margin-bottom: 20px;
    }

    #info-cursos {
        width: 100%;
        height: 100%;
        display: flex !important;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
    }

    .tarjetas-info-cursos {
        width: 90%;
        height: 20% !important;
        padding: 10px;
        margin: 0%;
        font-size: 15px;
    }

    #footer-cursos {
        flex-direction: column;
        height: 200px;
    }

    #texto-footer-cursos h3 {
        padding: 0%;
        margin: 0%;
        font-size: 20px;
        margin-bottom: 10px;
    }

    #texto-footer-cursos {
        width: 80%;
        display: flex;
        align-items: center;
    }

    #tarjetas-footer-cursos {
        gap: 10px;
        padding: 10px;
        width: 100%;
    }

    #tarjetas-footer-cursos div {
        width: 30%;
        font-weight: 300;
        font-size: 13px;
        padding: 10px;
    }
}

/* ---------------------------------- FINAL SECCION CURSOS ---------------------------------------------*/

/* ---------------------------------- SECCION PRECIOS ------------------------------------------*/
#precios {
    width: 100%;
    padding: 70px 0 90px; 
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--fondo-claro);
    text-align: center;
}

#tarjetero-precios {
    width: 70%;
    display: flex;
    margin-top: 40px;
    justify-content: space-between;
      align-items: stretch;   
  gap: 28px; 

}

.tarjetas-precio,
#tarjeta-principal{
  display: flex;
  flex-direction: column;
}

.tarjetas-precio {
    width: 30%;
    border: 1px solid grey;
    justify-content: space-between;
    border-radius: 20px;
    font-size: 20px;
    padding: 25px;
    text-align: left;
    position: relative;
    background-color: #fff;
}

.tarjetas-precio span {
    font-size: 25px;
}

.tarjetas-precio button,
#tarjeta-principal button{
  position: static;       
  margin-top: auto;       
  align-self: center;
  width: 60%;
  margin-bottom: 10px;    
}


#tarjeta-principal {
    border: 2px solid var(--color-principal);
    width: 30%;
    justify-content: space-between;
    border-radius: 20px;
    font-size: 20px;
    text-align: left;
    position: relative;
    background-color: #fff;
    box-shadow: 2px 10px 15px rgb(163, 163, 163);
}

#tarjeta-principal div {
    width: 100%;
    height: 10%;
    background-color: var(--color-principal);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    border-top-left-radius: 17px;
    border-top-right-radius: 17px;
    padding-bottom: 10px;
}

#tarjeta-principal p,
h3 {
    padding-left: 25px;
    padding-bottom: 10px;
}

#tarjeta-principal span {
    font-size: 30px;
}


@media (min-width: 650px) and (max-width: 1500px) {
    #precios {
        height: 110vh;
        margin-top: 50px;
    }

    #tarjetero-precios {
        width: 80%;
        margin-top: 40px;
    }

    .tarjetas-precio {
        height: 80%;
        font-size: 17px;
    }

    .tarjetas-precio span {
        font-size: 20px;
    }

    .tarjetas-precio h3 {
        font-size: 30px;
        padding: 0% !important;
    }

    #tarjeta-principal {
        height: 100%;
        font-size: 17px;
    }

    #tarjeta-principal span {
        font-size: 20px;
    }

    #tarjeta-principal h3 {
        font-size: 30px;
        padding-bottom: 0% !important;
        margin-bottom: 0%;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    #precios {
          height: auto;
  padding: 60px 0;
        margin-bottom: 20px;
        margin-top: 30px;
    }

    #tarjetero-precios {
        width: 90%;
        height: 100%;
        margin-top: 20px;
        flex-direction: column;
        gap: 15px;
    }

    .tarjetas-precio {
        width: 100%;
        height: 400px;
        font-size: 17px;
        padding: 15px;
        display: flex;
        flex-direction: column;
        justify-content: unset;
    }

    .tarjetas-precio button {
        margin-top: 20px;
        left: 35%;

    }

    .tarjetas-precio h3 {
        font-size: 30px;
        padding-top: 0%;
        height: 15%;
        margin-bottom: 0%;
    }

    .tarjetas-precio p {
        margin-bottom: 0%;
    }

    .tarjetas-precio span {
        font-size: 25px;
    }

    #tarjeta-principal {
        height: 500px;
        width: 100%;
        justify-content: space-between;
        border-radius: 20px;
        font-size: 17px;
        display: flex;
        flex-direction: column;
        justify-content: unset;
    }

    #tarjeta-principal div {
        font-size: 20px;
        padding: 15px;
        margin-bottom: 0%;
        padding-bottom: 0%;
    }

    #tarjeta-principal span {
        font-size: 25px;
    }

    #tarjeta-principal p,
    h3 {
        padding-left: 15px;
        margin-bottom: 0%;
    }

    #tarjeta-principal h3 {
        font-size: 30px;
        padding-top: 5px;
        margin: 0%;
    }

    #tarjeta-principal button {
        margin-top: 10px;
        left: 35%;
    }
}

/* ------------------------------ FINAL SECCION PRECIOS ----------------------------------*/

/* ----------------------------- PARALLAX CENTRAL --------------------------------------------*/

.hero.hero--sec{
  height: 45vh;
  min-height: 340px; /* para que no quede enano en desktop */
}

.hero.hero--sec .hero__bg img{
  height: 140%;      /* un poco más de margen para “parallax feel” */
}


.hero.hero--sec::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .5) 100%);

}

@media (min-width: 650px) and (max-width: 1500px) {
    .hero.hero--sec {
        height: 350px;
        margin-top: 50px;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    .hero.hero--sec {
        display: none;

    }
}

/* ---------------------------------- SECCION CONTACTO ----------------------------------------*/

#contacto {
    width: 100%;
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 20px;
}

#caja-contacto {
    width: 70%;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

#formulario {
    width: 50%;
    border: 1px solid grey;
    padding: 25px;
    border-radius: 20px;
    margin: 10px;
    background-color: white;
    box-shadow: 2px 5px 10px rgb(163, 163, 163);
}

#info-empresa {
    width: 40%;
    border-radius: 20px;
    margin: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: space-between;
}

.datos-info-empresa {
    background-color: rgb(230, 227, 227);
    padding: 20px;
    border-radius: 20px;
}

.datos-info-empresa i {
    color: var(--destacados-verde);
    padding-right: 5px;
}

@media (min-width: 650px) and (max-width: 1500px) {
    #contacto {
        height: 110vh;
        margin-bottom: 50px;
    }

    #caja-contacto {
        width: 80%;
        height: 75%;
        padding: 0% !important;
        font-size: 17px;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    #contacto {
        margin-top: 50px;
        height: 1200px;
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    #caja-contacto {
        width: 90%;
        height: 100%;
        padding: 0% !important;
        font-size: 17px;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }

    #formulario {
        width: 100%;
        margin: 0%;
    }

    #info-empresa {
        width: 100%;
        align-items: center;
        justify-content: center;
    }

    .datos-info-empresa {
        width: 100%;

    }
}

/* ---------------------------------- FINAL SECCION CONTACTO ----------------------------------------*/

/* -------------------------------- FOOTER -------------------------------------------*/

footer {
    width: 100%;
    height: 60%;
    background-color: var(--color-principal);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

#footer-principal {
    width: 90%;
    height: 60%;
    display: flex;
    padding-top: 40px;
}

.secciones-footer {
    width: 50%;
    padding: 30px;
    font-size: 20px;
    display: flex;
    flex-direction: column;
}

.secciones-footer span {
    padding-bottom: 15px;
    font-size: 22px;
}

.secciones-footer a {
    text-decoration: none;
    color: var(--color-texto-gris);
    padding-bottom: 5px;
}

.secciones-footer a:hover {
    color: var(--destacados-verde);
}

.secciones-footer p {
    color: var(--color-texto-gris);
}

#redes-sociales {
    display: flex;
    gap: 20px;
    font-size: 40px;
    padding-bottom: 15px;
    justify-content: space-between;
}

#redes-sociales div {
    border: 1px solid grey;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.20);
    border-radius: 15px;
    cursor: pointer;
}

#redes-sociales div:hover {
    background-color: var(--destacados-verde);
}

#footer-secundario {
    height: 30%;
    display: flex;
    width: 90%;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    border-top: 1px solid grey;
}

#footer-secundario a {
    padding-right: 15px;
    text-decoration: none;
    font-size: 20px;
    color: var(--color-texto-gris);
}

#footer-secundario a:hover {
    color: var(--destacados-verde);
}

#footer-secundario p {
    color: var(--color-texto-gris);
}

@media (min-width: 650px) and (max-width: 1500px) {
    .secciones-footer span {
        padding-bottom: 10px;
        font-size: 18px;
    }

    #redes-sociales {
        font-size: 30px;
    }

    .secciones-footer,
    #footer-secundario,
    #footer-secundario a {
        font-size: 17px;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    footer {
        width: 100%;
        height: 1000px;
        margin-top: 20px;
    }

    #footer-principal {
        width: 100%;
        display: flex;
        flex-direction: column;
        padding-top: 10px;
        font-size: 15px;
    }

    .secciones-footer {
        width: 100%;
        height: 45%;
        padding: 15px;
        font-size: 15px;

    }

    #redes-sociales {
        width: 80%;
        align-items: center;
        justify-content: space-evenly;
        gap: 15px;
        font-size: 35px;
        padding-bottom: 15px;
    }

    #footer-secundario {
        height: 20%;
        display: flex;
        flex-direction: column;
        width: 90%;
        padding: 15px;
        font-size: 17px;
        border-top: 1px solid grey;
        margin-top: 20px;
        padding-top: 10px;
    }

    #footer-secundario a {
        padding-right: 15px;
        text-decoration: none;
        font-size: 17px;
        color: var(--color-texto-gris);
        padding-bottom: 20px;
    }
}



/* --------------------------------------- BOTONES FLOTANTES --------------------------------------------*/

.fab {
    position: fixed;
    right: clamp(12px, 2vw, 20px);
    bottom: clamp(12px, 2vw, 24px);
    z-index: 1055;
    /* por encima del contenido, debajo del navbar si lo necesitas */
}

.fab__btn {
    width: 56px;
    height: 56px;
    font-size: 1.6rem;
    display: grid;
    place-items: center;
    transition: transform .15s ease, filter .2s ease;
}

.fab__btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

/* Animación sutil de “latido” al de WhatsApp (opcional) */
.fab__btn.btn-success {
    animation: fabPulse 2.5s ease-in-out infinite;
}

.offcanvas-end{
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  border-radius: 20px 0 0 20px;
}


@keyframes fabPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(25, 135, 84, .35);
    }

    50% {
        box-shadow: 0 0 0 12px rgba(25, 135, 84, 0);
    }
}

/* Respeto a usuarios con menos movimiento */
@media (prefers-reduced-motion: reduce) {
    .fab__btn {
        transition: none;
        animation: none;
    }
}

#ocWhats {
    height: 20%;
    width: 30%;
    margin-top: 150px;
    margin-right: 20px;
    border-radius: 20px;
    border: 1px solid var(--color-principal);
    background-color: var(--fondo-claro) !important;
}

.offcanvas-body {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: black;
    background-color: white;
    justify-content: center !important;
    align-items: center !important;
    font-size: 20px;
}

.offcanvas-body div {
    display: flex;
    gap: 10px;
}

.offcanvas-body i {
    padding-right: 5px;
}

.btn-azul {
    border: 2px solid blue;
    font-weight: 800;
    transition: 0.2s;
    padding: 15px;
    border-radius: 15px;
    text-decoration: none;
    color: blue;
}

.btn-azul:hover {
    background: rgba(255, 255, 255, .18);
}

.btn-azul:active {
    box-shadow: 0 3px 7px inset grey;
    transform: translateY(2px);
    background-color: var(--fondo-claro);
}

#ocMaps {
    height: 40%;
    width: 40%;
    margin-top: 150px;
    margin-right: 20px;
    border-radius: 20px;
    border: 1px solid var(--color-principal);
    background-color: var(--fondo-claro) !important;
}

#ocHours {
    height: 20%;
    width: 20%;
    margin-top: 150px;
    margin-right: 20px;
    border-radius: 20px;
    border: 1px solid var(--color-principal);
    background-color: var(--fondo-claro) !important;
}

#ocHours div {
    flex-direction: column;
}

@media (min-width: 650px) and (max-width: 1500px) {
    #ocWhats {
        height: 30%;
        width: 40%;
        margin-top: 200px;
    }

    #ocMaps {
        height: 60%;
        width: 60%;
        margin-top: 100px;
    }

    #ocHours {
        height: 30%;
        width: 20%;
        margin-top: 230px;
    }

    #ocHours div {
        flex-direction: column;
    }
}

@media (min-width: 350px) and (max-width: 600px) {
    #ocWhats {
        height: 40%;
        width: 70%;
        margin-top: 100px;
        border-radius: 20px;
    }

    #ocMaps {
        height: 50%;
        width: 90%;
        margin-top: 80px;
    }

    #ocHours {
        height: 30%;
        width: 40%;
        margin-top: 180px;
    }

    .offcanvas-body {
        border-radius: 20px;
    }

}

/* --------------------------------------- CIERRE BOTONES FLOTANTES --------------------------------------------*/


@media (max-width: 768px){

  /* Que todo pueda crecer sin cortar */
  #contacto, #precios, #pantalla-cursos, #pantalla-packs{
    height: auto !important;
    min-height: 0 !important;
  }

  /* Evita cosas raras por alturas/porcentajes */
  #caja-contacto, #caja-packs, #caja-cursos{
    height: auto !important;
  }

  /* Hero estable en móvil */
  .hero{
    min-height: 100svh;
  }
}


@media (max-width: 600px){
  .fab{
    right: 10px;
    bottom: 90px;       /* súbelos */
    z-index: 1055;
  }

  .fab__btn{
    width: 48px;
    height: 48px;
    font-size: 1.35rem;
  }
}
