* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

#que,
#desafio,
#crece,
#operamos,
#impacto,
#logos,
#conversemos {
  scroll-margin-top: 110px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

[data-anim] {
  opacity: 0;
}

html,
body {
  overflow-x: hidden;
}

.s1-hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  background-image: url('./img/banner.webp');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
  overflow-y: hidden;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.s1-hero::before,
.s1-hero::after {
  content: "";
  position: absolute;
  inset: -120px;
  z-index: 1;
  pointer-events: none;
  opacity: .55;
  filter: blur(14px);
  mix-blend-mode: screen;
  animation: s1Spin 28s linear infinite;
}

.s1-hero::before {
  background:
    radial-gradient(circle at 15% 30%, rgba(255, 200, 80, .85) 0 60px, transparent 70px),
    radial-gradient(circle at 35% 75%, rgba(140, 90, 255, .65) 0 80px, transparent 95px),
    radial-gradient(circle at 80% 20%, rgba(120, 220, 255, .55) 0 70px, transparent 85px),
    radial-gradient(circle at 90% 70%, rgba(255, 255, 255, .35) 0 90px, transparent 110px);
}

.s1-hero::after {
  opacity: .35;
  filter: blur(22px);
  animation: s1SpinReverse 40s linear infinite;
  background:
    radial-gradient(circle at 20% 85%, rgba(255, 180, 0, .55) 0 110px, transparent 130px),
    radial-gradient(circle at 55% 25%, rgba(255, 255, 255, .25) 0 120px, transparent 145px),
    radial-gradient(circle at 75% 60%, rgba(120, 220, 255, .40) 0 95px, transparent 120px);
}

@keyframes s1Spin {
  from {
    transform: rotate(0deg) scale(1.05);
  }

  to {
    transform: rotate(360deg) scale(1.05);
  }
}

@keyframes s1SpinReverse {
  from {
    transform: rotate(360deg) scale(1.12);
  }

  to {
    transform: rotate(0deg) scale(1.12);
  }
}

.s1-hero::before {
  animation: s1Spin 28s linear infinite, s1Float 6s ease-in-out infinite;
}

.s1-hero::after {
  animation: s1SpinReverse 40s linear infinite, s1Float2 8s ease-in-out infinite;
}

@keyframes s1Float {

  0%,
  100% {
    transform: rotate(0deg) translateY(0) scale(1.05);
  }

  50% {
    transform: rotate(180deg) translateY(-18px) scale(1.05);
  }
}

@keyframes s1Float2 {

  0%,
  100% {
    transform: rotate(360deg) translateY(0) scale(1.12);
  }

  50% {
    transform: rotate(180deg) translateY(14px) scale(1.12);
  }
}

.s1-container,
.s1-nav {
  position: relative;
  z-index: 2;
}

.s1-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  transform: scale(1.03);
  opacity: 0.9;
}

.s1-overlay {
  position: absolute;
  inset: 0;
  /*  background: radial-gradient(900px 500px at 20% 40%, rgba(0,0,0,.25), rgba(0,0,0,.65)),
              linear-gradient(90deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 55%, rgba(0,0,0,.55) 100%); */
}

.s1-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 20px;
  width: 100%;
}

.s1-nav {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: min(1200px, calc(100% - 40px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.438);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(10px);
}

.s1-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.s1-logo {
  height: 45px;
  width: auto;
}

.s1-menu {
  display: flex;
  align-items: center;
  gap: 16px;
}

.s1-link {
  font-size: 13px;
  color: rgba(255, 255, 255, .85);
  padding: 8px 10px;
  border-radius: 999px;
  transition: .2s ease;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.s1-link:hover {
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

.s1-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f5b400;
  color: #121212;
  font-weight: 700;
  font-size: 17px;
  transition: transform .15s ease, filter .15s ease;
  font-family: "Google Sans", sans-serif;
}

.s1-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
}

.s1-cta-secondary {
  margin-top: 18px;
  width: fit-content;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(245, 180, 0, .9);
}

.s1-cta-secondary:hover {
  background: rgba(245, 180, 0, .12);
}

.s1-burger {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .25);
  cursor: pointer;
}

