body {
    font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    background-color: white;
    height: 200vh;
    position: relative; }
    body:before {
      content: "";
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.5);
      -webkit-transition: .3s all ease;
      -o-transition: .3s all ease;
      transition: .3s all ease;
      opacity: 0;
      visibility: hidden;
      z-index: 1; }
    body.offcanvas-menu:before {
      opacity: 1;
      z-index: 1002;
      visibility: visible; }
  
  p {
    color: #18171c;
    font-weight: 300; }
  
  h1 
   {
       
            color: white;
            font-size: 62px;
            font-weight: 800;
            line-height: 1.1;
            margin-bottom: 25px;
            animation: slideUp 0.8s ease-out 0.2s both;
   }

h2 {
       
            color: white;
            font-size: 42px;
            font-weight: 600;
            line-height: 1.1;
            margin-bottom: 25px;
            animation: slideUp 0.8s ease-out 0.2s both;
   }


  a {
    -webkit-transition: .3s all ease;
    -o-transition: .3s all ease;
    transition: .3s all ease; }
    a, a:hover {
      text-decoration: none !important; }
  
/* es un degradado de colores */
 .highlight {
            background: linear-gradient(120deg, #ffd89b 0%, #19547b 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }


 .highlightdos {
            background: linear-gradient(120deg, #b84ea6 0%, #078802 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }


/* para darle un resalte a las cosas */

.texto-impacto {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.3;
    color: #004a8f;
    letter-spacing: 0.6px;
    margin: 0;
    animation: zoomSuave 5s ease-in-out infinite;
    position: relative;
  }

  /* ZOOM Y COLOR ANIMADO */
  @keyframes zoomSuave {
    0%,100% { transform: scale(1); color: #004a8f; }
    50% { transform: scale(1.06); color: #007bff; }
  }

  /* SUBRAYADO BRILLANTE EN MOVIMIENTO */
  .texto-impacto::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 5px;
    border-radius: 4px;
    background: linear-gradient(90deg, transparent, #00aaff, transparent);
    animation: subrayadoMove 4s linear infinite;
  }

  @keyframes subrayadoMove {
    0% { transform: translateX(-100%); opacity: 0.4; }
    50% { transform: translateX(0); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0.4; }
  }


/**************************************************************************/
  /* ============================================
   HERO SECTION
   ============================================ */

.hero{
  position: relative;
  height: 500px;        /* usa px o vh, NO % */
  background: #beb9b9;
}

.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  object-fit: cover;          /* o contain, según lo que quieras */
  object-position: center top;
  display: block;             /* evita glitches de inline */
}

.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  filter: brightness(90%);    /* en overlay, no en el contenedor */
}


/* Overlay para mejorar legibilidad del menú 
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.1) 70%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}
*/



/* ============================================
   SITE NAVBAR WRAP - Container principal
   ============================================ */

.site-navbar-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Sombra suave cuando hace scroll */
.site-navbar-wrap.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}


/* ============================================
   NAVBAR TOP - Primera fila (Logo IES + Redes)
   ============================================ */

.site-navbar-top {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 0;
  transition: all 0.4s ease;
}

.site-navbar-wrap.scrolled .site-navbar-top {
  background: rgba(0, 0, 0, 0.6);
}

/* Logo IES + Título */
.site-navbar-top a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.site-navbar-top a:hover {
  opacity: 0.85;
}

.site-navbar-top h1 {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 700;
  margin: 0;
  margin-left: 10px;
  line-height: 1.2;
}

.site-navbar-top img {
  flex-shrink: 0;
}

/* Iconos sociales */
.site-navbar-top .icon-twitter,
.site-navbar-top .icon-facebook,
.site-navbar-top .icon-instagram {
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.site-navbar-top a:hover .icon-twitter,
.site-navbar-top a:hover .icon-facebook,
.site-navbar-top a:hover .icon-instagram {
  transform: translateY(-2px);
  opacity: 0.8;
}


/* ============================================
   SITE NAVBAR - Segunda fila (Logo IB + Menú)
   ============================================ */

.site-navbar {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  transition: all 0.4s ease;
}

.site-navbar-wrap.scrolled .site-navbar,
.site-navbar.js-sticky-header.is-sticky {
  background: rgba(101, 10, 111, 0.95);
  backdrop-filter: blur(20px);
}

/* Logo IB */
.site-navbar .site-logo {
  margin: 0;
}

.site-navbar .site-logo a {
  display: inline-block;
  line-height: 1;
}

.site-navbar .site-logo img {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.site-navbar .site-logo a:hover img {
  transform: scale(1.05);
}


/* ============================================
   NAVEGACIÓN - Menú principal
   ============================================ */

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-menu {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
  flex-wrap: nowrap;
}

.site-menu > li {
  position: relative;
  padding: 0;
  display: inline-block;
  white-space: nowrap;
}

.site-menu > li > a {
  display: inline-block;
  padding: 15px 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

/* Underline animado */
.site-menu > li > a::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.site-menu > li > a:hover::after,
.site-menu > li.active > a::after {
  transform: scaleX(1);
}

.site-menu > li > a:hover,
.site-menu > li.active > a {
  color: #fff;
}


/* ============================================
   DROPDOWNS - Menús desplegables
   ============================================ */

.site-menu .has-children > a {
  padding-right: 25px;
}

.site-menu .has-children > a::before {
  content: '▾';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  transition: transform 0.3s ease;
}

.site-menu .has-children:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

/* Dropdown container */
.site-menu .dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  min-width: 220px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 8px 0;
  margin-top: 12px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  list-style: none;
}

/* Flecha del dropdown */
.site-menu .dropdown.arrow-top::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-bottom-color: #fff;
}

/* Mostrar dropdown */
.site-menu .has-children:hover > .dropdown,
.site-menu .has-children:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  margin-top: 5px;
  transform: translateX(-50%) translateY(0);
}

/* Items del dropdown */
.site-menu .dropdown > li {
  padding: 0;
  margin: 0;
  position: relative;
}

.site-menu .dropdown a {
  display: block;
  padding: 10px 18px;
  color: #333;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.site-menu .dropdown a::after {
  display: none;
}

.site-menu .dropdown a:hover {
  background: #650a6f;
  color: #fff;
  padding-left: 22px;
}

.site-menu .dropdown a.active {
  color: #650a6f;
  font-weight: 700;
}

/* Submenús anidados */
.site-menu .dropdown .has-children > a::after {
  content: '▸';
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}

.site-menu .dropdown .has-children .dropdown {
  left: 100%;
  top: 0;
  margin-top: 0;
  margin-left: 5px;
  transform: translateX(0) translateY(-10px);
}

.site-menu .dropdown .has-children:hover .dropdown {
  transform: translateX(0) translateY(0);
}

.site-menu .dropdown .has-children .dropdown::before {
  display: none;
}


/* ============================================
   MENÚ MÓVIL - Toggle button
   ============================================ */

.site-menu-toggle {
  display: inline-block;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.site-menu-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}


/* ============================================
   MOBILE MENU - Panel lateral
   ============================================ */

.site-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 90vw;
  height: 100vh;
  background: #fff;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2000;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.offcanvas-menu .site-mobile-menu {
  transform: translateX(0);
}

/* Overlay oscuro detrás del menú */
body.offcanvas-menu::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Header del menú móvil */
.site-mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-mobile-menu-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
}

.site-mobile-menu-close:hover {
  background: #f1f3f5;
}

.site-mobile-menu-close .icon-close2 {
  font-size: 24px;
  color: #333;
  transition: color 0.3s ease;
  display: block;
  width: 24px;
  height: 24px;
  line-height: 24px;
}

/* Si no tienes iconos, mostrar una X */
.site-mobile-menu-close .icon-close2:empty::before {
  content: '✕';
  font-size: 28px;
  font-weight: 300;
}

.site-mobile-menu-close:hover .icon-close2 {
  color: #650a6f;
}

/* Body del menú móvil */
.site-mobile-menu-body {
  padding: 20px 0;
}

.site-mobile-menu .site-nav-wrap {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-mobile-menu .site-nav-wrap > li {
  border-bottom: 1px solid #f1f3f5;
  position: relative;
}

.site-mobile-menu .site-nav-wrap > li:last-child {
  border-bottom: none;
}

.site-mobile-menu .site-nav-wrap a {
  display: block;
  padding: 15px 20px;
  color: #333;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.site-mobile-menu .site-nav-wrap > li > a {
  font-size: 17px;
  font-weight: 600;
}

.site-mobile-menu .site-nav-wrap a:hover,
.site-mobile-menu .site-nav-wrap a.active {
  color: #650a6f;
  background: #f8f9fa;
  padding-left: 30px;
}

/* Arrow collapse para submenús móviles */
.site-mobile-menu .arrow-collapse {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 5;
}

.site-mobile-menu .arrow-collapse:hover {
  background: #f1f3f5;
}

.site-mobile-menu .arrow-collapse::before {
  content: '▾';
  font-size: 14px;
  transition: transform 0.3s ease;
  color: #666;
}

.site-mobile-menu .arrow-collapse.collapsed::before {
  transform: rotate(-90deg);
}

/* Submenús en móvil */
.site-mobile-menu .site-nav-wrap .dropdown {
  padding: 0;
  margin: 0;
  list-style: none;
  background: #f8f9fa;
  display: none;
  position: static !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  clip-path: none !important;
}

.site-mobile-menu .site-nav-wrap .dropdown.show {
  display: block !important;
}

.site-mobile-menu .site-nav-wrap .dropdown::before {
  display: none !important;
}

.site-mobile-menu .site-nav-wrap .dropdown > li {
  border-bottom: 1px solid #e9ecef;
}

.site-mobile-menu .site-nav-wrap .dropdown > li:last-child {
  border-bottom: none;
}

.site-mobile-menu .site-nav-wrap .dropdown a {
  padding-left: 40px;
  font-size: 15px;
  font-weight: 500;
}

.site-mobile-menu .site-nav-wrap .dropdown .dropdown a {
  padding-left: 60px;
  font-size: 14px;
}

/* Ajuste para items con submenús */
.site-mobile-menu .site-nav-wrap .has-children > a {
  padding-right: 60px;
}



.mobile-optimized-container {
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    margin-top: 10px;

    /* 🔹 FONDO RESTAURADO 🔹 */
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.55),
            rgba(255, 255, 255, 0.55)
        ),
        url('alumnos.png');

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    min-height: 300px;
}




