/* Contenedor principal del hero */
.hero-productos {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background-color: var(--color-white);
  width: 100%;
  text-align: center;
  font-size: var(--font-size-24);
  color: var(--color-gray-200);
  font-family: var(--font-montserrat);
}
/* Banner adaptable */
.hero-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
  overflow: hidden;
  min-height: clamp(260px, 45vh, 600px);
  border-radius: 0;
}

.hero-banner img {
  position: absolute;
  inset: 0;                        
  width: 100%;
  height: 100%;
  object-fit: cover;              
  object-position: center;
}

/* Textos del hero */

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-text h1{
  padding: 0.5rem 2.5rem;
  font-weight: 700;
}

.hero-text h1,
.hero-text h2,
.hero-text h3 {
  text-transform: uppercase;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  font-size: var(--font-size-24);
}
.linea-decorativa {
  margin: 0.5rem auto 1.5rem; /* Espaciado vertical */
  width: 80%;                /* Se adapta al contenedor */
  max-width: 500px;          /* Tope de ancho */
  height: 4px;
  border-top: 2px solid var(--color-yellowgreen-100);
  box-sizing: border-box;
}
.hero-text .intro {
  font-size: var(--font-size-14);
  font-weight: 500;
  max-width: 375px;
  margin-top: 0.5rem;
  margin-bottom: 1rem;
}
.asesoria-boton {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--color-orange);
  border: none;
  border-radius: 17px;
  width: 90%;         /* Responsive: se adapta al contenedor */
  max-width: 320px;   /* Límite en desktop */
  height: 45px;
  margin: 2rem auto;
  cursor: pointer;
  text-decoration: none !important;
  outline: none !important;
  transition: background-color 0.3s ease;
}

.asesoria-boton a{
  text-decoration: none !important;
  color: var(--color-white);
}

.asesoria-boton:hover {
  background-color: #d87f02;
  color: white;
}

.solicita-asesora-gratis {
  font-size: 18px;
  font-family: var(--font-montserrat);
  font-weight: 600;
  color: var(--color-white);
  text-align: center;
  text-decoration: none !important;
  line-height: 1.2;
}

/* Ajustes en desktop */
@media (min-width: 992px) {
  .hero-banner {
    min-height: clamp(420px, 55vh, 640px);
  }
  .hero-productos {
    padding: 0;
  }
  .hero-text {
    align-items: center;
    text-align: center;
  }
  .hero-text h1 {
    font-size: 42px;
  }

  .hero-text h2 {
    font-size: 28px;
  }

  .hero-text h3 {
    font-size: 24px;
  }

  .hero-text .intro {
    font-size: 18px;
    max-width: 680px;
    margin-top: 0.8rem;
  }
}
/* Ajustes Mobile */
@media (max-width: 600px) {
  .hero-banner {
    min-height: unset;       
    aspect-ratio: 16 / 9;        
  }

  .hero-banner img {
    object-fit: cover;           
    object-position: center 30%; 
  }
}


/* Grid de productos */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 1rem;
  justify-items: center;
}

.tarjeta-producto {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(40px);
}

.tarjeta-producto.visible {
  opacity: 1;
  transform: translateY(0);
}

.tarjeta-producto img {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.tarjeta-producto:hover img {
  transform: scale(1.05);
}

.tarjeta-producto p {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-gray-200);
  margin: 0;
}

/* Responsive Columns */
@media (min-width: 600px) {
  .productos-grid {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (min-width: 992px) {
  .productos-grid {
    grid-template-columns: repeat(3, minmax(280px, 1fr));
    justify-content: center;
  }
}

/* Animación Fade-Down + Zoom-In */
@keyframes fadeDownZoom {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(-40px) scale(0.95);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  animation: fadeDownZoom 1s ease forwards;
}

.beneficios-video {
  text-align: center;
  padding: 2rem 1rem;
}

/* Video embebido */
.video-fullwidth {
  width: 100vw;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
}

.video-wrapper {
  aspect-ratio: 16 / 9;
  width: 90%;
  max-width: 1920px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Botón de CTA */
.cta-container {
  text-align: center;
  margin-top: 1rem;
}

.btn-asesoria {
  background-color: var(--color-orange);
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .beneficios-lista {
    flex-direction: row;
    justify-content: space-around;
  }

  .beneficio {
    max-width: none;
  }
}
/* Animación Fade-Down + Zoom-In */
@keyframes fadeDownZoom {
  0% {
    opacity: 0;
    transform: translateY(-40px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(-40px) scale(0.95);
  transition: all 0.8s ease;
}

.animate-on-scroll.visible {
  animation: fadeDownZoom 1s ease forwards;
}

/* FAQ - versión global usada en múltiples páginas */
:root {
  --faq-bg: #f9f9f9;
  --faq-text: #7c8080;
  --faq-muted: #6b7280;
  --faq-border: #e5e7eb;
  --faq-accent: #9bc44c;;
}

.faq-section {
  padding: 4rem 1rem;
  background-color: var(--faq-bg);
  color: var(--faq-text);
}

.faq-section .section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  line-height: 1.2;
  color: var(--faq-accent);
}

.faq-section .faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section .faq-item {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--faq-border);
}

.faq-section .faq-question {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2rem 1rem 0;
  cursor: pointer;
  position: relative;
  color: var(--faq-text);
  line-height: 1.35;
}

.faq-section .faq-question:hover {
  color: var(--faq-accent);
}

.faq-section .faq-question:focus-visible {
  outline: 2px solid var(--faq-accent);
  outline-offset: 2px;
  border-radius: 6px;
}

.faq-section .faq-toggle-icon {
  position: absolute;
  right: 0;
  top: 1rem;
  font-size: 1.1rem;
  color: var(--faq-muted);
  transform: rotate(0deg);
  transition: transform 200ms ease;
}

.faq-section .faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  color: var(--faq-accent);
}

.faq-section .faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0;
  color: var(--faq-muted);
  transition: max-height 260ms ease;
}

.faq-section .faq-item.active .faq-answer {
  max-height: 1000px;
  padding-bottom: 1rem;
  color: var(--faq-text);
}

@media (prefers-reduced-motion: reduce) {
  .faq-section .faq-answer,
  .faq-section .faq-toggle-icon {
    transition: none;
  }
}

@media (max-width: 640px) {
  .faq-section {
    padding: 2.5rem 1rem;
  }
  .faq-section .section-title {
    font-size: 1.6rem;
    margin-bottom: 1.25rem;
  }
  .faq-section .faq-question {
    font-size: 1rem;
  }
}

/* Iconos lo que nos diferencia */
.iconos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Mobile: 3 columnas */
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: auto;
  justify-items: center;
  align-items: start;
  justify-content: center;
}

.icono-beneficio {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 13px;
  color: var(--color-gray-200);
  width: 100%;
  max-width: 130px;
}

.icono-beneficio img {
  width: 60px;
  height: 60px;
  margin-bottom: 0.5rem;
}

.icono-beneficio p {
  font-weight: 700;
  font-size: 14px;
  color: var(--color-gray-200);
  text-transform: none;
  line-height: 1.2;
}

/* Desktop: 6 columnas y centrado si hay menos elementos */
@media (min-width: 1024px) {
  .iconos-grid {
    grid-template-columns: repeat(6, 1fr);
    justify-content: center;
  }
  .icono-beneficio {
    max-width: none;
    margin: 0 auto;
  }
}

@media (max-width: 767px) {
  .iconos-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 1rem;
    overflow-x: hidden;
  }

  .icono-beneficio {
    max-width: 100%;
  }
}