.s1-burger span {
  display: block;
  height: 2px;
  width: 18px;
  margin: 4px auto;
  background: rgba(255, 255, 255, .9);
  border-radius: 2px;
}

.s1-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 28px;
  padding: 46px 6px 70px;
}

.s1-copy {
  max-width: 560px;
}

.s1-title {
  margin: 0 0 14px;
  line-height: 0.9;
  letter-spacing: -0.02em;
  font-size: clamp(34px, 4vw, 52px);
  color: #fff;
  font-weight: 400;
}

.s1-title-accent {
  color: #f5b400;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 200;
  letter-spacing: 0.02em;
}

.s1-title-italic {
  color: #f5b400;
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
}

.s1-subtitle {
  margin: 0;
  color: rgba(255, 255, 255, .80);
  font-size: 18px;
  line-height: 1.2;
  max-width: 520px;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 200;
}

.s1-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-height: 360px;
}

.s1-person {
  width: min(420px, 92%);
  height: auto;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  transform: translateY(8px);
  background: rgba(255, 255, 255, .03);
}

.s1-bottom-curve {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: -70px;
  width: 100%;
  height: 140px;
  background: #fff;
  border-radius: 999px;
  filter: blur(0px);
  z-index: 1;
}

@media (max-width: 980px) {
  .s1-grid {
    grid-template-columns: 1fr;
    padding-top: 28px;
  }

  .s1-visual {
    order: -1;
    min-height: auto;
  }

  .s1-person {
    width: min(520px, 100%);
    transform: none;
  }
}

@media (max-width: 860px) {
  .s1-burger {
    display: inline-block;
  }

  .s1-menu {
    position: fixed;
    inset: 76px 16px auto 16px;
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 18, 22, .92);
    border: 1px solid rgba(255, 255, 255, .10);
    backdrop-filter: blur(10px);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: .18s ease;
  }

  .s1-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .s1-link {
    padding: 12px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
  }

  .s1-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 14px;
  }

  .s1-no-scroll {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .s1-container {
    padding: 14px 14px 0;
  }

  .s1-nav {
    padding: 10px 12px;
  }

  .s1-title {
    font-size: 34px;
  }

  .s1-subtitle {
    font-size: 13px;
  }
}



.s2-wrap {
  position: relative;
  padding: 0 0px 60px;
  margin-top: -90px;
  z-index: 2;
}

.s2-card {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 30px;
  padding: 42px 46px 106px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .20);
}

.s2-contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.s2-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
  margin-bottom: 80px;
}

.s2-title {
  margin: 0;
  font-size: clamp(28px, 2.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #4b3aa6;
  ;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 100;
}

.s2-title em {
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  color: #4b3aa6;
  font-weight: 800;
}

.s2-desc {
  margin: 6px 0 0;
  color: #616161;
  line-height: 1.5;
  font-size: 18px;
  max-width: 620px;
  font-family: "Google Sans", sans-serif;
  margin-left: -100px;
}

.s2-carousel {
 max-width: 900px;
  margin: 0 auto;
}

.s2-carousel .owl-dots {
  margin-top: 16px;
  display: flex !important;
  justify-content: center;
  gap: 8px;
}

.s2-carousel .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .15);
  transition: .25s ease;
}

.s2-carousel .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25) !important;
  opacity: 1 !important;
  margin: 0 6px;
  transition: .25s ease;
}

.s2-carousel .owl-dots .owl-dot.active {
  background: #4b3aa6 !important;
  transform: scale(1.25);
}

.s2-carousel .owl-dots {
  display: flex !important;
  justify-content: center;
}

