.hero {
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  /* border-radius: 0px 0px 25px 25px; */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(
      290deg,
      rgba(19, 109, 243, 0.94),
      rgba(31, 65, 151, 0.92),
      rgba(27, 33, 117, 0.88),
      var(--back-nav-footer)
    );
    /* url("../img/Figuras/FiguraWorking.jpg"); */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 60px rgba(9, 16, 116, 0.2);
  padding-bottom: 250px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(
    rgba(153, 46, 13, 0.1) 1px,
    transparent 1px
  );
  background-size: 35px 35px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-img-container {
  padding: 45px;
  /* width: 300px;
  height: 300px; */
  border-radius: 50%;
  padding: 45px;
  margin: auto;
  /* background: rgba(255, 255, 255, 0.25); */
  /* backdrop-filter: blur(14px); */
  display: flex;
  justify-content: center;
  align-items: center;
  /* box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08); */

  opacity: 0;
  transform: scale(0.85);
  animation: logoAppear 0.9s ease forwards;
}
/* 
.hero-img-container::after {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
} */

.hero-img {
  max-width: 370px;
  width: 100%;
}

.hero-title-line {
  width: 95%;
  height: 3px;
  margin: 25px auto 35px auto;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent,
    #f97316,
    #fdba74,
    transparent
  );
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.25);

  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  animation: lineAppear 0.7s ease forwards;
  animation-delay: 0.75s;
}

.hero-circle {
  position: absolute;
  width: 650px;
  height: 650px;
  border-radius: 50%;
  right: -250px;
  bottom: -220px;
  background: radial-gradient(rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;

  opacity: 0;
  animation: circleAppear 2s ease forwards;
  animation-delay: 1.4s;
}

.hero-content {
  position: relative;
  z-index: 5;
  width: 85%;
  margin-top: 40px;
}

.hero-content h1 {
  font-size: clamp(3rem, 5.2vw, 4.2rem);
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;

  opacity: 0;
  transform: translateX(40px);
  animation: titleAppear 0.9s ease forwards;
  animation-delay: 0.35s;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.18);
}

.hero-content h1 strong {
  color:  var(--color-orange) !important;
}

@media (min-width: 992px) {
  .hero-content h1 {
    margin-left: 40px;
  }
}

.hero-content p {
  max-width: 700px;
  margin: auto;
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
  line-height: 1.7;
  margin-top: 50px;
}

.hero-content h3 {
  font-size: 2.3rem;
  color: var(--color-orange);
  font-weight: 600;
}

.hero-buttons {
  margin-top: 45px;
  display: flex;
  justify-content: center;
  gap: 18px;

  opacity: 0;
  transform: translateY(25px);
  animation:
    fadeUp 0.8s ease forwards,
    buttonPop 0.6s ease-out 1.2s;
  animation-delay: 1.2s;
}

#particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(219, 109, 94, 0.623);
  backdrop-filter: blur(4px);
  box-shadow: 0 0 18px rgba(163, 122, 122, 0.733);
  animation: float linear infinite;
}

.hero p,
.hero h5 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
}

.hero p {
  animation-delay: 0.9s;
}

.hero h5 {
  animation-delay: 1.05s;
}

.scroll-down {
  margin-top: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.82);
  letter-spacing: 0.15rem;
  text-transform: uppercase;
  font-size: 0.8rem;
  font-weight: 600;
}

.scroll-down i {
  font-size: 1.5rem;
  color: var(--color-orange);
  text-shadow: 0 0 20px rgba(255, 157, 66, 0.45);
  animation: bounceArrow 2.2s ease-in-out infinite;
}

/* Features */
.features {
  width: 95%;
  margin: -5% auto 50px;
  z-index: 20;
}

.gradient-line {
  height: 2px;
  width: 100%;
  margin: 20px 0;
  background: linear-gradient(
    90deg,
    transparent,
    #ff6b01,
    #ffc17e,
    transparent
  );
}

.features-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.feature {
  max-width: 400px;
  min-width: 200px;
  text-align: center;
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  backdrop-filter: blur(18px);
  border-radius: 28px;
  box-shadow: 0 30px 60px rgba(9, 16, 116, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.65);
  padding: 15px;
  /* background: rgba(255, 255, 255, 0.808); */
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.96),
    rgba(238, 238, 238, 0.96)
  );
  transition: 0.35s;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
}

