/* ========================================
   HERO LITE - Estilos específicos
   ======================================== */

.hero-lite {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-white);
}

.hero-lite > .container {
  max-width: none;
  width: 100%;
  padding-left: var(--spacing-xl);
  padding-right: var(--spacing-xl);
}

.hero-lite-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
  align-items: center;
}

.hero-lite-text {
  text-align: center;
  max-width: 800px;
  padding: 0 var(--spacing-md);
}

.hero-lite-subtitle-text {
  font-size: 30px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-muted);
  margin-bottom: var(--spacing-md);
}

.hero-lite-logo {
  display: block;
  max-width: 240px;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.hero-lite-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
}

.hero-lite-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.hero-lite-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* Video Container */
.hero-lite-video {
    text-align: center;
    position: relative;
    padding-right: 0;
}

.hero-lite-video iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 360px;
  max-height: 640px;
  border: none;
  border-radius: var(--border-radius-lg);
}

/* Desktop: mostrar iframe, ocultar imagen */
.hero-lite-video-desktop {
  display: block;
}

.hero-lite-video-mobile {
  display: none;
  position: relative;
  cursor: pointer;
  padding: 0 var(--spacing-md);
}

/* Mobile: ocultar iframe, mostrar imagen */
@media (max-width: 768px) {
  .hero-lite-video-desktop {
    display: none;
  }
  
  .hero-lite-video-mobile {
    display: block;
  }
}

/* ========================================
   FEATURES SECTION
   ======================================== */

.features-lite {
  padding: var(--spacing-2xl) 0;
  background-color: var(--bg-white);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

.lite-feature-card {
  background: var(--yellow-200);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
}


.feature-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
}

.feature-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.lite-feature-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-default);
  margin-bottom: var(--spacing-md);
}

.lite-feature-description {
  font-size: 16px !important;
  line-height: 1.6;
  color: var(--text-muted); 
  margin: 0;
}

.lite-feature-description strong {
  color: var(--text-default);
  font-weight: 600;
}

/* ========================================
   ZONAS, MARCACIONES Y CONTROL SECTION
   ======================================== */

/* Zones control styles moved to components.css */

/* Limitar tamaño máximo de imágenes de celulares en lite */
#lite-img-zonas-desktop,
#lite-img-consulta-desktop,
#lite-img-monitoreo-desktop,
#lite-img-zonas-mobile,
#lite-img-consulta-mobile,
#lite-img-monitoreo-mobile {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.consulta-mobile{
  text-align: center !important;
}

/* ========================================
   VIEWS SECTION
   ======================================== */

.views-lite {
  padding: var(--spacing-2xl) 0;
  background-color: var(--gray-50);
}

.views-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

.view-card {
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-2xl);
  text-align: center;
}

.view-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-default);
  margin-bottom: var(--spacing-md);
}

.view-description {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
}

.view-placeholder {
  background: var(--gray-50);
  border: 2px dashed var(--gray-200);
  border-radius: var(--border-radius-md);
  padding: var(--spacing-2xl);
  color: var(--text-light);
  font-size: 14px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   EVIDENCE SECTION
   ======================================== */

.evidence-lite {
  padding: var(--spacing-2xl) 0;
  background-color: var(--bg-white);
}

.evidence-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.evidence-text {
  text-align: center;
}

.evidence-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-default);
  margin-bottom: var(--spacing-lg);
}

.evidence-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--spacing-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.evidence-features {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.evidence-feature {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.evidence-feature .feature-icon-small {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.evidence-feature span {
  font-size: 16px;
  margin-top: 2px;
  line-height: 1.5;
  color: var(--text-muted);
}

.evidence-visual {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.evidence-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--border-radius-lg);
  margin-bottom: var(--spacing-md);
  display: block;
}

.evidence-caption {
  max-width: 300px;
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */

.download-lite {
  padding: var(--spacing-2xl) 0;
  background-color: var(--blue-50);
}

.download-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
}

.download-text {
  text-align: center;
}

.download-title {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-default);
  margin-bottom: var(--spacing-lg);
}

.download-description {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: var(--spacing-lg);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.download-apps {
  display: flex;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-sm);
  width: 100%;
  flex-wrap: wrap;
  margin: 0;
}

.download-apps img {
  height: 50px;
  width: auto;
  box-shadow: var(--shadow-md);
}

.download-alternative {
  font-size: 16px;
  color: var(--text-muted);
  margin: 0;
}

.download-alternative a {
  color: var(--blue-500);
  text-decoration: underline;
}

.download-cards {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-lg);
}