@media (min-width: 861px) {
  .s2-carousel {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
}

.s2-item {
  position: relative;
  background-image: url("./img/Rectangle.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 22px;
  width: 250px;
  height: 250px;
  min-height: 150px;
  padding: 26px 22px 22px 70px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  text-align: left;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .12);
  border: 1px solid rgba(0, 0, 0, .06); 
}

.s2-icon {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
}

.s2-icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.s2-item:hover {
  background-image: url("./img/Rectangle.webp");
  transform: translateY(-10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .16); 
 
}

.s2-item:hover .s2-icon {
  transform: rotate(-6deg) scale(1.06);
}

@media (max-width: 860px) {
  .s2-item:active {
    transform: translateY(-1px) scale(.99);
  }
}

.s2-text {
  margin: 0;
  font-size: 31px;
  line-height: 1.18;
  color: #2e2e2e;
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic;
}
.s2-carousel .owl-stage {
  display: flex;
}

.s2-carousel .owl-item {
  display: flex;
  justify-content: center;
}

@media (max-width: 860px) {
  .s2-card {
    padding: 28px 18px 28px;
    border-radius: 26px;
  }

  .s2-head {
    grid-template-columns: 1fr;
    margin-bottom: 18px;
  }

  .s2-desc {
    max-width: 100%;
    margin-left: 0;
  }
  .s2-item {
    box-shadow: none;
    transform: none;
}
  .s2-item:hover {
    box-shadow: none;
    transform: none; /* opcional, para evitar el salto raro en mobile */
  }

   .s1-hero {
    background-position: 65% center;
  }
}

.s3-wrap {
  padding: 30px 0px 70px;
  position: relative;
  margin-top: -120px;
  /* sube la sección 3 encima de la 2 */
  position: relative;
  z-index: 2;
}

.s3-card {
  max-width: 100%;
  margin: 0 auto;
  background: #ECEDEF;
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.548);
}

.s3-contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.s3-head {
  padding: 6px 10px 18px;
}

.s3-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 55px);
  color: #4b3aa6;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 100;
}

.s3-title em {
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  color: #4b3aa6;
  font-weight: 800;
  font-size: clamp(32px, 3.6vw, 59px);
}

.s3-sub {
  margin: 6px 0 60px;
  color: #6a6a6a;
  font-size: 18px;
  line-height: 1.4;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.s3-heroimg {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  width: 100vw;
  height: 200px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 66px 66px 0 0;
  z-index: 5;
}

.contenedor-s3 {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.s3-heroimg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 300px at 25% 30%, rgba(0, 0, 0, .22), transparent 60%),
    radial-gradient(700px 300px at 75% 35%, rgba(0, 0, 0, .18), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .15));
  pointer-events: none;
}

.s3-bubble {
  position: absolute;
  z-index: 1;
  max-width: 660px;
  color: rgba(255, 255, 255, .92);
  font-size: clamp(14px, 2.8vw, 20px);
  line-height: 1.2;
  padding: 10px 52px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.219);
  backdrop-filter: blur(6px);
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic;
  text-align: center;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.s3-bubble strong {
  color: #ffd24d;
}

.s3-b1 {
  top: 28px;
  left: 10px;
}

.s3-b2 {
  top: 60%;
  right: -18px;
  transform: translateY(-50%);
}

.s3-b3 {
  bottom: 18px;
  left: 28px;
}