.feature-lines {
  content: "";
  height: 2px;
  border-radius: 50px;
  background: linear-gradient(90deg, #ff9d42, #ff6b00);
}

.feature.show {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.feature-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  font-size: 1.7rem;
  color: #f7f7f7;
  flex-shrink: 0;
  background: linear-gradient(135deg, #082c84, #0f55c9);
  box-shadow: 0 15px 30px rgba(16, 34, 109, 0.18);
}

.feature-icon-secondary {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #ffffff;
  flex-shrink: 0;
  background: linear-gradient(27deg, #fff3eb, #ffd9be, #ffb375, #ff9557);
  box-shadow: 0 12px 35px rgba(247, 247, 247, 0.404);
}

.feature h3 {
  font-size: 3.3rem;
  color: #ff6a00;
  font-weight: 500;
}

.plus {
  color: #f97316;
  font-size: 0.9em;
  margin-left: 2px;
  font-weight: bold;
}

.feature p {
  color: var(--color-black-principal);
  line-height: 1.3;
  transition: 0.35s;
  font-size: 1.2rem;
  font-style: italic;
}

.feature:hover {
  transform: translateY(-8px);
}

.animate-title {
  opacity: 0;
  transform: translateX(40px);
  animation-delay: 0.8s;
}

.animate-title.show {
  animation: titleAppear 0.9s ease forwards;
}

.animate-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation-delay: 1.2s;
}

.animate-fade-up.show {
  animation: fadeUp 0.8s ease forwards;
}

.animate-fade-left {
  opacity: 0;
  animation-delay: 1.2s;
}

.animate-fade-down {
  opacity: 0;
}

.animate-fade-down.show {
  animation: fadeDown 0.8s ease forwards;
}

.animate-fade-left.show {
  animation: fadeLeft 0.8s ease forwards;
}

.animte-chico-grande {
  opacity: 0;
  animation-delay: 1.4s;
}

.animte-chico-grande.show {
  animation: circleAppear 2s ease forwards;
}

/*  */

/* Wrapper somos y misiones */
.about-wrapper {
  position: relative;
  overflow: hidden;
}

.about-hex {
  position: absolute;
  fill: none;
  stroke: rgba(150, 150, 150, 0.03);
  stroke-width: 1;
}

.about-hex.one {
  width: 400px;
  bottom: -200px;
  left: -35px;
}

.about-hex.two {
  width: 300px;
  bottom: -50px;
  left: 370px;
}

.about-hex.three {
  width: 500px;
  bottom: -150px;
  right: 650px;
}

.about-hex.four {
  width: 750px;
  bottom: -35px;
  right: -350px;
}

.about-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  top: 20;
  opacity: 0.45;
  background-image: radial-gradient(#d1d1d13f 2px, transparent 2px);
  background-size: 42px 42px;
  pointer-events: none;
}

.about-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 260px;
  background: linear-gradient(to bottom, #ffffff, #eef3f8);
  z-index: -1;
}
/*  */

/* Somos */
.somos-container {
  border-radius: 15;
  padding: 15px 50px;
  margin: 20px auto;
  /* max-width: 1300px; */
  text-align: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      circle at top left,
      rgba(41, 93, 255, 0.05),
      transparent 40%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(255, 115, 0, 0.06),
      transparent 35%
    ),
    #ffffff;
}

.about-subtitle {
  max-width: 700px;
  margin: 15px auto 35px;
  font-size: 1.25rem;
  color: #666;
  line-height: 1.8;
}

.somos-image {
  max-width: 220px;
  width: 100%;
  opacity: 0.08;
  /* animation: floatingRight 10s ease-in-out infinite; */
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.15));
  border-radius: 5px;
  position: absolute;
  z-index: 1;
}

.somos-up {
  left: 100px;
  top: -100px;
  width: 400px;
  animation: floatingRight 42s ease-in-out infinite;
}

.somos-down {
  right: -10px;
  bottom: -50px;
  width: 510px;
  animation: floatingRight 42s ease-in-out infinite;
}

