/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #333;
  overflow-x: hidden;
}

/* HERO */
.hero {
  padding-top: 3rem;
  padding-bottom: 3rem;
  background-color: #fff;
}

/* HERO */
.hero {
  background-color: #fff;
  padding: 6rem 2rem 4rem 2rem;
}
.hero-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 3rem;
  flex-wrap: wrap;
}

/* TEXTO */
.hero-text {
  flex: 1 1 550px;
}
.hero-text h1 {
  font-size: 3rem;
  font-weight: 900;
  color: #1e1e1e;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-text h1 span {
  color: #2c88c5;
}
.hero-text p {
  font-size: 1.2rem;
  color: #444;
  line-height: 1.7;
}

/* IMÁGENES */
.hero-images {
  flex: 1 1 550px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-main-img {
  width: 100%;
  max-width: 460px;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}
.hero-bg-img {
  position: absolute;
  width: 90%;
  max-width: 400px;
  top: 30px;
  left: -30px;
  opacity: 0.9;
  z-index: 1;
  transform: rotate(-4deg);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.4rem;
  }
  .hero-text p {
    font-size: 1.05rem;
  }
  .hero-main-img,
  .hero-bg-img {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2rem;
  }
  .hero-text p {
    font-size: 1rem;
  }
}


/* BLOQUE PRODUCTOS */
.bloque-productos {
  background-color: #f4f6f9;
  padding: 5rem 2rem;
}
.bloque-productos-header {
  text-align: center;
  margin-bottom: 4rem;
}
.bloque-productos-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 1rem;
}
.bloque-productos-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* CONTENEDOR TARJETAS */
.tarjetas-producto {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 1024px) {
  .tarjetas-producto {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tarjetas-producto {
    grid-template-columns: 1fr;
  }
}

/* TARJETA */
.tarjeta {
  background-color: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 620px; /* Misma altura para todas */
}

.tarjeta:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.tarjeta-titulo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e1e1e;
  margin-bottom: 1rem;
  text-align: center;
}

.tarjeta-descripcion {
  font-size: 1rem;
  color: #555;
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  min-height: 72px;
}

/* LISTA */
.tarjeta-lista {
  list-style: none;
  padding-left: 0;
  margin-bottom: auto;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tarjeta-lista li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  color: #333;
}

/* BOTÓN */
.tarjeta-boton {
  align-self: center;
  margin-top: 2rem;
  background-color: #2c88c5;
  color: white;
  padding: 0.8rem 1.6rem;
  font-weight: 600;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.tarjeta-boton:hover {
  background-color: #226fa0;
}

/* SECCIÓN REDUCIDA: WEBS PERSONALIZADAS */
.web-experiencia {
  background-color: #fdfdfd;
  padding: 3rem 1rem;
}
.web-experiencia-contenedor {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.web-experiencia h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 1rem;
}
.web-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 2rem;
}

/* CARRUSEL REDUCIDO */
.carousel-small-wrapper {
  overflow: hidden;
  position: relative;
}
.carousel-small-track {
  display: flex;
  gap: 1.5rem;
  animation: scrollSmall 12s linear infinite;
}
.carousel-small-item {
  min-width: 280px;
  max-width: 280px;
  background: #fff;
  border-radius: 0.8rem;
  overflow: hidden;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.carousel-small-item img {
  width: 100%;
  height: auto;
  display: block;
}
.carousel-small-item span {
  display: block;
  padding: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #2c88c5;
  background-color: #f4f6f9;
}

/* ANIMACIÓN MÁS RÁPIDA Y CONTROLADA */
@keyframes scrollSmall {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* SECCIÓN DE CONFIANZA Y EXPERIENCIA */
.confianza-empresarial {
  background: #f4f6f9;
  padding: 5rem 2rem;
}
.confianza-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.confianza-texto h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 1.5rem;
}
.confianza-texto p {
  font-size: 1rem;
  color: #444;
  max-width: 800px;
  margin: 0 auto 1.2rem auto;
  line-height: 1.6;
}

.confianza-logos {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.confianza-logos img {
  height: 60px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}
.confianza-logos img:hover {
  filter: none;
  opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .confianza-texto h2 {
    font-size: 1.6rem;
  }
  .confianza-logos img {
    height: 50px;
    max-width: 100px;
  }
}


.video-web-profesional {
  background-color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}
.video-web-profesional h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1e1e1e;
  margin-bottom: 1rem;
}
.video-web-profesional p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.video-wrapper video {
  width: 100%;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
