@import 'variables.css';

@keyframes sombraCeleste {

  0%,
  100% {
    text-shadow: 0 0 3px #00FFFF, 0 0 10px #00CED1, 0 0 25px #00CED1;
  }

  50% {
    text-shadow: 0 0 15px #00FFFF, 0 0 25px #00CED1, 0 0 35px #00CED1;
  }
}

@keyframes palpitar {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  5% {
    transform: scale(1.05);
    opacity: 1;
  }

  /* primer latido */
  10% {
    transform: scale(1);
    opacity: 0.9;
  }

  15% {
    transform: scale(1.05);
    opacity: 1;
  }

  /* segundo latido */
  20% {
    transform: scale(1);
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

body {
  background: white !important;
}

.header-main__title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  background: var(--bg-gradient2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-main_title {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  background: var(--bg-gradient2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.header-main__title_ligth {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  color: white;
}

.header-main__subtitle {
  font-size: 1.125rem;
  background: var(--bg-gradient4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.header-main__subtitle_ligth {
  font-size: 1.125rem;
  color: white;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero {
  height: 100vh;
  width: 100%;
}

.contadores-hero {
  background-color: var(--primary-color);
  background-image: url('/images/home/Elipse.webp');
  background-repeat: no-repeat;
  background-position: center calc(100% + 250px);
  background-size: 100% auto;
  border-radius: 0 0 5rem 5rem;

}

.hero-container {
  max-width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0rem 0rem;
  padding: 5rem 0rem 0rem 0rem;
}

.hero-text {
  flex: 1;
  padding: 4rem 0rem 4rem 6rem;
  line-height: 1;
  color: white;
}

.hero-title-arriba {
  font-size: 3em !important;
  font-weight: var(--font-light);
  color: white;
  text-shadow: 0 0 3px #00e6ff, 0 0 15px #0099cc;
  animation: palpitar 3s ease-out;
}

.hero-title-abajo {
  font-size: 4em !important;
  font-weight: var(--font-bold);

  animation: palpitar 2.5s infinite ease-in-out, sombraCeleste 3s infinite ease-in-out;
}

.hero-subtext {
  margin-top: 2rem;
  margin-bottom: 2rem;
  color: #e0f7fa;
  justify-content: start;
}

.hero-subtext-movil {
  display: none;
}

.mobile {
  display: none;
}

/**--- 1.2 - Hero Mascota --**/
.hero-image {
  flex: 1;
  min-width: 400px;
  text-align: right;
  padding: 2.5rem 5rem 0 0;
}

.hero-container img {
  max-width: 500px;
  width: 100%;
  height: auto;
  padding-right: 2rem;
  background-image: url('/images/home/sombraTugo.png');
  background-repeat: no-repeat;
  background-position: center calc(100% + -30px);
  background-size: 100% auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: left;
  margin-top: 1.2rem;
}

.hero-buttons button {
  padding: 0.75rem 0.7rem;
  font-size: 0.9rem;
  border: 1px solid white;
  border-radius: 25px;
  background: transparent;
  color: white;
  cursor: pointer;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}

.hero-buttons button i {
  padding-right: 0.5em;
}

.hero-buttons button:hover {
  background-color: white;
  color: var(--secundary-color);
  box-shadow: 0 0 20px #010e1650;
  transform: scale(1.1);
}

.hero-buttons button:active {
  background-color: white;
  transition: all 0.25s;
  -webkit-transition: all 0.25s;
  box-shadow: none;
  transform: scale(0.98);
}


.info-container {
  background-color: var(--primary-white);
  border-top-left-radius: 5rem;
  border-top-right-radius: 5rem;
  display: flex;
  flex-direction: column;
  margin-top: 10px;
  box-shadow: 0px -10px #19849e;
  color: var(--primary-color);
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.counters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  padding: 5rem 0 7rem 0;
  text-align: center;
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
  overflow-x: auto;
}

.counter-box {
  display: flex;
  flex-flow: column wrap;
  padding: 0 20px;
  justify-content: center;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
  border-radius: 12px;
}

.counter-box:hover {
  transform: translateY(-8px) scale(1.03);
  background-color: rgba(255, 255, 255, 0.05);
  cursor: pointer;
}

.box-sky {
  background-color: var(--secundary-color);
  height: 70px;
  width: 5px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.counter-number {
  font-size: 3em;
  font-weight: var(--font-extrabold);
}

.counter-numbe {
  font-size: 3em;
  font-weight: var(--font-extrabold);
}

.counter-numbe i {
  font-size: 30px;
}

.counter-box h1 {
  font-size: var(--h1-regular);
  color: var(--primary-color) !important;
  text-transform: none;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 1.3rem;
  position: relative;
  z-index: 2;
}

.tugo-carousel {
  background: var(--bg-gradient);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-items: center;
  padding: 2rem 1rem;
  min-height: 50vh;
  font-family: 'Poppins', sans-serif;
}

.tugo-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  padding: 2rem 5rem;
  box-sizing: border-box;
  justify-content: center;
}

.text-zone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  min-height: 200px;
}

.intro-text {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: var(--font-extrabold);
  margin-bottom: 0.5rem;
  opacity: 0.9;
  color: #fff;
}

.animated-word {
  font-size: clamp(50px, 5vw, 44px);
  font-weight: 700;
  color: var(--terciary-color2);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateY(30%);
  animation: fadeSlide 1s forwards;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(30%) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mascot-panel {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
}

.mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .5s ease, transform .5s ease;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.6));
}

.mascot.fade {
  opacity: 0;
  transform: scale(0.9);
}



.visual-section {
  padding: 1rem 5.5rem;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 800px;
}

.visual-section img.visual-phone {
  position: absolute;
  right: 18%;
  bottom: 15%;
  width: 900px;
  height: auto;
  z-index: 30;
  transform: translateY(-15%);
  transition: transform .25s ease, bottom .25s ease;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.15));
}

.visual-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1200px;
  padding: 2rem;
  border-radius: 16px;
  background: var(--bg-gradient2);
  height: 400px;
}

.whats-new-card {
  position: absolute;
  z-index: 50;
  top: 60%;
  left: 36%;
  width: 400px;
  max-width: 35%;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  padding: 1.5rem;
  box-sizing: border-box;

}

.whats-new-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.whats-new-card__icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.whats-new-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0;
}

.whats-new-card__list {

  list-style-type: decimal;
  list-style-position: inside;

  color: #374151;
  margin-bottom: 1.5rem;
  margin-top: 0;
  padding-left: 0;
}

.whats-new-card__list-item {
  margin-bottom: 0.625rem;
}

.whats-new-card__list-item:last-child {
  margin-bottom: 0;
}

.whats-new-card__button-wrapper {
  display: flex;
  justify-content: flex-end;
}

.whats-new-card__button {
  background-color: var(--primary-color);
  color: white;
  padding: 0.8rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;

  transition: background-color 0.2s ease-in-out;
}

.whats-new-card__button:hover {
  background-color: var(--secundary-color);
}

.buscar-tutor-section {
  background-color: var(--primary-color);
  background-image: url('/images/home/Elipse.webp');
  background-repeat: no-repeat;
  background-position: top calc(100% + 10px);
  background-size: 100% auto;
  padding: 5rem 2rem;
}

.buscar-tutor-section h1 {
  color: white;
}

.text-zone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 560px;
  min-height: 200px;
}