@keyframes spinArc {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.s3-arco-img {
  position: absolute;
  z-index: 1;
  width: 140px;
  height: auto;
  pointer-events: none;
}

.s3-arco1 {
  top: 180px;
  left: -150px;
  transform: rotate(-10deg);
}

.s3-arco2 {
  top: 450px;
  right: 450px;
  transform: rotate(180deg);
}

.s3-arco3 {
  top: 130px;
  left: 580px;
  transform: rotate(90deg);
}



.s3-bottom {
  border-radius: 18px;
  background-image: url("./img/rectangulo-morado.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  padding: 28px 0;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  border-radius: 0 0 66px 66px;
  position: relative;
  z-index: 4;
  margin-top: -30px;
}

.s3-bottom>* {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.s3-mini {
  text-align: center;
  font-size: 20px;
  letter-spacing: .18em;
  opacity: .75;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 100;
}

.s3-mini {
  position: relative;
  text-align: center;
  color: #cfd3db;
  /* opcional */
  letter-spacing: 2px;
}

.s3-mini::before {
  content: "";
  display: block;
  width: 150px;
  height: 1px;
  background: #ffffff;
  margin: 0 auto 12px auto;
  opacity: 0.8;
}

.s3-quote {
  margin-top: 10px;
  text-align: center;
  font-size: 31px;
  color: #ffd24d;
  font-weight: 100;
  font-family: "Google Sans", sans-serif;
}

@media (max-width: 900px) {
  .s3-heroimg {
    min-height: 600px;
  }

  .s3-bubble {
    max-width: 240px;
  }

  .s3-a1,
  .s3-a2,
  .s3-a3 {
    display: none;
  }

  .s3-wrap {
    margin-top: -90px;
  }
}

@media (max-width:1370px) {
  .s3-bubble {
    position: static;
    transform: none;
    max-width: 100%;
    margin: 30px 10px 0;
  }

  .s3-arco1 {
    display: none;
  }


  .s3-arco2 {
    display: none;
  }

  .s3-arco3 {
    display: none;
  }
}

@media (max-width: 600px) {
  .s3-card {
    padding: 16px;
    border-radius: 22px;
  }

  .s3-head {
    padding: 6px 6px 14px;
  }

  .s3-heroimg {
    min-height: 660px;
  }



  .s3-heroimg {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 10px 0 12px;
  }
}

.s4-wrap {
  background: #efeff2;
  padding: 70px 20px 90px;
  position: relative;
  z-index: 3;
  margin-top: -30px; 
}

.s4-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 0 0 0;
}

.s4-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: start;
  margin-bottom: 38px;
}

.s4-title {
  margin: 0;
  font-size: clamp(28px, 3.2vw, 55px);
  line-height: 1.05;
  color: #4b3aa6;
  font-weight: 800;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 100;
}

.s4-title em {
  color: #4b3aa6;
  font-family: borax-variable, sans-serif;
  font-style: normal;
  font-variation-settings: "wght" 400;
  font-style: italic;
  font-size: clamp(32px, 3.6vw, 59px);
}

.s4-desc {
  margin: 8px 0 0;
  color: #5f5f5f;
  font-size: 20px;
  line-height: 1.6;
  max-width: 560px;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-variation-settings: "GRAD" 0;
  font-weight: 100;
}

.s4-bottom {
  display: grid;
  gap: 26px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.s4-bottom img {
  max-width: 800px;
  width: 100%;
  height: auto;
  display: block;
  transition:
    transform .45s cubic-bezier(.22, .61, .36, 1),
    box-shadow .45s ease;
}

.s4-bottom:hover img {
  transform: translateY(-10px) scale(1.02);
}

.s4-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .16);
  border: 1px solid rgba(0, 0, 0, .06);
  max-width: 640px;
}

.s4-box-title {
  margin: 0 0 14px;
  color: #2d2d2d;
  font-size: 13px;
  line-height: 1.2;
}

.s4-steps {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #4b3aa6;
  font-weight: 800;
}

.s4-arrow {
  color: rgba(75, 58, 166, .55);
  font-weight: 900;
}

.s4-diagram {
  position: relative;
  width: 360px;
  height: 260px;
  margin-left: auto;
  margin-top: 18px;
}

.s4-circle {
  position: absolute;
  border-radius: 50%;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .18);
}

.s4-purple {
  width: 240px;
  height: 240px;
  right: 0;
  top: 10px;
  background: rgba(90, 74, 190, .40);
}

.s4-yellow {
  width: 190px;
  height: 190px;
  right: 120px;
  top: 55px;
  background: rgba(245, 180, 0, .85);
}

.s4-label {
  position: absolute;
  font-size: 13px;
  font-weight: 700;
  color: #2b2b2b;
}

.s4-label-scala {
  right: 20px;
  top: 35px;
}

.s4-label-uni {
  right: 175px;
  top: 135px;
}

