/* Hero - Cocina y Restauración */
.hero-single {
  width: 100%;
  height: calc(100vh - 4rem);
  border-radius: 20px;
  overflow: hidden;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
}

/* Reusamos las clases existentes del slider */
.slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(32, 32, 32, 0.4);
  z-index: 2;
  border-radius: 20px;
}

.slide-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center center;
  z-index: 1;
  border-radius: 20px;
}

.slide-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 3;
  padding: 0;
}

.slide-text-container {
  color: var(--color-white);
  margin-left: 160px;
  max-width: 1000px;
  width: 100%;
  text-align: left;
  margin-top: 30vh;
}

.slide-subtitle {
  display: block;
  font-family: var(--font-rubik);
  font-size: 38px;
  font-weight: 400;
  font-style: normal;
  line-height: normal;
  margin-bottom: 0.5rem;
  color: var(--color-white);
  animation-delay: 0.2s;
}

.slide-title {
  font-family: var(--font-rubik);
  font-size: 80px;
  font-weight: 700;
  font-style: normal;
  line-height: normal;
  margin-bottom: 1.5rem;
  color: var(--color-white);
  text-align: left;
  animation-delay: 0.4s;
}

/* Subrayado para la opción del menú activa */
.enlaces-menu li:first-child .enlace-menu,
.enlaces-menu li:first-child .enlace-menu.active {
  position: relative;
}

.active-conocenos::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;
  width: 60px;
  height: 3px;
  border-radius: 1.5px;
  background-color: var(--color-main);
}