/* ============================================
   RESPONSIVE - Media Queries
   ============================================ */

@media (max-width: 991px) {
  /* Ocultar menú desktop */
  .site-navigation .site-menu.d-none {
    display: none !important;
  }
  
  .site-navbar-top h1 {
    font-size: 1.1rem;
  }
  
  .site-navbar-top img {
    height: 45px;
    width: 45px;
  }
  
  .site-navbar .site-logo img {
    height: 45px;
  }
  
  .site-navbar {
    padding: 5px 0;
  }
  
  .hero {
    min-height: 300px;
  }
}

@media (min-width: 992px) {
  /* Asegurar que el menú desktop se vea horizontal */
  .site-menu.d-lg-block {
    display: flex !important;
    flex-direction: row !important;
  }
  
  .site-navigation .container {
    font-size: 1.2rem !important;
  }
}

@media (max-width: 768px) {
  .site-navbar-top h1 {
    font-size: 1rem;
    margin-left: 8px;
  }
  
  .site-navbar-top img {
    height: 40px;
    width: 40px;
  }
  
  .site-navbar-top .p-2 {
    padding: 0.3rem !important;
  }
  
  .site-navbar .site-logo img {
    height: 45px;
  }
  
  .site-navbar {
    padding: 5px 0;
  }
}