.intro-text {
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  margin-bottom: 0.5rem;
  opacity: 0.9;
  color: var(--primary-color);
}

.animated-word {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  color: var(--terciary-color2);
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
  opacity: 0;
  transform: translateY(30%);
  animation: fadeSlide 1s forwards;
}

@keyframes fadeSlide {
  0% {
    opacity: 0;
    transform: translateY(30%) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mascot-panel {
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 3;
  margin: 0 auto;
  border-radius: 1.5rem;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(6px);
}

.mascot {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: opacity .5s ease, transform .5s ease;
  filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.6));
}

.mascot.fade {
  opacity: 0;
  transform: scale(0.9);
}

.tutors-container {
  padding: 3rem 2rem;
}

.over-text {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: var(--primary-color);
}

.over-text-dark {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  color: white;
}

.linea {
  background-color: var(--secundary-color);
  height: 4px;
  width: 50px;
  border-radius: 10px;
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.tutor-card,
.card-buscarmas {
  flex: 0 0 calc(33.333% - 20px);
  box-sizing: border-box;
  margin: 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#carousel-nativo {
  position: relative;
  width: 100%;
  max-width: 1250px;
  margin: 40px auto;
  padding: 0 70px;
  /* Espacio para botones */
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  line-height: 1.2 !important;
  text-align: left !important;
}

#carousel-nativo * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
}

#carousel-nativo .carousel-wrapper {
  position: relative;
  width: 100%;
}

#carousel-nativo .carousel-viewport {
  width: 100%;
  overflow: hidden;
  padding: 40px 10px;
}

#carousel-nativo .carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 10px;
}

#carousel-nativo .carousel-track::-webkit-scrollbar {
  display: none;
}

#carousel-nativo .tutor-card {
  width: 300px;
  flex: 0 0 300px;
  height: 440px;
  border-radius: 28px;
  background-color: #0d1d2a;
  position: relative;
  scroll-snap-align: center;
  overflow: hidden;

  box-shadow: 0 10px 30px -10px rgba(0, 224, 224, 0.3);
  border: 1px solid rgba(0, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* 🔥 FIX CLAVE: MÁSCARA PARA QUE NO SE SALGA EL EFECTO CUADRADO */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  mask-image: radial-gradient(white, black);
}

#carousel-nativo .tutor-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 50px -10px rgba(0, 255, 255, 0.4);
  border-color: rgba(0, 255, 255, 0.4);
  z-index: 5;
}

#carousel-nativo .tutor-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#carousel-nativo .tutor-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

#carousel-nativo .tutor-card:hover .tutor-foto {
  transform: scale(1.1);
}

#carousel-nativo .tutor-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(3, 20, 30, 0.98) 15%, rgba(3, 20, 30, 0.8) 60%, rgba(3, 20, 30, 0) 100%);
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start !important;
  text-align: left !important;
  pointer-events: none;
}

#carousel-nativo .tutor-info {
  width: 100%;
  margin-bottom: 12px;
}

#carousel-nativo .tutor-nombre {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#carousel-nativo .tutor-cargo {
  font-size: 0.9rem;
  color: #aedee6;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
  text-align: left !important;
}

#carousel-nativo .tutor-stats {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

#carousel-nativo .stat-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

#carousel-nativo .stat-item:last-child {
  border-right: none;
}

#carousel-nativo .stat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

#carousel-nativo .stat-label {
  font-size: 0.7rem;
  color: #82a7ad;
}

#carousel-nativo .tutor-actions,
#carousel-nativo .btn-perfil,
#carousel-nativo .btn-bookmark {
  pointer-events: auto;
}

#carousel-nativo .tutor-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

#carousel-nativo .btn-perfil {
  flex: 1;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, #FB8500 0%, #FB8500 100%);
  color: white;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(224, 202, 0, 0.3);
  transition: transform 0.2s;
}

#carousel-nativo .btn-perfil:hover {
  transform: translateY(-2px);
  background: #ff9e01ff;
}

#carousel-nativo .btn-bookmark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

#carousel-nativo .btn-bookmark:hover {
  transform: scale(1.05);
  color: #FB8500;
}

#carousel-nativo .btn-bookmark.is-favorited {
  background: rgba(251, 133, 0, 0.15);
  border-color: #FB8500;
  color: #FB8500;
}

#carousel-nativo .btn-bookmark svg {
  transition: all 0.3s ease;
}

