/* NUEVO CSS RESENNAS v1
--------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  line-height: 1.6;
  color: #000000;
  min-height: 100vh;
  position: relative;
  padding-top: 19vh; /* 10% de la altura de la pantalla */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="mesh" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M0 30h60M30 0v60" stroke="%23000000" stroke-width="0.5" opacity="0.02"/></pattern></defs><rect width="60" height="60" fill="url(%23mesh)"/></svg>')
    repeat;
  pointer-events: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.header {
  text-align: center;
  margin-bottom: 65px;
  position: relative;
}
.header::after {
  content: "";
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 3px;
  background: linear-gradient(90deg, #404040, #000000, #404040);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}
h1 {
  font-size: 4rem;
  color: #000000;
  margin-bottom: 15px;
  font-weight: 600;
  letter-spacing: 3px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.subtitle {
  font-size: 1.6rem;
  color: #2a2a2a;
  font-weight: 300;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}
.hero-section {
  background: rgba(255, 255, 255, 0.95);
  padding: 60px;
  border-radius: 24px;
  margin-bottom: 55px;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero-section::before {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -25%;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
  border-radius: 50%;
  animation: float-gentle 22s ease-in-out infinite;
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-title {
  font-size: 2.7rem;
  color: #000000;
  margin-bottom: 25px;
  font-weight: 500;
  line-height: 1.3;
}
.hero-text {
  font-size: 1.3rem;
  color: #1a1a1a;
  line-height: 1.8;
  max-width: 850px;
  margin: 0 auto;
}
.testimonials-api-section {
  background: rgba(255, 255, 255, 0.9);
  padding: 55px;
  border-radius: 22px;
  margin-bottom: 55px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.testimonials-title {
  font-size: 2.4rem;
  color: #000000;
  text-align: center;
  margin-bottom: 45px;
  font-weight: 500;
  position: relative;
}
.testimonials-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background: #000000;
}
#testimonials-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
}
.loading-state {
  text-align: center;
  padding: 60px 20px;
  color: #666666;
  font-size: 1.2rem;
}
.empty-state p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}
.final-section h2 {
  font-size: 2.8rem;
  margin-bottom: 25px;
  font-weight: 400;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}
.final-section p {
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}
@keyframes float-gentle {
  0%,
  100% {
    transform: translateY(0px) scale(1);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-20px) scale(1.08);
    opacity: 0.2;
  }
}
@keyframes stars-twinkle {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-18px) rotate(180deg);
    opacity: 0.2;
  }
}
@keyframes hex-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 768px) {
  .container {
    /* padding: 35px 15px; */
  }
  h1 {
    font-size: 2.8rem;
    letter-spacing: 1px;
  }
  .subtitle {
    font-size: 1.3rem;
  }
  #testimonials-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .hero-section {
    padding: 40px;
  }
  .testimonials-api-section {
    padding: 40px;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }
  h1 {
    font-size: 2.8rem;
    letter-spacing: 2px;
  }
  .hero-text {
    line-height: 1.5;
  }
}

/* NUEVO CSS RESENNAS v2
--------------------------- */

.review-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.review-image {
  width: 50%; /* La imagen ocupa el 50% del ancho del contenedor */
  height: auto; /* Mantiene la proporciÃ³n de la imagen */
  display: block; /* Hace que la imagen sea un bloque para poder centrarla */
  margin-left: auto; /* Centra la imagen horizontalmente */
  margin-right: auto; /* Centra la imagen horizontalmente */
}

.review-text {
  flex: 1;
  text-align: center;
}

.review-item .container {
  width: 50%;
}

.review-text h3 {
  margin: 0 0 10px;
  font-size: 3.5em;
  font-weight: 600;
}

.review-text p {
  font-size: 1.2em;
  margin-bottom: 15px;
  color: #555;
}

/* Para pantallas con ancho mÃ¡ximo de 596px */
@media (max-width: 596px) {
  .slider-container {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
    padding: 50px;
    height: auto;
    max-height: 490px;
  }
}

/* Para pantallas con ancho mÃ­nimo de 597px y mÃ¡ximo de 600px */
@media (min-width: 597px) and (max-width: 600px) {
  .slider-container {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
    padding: 50px;
    height: auto;
    max-height: 450px;
  }
}

/* Para pantallas con ancho mÃ­nimo de 601px y mÃ¡ximo de 661px */
@media (min-width: 601px) and (max-width: 661px) {
  .slider-container {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
    padding: 45px !important;
    height: auto;
    max-height: 390px;
  }
}

/* Para pantallas con ancho mÃ­nimo de 662px y mÃ¡ximo de 1052px */
@media (min-width: 662px) and (max-width: 1052px) {
  .slider-container {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
    padding: 50px;
    height: auto;
    max-height: 550px;
  }
}

/* Para pantallas con ancho mÃ­nimo de 1053px */
@media (min-width: 1053px) {
  .slider-container {
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    background-color: #f9f9f9;
    position: relative;
    padding: 50px;
    height: auto;
    max-height: 590px;
  }
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 20px 50px;
  text-align: center;
}

.slide h3 {
  font-size: 1.5em;
  color: #555;
  margin-top: 20px;
}

.quote {
  font-style: italic; 
  font-size: 1.2em; 
  color: #555; 
  margin: 20px 0;
  quotes: "â€œ" "â€" "â€˜" "â€™"; 
}

/* Responsividad para pantallas medianas (3 tarjetas visibles)
-------------------------------------------------------------- */
@media (max-width: 1024px) {
  .team-card {
    flex: 0 0 50%; /* Mostrar 3 tarjetas en pantallas medianas */
  }
}

@media (max-width: 480px) {
  .review-image {
    width: 90%; /* Para pantallas muy pequeÃ±as, la imagen ocuparÃ¡ el 90% del ancho */
  }
}

/* DisminuciÃ³n de fuentes en los nums JavaScript de "Lideres En Ventas" 
para resoluciones entre 993px y 1024 (si lo quitas se pisan)
--------------------------------------------------------------------*/
@media (min-width: 993px) and (max-width: 1200px) {
  .counters.counters-text-light .counter [class*="fa-"],
  .counters.counters-text-light .counter .icons,
  .counters.counters-text-light .counter strong,
  .counters.counters-text-light .counter label {
    /*color: #000 !important;*/
    font-size: 1.5rem;
  }
}