@media (max-width: 576px) {
  .site-navbar-top h1 {
    font-size: 0.9rem;
  }
  
  .site-navbar-top {
    padding: 5px 0;
  }
  
  .site-navbar .site-logo img {
    height: 40px;
  }
}


/* ============================================
   STICKY HEADER - Comportamiento scroll
   ============================================ */

.js-sticky-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* ============================================
   MEJORAS DE ACCESIBILIDAD
   ============================================ */

/* Focus visible para navegación por teclado */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
  border-radius: 4px;
}

.site-menu .dropdown a:focus-visible {
  outline-color: #650a6f;
}

/* Reducir animaciones para usuarios con preferencias */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* ============================================
   UTILIDADES BOOTSTRAP OVERRIDE
   ============================================ */

.py-3 {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}

.d-flex {
  display: flex !important;
}

.align-items-center {
  align-items: center !important;
}

.text-end {
  text-align: right !important;
}

.d-none {
  display: none !important;
}

@media (min-width: 992px) {
  .d-lg-none {
    display: none !important;
  }
  
  .d-lg-block {
    display: block !important;
  }
}
  
    
  




/*******************************************************************************************/
  
  .footer-custom {
    background-color: #650a6f;
    color: white;
    padding: 40px 20px;
    box-shadow: 0px -5px 15px rgba(0, 0, 0, 0.3);
   left:0px;
   right: 0px;
  top: 0px;
      width: 100%;
   bottom:0px;
      
    
  }
  .footer-custom a {
    color: #ffccff;
    text-decoration: none;
  }
  
  .footer-custom a:hover {
    text-decoration: underline;
  }
  
  .footer-custom p {
      color: #ffffff;
    text-decoration: none;
      font-size: 14px;
  }
  
  
  .contenedor_dos{
  border-top:5px solid  #650a6f;
  border-bottom:5px solid  #650a6f;
  padding-top: 10px;
  padding-bottom: 10px;
  }
  
  .formlabel{
   color:  #650a6f;
   font-size: 12px;
   font-weight: bold;
   font-family: 'Courier New', Courier, monospace;
   
  }
  
  .linkgris{
  
    color:  #474647;
    font-weight: bold;
    text-decoration: none;
  
  }
  
  
  p.parrafo{
  color:rgba(0, 0, 0, 0.3);
  font-style: normal;
  font-family: 'Courier New', Courier, monospace;
  text-align: left;
  
  
  }
  
  
  .vertical-center {
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
  }
  
  .titudos{
    color:  #650a6f;
    font-size: 20px;
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    
   }
  
  
  .columns {
              display: grid;
              grid-template-columns: repeat(3, 1fr);
              gap: 20px;
              text-align: left;
          }
          .column {
              padding: 15px;
          }
          .column h2 {
              color: #5e217f;
              font-size: 1.3em;
          }
          .column p {
              color: #333;
              font-size: 1em;
          }

          @media (max-width: 768px) {
              .columns {
                  grid-template-columns: 1fr;
              }
          }
  
    .prepie {
              margin: auto;
              background: white;
              padding: 20px 50px 5px 50px;                
              border-top:5px solid  #228B22;
              border-bottom: 5px solid  #e0f5e0;
              margin-bottom: 20px;	       
              margin-left: 20px;
              margin-right: 20px;
              margin-top: 20px;
              display: flex;
              flex-wrap: wrap;
          }
  
   .title-grid {
              display: grid;
              grid-template-columns: repeat(3, 1fr);
              gap: 20px;
              text-align: center;
              width: 100%;
          }
          .title-item {
              display: flex;
              flex-direction: column;
              align-items: center;
              text-align: left;
              margin: 0 30px 0 30px;
              font-size: 14px;
          }
          .title-item h2 {
              color: #228B22;
              display: flex;
              align-items: center;
              justify-content: center;
          }
          .title-item h2 img {
              width: 30px;
              height: 30px;
              margin-right: 10px;
          }

          @media (max-width: 768px) {
            .prepie {
                padding: 15px 20px; /* Reducir padding en móvil */
                margin: 10px; /* Margen más pequeño */
                flex-direction: column; /* Apila elementos verticalmente */
            }
        
            .title-grid {
                grid-template-columns: 1fr; /* 1 columna en móvil */
                gap: 15px;
            }
        
            .title-item {
                margin: 0 0 15px 0; /* Ajusta márgenes */
                text-align: center; /* Centra el texto */
            }
        
            .title-item h2 {
                flex-direction: column; /* Apila ícono y texto */
                text-align: center;
            }
        
            .title-item h2 img {
                margin-right: 0;
                margin-bottom: 5px; /* Espacio entre ícono y texto */
            }
        }

        
  
  
      .contenedor-principal {
          /* Dimensiones del contenedor - ajusta según tus necesidades */
          width: 100%;
          height:100%; /* Altura fija o puedes usar porcentajes */
          
          /* Usa flexbox para centrar el contenido */
          display: flex;
          justify-content: center;
          align-items: center;
          
          /* Opcional: estilo adicional del contenedor */
          position: relative;
          overflow: hidden;
      }
      
      #animacion-admision {
          /* Dimensiones del iframe */
          width: 100%; /* Ajusta según el tamaño necesario */
          height:100%; /* Ajusta según el tamaño necesario */
          
          /* Eliminar bordes y fondo */
          border: none;
          background: transparent;
      }
  
   
    
    .main-container {
      box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      border-radius: 0.5rem;
      overflow: hidden;
      margin: 2rem auto;
  }

  .efecto {
    padding-left: 10px;
    padding-top: 10px;
    font-family: Rockwell, Georgia, "Times New Roman", Times, serif;
    font-size: 40px;
    color: #87CEFA;
    text-shadow: #000000 -1px 0, #464343 0 -1px, #ffffff 0 1px 1px, #1a1717 -1px -2px 1px;
    }

    /* para el efecto de cabecera  */ 

    .background {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-size: cover;
      background-position: center;
      opacity: 0;
      z-index: 1;
  }
  
  /* Animaciones para las transiciones */
  @keyframes fadeInOut {
      0%, 100% { opacity: 0; }
      20%, 80% { opacity: 1; }
  }
  
  @keyframes zoomInFade {
      0% { opacity: 0; transform: scale(1.3); }
      20% { opacity: 1; transform: scale(1); }
      80% { opacity: 1; transform: scale(1); }
      100% { opacity: 0; transform: scale(0.9); }
  }
  
  @keyframes slideRightFade {
      0% { opacity: 0; transform: translateX(-100%); }
      20% { opacity: 1; transform: translateX(0); }
      80% { opacity: 1; transform: translateX(0); }
      100% { opacity: 0; transform: translateX(100%); }
  }
  
  
  /*********************************************************************************/

.ib-green {
  background: linear-gradient(180deg, #ffffff 0%, #dbeafe 100%);
  position: relative;
  padding: 80px 20px;
  border-radius: 16px;
  overflow: hidden;
}

/* onda decorativa al final */
.ib-green::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 150px;
  background: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 150'><path fill='%23dbeafe' fill-opacity='1' d='M0,64L60,64C120,64,240,64,360,80C480,96,600,128,720,138.7C840,149,960,139,1080,133.3C1200,128,1320,128,1380,128L1440,128L1440,0L1380,0C1320,0,1200,0,1080,0C960,0,840,0,720,0C600,0,480,0,360,0C240,0,120,0,60,0L0,0Z'></path></svg>");
  background-repeat: no-repeat;
  background-size: cover;
}