@media (max-width: 980px) {
  .s4-top {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 22px;
  }
  .s4-container{
    padding: 0;
  }

  .s4-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .s4-box {
    max-width: 100%;
  }

  .s4-diagram {
    width: 320px;
    height: 240px;
    margin: 0 auto;
  }
}

@media (max-width: 420px) {
   .s4-container{
    padding: 0;
  }
  .s4-wrap {
    padding: 55px 14px 70px;
  }

  .s4-diagram {
    width: 290px;
    height: 220px;
  }
}

.s5-wrap {
  background: #efeff2;
  padding: 40px 20px 80px;
}

.s5-container {
  max-width: 1200px;
  margin: 0 auto;
}

.s5-cards {
  display: block;
}

.s5-card {
  position: relative;
  border-radius: 26px;
  overflow: hidden;
  height: 70vh;
  max-height: 620px;
  width: 100%;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #000;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  transition: transform .3s ease;
  padding: 80px;
}

.s5-card-impacto {
  background-image: url('./img/carrusel-13.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.s5-card-impacto2 {
  background-image: url('./img/carrusel-14.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.s5-card:hover {
  background-size: 110%;
  background-position: center top;
}

.s5-overlay {
  position: absolute;
  inset: 0;
  /*  background:
    radial-gradient(700px 320px at 20% 30%, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)),
    linear-gradient(180deg, rgba(0, 0, 0, .15), rgba(0, 0, 0, .55)); */
}

.s5-content {
  position: relative;
  z-index: 1;
  padding: 28px 28px 26px;
  color: #fff;
  max-width: 520px;
}

.s5-title {
  margin: 0 0 10px;
  font-size: clamp(22px, 2.2vw, 55px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 200;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.s5-title em {
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-size: clamp(24px, 2.4vw, 57px);
}

.s5-text {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .86);
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

@media (max-width: 860px) {
  .s5-text {
    font-size: 14px;
  }

  .s5-cards {
    display: block;
  }

  .s5-card-impacto {
    background-image: url('./img/hombres.webp');
  }

  .s5-card-impacto2 {
    background-image: url('./img/muchachas.webp');
  }

  .s5-card {
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    min-height: 0 !important;
    background-size: cover;
    background-position: center;
    padding: 20px;
  }

  .s5-content {
    padding: 22px 18px 22px;
  }
}

.s5-cards .owl-dots {
  margin-top: 16px;
  display: flex !important;
  justify-content: center;
  gap: 8px;
}

.s5-cards .owl-dots .owl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .25) !important;
  opacity: 1 !important;
  margin: 0 6px;
  transition: .25s ease;
}

.s5-cards .owl-dots .owl-dot.active {
  background: #4b3aa6 !important;
  transform: scale(1.25);
}

#logos {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 0;
  background-color: #efeff2;
}

.logos-contenedor {
  max-width: 1100px;
  margin: 0 auto;
}

.s6-wrap {
  position: relative;
  padding: 70px 20px 90px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  overflow: hidden;
  margin-top: -100px;
  z-index: 4;

}

.s6-overlay {
  position: absolute;
  inset: 0;
}

.s6-container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s6-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.2vw, 55px);
  color: #4b3aa6;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 100;
}

.s6-title em {
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic !important;
}

.s6-logos {
  background: #fff;
  border-radius: 45px;
  padding: 48px 24px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .18);
  border: 1px solid rgba(0, 0, 0, .06);
  margin-bottom: 30px;
  position: relative;
  z-index: 5;
}

.s6-logos-row {
  width: 100%;
}

.s6-logos-row .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  max-height: 100px;
}

.s6-logo {
  width: 100%;
  max-width: 220px;
  height: 113px;
  object-fit: contain;
  opacity: .9;
}

@media (max-width: 768px) {
  .s6-logo {
    max-width: 120px;
    height: 46px;
  }

  .s6-logos-row .logo-item {
    height: 70px;
  }

  #logos {
    padding: 40px 20px;
  }
}