#carousel-nativo .btn-bookmark.is-favorited svg {
  stroke: #FB8500;
}

#carousel-nativo .tutor-card-content-vermas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  background: rgba(3, 20, 30, 0.85);
  backdrop-filter: blur(8px);
  opacity: 0;

  display: flex;
  flex-direction: column;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;

  padding: 30px;
  transition: all 0.4s ease;
  pointer-events: none;

  border-radius: 28px;
}

#carousel-nativo .tutor-card:hover .tutor-card-content-vermas {
  opacity: 1;
  pointer-events: auto;
}

#carousel-nativo .tutor-card-content-vermas .icon-wrapper {
  margin-bottom: 15px;
  background: rgba(0, 255, 255, 0.1);
  padding: 15px;
  border-radius: 50%;
}

#carousel-nativo .tutor-card-content-vermas .icon-wrapper svg {
  width: 30px;
  height: 30px;
  color: #fff;
}

#carousel-nativo .tutor-card-content-vermas h3 {
  color: white;
  font-size: 1.5rem;
  margin-bottom: 10px;
  font-weight: 800;
}

#carousel-nativo .tutor-card-content-vermas p {
  color: #aedee6;
  margin-bottom: 25px;
  font-size: 0.95rem;
}

#carousel-nativo .btn-explorar-final {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 30px;
  border-radius: 50px;
  background: transparent;
  border: 2px solid #00e0e0;
  color: #00e0e0;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  width: auto !important;
}

#carousel-nativo .btn-explorar-final:hover {
  background: #00e0e0;
  color: #001a20;
  box-shadow: 0 0 20px rgba(0, 224, 224, 0.5);
}

#carousel-nativo .btn-explorar-final svg {
  width: 20px;
  height: 20px;
}

#carousel-nativo .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 36, 48, 0.9);
  border: 1px solid #00e0e0;
  color: #eaffff;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s;
}

#carousel-nativo .carousel-btn:hover {
  background: #219EBC;
  box-shadow: 0 0 5px #219EBC;
  transform: translateY(-50%) scale(1.1);
}

#carousel-nativo .carousel-btn.prev {
  left: 10px !important;
  right: auto !important;
}

#carousel-nativo .carousel-btn.next {
  right: 10px !important;
  left: auto !important;
}


.parent {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  grid-template-rows: repeat(3, clamp(96px, 18vw, 200px));
  gap: 12px;
  padding: 2rem 4rem;

  box-sizing: border-box;
}


.parent>div {
  position: relative;
  overflow: hidden;
  padding: 0.6rem;

  border-radius: 2rem;
  box-sizing: border-box;
  background: transparent;
}

.filtro-img {
  position: absolute;

  background: var(--panel-background);
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2rem;

  display: block;
  transform: scale(1);
  transition: transform .5s cubic-bezier(.4, 0, .2, 1);
}


.parent>div::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 45%;

  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 60%, rgba(0, 0, 0, 0.85) 100%);
  border-radius: 0 0 2rem 2rem;
  pointer-events: none;
}


.filtro-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem 1.25rem 1.1rem 1.25rem;
  color: #fff;
  z-index: 2;
  pointer-events: none;
}

.filtro-content h3 {
  margin: 0 0 .25rem 0;
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 6px rgba(0, 0, 0, .4);
  transform: translateY(4px);
  transition: transform .35s ease, opacity .35s ease;
  opacity: .95;
}

.filtro-content p {
  margin: 0;
  font-size: .85rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
  transform: translateY(6px);
  transition: transform .35s ease, opacity .35s ease;
  opacity: .9;
}


.parent>div:hover .filtro-img {
  transform: scale(1.05);
}

.parent>div:hover .filtro-content h3,
.parent>div:hover .filtro-content p {
  transform: translateY(0);
  opacity: 1;
}

.parent>div:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
}

.div1 {
  grid-row: span 3 / span 3;
}


.div3 {
  grid-row: span 2 / span 2;
  grid-column-start: 2;
  grid-row-start: 2;
}

.div4 {
  grid-row: span 3 / span 3;
  grid-column-start: 3;
  grid-row-start: 1;
}

.div5 {
  grid-row: span 2 / span 2;
  grid-column-start: 4;
  grid-row-start: 1;
}

.div6 {
  grid-column-start: 4;
  grid-row-start: 3;
}


