/* ===================================================
   index.css — Estilos exclusivos de index.html
   Requiere base.css cargado primero
   =================================================== */

/* ── Hero Actions ── */
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════
   HERO SECTION
═══════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(0, 27, 51, 0.90) 0%,
      rgba(0, 43, 107, 0.70) 50%,
      rgba(4, 0, 140, 0.40) 100%);
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 5% 0; /* Aumentado padding-top para compensar el navbar */
  max-width: 850px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--yellow);
  color: var(--blue-dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
  animation: slideInLeft 1s ease-out;
}



.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
}

.hero h1 .highlight {
  color: var(--yellow);
  position: relative;
  display: inline-block;
}

.hero h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  opacity: 0.35;
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-stats {
  position: absolute;
  bottom: 80px;
  right: 5%;
  display: flex;
  gap: 20px;
  z-index: 2;
}

.stat-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(20px);
  padding: 20px 28px;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--yellow);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.stat-card .number {
  font-size: 2rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
}

.stat-card .label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--yellow), transparent);
  animation: scrollDown 2s ease infinite;
}



/* ═══════════════════════════════════
   PRODUCTS SECTION (home preview)
═══════════════════════════════════ */
.products {
  background: var(--off-white);
}

.products-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.products-visual {
  position: relative;
  order: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.products-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 20px 60px rgba(4, 0, 140, 0.15);
  width: 100%;
  position: relative;
  z-index: 1;
}

.products-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-img-rhino {
  position: absolute;
  bottom: -40px;
  left: -50px;
  width: 55%;
  max-width: 350px;
  z-index: 2;
  filter: drop-shadow(0 25px 35px rgba(4, 0, 140, 0.4));
  animation: float-rhino 6s ease-in-out infinite;
  transition: transform 0.4s ease;
}

.products-img-rhino:hover {
  transform: scale(1.08) rotate(-2deg);
}

.products-img-rhino img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.products-content {
  order: 1;
}

.products-intro {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.products-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.product-item {
  background: var(--white);
  border: 1px solid rgba(4, 0, 140, 0.08);
  border-radius: var(--radius-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: var(--transition-smooth);
  box-shadow: 0 5px 20px rgba(4, 0, 140, 0.04);
}

.product-item:hover {
  border-color: var(--blue);
  background: var(--blue-pale);
  transform: translateX(4px);
}

.product-resistance {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  padding: 10px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 15px rgba(3, 42, 109, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.product-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.product-desc strong {
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
  font-weight: 700;
}

.products-note {
  margin-top: 24px;
  padding: 20px;
  background: rgba(4, 0, 140, 0.06);
  border: 1.5px solid rgba(4, 0, 140, 0.15);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.products-note strong {
  color: var(--blue);
}

/* ═══════════════════════════════════
   EQUIPMENT SECTION
═══════════════════════════════════ */
.equipment {
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.equipment::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(4, 0, 140, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.equip-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--off-white);
  border: 1.5px solid var(--gray-light);
  border-radius: 10px;
  padding: 16px 20px;
  transition: var(--transition);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.equip-chip span {
  font-size: 1.2rem;
}

.equip-chip:hover {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-pale);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

/* ═══════════════════════════════════
   RESPONSIVE index
═══════════════════════════════════ */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .products-visual {
    order: -1;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 40px;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .products-img-rhino {
    left: -20px;
    bottom: -20px;
    width: 45%;
    max-width: 200px;
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 0, 0, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(227, 0, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(227, 0, 0, 0); }
}

.hero-badge span {
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  animation: pulse 2s infinite;
  display: block;
}