.somos-bullets-container {
  background: linear-gradient(180deg, #fffdfb, #fff5ec);
  border-radius: 32px;
  padding: 25px;
  margin: 30px 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(18, 20, 102, 0.151);
}

.somos-bullets-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.somos-bullet {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  padding: 25px;
  height: 100%;
  display: flex;
  margin-bottom: 15px;
  flex-direction: column;
  border: 1px solid rgba(40, 60, 150, 0.06);
  box-shadow: 0 15px 35px rgba(18, 30, 80, 0.06);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
  z-index: 2;
  position: relative;
}

.somos-bullet::after {
  content: "";
  display: block;
  width: 97%;
  height: 1px;
  margin-top: auto;
  margin-left: 5px;
  margin-bottom: 0;
  background: linear-gradient(90deg, #ff8a00, transparent);
  border-radius: 50px;
}

.somos-bullet.show:hover {
  transform: translateY(-6px);
  box-shadow:
    0 25px 50px rgba(18, 30, 80, 0.12),
    0 8px 20px rgba(255, 106, 0, 0.08);
}

/* Misión y Visión */
.misiones-container {
  width: min(1200px, 92%);
  margin: 90px auto;
  padding: 0;
} /* Contenedor de Misión y Visión */
.misiones-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  align-items: stretch;
} /* Tarjetas */
.rubro-container {
  background: #ffffff;
  border-radius: 28px;
  padding: 45px;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(40, 60, 150, 0.08);
  box-shadow: 0 25px 60px rgba(18, 30, 80, 0.1);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.rubro-header {
  margin-bottom: 20px;
}

.rubro-header .sub-title-section {
  margin: 0;
}

.rubro-container .mucho-texto {
  display: block;
  text-align: justify;
}

.rubro-container:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 65px rgba(18, 30, 80, 0.15);
}

@media (max-width: 768px) {
  .misiones-container {
    width: 92%;
    margin: 70px auto;
  }
  .misiones-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .rubro-container .basic-columns {
    padding: 35px 30px;
  }
}

/* Acreditaciones */
.network-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    radial-gradient(circle, #6b7dd6 2px, transparent 2px),
    linear-gradient(rgba(90, 110, 200, 0.15) 2px, transparent 2px),
    linear-gradient(90deg, rgba(90, 110, 200, 0.15) 2px, transparent 2px);
  background-size:
    120px 120px,
    120px 120px,
    120px 120px;
  background-position:
    0 0,
    60px 0,
    0 60px;
}

.acredita-container-info {
  position: relative;
  overflow: hidden;
  background: #fffdfb;
  padding: 70px 50px;
  border: 1px solid rgba(45, 65, 150, 0.08);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
}

.acredita-container-info::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(
    rgba(110, 132, 255, 0.219),
    rgba(6, 38, 218, 0.219) 60% /* transparent 75% */
  );
  top: -20px;
  right: -110px;
  animation: floatCircle 18s ease-in-out infinite;
}

.imagen-acreditacion {
  max-width: 320px;
  animation: floatingRight 17s ease-in-out infinite;
  filter: drop-shadow(0 35px 55px rgba(0, 0, 0, 0.15));
  border-radius: 10px;
}

/* Skills */
.skills-container {
  background: linear-gradient(180deg, #3d51c2, #09113d);
  margin: 60px auto;
  max-width: 1300px;
  position: relative;
  overflow: hidden;
}

.img-skill {
  position: absolute;
  opacity: 0.14;
  pointer-events: none;
  user-select: none;
  /* animation: floating 8s ease-in-out infinite; */
}

.img-skill-left {
  left: -80px;
  bottom: -40px;
  width: 340px;
  animation: floatingLeft 9s ease-in-out infinite;
}

.img-skill-right {
  right: -80px;
  top: -80px;
  width: 340px;
  animation: floatingRight 12s ease-in-out infinite;
}

/* bachillerato*/
.bachiller-container {
  position: relative;
  overflow: hidden;
  background: #fffdfb;
  padding: 70px 50px;
  border: 1px solid rgba(45, 65, 150, 0.08);
}
/*  */

/* Educación adultos */
/*  */

/* Diferenciadores */
.differences-section {
  background-color: #f8f8f8;
  padding: 25px 0px;
  position: relative;
  overflow: hidden;
}

.differences-pattern {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(
    rgba(59, 59, 59, 0.89) 1.5px,
    transparent 1.5px
  );
  background-size: 60px 60px;
  opacity: 0.5;
}

.diff-square {
  position: absolute;
  width: 200px;
  height: 140px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transform: rotate(35deg);
}

.diff-hex::before {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0% 50%);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.diff-square.one {
  top: -60px;
  right: 120px;
}

.diff-square.two {
  bottom: -50px;
  left: 120px;
}

.diff-wave {
  position: absolute;
  left: -80px;
  top: -80px;
  width: 380px;
  height: 380px;
  border: 2px solid rgba(245, 153, 91, 0.171);
  border-radius: 55% 45% 60% 40%;
  animation: rotateSlow 25s linear infinite;
}

.differences-section::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    rgba(206, 206, 206, 0.12),
    rgba(6, 38, 218, 0.062) 60%,
    transparent 75%
  );
  top: -70px;
  left: -190px;
  animation: floatCircle 18s ease-in-out infinite;
}