.potencial-container {
  width: 100%;
  background: linear-gradient(135deg, #219EBC 0%, #023047 100%);
  color: white;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.potencial-container h1 {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: center;
}

.potencial-container h1.unlock-potencial {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  animation: palpitar 3s infinite ease-in-out;
}

.potencial-container>p {
  text-align: center;
  width: 100%;
  line-height: 1rem;
  padding: 0rem 8rem;
}

.steps {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  padding: 2rem 0;
  overflow-x: auto;
  box-sizing: border-box;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.steps-card,
.go {
  flex: 0 0 280px;
  max-width: 320px;
  min-width: 260px;
  height: 450px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--primary-color);
  padding: 1rem;
  border-radius: 20px;
  align-items: center;
  box-sizing: border-box;
  justify-content: flex-start;
  position: relative;
  scroll-snap-align: start;
}

.steps-card button,
.go button {
  font-size: 1.125rem;
  font-weight: 200;
  padding: 0.75rem 2rem;

  background-color: var(--terciary-color2);
  border-radius: 9999px;
  border: none;
  color: white;
  box-sizing: border-box;
  margin-top: auto;
  transition: opacity 0.3s ease;
  display: inline-block;
}

.go button {
  background-color: var(--primary-color);
  min-width: 130px;

}

.steps::-webkit-scrollbar {
  display: none;
}

.steps {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.steps-card button:hover {

  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(23, 38, 241, 0.596);
  transition: all 0.4s ease;

}


.steps-card,
.go {
  background: var(--secundary-color2);
  width: 280px;
  min-width: 260px;
  max-width: 320px;
  height: 450px;
  min-height: 450px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  color: var(--primary-color);
  padding: 1rem;
  border-radius: 20px;
  align-items: center;
  box-sizing: border-box;
  justify-content: flex-start;
  position: relative;
  transition: box-shadow 0.3s cubic-bezier(.4, 0, .2, 1), transform 0.3s cubic-bezier(.4, 0, .2, 1);

}

.steps-card:hover,
.go:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px) scale(1.02);

}

.steps-card img,
.go img {
  width: 100%;
  max-width: 280px;
  min-height: 120px;
  max-height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin: 0 auto;
  display: block;
}

.steps-card h1,
.go h1 {
  font-size: 1.7rem;
  line-height: 30px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
}

.steps-card p,
.go p {
  font-size: 1rem;
  color: var(--primary-color);
  line-height: 1rem;
  margin: 0 auto 0.5rem auto;
  text-align: center;
  max-height: 3.6em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

.go {
  background: var(--secundary-color);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.go p {
  display: flex;
  flex-flow: wrap column;
  height: 100%;
}

.go button {
  background-color: var(--primary-color);
  margin: 0rem;
}

.steps-card .numero-paso,
.go .numero-paso {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 100px;
  font-size: 1rem;
  font-weight: var(--font-bold);
  background-color: white;
  border-radius: 20px;
  border: none;
  margin: 0 auto;
  color: var(--primary-color);
}

.go .numero-paso {
  width: 60px;
  height: 50px;
  font-size: 1.2rem;
}

.go .numero-paso i {
  font-size: 2rem;
}

.button-go:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(23, 38, 241, 0.596);
  transition: all 0.4s ease;
}

.tutorias-container {
  background: white;
}

.tutorias {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin: 0rem auto;
  max-width: 1250px;
  padding: 0rem 1rem;
  height: 35vw;
  gap: 2rem;
  color: var(--primary-color);
  background: var(--panel-background);
  border-radius: 10px;
}

.tutores-text {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 2rem;
}

.tutores-text .tutores-text-encima {
  font-size: 1.2rem;
  font-weight: var(--font-bold);
}

.tutores-text h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  max-width: 600px;
}

.tutores-text p {
  font-size: 1rem;
  max-width: 600px;
}

.tutores-list {
  margin-left: 1.5rem;
  font-size: 1rem;
}

.button-comienza {
  margin-top: 2rem;
  background-color: var(--secundary-color);
  color: white;
  font-weight: bold;
  padding: 0.90rem 2rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.3s ease;
  border: none;
}

.button-comienza:hover {
  background-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(23, 37, 241, 0.836);
  transition: all 0.4s ease;
}

.carousel-3D {
  flex: 0 600px;
  display: flex;
  justify-content: end;
  align-items: center;
  padding: 0.5rem;
}

.img-container-3D {
  justify-content: end;
  align-items: center;
  position: relative;
  height: 300px;
  width: 420px;
  perspective: 400px;
  transform-style: preserve-3d;
}

.box-3D {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.63);
  width: 480px;
  height: 360px;
  border-radius: 25px;
  overflow: hidden;
  border: 1px solid #bbb;
  position: absolute;
  top: 50%;
  transition: 800ms ease-in-out;
}

.box-3D img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 25px;
}

/* Efectos de profundidad */
.box-3D:first-of-type {
  z-index: 5;
  opacity: 0;
  left: 15%;
  transform: translate(-50%, -50%) rotateY(-10deg);
}

.box-3D:nth-of-type(2) {
  opacity: 1;
  left: 20%;
  z-index: 5;
  transform: translate(-50%, -50%) rotateY(-10deg);
}

.box-3D:nth-of-type(3) {
  left: 25%;
  opacity: 0.75;
  z-index: 10;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-50px);
}

.box-3D:nth-of-type(4) {
  z-index: 5;
  opacity: 0.5;
  left: 30%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-100px);
}

.box-3D:nth-of-type(5) {
  z-index: 2;
  opacity: 0.25;
  left: 35%;
  transform: translate(-50%, -50%) rotateY(-10deg) translateZ(-150px);
}

.section-app {
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 8rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.container-app {
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  padding: 2rem;
  position: relative;
  z-index: 2;
}

.grid-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.grid-app .text-app p {
  margin-bottom: 0.8rem !important;
}

.text-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  background: color var(--primary-color);
  border-radius: 10%;
  padding: 1.5rem 2rem;
}

.text-app h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 1rem;
  gap: 0.1rem;
  animation: palpitar 3s ease-in-out infinite;
}

.text-app p {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  gap: 0.1rem;
}

.list-app {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 300px;
  text-align: center;
}

.list-app li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  font-size: 1rem;
  font-weight: 500;
}

.list-app svg {
  width: 24px;
  height: 24px;
  fill: #1B89A6;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.list-app li:hover svg {
  transform: scale(1.2);
}

.btn-app {
  margin-top: 2rem;
  background-color: var(--custom-orange);
  color: white;
  font-weight: bold;
  padding: 0.9rem 2.4rem;
  border-radius: 9999px;
  font-size: 1.125rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 94, 4, 0.15);
}

.btn-app:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(23, 37, 241, 0.829);
}

.image-app {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  overflow: hidden;
}

.image-app img {
  border-radius: 2rem;
  width: 100%;
  height: auto;
  max-width: none;
  object-fit: cover;
}

.alianzas-container {
  padding: 3rem 1rem;
}

.alianzas-card {
  width: 300px;
  height: 270px;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
  scroll-snap-align: start;
  margin-bottom: 1rem;
}

.alianzas-card:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.alianzas-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}

.alianzas .card-content {
  height: 100%;
  display: flex;
  align-items: center;
}

.alianzas-card p {
  height: 100;
  margin: 0rem;
  padding: 0rem;
}

