/* ============================================================
   06-hero.css — Hero corporativo (cream + navy + orange)
   ============================================================ */

.hero {
  position: relative;
  padding-top: clamp(120px, 14vw, 170px);
  padding-bottom: clamp(48px, 6vw, 80px);
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(245, 130, 32, 0.10), transparent 60%),
    radial-gradient(700px 400px at 10% 90%, rgba(43, 184, 168, 0.10), transparent 60%),
    var(--bg);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
  margin-bottom: var(--space-6);
}

.hero__meta-line {
  flex: 1 1 auto;
  height: 1px;
  background: var(--line);
  min-width: 60px;
}

.hero__meta-text {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Headline */
.hero__headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-hero);
  line-height: 0.96;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  max-width: 20ch; /* ← de 14ch a 20ch */
}

.hero__headline .line { display: block; }

/* Price chip dentro del headline */
.hero__price-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-ui);
  font-style: normal;
  font-weight: 700;
  font-size: clamp(14px, 1.2vw, 18px);
  letter-spacing: 0.01em;
  color: var(--orange-600);
  background: var(--orange-100);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  vertical-align: middle;
  margin: 0 6px 0 0;
  position: relative;
  top: -0.25em;
  white-space: nowrap;
  border: 1px solid rgba(228, 107, 10, 0.18);
}
.hero__price-chip::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--orange-500);
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 0 0 rgba(245, 130, 32, 0.6);
  animation: pulse 2s infinite;
}

/* Siscont badge en hero */
.hero__siscont-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  margin-bottom: var(--space-5);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy-900);
}

/* Visually hidden */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Bottom row */
.hero__bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  max-width: 100%;
  margin-top: var(--space-7);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
}

.hero__sub {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.55;
  max-width: 100%;
  color: var(--ink-soft);
}
.hero__sub strong { color: var(--navy-900); font-weight: 600; }

/* Product chips */
.hero__products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-3);
  width: 100%;
}

.hero__product-chip {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: box-shadow 0.2s ease;
}

.hero__product-chip:hover {
  box-shadow: var(--shadow-sm);
}

.hero__product-chip strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-900);
}

.hero__product-chip span {
  font-size: 12px;
  color: var(--ink-soft);
}

.hero__product-chip--siscont {
  border-color: var(--orange-500);
  border-width: 2px;
  background: var(--bg-soft);
}

/* CTAs */
.hero__cta-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: center;
}

.hero__cta-row {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  justify-content: center;
}

.hero__cta-meta {
  font-family: var(--font-ui);
  font-size: 12px;
  color: var(--mute);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}

.hero__cta-meta::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #16A34A;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.15);
}

/* Stats strip */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: var(--space-7);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-soft);
}

.hero__stat {
  background: var(--bg-soft);
  padding: var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: background var(--dur-base);
}
.hero__stat:hover { background: var(--bg-tint); }

.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--navy-900);
}
.hero__stat-num .unit { font-size: 0.5em; color: var(--orange-500); margin-left: 2px; }
.hero__stat-num .pre  { font-size: 0.5em; color: var(--orange-500); margin-right: 4px; }

.hero__stat-label {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  color: var(--mute);
  letter-spacing: 0.01em;
}

/* Floating badge corporativo */
.hero__badge {
  position: absolute;
  top: clamp(170px, 16vw, 220px);
  right: var(--gutter);
  z-index: 2;
  width: clamp(150px, 14vw, 190px);
  aspect-ratio: 1;
  background: var(--navy-900);
  color: #FFFFFF;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: var(--space-4);
  pointer-events: auto;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
  transition: transform var(--dur-base) var(--ease-out);
  text-decoration: none;
}
.hero__badge:hover,
.hero__badge:focus-visible {
  transform: rotate(-4deg) scale(1.04);
}
.hero__badge::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(245, 130, 32, 0.4);
  border-radius: 50%;
  animation: hero-badge-spin 26s linear infinite;
}

@keyframes hero-badge-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.hero__badge-inner {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
  font-family: var(--font-display);
}
.hero__badge-big {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--orange-500);
  font-weight: 700;
}
.hero__badge-sm {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
}

/* Mobile badge alternativo */
.hero__badge-mobile {
  display: none;
  align-items: center;
  gap: 6px;
  background: var(--navy-900);
  color: #FFFFFF;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px 6px 8px;
  border-radius: var(--radius-pill);
  margin-top: var(--space-3);
}
.hero__badge-mobile::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange-500);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 0 0 rgba(245,130,32,0.6);
  flex-shrink: 0;
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .hero__badge { top: auto; bottom: 24px; right: 24px; width: 110px; }
}

@media (max-width: 768px) {
  .hero__products { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__badge { display: none; }
  .hero__badge-mobile { display: inline-flex; }
}

@media (max-width: 600px) {
  .hero__siscont-badge {
    font-size: 12px;
    padding: 6px 12px;
    gap: 8px;
    max-width: 100%;    /* no salirse del contenedor */
    white-space: nowrap;
    overflow: hidden;   /* ocultar lo que no cabe */
  }

  .hero__siscont-badge img {
    height: 28px !important;
    flex-shrink: 0;     /* el logo no se comprime */
  }

  .hero__siscont-badge span {
    overflow: hidden;
    text-overflow: ellipsis; /* "..." si no cabe */
  }
}

@media (max-width: 500px) {
  .hero__stats { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero__products { grid-template-columns: 1fr; }
}

.hero__guarantee {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: var(--space-3);
  padding: 10px 16px;
  background: rgba(15, 33, 56, 0.06);
  border: 1px solid rgba(15, 33, 56, 0.12);
  border-radius: var(--radius-pill);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: 0.01em;
}