.differences-section::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(rgba(240, 89, 19, 0.137), transparent 90%);
  bottom: 0px;
  right: 1px;
  animation: floatCircleVariant 16s ease-in-out infinite;
}

.differences-container {
  background: linear-gradient(180deg, #3d51c2, #09113d);
  border-radius: 32px;
  padding: 70px 35px;
  margin: 30px auto;
  max-width: 1300px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(139, 46, 10, 0.08);
}

.img-diffs-right {
  max-width: 420px;
  width: 100%;
  opacity: 0.8;
  animation: floatingRight 10s ease-in-out infinite;
  filter: drop-shadow(0 25px 45px rgba(0, 0, 0, 0.15));
  border-radius: 10px;
}

.diff-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateX(-40px);
  transition: 0.7s;
}

.diff-item .diff-content .mucho-texto {
  line-height: 2.2rem;
}

.diff-content {
  flex: 1;
}

.diff-item.show {
  opacity: 1;
  transform: translateX(0);
}

.bullet-item {
  color: var(--color-orange-strong);
  font-size: 2rem;
  margin-top: 4px;
  flex-shrink: 0;
  align-self: flex-start;
}

/* contacto */
.contacto-grid > [class*="col-"] {
  display: flex;
}

.contacto-azul,
.contacto-claro {
  width: 100%;
  height: 100%;
}
.contacto-section {
  margin: 60px auto;
  max-width: 1300px;
}

.section-title {
  color: #fff;
  font-weight: bold;
  font-size: 4.5rem;
  text-transform: uppercase;
}

.contacto-title {
  font-size: 14px;
  text-transform: uppercase;
  color: #ddd;
  letter-spacing: 0.09em;
  font-weight: 400;
}

.contacto-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  color: #f7f7f7;
  flex-shrink: 0;
  background: var(--color-orange-strong);
  box-shadow: 0 15px 30px rgba(16, 34, 109, 0.18);
}

.contacto-info {
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contacto-azul {
  border-radius: 25px;
  padding: 40px;
  background: linear-gradient(360deg, #142275, #09113d);
  border: 1px solid rgba(255, 255, 255, 0.205);
}

.contacto-claro {
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 15px 30px rgba(16, 34, 109, 0.18);
  background: linear-gradient(135deg, #ecefff, #ffffff);
  border: 1px solid rgba(99, 99, 99, 0.15);
}

.medios-contacto {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  padding: 10px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.medios-contacto h3 {
  margin: 0;
}
/*  */

/* Botones flotantes */
.image-circle {
  position: absolute;
  width: 480px;
  height: 480px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  animation: pulseCircle 34s ease-in-out infinite;
}

.floating-actions {
  position: fixed;
  right: 30px;
  bottom: 30px;
  z-index: 80;
  display: grid;
  gap: 15px;
  justify-items: end;
}

.float-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(3, 14, 45, 0.24);
  color: white;
  text-decoration: none;
  position: relative;
  overflow: visible;
}

.float-whatsapp:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow:
    0 22px 45px rgba(0, 0, 0, 0.35),
    0 0 0 10px rgba(37, 211, 102, 0.18);
}

.float-whatsapp::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.45);
  animation: whatsappPulse 2.5s infinite;
}

.float-whatsapp {
  background: #25d366;
  animation: whatsappFloat 3s ease-in-out infinite;
  width: 56px;
  font-size: 1.8rem;
}

.btn-inscri {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  background: linear-gradient(135deg, #ff9012, var(--color-orange));
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.35);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.btn-inscri:hover {
  color: white;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(249, 115, 22, 0.45);
  text-decoration: none;
}
/*  */