/*====Animación de aparición desde abajo====*/
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUp 0.8s ease-out forwards;
}

.fade-down {
  opacity: 0;
  transition: all 0.8s ease;
  transform: translateY(-40px);
}

.fade-down.show {
  opacity: 1;
  transform: translate(0, 0);
}

.nosotros-header {
  background: var(--secundary-color);
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  padding-bottom: 20px;
  width: 100%;
}

.fade-left,
.fade-right {
  opacity: 0;
  transition: all 1s ease-out;
}

.fade-left {
  transform: translateX(-80px);
}

.fade-right {
  transform: translateX(80px);
}

.fade-left.show,
.fade-right.show {
  opacity: 1;
  transform: translateX(0);
}


:root {
  --secundary-color: #219EBC;
  --text-slate-600: #475569;
  --primary-white: #ffffff;
  --secondary-slate-100: #f1f5f9;
  --tertiary-slate-200: #e2e8f0;
  --text-dark-blue: #073b57;
  --custom-orange: #fb8500;
  --custom-orange-transparent: rgba(251, 133, 0, 0.7);
  --slate-300: #cbd5e1;
}

.client-testimonials-section {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 1rem 1rem 1rem;
  background: white;
  overflow: hidden;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 2rem;
}

.section-tagline {
  color: var(--secundary-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}

.section-title {
  font-size: 2.25rem;
  /* 36px */
  line-height: 2.5rem;
  font-weight: 800;
  margin-top: 0.5rem;
  color: var(--primary-black);
}

.section-description {
  color: var(--text-gris);
  margin-top: 1rem;
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.client-carousel-wrapper {
  max-width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
  margin-bottom: 60px;
}

.client-carousel-container {
  width: 100%;
  
}

.client-carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  max-width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
  overflow: visible;
}

.client-carousel-track:hover {
  animation-play-state: paused !important;
}

.client-carousel-track:hover {
  animation-play-state: paused !important;
}

.client-carousel-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(2.1);
  z-index: 20;
}

.client-carousel-track img {
  height: 100px;
  width: auto;
  margin: 0 40px;
  opacity: 0.6;
  transition: all 0.3s ease;
  position: relative;
  z-index: 10;
  will-change: transform;
}


/* =================== (max-width: 1024px) =================== */
/* home-mobile.css: Estilos responsivos para móvil (max-width: 1024px) */

@media (max-width: 1024px) {

  /* Navbar transparente */
  .navbar {
    background-color: transparent !important;
    box-shadow: none;
  }

  .contadores-hero {
    background-position: center calc(100% + 10px);
  }

  /* Ajustes alto hero */
  .hero {
    height: 90vh;
    min-height: 600px;
    margin-bottom: 10rem;
  }

  /* Hero: centrar gif y texto debajo */
  .hero-container {
    flex-direction: column;
    padding-top: 6rem;
    align-items: center;
  }

  .hero-image {
    padding: 0;
    text-align: center;
    order: 1;
    transform: translateY(80px);
  }

  .hero-image img {
    margin: 0 auto;
    display: block;
    max-width: 100vw;
    min-width: 400px;
  }

  .hero-text {
    padding: 2rem 1rem 1rem 1rem;
    text-align: center;
    order: 2;
  }

  .hero-tutors-intant {
    justify-content: center;
    padding: 0;
  }

  /* Buscador*/
  .search-box {
    display: flex;
    max-width: 70vw;
    margin: 0 auto;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
  }

  /* Contadores en fila de dos */
  .info-container {
    margin-top: auto;
  }

  .counters {
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    padding-bottom: 2%;
  }

  .counter-box {
    width: 45%;
    min-width: 180px;
    margin-bottom: 1.5rem;
  }

  .box-sky {
    display: none;
  }

  /* Tutores: 2 cards por fila en tablet */
  .tutors {
    flex-wrap: wrap;
    flex-direction: row;
    gap: 1rem;
    padding: 2rem 0.5rem;
    justify-content: center;
    align-items: stretch;
  }

  .tutor-card {
    flex: 1 1 45%;
    max-width: 48vw;
    min-width: 220px;
    margin: 0 8px 1.2rem 8px;
  }

  .tutors-container {
    padding: 2rem 0.5rem;
    background: var(--panel-background);
  }

  /* Guía paso a paso: cards ocupan ancho */
  .steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 1.2rem;
    padding: 1rem 0 1rem 19rem;
  }

  .steps-card,
  .go {
    min-width: 220px;
    max-width: 90vw;
    width: 90vw;
    margin: 0 auto;
    scroll-snap-align: start;
  }

  /* Busca tutorías: imagen debajo del texto */
  .tutorias {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 2rem 0.5rem;
    height: auto;
  }

  .tutores-text {
    padding: 1rem 0.5rem;
    align-items: flex-start;
    text-align: start;

  }

  .img-container-3D {
    width: 340px;
  }

  .box-3D {
    height: 300px;
    width: 400px;
    position: absolute;
    top: 50%;
    left: 60%;
    transform: translate(-50%, -50%) rotateY(-10deg);
    opacity: 0.9;
  }

  .tutores-img {
    order: 2;
    width: 100%;
    text-align: center;
  }

  .tutores-img img {
    max-width: 95vw;
    margin: 0 auto;
  }

  /* Alianzas: carrusel */
  .steps-alianzas {
    flex-direction: row;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1.5rem 0.5rem;
  }

  .alianzas-card {
    min-width: 220px;
    max-width: 350px;
    margin: 0 auto;
  }

  .alianzas-card img {
    width: 100%;
    max-width: 350px;
    height: auto;
  }

  /* Footer reducido */
  footer .footer-about .box:not(:nth-child(1)):not(:nth-child(4)) {
    display: none;
  }

  .footer-container {
    padding: 1rem 0.5rem;
    flex-direction: row;
    justify-items: center;
  }

  .container-info {
    flex-direction: row;
    align-items: center;
    padding: 2rem 0 0 0;
  }

  .footer-info img {
    width: 180px;
  }

  .container-redes {
    justify-content: center;
    padding-right: 0;
    gap: 20px;
  }

  .tugo-carousel {
    padding: 2rem;
    min-height: auto;
  }

  .tugo-container {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 2rem;
  }

  .text-zone {
    max-width: 100%;
  }

  .mascot-panel {
    max-width: 500px;
  }

  .visual-section {
    padding: 12.6rem 3rem 11rem 3rem;
    min-height: 370px;
  }

  .visual-section img.visual-phone {
    right: 16%;
    width: 785px;
    max-width: 80%;
    transform: translateY(-15%) translateX(4%);
  }

  .visual-wrapper {
    max-height: 60vh;
  }

  .whats-new-card {
    transform: translateY(15%);
  }
}

