/* =========================================================
   QUARXS · Industrias · Estilos específicos
   ========================================================= */

/* ── Hero ────────────────────────────────────────────────── */
.s-ind-hero {
  padding: calc(var(--header-h) + 72px) 0 80px;
  background: url('imagenes/fondo_industrias.png') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.s-ind-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11,20,60,0.88) 0%,
    rgba(11,20,60,0.72) 55%,
    rgba(11,20,60,0.50) 100%
  );
  pointer-events: none;
}

.ind-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 1;
}
.ind-hero-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.ind-hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.ind-hero-desc {
  font-size: 17px;
  color: rgba(255,255,255,0.6);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 580px;
}

/* Chips de navegación rápida */
.ind-hero-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.ind-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font-display);
  border: 1.5px solid;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease);
}
.ind-chip:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }

.ind-chip-amber  { color: #FCD34D; background: rgba(217,119,6,0.15);  border-color: rgba(217,119,6,0.35); }
.ind-chip-green  { color: #86EFAC; background: rgba(103,180,55,0.12); border-color: rgba(103,180,55,0.3); }
.ind-chip-blue   { color: #7DD3FC; background: rgba(0,112,149,0.18);  border-color: rgba(0,112,149,0.35); }
.ind-chip-indigo { color: #A5B4FC; background: rgba(99,102,241,0.15); border-color: rgba(99,102,241,0.3); }

/* ── Bloques de industria ────────────────────────────────── */
.s-ind-block {
  padding: 96px 0;
  background: var(--white);
}
.s-ind-alt {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
}

.ind-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.ind-block-reverse { direction: rtl; }
.ind-block-reverse > * { direction: ltr; }

/* Visual */
.ind-block-visual { position: relative; }
.ind-block-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,0.04);
}
.ind-mock-wrap { position: relative; }
.ind-mock-wrap .browser-frame {
  box-shadow: var(--sh-xl), 0 0 0 1px rgba(0,0,0,0.04);
}

/* Brand icon color variants */
.ind-brand-green  { background: var(--green-dark) !important; }
.ind-brand-blue   { background: var(--blue-dark) !important; }
.ind-brand-indigo { background: #4338CA !important; }

/* Day stat in mockup header */
.ind-day-stat {
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-display);
}

/* Content */
.ind-block-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid;
  margin-bottom: 20px;
}
.ind-eb-amber  { color: #B45309; background: #FFFBEB; border-color: rgba(217,119,6,0.25); }
.ind-eb-green  { color: var(--green-dark); background: var(--green-light); border-color: rgba(103,180,55,0.25); }
.ind-eb-blue   { color: var(--blue-dark); background: var(--blue-light); border-color: rgba(0,112,149,0.2); }
.ind-eb-indigo { color: #4338CA; background: var(--indigo-light); border-color: rgba(99,102,241,0.25); }

.ind-block-title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.ind-block-desc {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 24px;
}

.ind-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 32px;
}
.ind-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-700);
  line-height: 1.4;
}
.ind-feature-list li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  margin-top: 5px;
}
.s-ind-amber .ind-feature-list li::before { background: #D97706; }
.s-ind-block:nth-child(odd) .ind-feature-list li::before { background: var(--green); }

.ind-block-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── Carrusel de clientes ────────────────────────────────── */
.s-carousel {
  padding: 64px 0 72px;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
  border-bottom: 1px solid var(--gray-100);
  overflow: hidden;
}
.carousel-header { text-align: center; margin-bottom: 40px; }
.carousel-subtitle { font-size: 15px; color: var(--gray-500); font-weight: 300; margin-top: 6px; }

.carousel-viewport {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.carousel-viewport::before,
.carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.carousel-viewport::before { left: 0;  background: linear-gradient(to right, var(--gray-50) 10%, transparent 100%); }
.carousel-viewport::after  { right: 0; background: linear-gradient(to left,  var(--gray-50) 10%, transparent 100%); }

.carousel-track {
  display: flex;
  gap: 18px;
  width: fit-content;
  animation: carousel-scroll 32s linear infinite;
  will-change: transform;
}
.carousel-track:hover { animation-play-state: paused; }

.carousel-item {
  flex-shrink: 0;
  width: 260px;
  height: 160px;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-md);
  background: white;
  border: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.carousel-item:hover { transform: scale(1.03); box-shadow: var(--sh-lg); }
.carousel-item img { width: 100%; height: 100%; object-fit: contain; display: block; }

@keyframes carousel-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .ind-block-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .ind-block-reverse { direction: ltr; }
  .ind-feature-list  { grid-template-columns: 1fr; }
  .ind-hero-chips    { gap: 8px; }
}
@media (max-width: 600px) {
  .s-ind-hero  { padding: calc(var(--header-h) + 48px) 0 56px; }
  .s-ind-block { padding: 64px 0; }
  .ind-block-actions { flex-direction: column; }
  .ind-block-actions a { text-align: center; justify-content: center; }
}