.s6-formCard {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin-top: 34px;
  padding: 30px 136px 96px;
  border-radius: 26px;
  background: rgba(25, 26, 32, .38);
  border: 1px solid rgba(255, 255, 255, .10);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
  color: #fff;

}

.s6-formTitle {
  margin: 0 0 18px;
  font-size: 55px;
  font-weight: 100;
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic;
}

.s6-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 34px;
}

.contenedorEnviar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.s6-field {
  display: grid;
  gap: 6px;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.s6-field span {
  font-size: 14px;
  color: rgba(255, 255, 255, .80);
}

.s6-field input,
.s6-field textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: rgba(255, 255, 255, .92);
  padding: 10px 2px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .28);
  font-size: 13px;
}

.s6-field textarea {
  resize: none;
  min-height: 46px;
}

.s6-field input:focus,
.s6-field textarea:focus {
  border-bottom-color: rgba(245, 180, 0, .85);
}

.s6-field-full {
  grid-column: 1 / -1;
}

.s6-submit {
  margin-top: 18px;
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(245, 180, 0, .9);
  background: rgba(0, 0, 0, .18);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.s6-submit:hover {
  background: rgba(245, 180, 0, .12);
}

@media (max-width: 980px) {
  .s6-logos-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .s6-wrap {
    padding: 56px 14px 70px;
  }

  .s6-grid {
    grid-template-columns: 1fr;
  }

  .s6-formCard {
    padding: 22px 18px 18px;
  }

  .s6-formTitle {
    font-size: 26px;
  }

  .s6-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .s6-field-full {
    grid-column: auto;
  }
}

.s6-wrap {
  background-attachment: fixed;
}

@media (max-width: 900px) {
  .s6-wrap {
    background-attachment: scroll;
  }

  /* iOS no se lleva bien con fixed */
}

.s6-wrap {
  position: relative;
  overflow: hidden;
}

.s6-wrap::before {
  content: "";
  position: absolute;
  inset: -80px;
  /* para que no corte los bordes */
  pointer-events: none;
  background:
    radial-gradient(120px 120px at 15% 35%, rgba(255, 200, 80, .22), transparent 60%),
    radial-gradient(180px 180px at 78% 25%, rgba(160, 120, 255, .18), transparent 60%),
    radial-gradient(140px 140px at 35% 80%, rgba(255, 255, 255, .10), transparent 60%),
    radial-gradient(220px 220px at 90% 75%, rgba(245, 180, 0, .14), transparent 60%);
  filter: blur(10px);
  opacity: .9;
  animation: s6Float 18s ease-in-out infinite alternate;
}

@keyframes s6Float {
  from {
    transform: translate3d(-10px, -12px, 0) scale(1);
  }

  to {
    transform: translate3d(12px, 10px, 0) scale(1.03);
  }
}

.ft-wrap {
  background: transparent;
  margin-top: -40px;
}

.ft-card {
  margin: 0 auto;
  background: #2f3550;
  border-radius: 26px 26px 0 0;
  overflow: hidden;
  z-index: 10;
  position: relative;
}

.ft-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  padding: 94px 56px;
  gap: 30px;
}

.ft-logo {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.ft-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  justify-content: end;
  justify-items: start;
}

.ft-col {
  display: grid;
  gap: 8px;
}