/* =================== (max-width: 820px) =================== */
/* home-mobile.css: Estilos responsivos para móvil (max-width: 820px) */

@media (max-width: 820px) {
  .contadores-hero {
    background: var(--bg-gradient2)
  }

  /*hero*/
  .hero {
    height: 70%;
    margin: auto;
  }

  .hero-tutors-intant {
    justify-content: center;
    padding-left: 0;
  }

  /* contadores */
  .info-container {
    margin-top: auto;
  }

  /*visual phone*/
  .visual-section {
    padding: 10rem 3rem 5rem 3rem;
  }

  .visual-wrapper {
    margin-bottom: 100px;
    height: 28vh;
  }

  .whats-new-card {
    transform: translateY(-40px);
  }

  /* Contenedor principal */
  .tutorias {
    flex-direction: column;
    height: auto;
    padding: 2rem 1rem;
    gap: 3rem;
  }

  /* Texto */
  .tutores-text {
    align-items: center;
    text-align: center;
    padding: 1rem;
    gap: 1rem;
  }

  .tutores-text h1 {
    font-size: 1.9rem;
    max-width: 100%;
  }

  .tutores-text p {
    font-size: 0.95rem;
    max-width: 100%;
  }

  .tutores-list {
    margin-left: 0;
    text-align: left;
  }

  /* Botón */
  .button-comienza {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  /* Imagen / Carrusel */
  .carousel-3D {
    justify-content: center;
    width: 100%;
    flex: none;
  }

  .img-container-3D {
    width: 280px;
    height: 200px;
    perspective: 300px;
  }

  .box-3D {
    width: 300px;
    height: 180px;
    border-radius: 20px;
  }

  /* Ajustes de profundidad para 820px */
  .box-3D:first-of-type {
    left: 45%;
    opacity: 0;
    transform: translate(-50%, -50%) rotateY(-8deg);
  }

  .box-3D:nth-of-type(2) {
    left: 50%;
    opacity: 1;
  }

  .box-3D:nth-of-type(3) {
    left: 55%;
    opacity: 0.8;
    transform: translate(-50%, -50%) rotateY(-8deg) translateZ(-30px);
  }

  .box-3D:nth-of-type(4) {
    left: 60%;
    opacity: 0.5;
    transform: translate(-50%, -50%) rotateY(-8deg) translateZ(-60px);
  }

  .box-3D:nth-of-type(5) {
    left: 65%;
    opacity: 0.2;
    transform: translate(-50%, -50%) rotateY(-8deg) translateZ(-90px);
  }

  /* Guía paso a paso: cards ocupan ancho */
  .steps {
    flex-direction: row;
    overflow-x: auto;
    gap: 1.2rem;
    padding: 1rem 0 1rem 30rem;
  }

  .buscar-tutor-section {
    min-height: 60vh;
    max-height: auto;
  }
}

/* =================== (max-width: 767px) =================== */
/* home-mobile.css: Estilos responsivos para móvil (max-width: 767px) */

@media (max-width: 768px) {

  /* Navbar transparente */
  .navbar {
    background-color: transparent !important;
    box-shadow: none;
    height: 60px;
    border-radius: 0;
    padding: 0.5rem 0.5rem;
  }

  .nav-i {
    width: 100px;
  }

  .contadores-hero {
    background: var(--bg-gradient2)
  }

  .grid-app {
    grid-template-columns: 1fr;
  }

  /* Hero: centrar gif y texto debajo */
  .hero {
    height: 40vh;
    min-height: 100vh;
    padding-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-container {
    flex-direction: column;
    padding-top: 2rem;
    height: auto;

  }


  .hero-container img {
    margin: 0 auto;
    display: block;
    max-width: 60vw;
    min-width: 150px;
    padding: 3rem 0rem 0rem 0rem;
  }

  .hero-text {
    text-align: center;
    flex-direction: column;
    order: 2;
    line-height: 2rem;
    gap: 1px;
    padding-top: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -30px;
  }

  .hero-tutors-intant {
    justify-content: center;
    padding-left: 0;
  }

  .hero-subtext {
    display: block;
  }

  .mobile {
    display: block;
  }

  .hero-title-arriba {
    font-size: 1.5em !important;
    /* sube 10px */
  }

  .hero-title-abajo {
    font-size: 2.2em !important;
    padding-bottom: 10px;
    /* sube 15px */
  }

  .hero-subtext {
    font-size: 1em !important;
    padding: 0.8rem 0rem 0.8rem 0rem;
    margin: 0rem;
  }

  .search-box {
    display: flex;
    max-width: 75vw;
    margin: 0 auto;
  }

  .hero-buttons {
    display: flex;
    justify-content: center;
    margin: 0;
    gap: 0.3rem;
  }

  .hero-buttons button {
    padding: 0;
    display: flex;
    flex-flow: column wrap;
    width: 100px;
    gap: 10px;
    padding: 1rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.185);
    border: none;
  }

  .hero-buttons button i {
    display: flex;
    margin: 0 auto;
    font-size: 20px;
    padding: 0;
    justify-content: center;
  }

  .counters {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.1rem;
    padding: 1.5rem 0.9rem;
  }

  .counter-box {
    width: 48%;
    min-width: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1px;
  }

  .counter-number {
    font-size: 3em;
    font-weight: var(--font-extrabold);
  }

  .counter-box .text-dark {
    text-align: center;
    margin: 0rem;
    line-height: 18px;
  }

  .box-sky {
    display: none;
  }

  .potencial-container {
    align-items: center;
    padding: 3rem 2rem;
  }

  .potencial-container h1 {
    line-height: 40px;
  }

  .potencial-container p {
    text-align: center;
    padding: 1rem;
  }

  .numero-paso {
    justify-content: center;
    align-items: center;
    height: 60px !important;
    width: 100px;
  }

  .steps {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }

  .steps-card,
  .go {
    min-width: 150px;
    max-width: 70vw;
    width: 98vw;
    padding: 1rem;
    margin: 0 auto;
  }

  .steps-card img,
  .go img {
    width: 100%;
    max-width: 300px;
    min-height: 120px;
    height: 200px;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
  }

  .steps-card button,
  .go button {

    font-size: 1.125rem;
    font-weight: bold;
    padding: 0.75rem 2rem;

    background-color: var(--terciary-color2);
    border-radius: 9999px;
    border: none;
    color: white;
    box-sizing: border-box;
    margin-top: auto;
    transition: opacity 0.3s ease;
    display: inline-block;


  }

  .steps-card p {
    height: 100%;
    padding: 0rem 1rem;
    margin: 0rem;
  }

  .go p {
    height: 100%;
    padding: 0rem 1rem;
  }

  .go .numero-paso i {
    font-size: 2rem;
  }

  .tutorias-container {
    padding: 0rem;
  }

  .tutorias {
    flex-direction: column-reverse;
    text-align: center;
    display: block;
  }

  .tutores-text {
    align-items: center;
    padding: 1rem;
  }

  .tutores-text h1,
  .tutores-text p {
    text-align: center;
  }

  .tutores-list {
    margin-left: 0;
    padding: 0;
    list-style-position: inside;
  }

  .button-comienza {
    width: 100%;
    max-width: 250px;
  }

  .tutores-img {
    padding: 0;
  }

  .carousel-3D {
    align-items: center;
    justify-content: center;
    padding: 1rem 10rem;
    overflow: hidden;
  }

  .img-container-3D {
    justify-content: center;
    width: 310px;
    height: 210px;
    perspective: 310px;
  }

  .box-3D {
    width: 290px;
    height: 190px;
    border-radius: 25px;
    justify-content: center;
  }

  .alianzas h1 {
    font-size: 1.5rem;
  }

  .alianzas p {
    font-size: 0.95rem;
    padding: 0 1rem;
  }

  .steps-alianzas {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0;
    scroll-padding: 0 1rem;
  }

  .steps-alianzas a {
    flex-shrink: 0;
  }

  .alianzas-card {
    width: 80vw;
    margin: 0 2.5vw;
    height: 260px;
    scroll-snap-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
  }

  .alianzas-card img {
    width: 100%;
    height: 180px;
    display: block;
  }

  .alianzas-card .centro {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  .alianzas-card .centro p {
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
  }

  .steps-alianzas::-webkit-scrollbar {
    display: none;
  }

  .steps-alianzas {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .alianzas .card-content {
    height: 100%;
  }

  .alianzas-card p {
    margin-bottom: 0rem;
    display: flex;
    align-items: center;
  }

  .section-app {
    padding: 0rem 0rem;
    margin: 0rem 0rem;
  }

  .grid-app .text-app p {
    margin-bottom: 0rem;
  }

  .carousel-container {
    width: 100%;
    margin: 20px auto;
    padding: 0 10px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-track {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding-top: 1rem;
  }

  .carousel-track::-webkit-scrollbar {
    display: none;
  }

  .tutor-card,
  .card-buscarmas {
    flex: 0 0 calc(90% - 10px) !important;
  }

  .tutor-card {
    width: 300px;
    max-width: 600px;
    margin-bottom: 0rem;
  }

  .container-info {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .parent>div::after {
    top: 50%;
  }

  #carousel-nativo {
    padding: 0 !important;
    margin: 20px 0 !important;
  }

  #carousel-nativo .carousel-btn {
    display: none !important;
  }

  #carousel-nativo .carousel-track {
    padding: 0 20px !important;
    gap: 15px !important;
  }

  #carousel-nativo .tutor-card {
    width: 85vw !important;
    flex: 0 0 85vw !important;
    height: 480px !important;
  }

  #carousel-nativo .tutor-card-content {
    background: linear-gradient(to top, rgba(3, 20, 30, 1) 15%, rgba(3, 20, 30, 0.9) 60%, rgba(3, 20, 30, 0) 100%) !important;
    padding-bottom: 35px !important;
    align-items: flex-start !important;
  }

  #carousel-nativo .tutor-cargo {
    display: block !important;
    opacity: 1 !important;
    margin-bottom: 10px !important;
    white-space: nowrap !important;
  }

  #carousel-nativo .tutor-card-content-vermas {
    opacity: 1 !important;
    pointer-events: auto !important;
    background: rgba(3, 20, 30, 0.8) !important;
    align-items: center !important;
  }

  .tugo-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 1.5rem;
  }

  .text-zone {
    align-items: center;
    min-height: 100px;
  }

  .intro-text {
    font-size: clamp(14px, 3vw, 18px);
  }

  .animated-word {
    font-size: clamp(22px, 7vw, 32px);
  }

  .mascot-panel {
    max-width: 400px;
    aspect-ratio: 1 / 1;
  }

  .visual-section {
    padding: 1rem 2rem;
    min-height: 300px;
  }

  .visual-section img.visual-phone {
    right: 50%;
    left: auto;
    transform: translate(50%, -40%);
    bottom: 8%;
    width: 560px;
    max-width: 80%;
    z-index: 25;
    opacity: 0.95;
  }

  .counters>.box-sky:nth-child(4) {
    display: none;
  }
}

