/* ===================== */
/* RESET BÁSICO */
/* ===================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* ===================== */
/* CONTENEDOR GENERAL */
/* ===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===================== */
/* HEADER */
/* ===================== */
.header {
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  height: 90px;
}

.logo {
  height: 45px;
}

.nav a {
  margin-left: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.nav a:hover {
  color: #fff;
}

/* ===================== */
/* HERO */
/* ===================== */
.hero {
  position: relative;
  height: 85vh;
  background: url("../img/fondo.png") center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
}

.hero-content {
  position: relative;
  max-width: 600px;
  margin-left: 10%;
}

.hero-content h1 {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: #d40000;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
}

.btn-primary:hover {
  background: #b80000;
}

/* ===================== */
/* PRODUCTOS */
/* ===================== */
.product-categories {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px; /* espacio entre cada ícono */
  padding: 40px 20px; /* espacio superior/inferior */
  background-color: #000; /* como en JASIC */
  color: #fff;
  text-align: center;
}

.product-categories h2 {
  width: 100%;
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 30px;
}

.product-item {
  background: #111;
  padding: 30px 20px;
  border-radius: 16px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.product-item:hover {
  background: #161616;
  transform: translateY(-5px);
}

.product-item img {
  height: 60px;
  margin: 0 auto 20px;
}

.product-item button {
  background: none;
  border: none;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
}

/* ===================== */
/* CARRUSEL */
/* ===================== */
.home-carousel {
  background: #000;
  padding: 80px 0;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  align-items: center;
  transition: transform 0.6s ease;
}

.carousel-slide {
  flex: 0 0 260px;
  margin: 0 15px;
  opacity: 0.4;
  transform: scale(0.85);
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1.05);
}

.carousel-slide img {
  height: 257px;
  width: 1707px;
  object-fit: cover;
  border-radius: 16px;
}

/* ===================== */
/* CATÁLOGOS Y VIDEOS */
/* ===================== */
.home-extra {
  background: #0b0b0b;
  padding: 80px 0;
}

.extra-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.extra-box {
  background: #111;
  padding: 40px;
  border-radius: 18px;
}

.extra-box h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.extra-box p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 25px;
}

/* ===================== */
/* CATÁLOGOS */
/* ===================== */
.catalog-list {
  list-style: none;
}

.catalog-list li {
  margin-bottom: 15px;
}

.catalog-list a {
  color: #d40000;
  font-weight: 600;
}

.catalog-list a:hover {
  text-decoration: underline;
}

/* ===================== */
/* VIDEOS */
/* ===================== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.video-item iframe {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  border: none;
}

.video-item.coming-soon {
  height: 200px;
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255,255,255,0.04);
}

/* ===================== */
/* RESPONSIVE BÁSICO */
/* ===================== */
@media (max-width: 900px) {
  .extra-container {
    grid-template-columns: 1fr;
  }

  .hero-content {
    margin-left: 5%;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }
}

/* Responsive */

@media (max-width: 768px) {

  .header-container {
    flex-direction: column;
    gap: 15px;
  }

  .nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

}


@media (max-width: 480px) {

  .logo {
    height: 40px;
  }

  .nav {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav a {
    font-size: 0.9rem;
  }

}

/* ===================== */
/* RESPONSIVE - MOBILE */
/* ===================== */

@media (max-width: 768px) {

  /* ---------- HERO ---------- */

  .hero {
    height: 65vh;
    padding: 0 20px;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-content h1 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 1rem;
    margin: 15px 0;
  }

  .btn-primary {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* ---------- PRODUCTOS ---------- */

  .product-categories {
    padding: 40px 20px;
  }

  .product-categories h2 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .product-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .product-item img {
    max-width: 80px;
  }

  .product-item button {
    font-size: 0.9rem;
    padding: 10px;
  }
}


@media (max-width: 480px) {

  .product-categories {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }
}



html, body {
  height: 100%;
}

body.lightbox-open {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
}

/* ===================== */
/* PROCESOS + IMÁGENES */
/* ===================== */

.tech-processes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

/* Texto */
.tech-processes-text h2 {
  margin-bottom: 20px;
}

.tech-processes-text .tech-list {
  padding-left: 20px;
}

/* Imágenes */
.tech-processes-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.tech-processes-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}


@media (max-width: 768px) {
  .tech-processes-grid {
    grid-template-columns: 1fr;
  }

  .tech-processes-images {
    margin-top: 30px;
  }
}


/* ===================== */
/* CONTACTO GRID */
/* ===================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: stretch;
}

/* ===================== */
/* MAPA */
/* ===================== */

.contact-map {
  width: 100%;
  min-height: 320px;
  border-radius: 18px;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ===================== */
/* RESPONSIVE */
/* ===================== */

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-map {
    min-height: 280px;
  }
}