.hero-slider-container {
  position: relative;
  width: 100%;
  max-width: min(1800px, 95vw);
  height: calc(100vh - 4rem);
  overflow: hidden;
  margin: 2rem auto;
  margin-top: 1rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.intro-section {
  position: relative;
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  margin-top: 20dvh;
}

.intro-container {
  position: relative;
}

.intro-text {
  font-family: var(--font-rubik);
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  color: var(--color-black);
  max-width: 1075px;
  ;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  margin-left: 12dvw;
}

.intro-text strong {
  font-weight: 700;
}

.intro-line {
  position: absolute;
  height: 3px;
  background-color: var(--color-main);
  margin-top: -36px;
  width: calc(36% - 2rem);
  margin-left: auto;
  right: 0;
}

.aprender-section {
  position: relative;
  width: 100%;
  padding-top: 4rem;
  padding-inline: 0;
  margin-top: 0rem;
}

.aprender-container {
  position: relative;
  max-width: min(1800px, 95vw);
  margin: 0 auto;
  padding: 0 11rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  justify-content: space-between;
}

.aprender-content {
  flex: 1;
  max-width: 39%;
}

.aprender-tag {
  display: inline-block;
  font-family: var(--font-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.aprender-title {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  margin-bottom: 2rem;
}

.new-bt {
  display: flex;
  gap: 10px;
  align-items: center;
}

.new-bt img {
  width: 34px;
}

.new-bt a {
  font-family: var(--font-rubik);
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  text-decoration: none;
  transition: ease-in-out 0.3s all;
}

.new-bt a:hover {
  padding-right: 5px;
}

.nuestra-metodologia {
  max-width: min(1600px, 95vw);
  margin: 0 auto;
  padding: 0 11rem;
  padding-right: 0;
  margin-top: 10rem;

}

.nuestra-metodologia .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nuestra-metodologia img {
  border-radius: 12px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.nuestra-metodologia .inner .text-box {
  max-width: 650px;
  margin-top: 4rem;

}

.nuestra-metodologia .inner .text-box h2 {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  margin-bottom: 1rem;

}

.nuestra-metodologia .inner .text-box .big-txt {
  font-family: var(--font-rubik);
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

.nos-hace-diferentes {
  max-width: min(1800px, 95vw);
  margin: 0 auto;
  padding: 0 2rem;
  margin-top: 10rem;
  margin-bottom: 6rem;
}

.nos-hace-diferentes .inner {
  text-align: center;
}

.nos-hace-diferentes .inner h2 {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.nos-hace-diferentes .inner .boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;

}

.nos-hace-diferentes .inner .boxes .box {
  max-width: 323px;
  border-radius: 8px;
  background: #F5F5F5;
  padding: 40px;
}

.nos-hace-diferentes .inner .boxes .box h3 {
  font-family: var(--font-rubik);
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 25px;
  color: var(--color-black);
  margin-bottom: 1rem;
  margin-top: 1rem;
}

.nos-hace-diferentes .inner .boxes .box p {
  font-family: var(--font-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 18px;
  color: var(--color-black);

}

.instalaciones {
  max-width: min(1600px, 95vw);
  margin: 0 auto;
  padding: 0 11rem;
  padding-left: 0;
  margin-top: 10rem;

}

.instalaciones .inner {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.instalaciones img {
  border-radius: 12px;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.instalaciones .inner .text-box {
  max-width: 650px;
  margin-top: 4rem;

}

.instalaciones .inner .text-box h2 {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  margin-bottom: 1rem;

}

.instalaciones .inner .text-box .big-txt {
  font-family: var(--font-rubik);
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}


.aprender-text {
  margin-bottom: 2.5rem;
}

.aprender-text p {
  max-width: 421px;
  font-family: var(--font-rubik);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  color: var(--color-black);
  margin-bottom: 1.5rem;
}

.big-p {
  max-width: 434px !important;
  font-size: 24px !important;
  line-height: 28px !important;
}

.aprender-text p:last-child {
  margin-bottom: 0;
}

.aprender-text strong {
  font-weight: 700;
}

.aprender-content .btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-main);
  color: var(--color-white);
  font-family: var(--font-rubik);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.aprender-content .btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -1;
}

.aprender-content .btn-primary:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(240, 125, 32, 0.3);
  background-image: linear-gradient(45deg, var(--color-main), #f59643);
}

.aprender-content .btn-primary:hover:before {
  width: 100%;
}

.aprender-content .btn-primary:active {
  transform: translateY(-2px) scale(1.01);
}

.aprender-image-container {
  flex: 1;
  position: relative;
  max-width: 50%;
  display: flex;
  justify-content: center;
}

.aprender-image-content {
  position: relative;
  width: 630px;
  height: 802px;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  background-image: url("https://campus.fundacionjuan23.org/wp-content/uploads/media/fundacion@2x.png");
  background-position: -4px -82px;
  background-repeat: no-repeat;
  background-size: 641px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.aprender-image-text {
  position: absolute;
  top: 4rem;
  left: 6rem;
  z-index: 2;
  text-align: center;
}

.aprender-image-title {
  font-family: var(--font-rubik);
  font-size: 60px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-main);
  margin-bottom: 0.5rem;
  text-align: center;
}

.aprender-image-subtitle {
  font-family: var(--font-rubik);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-black);
}

.formacion-section {
  position: relative;
  width: 100%;
  padding-top: 8rem;
  padding-bottom: 0rem;
  padding-inline: 0;
}

.formacion-container {
  position: relative;
  max-width: min(1800px, 95vw);
  margin: 0 auto;
  padding: 0 11rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  justify-content: space-between;
}

.formacion-content {
  flex: 1;
  max-width: 38%;
}

.formacion-tag {
  display: inline-block;
  font-family: var(--font-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.formacion-title {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-black);
  margin-bottom: 2rem;
}

.formacion-content .big-txt {
  font-family: var(--font-rubik);
  font-size: 24px;
  font-style: normal;
  font-weight: 300;
  line-height: 28px;
  margin-bottom: 1rem;
  max-width: 400px;
}

.formacion-content p {
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  margin-bottom: 1rem;
  max-width: 450px;
}

.formacion-list {
  margin-bottom: 2.5rem;
}

.formacion-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.formacion-list li {
  font-family: var(--font-rubik);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  padding-left: 25px;
  position: relative;
}

.formacion-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-black);
  font-weight: bold;
  font-size: 24px;
}

.formacion-content .btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-main);
  color: var(--color-white);
  font-family: var(--font-rubik);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.formacion-content .btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -1;
}

.formacion-content .btn-primary:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(240, 125, 32, 0.3);
  background-image: linear-gradient(45deg, var(--color-main), #f59643);
}

.formacion-content .btn-primary:hover:before {
  width: 100%;
}

.formacion-content .btn-primary:active {
  transform: translateY(-2px) scale(1.01);
}

.formacion-image-container {
  flex: 1;
  position: relative;
  max-width: 50%;
  display: flex;
  justify-content: flex-start;
}

.formacion-color-blob {
  position: absolute;
  width: 360px;
  height: 360px;
  right: 93px;
  top: 61%;
  transform: translateY(-50%);
  background-color: var(--color-main);
  border-radius: 300px 0 0 300px;
  z-index: 2;
}

.formacion-image-content {
  position: relative;
  width: 630px;
  height: 802px;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  background-image: url("https://campus.fundacionjuan23.org/wp-content/uploads/media/J_XXIII_03.png");
  background-position: 0px 234px;
  background-repeat: no-repeat;
  background-size: 582px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.formacion-image-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 2rem;
  padding-top: 50px;
}

.formacion-image-title {
  font-family: var(--font-rubik);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-main);
  margin-bottom: 0.5rem;
  text-align: center;
}

.formacion-image-subtitle {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
  text-align: center;
}

.formacion-plan-section {
  position: relative;
  width: 100%;
  padding: 8rem 0;
}

.formacion-plan-container {
  position: relative;
  max-width: min(1800px, 95vw);
  margin: 0 auto;
  padding: 0 11rem;
  display: flex;
  align-items: center;
  gap: 4rem;
  justify-content: space-between;
}

.formacion-plan-content {
  flex: 1;
  max-width: 38%;
}

.formacion-plan-tag {
  display: inline-block;
  font-family: var(--font-rubik);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  color: var(--color-main);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.formacion-plan-title {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  color: var(--color-black);
  margin-bottom: 2rem;
}

.formacion-plan-list {
  margin-bottom: 2.5rem;
}

.formacion-plan-list ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.formacion-plan-list li {
  font-family: var(--font-rubik);
  font-size: 18px;
  font-style: normal;
  font-weight: 300;
  line-height: 24px;
  color: var(--color-black);
  margin-bottom: 0.75rem;
  padding-left: 25px;
  position: relative;
}

.formacion-plan-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--color-black);
  font-weight: bold;
  font-size: 24px;
}