/* =================== (min-width: 1500px) =================== */
/* home-mobile.css: Estilos responsivos para móvil (min-width: 1500px)  */

@media (min-width: 1500px) {
  .hero-container {
    padding: 6rem 4rem;
    justify-content: center;
    gap: 2rem;
    justify-items: center;
  }

  .hero-text {
    padding: 6rem 0 0 0;
    max-width: 900px;
  }

  .hero-title-arriba {
    font-size: 4em !important;
  }

  .hero-title-abajo {
    font-size: 6em !important;
  }

  .hero-subtext {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    line-height: 30px;
    justify-content: start;
  }

  .hero-buttons {
    gap: 1.5rem;
  }

  .hero-container img {
    max-width: 600px;
    padding-right: 0.1rem;
  }

  .visual-section {
    padding-top: 4rem;
    margin-bottom: 2rem;
  }

  .visual-section img.visual-phone {
    right: 27%;
    bottom: 10%;
    width: 950px;
  }

  .visual-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1300px;
    padding: 2rem;
    border-radius: 16px;
    background: var(--bg-gradient2);
    height: 500px;
  }

  .whats-new-card {
    top: 63%;
    left: 38.5%;
  }

  .mascot-panel {
    max-width: 800px;
    aspect-ratio: 6 / 5;
  }

  .profile-card {
    min-width: 280px !important;
  }

  .parent {
    padding: 2rem 15rem !important;
  }

  .filtro-content h3 {
    font-size: 2.3rem;
  }
}