.download-card {
  max-width: 500px;
  border-radius: var(--border-radius-lg);
}


.download-card-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
}

.download-card-icon {
  flex-shrink: 0;
}

.download-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.download-card-text {
  flex: 1;
}

.download-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-default);
  margin-bottom: var(--spacing-sm);
}

.download-card-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-light);
  margin: 0;
}

/* ========================================
   PRODUCTS SECTION
   ======================================== */

.products-lite {
  padding: var(--spacing-2xl) 0;
  background-color: var(--bg-white);
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-2xl);
}

.product-card {
  background: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.product-card-content {
  flex: 1;
}


.product-icon {
  width: 80px;
  height: 80px;
  background: var(--gray-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-lg);
}

.product-icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-default);
  margin-bottom: var(--spacing-md);
}

.product-description {
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-light);
}

.product-card .btn {
  width: 100%;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-lite {
  padding: var(--spacing-4xl) 0;
  background: #FFFFFF;
}

.testimonials-lite .section-header {
  text-align: center;
  margin-bottom: var(--spacing-3xl);
}

.testimonials-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-default);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

/* ========================================
   FAQ SECTION
   ======================================== */

/* FAQ styles moved to components.css */

/* ========================================
   CTA SECTION
   ======================================== */

.cta {
  padding: var(--spacing-4xl) 0;
  background-color: var(--text-default);
  border-top: 1px solid var(--gray-200);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: white;
  margin-bottom: var(--spacing-lg);
}

.cta-description {
  font-size: 16px;
  line-height: 1.6;
  color: white;
  margin-bottom: var(--spacing-2xl);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

.cta-actions .btn {
  min-width: 160px;
}

/* Responsive */
@media (min-width: 768px) {
  .hero-lite-content {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: var(--spacing-lg);
  }

  .hero-lite-text {
    text-align: center;
    padding-left: 0;
  }

  .hero-lite-video {
    padding-right: 0;
  }

  .hero-lite-subtitle {
    justify-content: center;
  }

  .hero-lite-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-lite-actions {
    justify-content: center;
  }

  .hero-lite-link {
    text-align: center;
  }

  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  /* Zones Control - Desktop visible, Mobile hidden */
  /* Zones responsive styles moved to components.css */

  .views-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

  .evidence-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
  }

  .evidence-text {
    text-align: left;
    order: 2;
  }

  .evidence-visual {
    order: 1;
  }

  .evidence-features {
    margin-left: 0;
    margin-right: 0;
  }

  .download-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-4xl);
  }

  .download-text {
    text-align: left;
  }

  .download-description {
    margin-left: 0;
    margin-right: 0;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
  }

  .testimonials-track {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
  }

}

@media (max-width: 767px) {
  /* Zones Control - Mobile visible, Desktop hidden */
  /* Zones mobile styles moved to components.css */
}

@media (max-width: 768px) {
  /* FAQ responsive styles moved to components.css */


  .hero-lite-title{
    font-size: 32px;
  }

  .hero-lite-logo{
    max-width: 180px;
  }

  .cta {
    padding: var(--spacing-2xl) 0;
  }

  .cta-title {
    font-size: 24px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 768px) {
  .hero-lite {
    padding: var(--spacing-2xl) 0;
  }

  /* Reducir tamaño de h2 en móviles */
  .geofences-title,
  .evidence-title,
  .download-title,
  .testimonials-title {
    font-size: 24px;
  }

  .cta-title {
    font-size: 22px;
  }


  .hero-lite-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-lite-actions .btn {
    width: 100%;
    max-width: 300px;
  }

  .hero-lite-video iframe {
    height: 250px;
  }

  .hero-lite-video-mobile {
    max-width: 100%;
  }

  .hero-lite-video-mobile img {
    width: 100%;
    height: auto;
  }

  .testimonials-lite {
    padding: var(--spacing-2xl) 0;
  }
  
  .testimonials-lite .section-header {
    margin-bottom: var(--spacing-2xl);
  }
}