.formacion-plan-content .btn-primary {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--color-main);
  color: var(--color-white);
  font-family: var(--font-rubik);
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  border-radius: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.formacion-plan-content .btn-primary:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.42, 0, 0.58, 1);
  z-index: -1;
}

.formacion-plan-content .btn-primary:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(240, 125, 32, 0.3);
  background-image: linear-gradient(45deg, var(--color-main), #f59643);
}

.formacion-plan-content .btn-primary:hover:before {
  width: 100%;
}

.formacion-plan-content .btn-primary:active {
  transform: translateY(-2px) scale(1.01);
}

.formacion-plan-image-container {
  flex: 1;
  position: relative;
  max-width: 50%;
  display: flex;
  justify-content: flex-end;
}

.formacion-plan-color-blob {
  position: absolute;
  width: 360px;
  height: 360px;
  right: 0px;
  top: 61%;
  transform: translateY(-50%);
  background-color: var(--color-main);
  border-radius: 300px 0px 0px 300px;
  z-index: 2;
}

.formacion-plan-image-content {
  position: relative;
  width: 630px;
  height: 802px;
  background-color: #f5f5f5;
  border-radius: 12px;
  overflow: hidden;
  background-image: url("https://campus.fundacionjuan23.org/wp-content/uploads/media/plandeformacion-juanxxiii.png");
  background-position: 0px 101px;
  background-repeat: no-repeat;
  background-size: 704px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  z-index: 1;
}

.formacion-plan-image-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding: 2rem;
  padding-top: 50px;
}

.formacion-plan-image-title {
  font-family: var(--font-rubik);
  font-size: 64px;
  font-weight: 500;
  line-height: 1.1;
  color: var(--color-main);
  margin-bottom: 0.5rem;
  text-align: center;
}

.formacion-plan-image-subtitle {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--color-black);
  text-align: center;
}

.profesionales-section {
  position: relative;
  width: 100%;
  overflow: visible;
}

.profesionales-container {
  position: relative;
  max-width: min(1800px, 95vw);
  margin: 0 auto;
  padding-left: 11rem;
  display: flex;
  align-items: center;
}

.profesionales-line {
  position: relative;
  height: 4px;
  background-color: var(--color-main);
  margin-right: 2rem;
}

.profesionales-line:before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100vw;
  background-color: var(--color-main);
  right: 100%;
  top: 0;
}

.profesionales-text {
  font-family: var(--font-rubik);
  font-size: 48px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  color: var(--color-black);
  max-width: 800px;
  margin-left: -34px;
}

.profesionales-text strong {
  font-weight: 600;
}

@media (max-width: 1200px) {
  .profesionales-container {
    padding: 0 8rem;
  }

  .profesionales-text {
    font-size: 42px;
    max-width: 720px;
  }
}