/* =================== (min-width: 2000px)  =================== */
/* home-mobile.css: Estilos responsivos para móvil (min-width: 2000px) */

@media (min-width: 2000px) {
  .hero {
    align-content: center;
  }

  .hero-container {
    padding: 8rem 8rem;
    justify-content: center;
    justify-items: center;
  }

  .hero-text {
    padding: 4rem 0 4rem 0;
    max-width: 1000px;
  }

  .hero-title-arriba {
    font-size: 5em !important;
  }

  .hero-title-abajo {
    font-size: 6em !important;
  }

  .hero-subtext {
    font-size: 1.8rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
  }

  .hero-buttons {
    gap: 2rem;
  }

  .hero-container img {
    max-width: 800px;
    /* imagen más grande */
    padding-right: 4rem;

  }

  .buscar-tutor-section {
    min-height: 10vh !important;
    max-height: auto;
  }
}

/* =================== (max-width: 576px)  =================== */
/* home-mobile.css: Estilos responsivos para móvil (max-width: 576px)  */

@media (max-width: 576px) {
  .visual-section {
    display: none;
  }

  .hero-subtext-movil {
    display: block !important;
    text-align: center;
    color: #e0f7fa;
    line-height: 130%;
    padding: 0.2rem 1rem 1rem 1rem;
  }

  .buscar-tutor-section p {
    display: block !important;
  }

  .tutores-text-encima {
    display: block !important;
  }

  .container-info {
    flex-direction: column;
    align-items: center;
    padding: 1rem 0 0 0;
  }

  .info-text p {
    display: block !important;
  }

  .buscar-tutor-section {
    border-radius: 3rem;
    padding: 5rem 2rem;
    height: auto;
    margin: 0rem 1rem;
    background: var(--bg-gradient3);

    /* background-color: var(--primary-color);
    background-image: url('/images/home/Elipse.webp');
    background-repeat: no-repeat;
    background-position: center calc(100% + 0px);
    background-size: 100% auto; */
  }

  .header-main__title {
    padding: 0 1rem 0 1rem;
  }

  .header-main__subtitle {
    display: block;
  }

  .tutors-container p {
    display: block !important;
  }

  .steps-card,
  .go {
    max-width: 305px;
  }

  .steps-card p {
    display: block !important;
  }

  p {
    display: none !important;
  }

  .parent {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto;
    gap: 12px;
    padding: 1rem;
  }

  .parent>.div1,
  .parent>.div2,
  .parent>.div3,
  .parent>.div4,
  .parent>.div5,
  .parent>.div6 {
    grid-column: auto;
    grid-row: auto;
  }

  .parent>div {
    padding: 0.6rem;
    border-radius: 1rem;
  }

  .filtro-content h3 {
    font-size: 1rem;
  }

  .filtro-content p {
    font-size: .75rem;
  }
}

/* =================== (max-width: 480px) =================== */
/* home-mobile.css: Estilos responsivos para móvil (max-width: 480px) */

@media (max-width: 480px) {

  .hero-image {
    transform: translateY(15px);
  }

  .hero-text {
    margin-bottom: 2rem;
  }

  .tugo-carousel {
    padding: 1rem;
    min-height: auto;
  }

  .tugo-container {
    padding: 1rem;
    gap: 1rem;
  }

  .mascot-panel {
    max-width: 320px;
  }

  .info-container {
    margin-top: 5rem;
  }

  .animated-word {
    font-size: clamp(20px, 8vw, 28px);
  }

  .buscar-tutor-section {
    background-position: center bottom;
    background-size: 0% auto;
    padding: 4rem 0 1rem 0;
  }

  .buscar-tutor-wrapper {
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
  }

  .hero-tutors-intant {
    padding: 0;
    justify-content: center;
    font-size: 1rem;
    margin-top: 2rem;
  }

}

/* =================== (max-width: 1200px) =================== */
/* home-mobile.css: Estilos responsivos para móvil (max-width: 1200px)  */

@media (max-width: 1200px) {

  .tutors-carousel-viewport,
  .tutors {
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
  }

  .tutor-card {
    min-width: 300px;
    max-width: 300px;
    flex: 0 0 300px;
  }
}