/* === SECCIÓN SOBRE NOSOTROS === */
.sobre-section {
  background-color: #000;
  color: #FFFFFF;
  padding: 4rem 1.5rem 2rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.sobre-container {
  max-width: 850px;
  margin: 0 auto;
}

.sobre-titulo {
  font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: #7C77FF;
  margin-bottom: 1.5rem;
}

.sobre-intro {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
  color: #7C77FF;
}

.sobre-texto {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 1rem;
}

/* === SECCIÓN EQUIPO === */
.equipo-section {
  background-color: #000;
  padding: 3rem 1.5rem 5rem;
  color: #000;
}

.equipo-title {
  text-align: center;
  color: #7C77FF;
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  margin-bottom: 2rem;
}

.equipo-carrusel {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tarjeta-equipo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background-color: #F9F9FF;
  border: 2px solid #7C77FF;
  border-radius: 1rem;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta-equipo:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(124, 119, 255, 0.3);
}

.equipo-foto {
  width: 80%;
  max-width: 320px;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  border: 2px solid #B2F432;
}

.equipo-info {
  padding: 0 1rem;
}

.equipo-nombre {
  font-weight: 700;
  font-size: 1.2rem;
  color: #7C77FF;
}

.equipo-rol {
  font-weight: 500;
  color: #555;
  margin: 0.3rem 0 0.8rem;
}

.equipo-descripcion {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

/* === RESPONSIVE === */
@media (min-width: 768px) {
  .equipo-carrusel {
    flex-direction: row;
    justify-content: center;
    gap: 3rem;
  }

  .tarjeta-equipo {
    flex: 1 1 30%;
    max-width: 320px;
  }

  .equipo-foto {
    width: 100%;
  }

  .sobre-container {
    text-align: left;
  }
}

/* === SECCIÓN INTERACTIVA FAKE O REAL === */
.fake-real-section {
  background-color: #FFFFFF;
  color: #000;
  padding: 4rem 1.5rem 5rem;
  text-align: center;
  font-family: "Montserrat", sans-serif;
}

.fake-real-title {
  color: #7C77FF;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.fake-real-sub {
  color: #555;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.fake-real-cards {
  display: grid;
  gap: 1.5rem;
  justify-content: center;
}

.card {
  width: 90%;
  max-width: 320px;
  height: 180px;
  perspective: 1000px;
  margin: 0 auto;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  border: 2px solid #7C77FF;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
  font-weight: 500;
  line-height: 1.5;
}

.card-front {
  background-color: #F9F9FF;
  color: #333;
}

.card-back {
  background-color: #7C77FF;
  color: #FFFFFF;
  transform: rotateY(180deg);
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .fake-real-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* === CARRUSEL NARRATIVO SOBRE NOSOTROS === */
.sobre-carrusel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 1rem;
  padding: 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.slide {
  flex: 0 0 85%;
  scroll-snap-align: center;
  background: #FFFFFF;
  border: 2px solid #B2F432;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  color: #000;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.slide h2 {
  color: #7C77FF;
  font-weight: 600;
  font-size: clamp(1.3rem, 5vw, 2rem);
  margin-bottom: 0.8rem;
  white-space: nowrap;
}

.slide h2 span {
  color: #000;
}

.slide p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}

.slide:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(124, 119, 255, 0.4);
}

/* Scrollbar personalizado */
.sobre-carrusel::-webkit-scrollbar {
  height: 6px;
}
.sobre-carrusel::-webkit-scrollbar-thumb {
  background: #7C77FF;
  border-radius: 3px;
}

/* Desktop */
@media (min-width: 768px) {
  .sobre-carrusel {
    justify-content: center;
    overflow-x: visible;
  }

  .slide {
    flex: 0 0 250px;
    text-align: left;
  }
}