@media (max-width: 992px) {
  .profesionales-container {
    padding: 0 4rem;
  }

  .profesionales-text {
    font-size: 38px;
    max-width: 650px;
  }
}

@media (max-width: 768px) {
  .profesionales-section {
    padding: 5rem 0;
  }

  .profesionales-container {
    padding: 0 2rem;
  }

  .profesionales-line {
    width: 80px;
    margin-right: 1.5rem;
  }

  .profesionales-text {
    font-size: 32px;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .profesionales-section {
    padding: 4rem 0;
  }

  .profesionales-container {
    padding: 0 1.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .profesionales-line {
    width: 60px;
    margin-right: 0;
    margin-bottom: 1.5rem;
  }

  .profesionales-text {
    font-size: 28px;
    margin-left: 0px;
  }
}

@media (max-width: 1200px) {
  .slide-text-container {
    margin-left: 80px;
    max-width: 800px;
  }

  .slide-subtitle {
    font-size: 32px;
  }

  .slide-title {
    font-size: 70px;
  }

  .intro-text {
    font-size: 42px;
    max-width: 650px;
  }

  .aprender-container {
    gap: 3rem;
    padding: 0 8rem;
  }

  .aprender-content,
  .aprender-image-container {
    max-width: 45%;
  }

  .aprender-title {
    font-size: 36px;
  }

  .aprender-image-content {
    height: 480px;
  }

  .aprender-image-title {
    font-size: 52px;
  }

  .aprender-image-subtitle {
    font-size: 28px;
  }

  .formacion-container {
    gap: 3rem;
    padding: 0 8rem;
  }

  .formacion-content,
  .formacion-image-container {
    max-width: 45%;
  }

  .formacion-image-content {
    width: 580px;
    height: 700px;
  }

  .formacion-color-blob {
    width: 300px;
    height: 300px;
  }

  .formacion-plan-container {
    gap: 3rem;
    padding: 0 8rem;
  }

  .formacion-plan-content,
  .formacion-plan-image-container {
    max-width: 45%;
  }

  .formacion-plan-image-content {
    width: 580px;
    height: 700px;
  }

  .formacion-plan-color-blob {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 992px) {
  .slide-text-container {
    margin-left: 60px;
    max-width: 800px;
  }

  .slide-subtitle {
    font-size: 28px;
  }

  .slide-text-container {
    margin-left: 60px;
    margin-top: 25vh;
  }

  .intro-section {
    padding: 4rem 1rem;
  }

  .intro-text {
    font-size: 36px;
    max-width: 550px;
  }

  .aprender-container {
    flex-direction: column;
    gap: 4rem;
    padding: 0 4rem;
  }

  .aprender-content,
  .aprender-image-container {
    max-width: 100%;
  }

  .aprender-image-container {
    width: 100%;
    justify-content: center;
  }

  .aprender-image-content {
    width: 100%;
    height: 450px;
    max-width: 700px;
    margin: 0 auto;
    background-position: center;
  }

  .formacion-container {
    flex-direction: column;
    gap: 4rem;
    padding: 0 4rem;
  }

  .formacion-content,
  .formacion-image-container {
    max-width: 100%;
  }

  .formacion-image-container {
    width: 100%;
    justify-content: center;
  }

  .formacion-color-blob {
    width: 250px;
    height: 100%;
    right: calc(50% - 320px);
    top: 0;
    transform: none;
  }

  .formacion-image-content {
    width: 500px;
    height: 600px;
    margin: 0 auto;
  }

  .formacion-plan-container {
    flex-direction: column;
    gap: 4rem;
    padding: 0 4rem;
  }

  .formacion-plan-content,
  .formacion-plan-image-container {
    max-width: 100%;
  }

  .formacion-plan-image-container {
    width: 100%;
    justify-content: center;
  }

  .formacion-plan-color-blob {
    width: 250px;
    height: 100%;
    left: calc(50% - 320px);
    top: 0;
    transform: none;
  }

  .formacion-plan-image-content {
    width: 500px;
    height: 600px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {

  .hero-single,
  .hero-slider-container {
    height: calc(100vh - 2rem);
  }

  .slide-text-container {
    margin-left: 40px;
    margin-right: 40px;
    max-width: calc(100% - 80px);
  }

  .slide-subtitle {
    font-size: 24px;
  }

  .intro-section {
    padding: 3rem 1rem;
  }

  .intro-container {
    padding: 0 1rem;
  }

  .intro-text {
    font-size: 32px;
    max-width: 100%;
  }

  .intro-line {
    display: none;
  }

  .aprender-container {
    padding: 0 2rem;
  }

  .aprender-content {
    padding: 0;
  }

  .aprender-title {
    font-size: 32px;
  }

  .aprender-text p {
    font-size: 16px;
    line-height: 22px;
  }

  .aprender-image-content {
    height: 400px;
  }

  .aprender-image-title {
    font-size: 46px;
  }

  .aprender-image-subtitle {
    font-size: 24px;
  }

  .formacion-container {
    padding: 0 2rem;
  }

  .formacion-image-container {
    margin-bottom: 1rem;
  }

  .formacion-color-blob {
    right: calc(50% - 250px);
  }

  .formacion-image-content {
    width: 450px;
    height: 550px;
  }

  .formacion-image-text {
    top: 2rem;
    left: 2rem;
  }

  .formacion-image-subtitle {
    font-size: 24px;
  }

  .formacion-plan-container {
    padding: 0 2rem;
  }

  .formacion-plan-image-container {
    margin-bottom: 1rem;
  }

  .formacion-plan-color-blob {
    left: calc(50% - 250px);
  }

  .formacion-plan-image-content {
    width: 450px;
    height: 550px;
  }

  .formacion-plan-image-text {
    top: 2rem;
    left: 2rem;
  }

  .formacion-plan-image-title {
    font-size: 48px;
  }

  .formacion-plan-image-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 576px) {

  .hero-single,
  .hero-slider-container {
    height: calc(100vh - 1rem);
  }

  .slide-text-container {
    margin-left: 20px;
    margin-right: 20px;
    max-width: calc(100% - 40px);
  }

  .slide-subtitle {
    font-size: 22px;
  }

  .slide-title {
    font-size: 55px;
  }

  .intro-section {
    padding: 2.5rem 0.75rem;
    margin-top: 0dvh;
  }

  .intro-container {
    padding: 0 0.75rem;
  }


  .aprender-container {
    padding: 0 1.5rem;
  }

  .aprender-tag {
    font-size: 14px;
  }

  .aprender-title {
    font-size: 28px;
  }

  .aprender-image-text {
    top: 2rem;
    left: 0rem;
    text-align: left;
    padding-inline: 20px;
  }

  .aprender-image-content {
    background-position: -1px -25px;
    background-size: 357px;
  }

  a.btn-primary {
    word-wrap: break-word !important;
    font-size: 13px !important;
  }

  .formacion-section {
    padding-top: 3rem;
  }

  .aprender-image-title {
    font-size: 34px;
    text-align: left;
  }

  .aprender-image-subtitle {
    font-size: 22px;
  }

  .formacion-container {
    padding: 0 1.5rem;
  }

  .formacion-color-blob {
    width: 150px;
    right: calc(50% - 200px);
  }

  .formacion-image-content {
    width: 350px;
    height: 450px;
  }

  .formacion-image-text {
    top: -1.5rem;
    left: -0.5rem;
    text-align: left;
  }

  .formacion-image-title {
    font-size: 34px;
    text-align: left;
  }

  .formacion-plan-section {
    padding: 4rem 0;
  }

  .formacion-image-subtitle {
    display: none;
  }

  .formacion-plan-container {
    padding: 0 1.5rem;
  }

  .formacion-plan-color-blob {
    width: 150px;
    left: calc(50% - 200px);
  }

  .formacion-plan-image-content {
    width: 350px;
    height: 450px;
  }

  .formacion-plan-image-text {
    top: -0.5rem;
    left: -1.5rem;
  }

  .formacion-plan-image-title {
    font-size: 38px;
  }

  .formacion-plan-image-subtitle {
    font-size: 20px;
  }

  .formacion-plan-image-content {
    background-position: -148px;
  }

  .instalaciones {
    padding: 0 1rem;
    margin-top: 6rem;
  }
}

@media (max-width: 768px) {
  .slide-subtitle {
    font-size: 24px;
  }

  .slide-text-container {
    margin-left: 40px;
    margin-top: 20vh;
  }

  .intro-text {
    font-size: 32px;
    margin-left: 4dvw;
  }

  .aprender-container,
  .formacion-container,
  .formacion-plan-container {
    flex-direction: column;
    gap: 2.5rem;
    padding: 0 2rem;
  }

  .aprender-content,
  .formacion-content,
  .formacion-plan-content {
    max-width: 100%;
    order: 2;
  }

  .aprender-image-container,
  .formacion-image-container,
  .formacion-plan-image-container {
    max-width: 100%;
    width: 100%;
    justify-content: center;
    order: 1;
  }

  .formacion-list li,
  .formacion-plan-list li {
    line-height: 1.4;
    margin-bottom: 15px;
  }

  /* Ajuste para botones en responsive */
  .btn-primary {
    font-size: 16px;
    padding: 12px 24px;
  }
}

@media (max-width: 576px) {

  .hero-single,
  .hero-slider-container {
    height: calc(100vh - 2rem);
    margin-top: 0.5rem;
  }

  .slide-subtitle {
    font-size: 22px;
  }

  .slide-title {
    font-size: 55px;
    margin-bottom: 1rem;
  }

  .slide-text-container {
    margin-left: 20px;
    max-width: calc(100% - 40px);
    margin-top: 15vh;
  }

  .intro-text {
    font-size: 32px;
    margin-left: 1rem;
    max-width: calc(100% - 2rem);
  }

  .intro-line {
    width: 50%;
  }

  .aprender-container,
  .formacion-container,
  .formacion-plan-container {
    padding: 0 1rem;
  }

  .aprender-tag,
  .formacion-tag,
  .formacion-plan-tag {
    font-size: 14px;
  }

  .aprender-title,
  .formacion-title,
  .formacion-plan-title {
    font-size: 28px;
  }

  .aprender-text p {
    font-size: 16px;
    line-height: 22px;
  }

  .big-p {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .aprender-image-content,
  .formacion-image-content,
  .formacion-plan-image-content {
    width: 100%;
    height: 400px;
  }

  .formacion-list li,
  .formacion-plan-list li {
    font-size: 15px;
    padding-left: 28px;
  }

  .formacion-list li::before,
  .formacion-plan-list li::before {
    width: 16px;
    height: 16px;
    top: 4px;
  }

  /* Ajuste para botones en responsive */
  .btn-primary {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* Ajustes adicionales para el responsive */
@media (max-width: 768px) {
  .intro-container {
    padding: 0 1.5rem;
  }

  /* Ajuste para la altura del hero */
  .hero-single {
    height: calc(100vh - 3rem);
  }

  /* Ajustes para estructuras de columnas en móvil */
  .aprender-content,
  .formacion-content,
  .formacion-plan-content {
    padding: 0 1rem;
  }

  .aprender-image-content,
  .formacion-image-content,
  .formacion-plan-image-content {
    margin: 0 auto;
    max-width: 90%;
  }
}

@media (max-width: 576px) {

  .hero-single {
    height: calc(100vh - 2rem);
  }

  .slide-text-container {
    margin-top: 12vh;
  }

  .aprender-image-content,
  .formacion-image-content,
  .formacion-plan-image-content {
    height: 350px;
  }

  .aprender-image-content {
    height: 500px;
  }

  .formacion-image-content {
    background-size: 286px;
    background-position: 6px 90px;
  }

  .nuestra-metodologia {
    padding: 0 1rem;
    margin-top: 4rem;
  }

  .nuestra-metodologia img {
    height: 140px;
  }

  .nos-hace-diferentes {
    padding: 0px 1rem;
    margin-top: 6rem;
    margin-bottom: 4rem;
  }

  .aprender-section {
    padding-top: 0rem;
    padding-inline: 0;
    margin-top: 0rem;
  }
}

/* Ajustes para dispositivos muy pequeños */
@media (max-width: 375px) {
  .slide-title {
    font-size: 32px;
  }

  .slide-subtitle {
    font-size: 18px;
  }

  .intro-text {
    font-size: 22px;
  }

  .aprender-image-content,
  .formacion-image-content,
  .formacion-plan-image-content {
    height: 300px;
  }
}

/* Estilos para bullets personalizados en todas las listas */
.formacion-list ul,
.formacion-plan-list ul,
.aprender-text ul {
  list-style: none;
  padding-left: 0;
}

.formacion-list li,
.formacion-plan-list li,
.aprender-text li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
}

.formacion-list li::before,
.formacion-plan-list li::before,
.aprender-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 5px;
  width: 20px;
  height: 20px;
  background-image: url("https://campus.fundacionjuan23.org/wp-content/uploads/media/bullet.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* Sección Empleabilidad */
.empleabilidad-section {
  position: relative;
  width: 100%;
  padding: 0;
  margin: 8rem 0;
}

.empleabilidad-container {
  position: relative;
  width: 75.7%;
  max-width: min(1800px, 95vw);
  margin: 0 auto;
  height: 700px;
  background-image: url("https://campus.fundacionjuan23.org/wp-content/uploads/media/formacion-cocina.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  overflow: hidden;
}

.empleabilidad-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.empleabilidad-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 483px;
  height: 200px;
  background-color: #f07d20d1;
  border-radius: 90px 0 0 90px;
  padding: 0px 10px;
}

.empleabilidad-text {
  font-family: var(--font-rubik);
  font-size: 40px;
  font-weight: 500;
  color: var(--color-white);
  text-align: center;
}

/* Media queries para la sección de empleabilidad */
@media (max-width: 1200px) {
  .empleabilidad-content {
    padding: 0 8rem;
  }

  .empleabilidad-box {
    width: 350px;
    height: 180px;
  }

  .empleabilidad-text {
    font-size: 36px;
  }
}

@media (max-width: 992px) {
  .empleabilidad-container {
    height: 450px;
  }

  .empleabilidad-content {
    padding: 0 4rem;
  }

  .empleabilidad-box {
    width: 300px;
    height: 160px;
  }

  .empleabilidad-text {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .empleabilidad-container {
    height: 400px;
  }

  .empleabilidad-content {
    padding: 0 2rem;
  }

  .empleabilidad-box {
    width: 250px;
    height: 140px;
    padding-right: 30px;
  }

  .empleabilidad-text {
    font-size: 28px;
  }
}

@media (max-width: 576px) {
  .empleabilidad-section {
    margin: 0rem 0;
  }

  .empleabilidad-container {
    height: 350px;
    border-radius: 8px;
  }

  .empleabilidad-content {
    padding: 0;
  }

  .empleabilidad-box {
    width: 220px;
    height: 120px;
    padding-right: 20px;
  }

  .empleabilidad-text {
    font-size: 24px;
  }
}


@media (max-width: 576px) {
  .slide-image {
    object-position: 42% center;
  }

  .hero-single {
    height: 80vh;
  }
}


@media (max-width: 452px) {
  .slide-title {
    font-size: 44px !important;
    margin-bottom: 13rem;
  }
}


@media (max-width: 375px) {
  .orange-banner {
    height: 80px;
    max-width: 250px;
  }

  .orange-banner span {
    font-size: 12px;
  }

  .slide-title {
    font-size: 32px;
  }

  .slide-subtitle {
    font-size: 18px;
  }

  .intro-text {
    font-size: 22px;
  }

  .aprender-image-content,
  .formacion-image-content,
  .formacion-plan-image-content {
    height: 300px;
  }
}

/* responsive landscape */
@media only screen and (max-width: 800px) and (orientation: landscape) {
  .menu-principal {
    padding: 1.2rem 29px;
  }

  .contenedor-menu {
    padding: 0rem 2vw;
  }

  .logo {
    width: 100px;
  }

  .enlace-menu {
    font-size: 1.85rem;
  }

  .orange-banner-container {
    bottom: 9%;
  }

  .orange-banner {
    height: 64px;
  }

  .slide-subtitle {
    font-size: 25px !important;
  }

  .slide-title,
  .hero-title {
    font-size: 40px !important;
  }

  .slide-overlay {
    background-color: rgb(32 32 32 / 90%);
  }

  .intro-section {
    padding: 0rem 1rem;
  }

  .aprender-image-text {
    top: 4rem;
  }

  .aprender-image-content {
    background-position: -266px -121px;
  }

  .formacion-image-subtitle {
    display: none;
  }

  .aprender-image-content,
  .formacion-image-content,
  .formacion-plan-image-content {
    max-width: 90%;
  }

  .formacion-plan-image-text {
    top: 2rem;
    left: 0rem;
  }

  .formacion-plan-section {
    padding-bottom: 0;
  }

  .empleabilidad-section {
    margin-top: 0;
    margin-bottom: 0;
  }

  .empleabilidad-content {
    padding: 0 !important;
  }

  .contact-container {
    padding: 0px 4rem;
  }

  .partners-container {
    padding: 0 2rem;
  }
}

/* new responsive */
@media screen and (max-width: 1655px) {
  .intro-line {
    width: calc(29% - 2rem);
  }
}


@media screen and (max-width: 1450px) {

  .intro-line {
    margin-top: -6px;
  }

  .nos-hace-diferentes .inner .boxes .box {
    max-width: 290px;
    border-radius: 8px;
    background: #F5F5F5;
    padding: 20px;
  }

  .aprender-container {
    padding: 0 6rem;
  }

  .formacion-container {
    padding: 0 6rem;
  }

  .contact-container {
    margin-top: 4rem;
  }
}

@media screen and (max-width: 1300px) {

  .aprender-container {
    padding: 0 6rem;
  }

  .nos-hace-diferentes .inner .boxes .box {
    max-width: 290px;
    border-radius: 8px;
    background: #F5F5F5;
    padding: 20px;
  }

  .intro-text {
    margin-left: 10dvw;
  }

  .intro-line {
    width: calc(58% - 2rem);
  }

  .aprender-container {
    padding: 0 6rem;
  }

  .formacion-container {
    padding: 0 6rem;
  }

  .aprender-image-content {
    background-position: -4px 16px;
    background-size: 537px;
  }

  .formacion-plan-container {
    padding: 0 6rem;
  }

  .empleabilidad-container {
    height: 530px;
  }
}

@media screen and (max-width: 1200px) {
  .aprender-image-content {
    background-position: -152px center;
    background-size: 696px;
  }

  .aprender-image-text {
    top: 6rem;
  }

  .empleabilidad-content {
    padding: 0 0rem;
  }

  .empleabilidad-box {
    width: 350px;
    height: 180px;
  }

  .empleabilidad-text {
    font-size: 36px;
  }

  .partners-container {
    padding: 0 5rem;
  }

  .empleabilidad-container {
    height: 430px;
  }
}

@media screen and (max-width: 900px) {

  .instalaciones {
    margin-top: 2rem;
  }

  .intro-section {
    padding: 0rem 0rem;
    margin-top: 8dvh;
  }

  .intro-text {
    margin-left: 7dvw;
  }

  .intro-line {
    margin-top: 0px;
  }

  .intro-text {
    max-width: 770px;
  }

  .big-p {
    max-width: 1034px !important;
  }

  .aprender-section {
    margin-top: 0rem;
  }

  .aprender-text p {
    max-width: 1034px !important;
  }

  .aprender-container {
    padding: 0 2rem;
  }

  .aprender-image-content {
    background-position: -185px -102px;
    background-size: 901px;
  }

  .aprender-image-content {
    display: none;
  }

  .formacion-container {
    padding: 0 2rem;
  }

  .formacion-plan-container {
    padding: 0 2rem;
  }

  .profesionales-text {
    margin-left: 0px;
  }

  .contact-container {
    padding: 0 2rem;
  }

  .formacion-section {
    padding-top: 1rem;
  }
}

@media screen and (max-width: 560px) {
  .orange-banner-container {
    bottom: 26%;
  }

  .orange-banner {
    max-width: 263px;
  }

  .orange-banner span {
    font-size: 18px;
    line-height: 1.2;
  }

  .slide-title {
    font-size: 44px;
    margin-bottom: 1rem;
  }

  .slide-text-container {
    margin-left: 1rem !important;
    bottom: 25vh !important;
  }

  .intro-text {
    margin-left: 0dvw;
  }

  .aprender-image-content {
    height: 490px;
  }

  .aprender-image-content {
    background-position: -215px -102px;
    background-size: 701px;
  }

  .aprender-container {
    padding: 0 1rem;
  }

  .formacion-container {
    padding: 0 1rem;
  }

  .formacion-image-content {
    background-position: 94px 57px;
    background-size: 299px;
  }

  .formacion-plan-container {
    padding: 0 1rem;
  }

  .formacion-plan-image-content {
    height: 446px;
  }

  .profesionales-section {
    padding: 0rem 0;
    padding-bottom: 2rem;
  }

  .empleabilidad-container {
    width: 89.7%;
  }
}

@media screen and (max-height: 650px) {

  .orange-banner-container {
    bottom: 11vh;
  }
}

@media screen and (max-height: 490px) {

  .orange-banner-container {
    bottom: 6vh;
  }
}

@media screen and (max-height: 430px) {

  .orange-banner-container {
    display: none;
  }

  .hero-slider-container {
    height: 700px !important;
  }

  .hero-single {
    height: 700px;
  }
}