@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


.header{
    position: fixed;
    width: 100%;
    z-index: 9999;
    background-color: rgba(21, 34, 54, 0); /* Fondo transparente por defecto */
    transition: background-color 0.3s ease; /* Para suavizar el cambio */
}

body{
    font-family: 'montserrat', serif;
    
}

h1{
    font-weight: 700;
    font-size: 3em;
}
  
h2 {
    font-weight: 600;
    font-size: 2em;
}
  
h3{
    font-weight: 300;
    font-size: 2em;
}

h4{
    font-weight: 300;
    font-size: 1.5em;
    margin: 0px 0px 0px 0px;
}

p{
    font-weight: 500;
    font-size: 1.3em;
}


.color1{
    background-color: #152236;
    color: #ffe159;
}

.color2{
    background-color: #152236;
    color: #ffffff !important;
}

.color3{
    background-color: #ffe159;
    color: #152236;
}

.color4{
    background-color: #ffe159;
    color: #222222;
}

.color5{
    background-color: #fff7d6;
    color: #152236;
}

.color6{
    background-color: #fff7d6;
    color: #222222;
}

.color7{
    background-color: #e2eaf3;
    color: #152236;
}

.color8{
    background-color: #e2eaf3;
    color: #222222;
}

.color9{
    background-color: #ffffff;
    color: #e2eaf3;
}

.azul{
    color: #152236 !important;
}

.amarillo{
    color: #ffe159 !important;
}

.gris{
    color: #e2eaf3;
}

.cornsilk{
    color: #fff7d6  !important;
}

.seccion-privacy{
    background-color: #dddddd;
    line-height: 2.5em;
}

a{
    color: #ffffff;
    text-decoration: none;
}

a:hover{
    color:#ffe159;
    text-decoration: underline;
}

.boton{
    font-weight: bold;
    border-radius: 20px;
    font-size: larger;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition:background-color 0.3s ease, color 0.3s ease;
    padding: 1em;
}

.boton:hover{
    background-color: #444444;
    color: #eeeeee;
    text-decoration: none;
}

.button-container{
    display: flex;
}

.imagen{
    border-radius: 30px;
}

.logo-superior{
    height: 4em;
}

.boton-wa{
    position: fixed;
    bottom: 1.5em;
    right: 1em;
    z-index: 9999;
    width: 4em;
}

.socialmedia{
    text-align: center;
}

.iconos{
    width: 2em;

}

.logo-footer{
    height: 3em;
}
.icono-footer{
    text-align: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0; /* Empieza invisible */
    transform: scale(0.95);
    transition: opacity 1s ease-out, transform .5s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: scale(1);
}

.message {
    background-color: #ededed;
    color: #152236;
    font-size: 1rem;
    width: 200px;
    height: 130px;
    display: flex;
    text-align: center;
    align-items: center;
    border-radius: 25px;
    box-shadow: 5px 5px 5px #152236;
    position: fixed;
    right: 40px;
    bottom: 60px;
    z-index: 9998;
    border: 3px solid #152236;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* Fondos únicos por sección */
.hero {
  background-color: #11374d;
  color: white;
  width: 100%;
  min-height: 100vh; /* full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  top: 0;
  z-index: -2;
  position: sticky;
}

/* Imagen fullscreen solo en desktop */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* evita que bloquee interacciones */
}

.hero-bg img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.hero-mobile {
  background-image: url(media/home-aiuto-mobile.jpg);
  background-size: cover;
  background-position: bottom;
  width: 100%;
  height: 70vh; /* full viewport height */
  position: relative;
  
}


.texto-hero {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 76% 5% 16%;
}

@media (min-width: 768px) {
  .texto-hero {
    background: none;
    padding: 0;
  }
}


/* Asegura que el contenido esté por encima */
.z-1 {
  z-index: 1;
  position: relative;
}


/* Todas las secciones ocupan pantalla completa */
main section {
  background-color: #ececec;
  position: relative;
  width: 100%;
  min-height: 100vh; /* full viewport height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* oculta parallax overflow */
}


.sticky-card {
    position: sticky;
    top: 0;
    min-height: 100vh;
    z-index: 2; /* Asegura que el sticky esté por encima del fondo */
    background-color: #ececec; /* Fondo para la sección sticky */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}


.hero {
    
    z-index: 1;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, border-radius 0.4s ease;
    will-change: transform, border-radius;
}

.hero-bg img {
    transition: transform 0.4s ease;
    will-change: transform;
}

.hero.scrolled {
    transform: scale(0.96);        /* Zoom out */
    border-radius: 2rem;           /* Marco redondeado */
}

.hero.scrolled .hero-bg img {
    transform: scale(1.03);        /* Sutil zoom in en la imagen para compensar */
}

#que-hacemos {
  min-height: 150vh; /* más alto para dar tiempo */
  display:block ;
}

.que-hacemos .glass {
height: 100vh;
width: 100%;
}

.que-hacemos .container {
height: 100vh;
display: flex;
}


.que-hacemos h2 span {
  opacity: 0;
  display: inline-block;
  transform: translateY(20px); /* aparece desde abajo */
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: pre;
}

.que-hacemos .parallax-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-image: url(media/frame2.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
  transform: scale(1.2);      /* estado inicial */
  transform-origin: top center;
  filter: blur(0px);
}

#disciplinas {
  display: block;
  position: relative;
}

#disciplinas .row {
  background-image: url(media/fondos/Azul.jpg);
}

.tarjeta1 {
    background-color: #67c2b0;
    color: #0f453a;
}

.tarjeta2  {
    background-color: #4ab5cd;
    color: #114956;
}

.tarjeta3  {
    background-color: #813981;
    color: #ffb8ff;
}

.tarjeta4  {
    background-color: #ea3572;
    color: #84002c;
}

.tarjeta5  {
    background-color: #ed3739;
    color: #ffabad;
}

.tarjeta6  {
    background-color: #f17a36;
    color: #953700;
}

.tarjeta7 {
    background-color: #fcc630;
    color: #654a00;
}


#areas h2 {
  font-size: clamp(2rem, 5vw, 4rem); 
  margin-bottom: 2rem; /* Espacio debajo del título */
}

.disciplinas p {
  font-size: xx-large;
  margin-bottom: 2rem; /* Espacio debajo del título */
}

.disciplinas img {
border-radius: 30px;
}


/* #region Swiper Styling */
#areas {
  height: 100%;
  position: relative;
  top: 0;
  width: 100%;
  padding: 20px;
  display: flex;
}

.tarjeta0{
    background-color: #171717;
    color: #ffffff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}


.swiper {
  padding-bottom: 40px;
}

.swiper-slide {
  width: auto;
  min-height: 50vh;
  border-radius: 30px;
  padding: 20px;
}

/* Estilos opcionales para flechas */
.swiper-button-prev,
.swiper-button-next {
  color: #ffffff;
}
/* #endregion */