.ft-link {
  color: rgba(255, 255, 255, .82);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none;
  transition: .2s ease;
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.ft-link:hover {
  color: #fff;
  transform: translateX(2px);
}

@media (max-width: 820px) {
  .ft-inner {
    grid-template-columns: 1fr;
  }

  .ft-nav {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ft-logo {
    height: 44px;
  }
}

@media (max-width: 420px) {
  .ft-card {
    border-radius: 22px 22px 0 0;
  }
}

/* SECCION NUEVA */

.seccion-oportunidades {
  width: 100%;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 4;
  margin-top: -100px;
}

.bloque-oportunidades {
  position: relative;
  width: 100%;
  min-height: 700px;
  border-radius: 42px;
  overflow: hidden;
  /* background-image: url("./img/Seccion_Fotos-21.webp"); */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

/* capa oscura */
.overlay-oscuro {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.34);
  z-index: 1;
}

/* marco blanco interno */
.marco-interno {
  position: absolute;
  top: 6%;
  bottom: 6%;
  left: 50%;
  transform: translateX(-50%);
  width: 50%;
  min-width: 330px;
  max-width: 670px;
  border: 1.5px solid rgba(255, 255, 255, 0.88);
  border-radius: 42px;
  z-index: 2;
  pointer-events: none;
}

/* cards */
.card-oportunidad {
  position: absolute;
  z-index: 4;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 999px;
  padding: 20px 28px;
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-oportunidad p {
  margin: 0;
  font-family: "borax-variable", sans-serif;
  font-variation-settings: "wght" 400;
  font-style: italic;
  font-size: 28px;
  line-height: 1.08;
  font-weight: 500;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* posiciones más cercanas a la referencia */
.card-1 {
  position: absolute;
  top: 24px;
  left: 10px;
  width: 78%;
  max-width: 380px;
  min-height: 92px;
}

.card-2 {
  position: absolute;
  top: 220px;
  right: 10px;
  width: 78%;
  max-width: 380px;
  min-height: 92px;
}

.card-3 {
  position: absolute;
  bottom: 24px;
  left: 10px;
  width: 84%;
  max-width: 410px;
  min-height: 108px;
}

/* arcos amarillos */
.arco {
  position: absolute;
  z-index: 3;
  display: block;
  pointer-events: none;
  height: auto;
  object-fit: contain;
  max-width: 100%;
}

.arco {
  height: auto;
  object-fit: contain;
}

.arco-1 {
  width: clamp(70px, 18%, 120px);
  top: 12%;
  right: 20%;
}

.arco-2 {
  width: clamp(85px, 20%, 135px);
  bottom: 32%;
  left: 20%;
}

.bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.bg-1 {
  background-image: url("./img/Seccion_Fotos-26.webp");
  opacity: 1;
}

/* .bg-2 {
  opacity: 0;
} */

/* tablet */
@media (max-width: 1200px) {
  .bloque-oportunidades {
    min-height: 620px;
  }

  .marco-interno {
    width: 68%;
  }

  .card-oportunidad p {
    font-size: 24px;
  }

  .card-1 {
    width: 360px;

  }

  .card-2 {
    width: 350px;
  }

  .card-3 {
    width: 380px;
  }




}

@media (max-width: 1023px) {

 .arco-1 {

    top: 22%;
    right: 20%;
  }

  .arco-2 {

    bottom: 27%;
    left: 20%;
  }


}

/* mobile */
@media (max-width: 767px) {
  .seccion-oportunidades {
    padding: 0;
    margin-top: -58px;
  }
  .bloque-oportunidades {
    min-height: 560px;
    border-radius: 28px;
    background-position: center center;
  }

  .marco-interno {
    width: 80%;
    min-width: 180px;
    max-width: 260px;
    top: 7%;
    bottom: 7%;
    border-radius: 28px;
  }

  .card-oportunidad {
    padding: 12px 14px;
  }

  .card-oportunidad p {
    font-size: 14px;
    line-height: 1.12;
  }

  .card-1 {
    width: 170px;
    min-height: 54px;
    top: 14%;

  }

  .card-2 {
    width: 180px;
    min-height: 58px;
    top: 39%;

  }

  .card-3 {
    width: 195px;
    min-height: 68px;
    bottom: 12%;

  }

  .arco-1 {

    top: 26%;
    right: 20%;
  }

  .arco-2 {

    bottom: 31%;
    left: 20%;
  }


}

/*ESTILOS ALERTAS*/

.form-message{
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.4;
  display: none;
  transition: all 0.3s ease;
}

.form-message.show{
  display: block;
}

.form-message.success{
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #d1fae5;
}

.form-message.error{
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fee2e2;
}

.form-message.loading{
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}