/* PackLine — Layout referência v5 (bg evidente + iconografia moderna) */

.header--ref {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
}

.header--ref .header__logo img {
  height: 40px;
  width: auto;
  max-width: min(158px, 38vw);
}

/* Nav desktop — reforço (evita menu sumir se cache servir CSS antigo parcial) */
@media (min-width: 768px) {
  .header--ref .nav-toggle,
  .header--ref .nav-overlay {
    display: none !important;
  }

  .header--ref .nav {
    position: static !important;
    inset: auto !important;
    transform: none !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: flex !important;
    align-items: center;
    gap: 1.25rem;
    padding: 0 !important;
    background: transparent !important;
    overflow: visible !important;
    max-height: none !important;
    flex-shrink: 0;
  }

  .header--ref .header__inner {
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .header--ref .nav__link {
    padding: 0.5rem 0.5625rem;
    font-size: 0.8125rem;
  }

  .header--ref .nav__cta {
    padding: 0.5625rem 0.75rem;
    font-size: 0.75rem;
  }

  .header--ref .nav__cta span:not(:first-child) {
    display: none;
  }
}

/* ── Hero ── */
.hero-ref {
  position: relative;
  padding: calc(var(--header-h) + 1.5rem) 0 3rem;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 60% at 12% 8%, rgba(0, 168, 232, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 88% 12%, rgba(21, 101, 184, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse 90% 45% at 50% 95%, rgba(10, 52, 96, 0.1) 0%, transparent 55%),
    linear-gradient(180deg, #c5ddf0 0%, #dceaf7 18%, #ecf4fb 50%, #f8fbff 80%, #ffffff 100%);
}

.hero-ref__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-ref__bg-glow {
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: 130%;
  height: 70%;
  background: radial-gradient(ellipse 50% 45% at 50% 35%, rgba(0, 168, 232, 0.28) 0%, transparent 62%);
}

.hero-ref__bg-mesh {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  background:
    linear-gradient(rgba(21, 101, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 101, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, black 20%, transparent 75%);
}

.hero-ref__bg-blur {
  position: absolute;
  opacity: 0.42;
  filter: blur(22px) saturate(1.45) contrast(1.05);
}

.hero-ref__bg-blur img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-ref__bg-blur--left {
  top: 12%;
  left: -6%;
  width: 48%;
  max-width: 460px;
  transform: rotate(-6deg);
}

.hero-ref__bg-blur--right {
  top: 15%;
  right: -6%;
  width: 48%;
  max-width: 460px;
  transform: rotate(6deg);
}

.hero-ref__bg-blur--center {
  top: 28%;
  left: 50%;
  transform: translateX(-50%);
  width: 55%;
  max-width: 520px;
  opacity: 0.28;
  filter: blur(40px) saturate(1.3);
}

.hero-ref__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-ref__logo {
  width: clamp(200px, 48vw, 300px);
  height: auto;
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 4px 12px rgba(10, 52, 96, 0.08));
}

.hero-ref__title {
  font-size: clamp(1.125rem, 3.8vw, 1.625rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 50%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
  max-width: 780px;
  margin: 0 auto 0.625rem;
}

.hero-ref__subtitle {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--blue-mid);
  max-width: 720px;
  margin: 0 auto 2rem;
  line-height: 1.45;
}

.text-lines__line,
.quote-line {
  display: block;
  text-wrap: pretty;
}

.hero-ref__machine-name-line {
  white-space: nowrap;
}

.hero-ref__machine-name--long {
  max-width: 118px;
}

.hero-ref__machine-name--long .hero-ref__machine-name-line {
  white-space: normal;
  text-wrap: balance;
  line-height: 1.25;
}

.section-subtitle--balanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.45;
}

/* ── Palco ── */
.hero-ref__stage {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 2rem;
  padding: 2.75rem 1rem 2.25rem;
  min-height: 300px;
}

.hero-ref__stage-bg {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 168, 232, 0.22);
  box-shadow:
    0 20px 60px rgba(10, 52, 96, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.hero-ref__stage-bg-gradient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 75% 60% at 18% 25%, rgba(0, 168, 232, 0.32) 0%, transparent 58%),
    radial-gradient(ellipse 70% 55% at 82% 70%, rgba(21, 101, 184, 0.26) 0%, transparent 55%),
    radial-gradient(ellipse 85% 45% at 50% 100%, rgba(10, 52, 96, 0.1) 0%, transparent 62%),
    linear-gradient(155deg, #b3d3ef 0%, #c8e0f5 25%, #d9ebfa 50%, #e8f3fc 75%, #f4f9fd 100%);
}

.hero-ref__stage-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.28;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 45%, black 30%, transparent 78%);
}

.hero-ref__floor {
  position: absolute;
  bottom: 1.75rem;
  left: 10%;
  right: 10%;
  height: 36px;
  background: linear-gradient(180deg, rgba(10, 52, 96, 0.06) 0%, rgba(0, 168, 232, 0.12) 100%);
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
}

/* Setores — padrão box (sem diagonal) */
.hero-ref__sector {
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.4375rem;
  padding: 0.4375rem 0.75rem;
  background: linear-gradient(135deg, rgba(10, 52, 96, 0.96), rgba(21, 101, 184, 0.92));
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(10, 52, 96, 0.22);
  border: 1px solid rgba(0, 168, 232, 0.35);
  line-height: 1.25;
  max-width: 118px;
}

.hero-ref__sector-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-accent);
  box-shadow: 0 0 6px var(--blue-accent);
  flex-shrink: 0;
}

.hero-ref__sector--tl { top: 0.75rem; left: 0.75rem; }
.hero-ref__sector--tr { top: 0.75rem; right: 0.75rem; }
.hero-ref__sector--bl { bottom: 0.75rem; left: 0.75rem; }
.hero-ref__sector--br { bottom: 0.75rem; right: 0.75rem; }

/* Máquinas */
.hero-ref__machines {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  align-items: end;
  padding: 0 0.5rem;
}

.hero-ref__machine {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform var(--transition-fast);
}

.hero-ref__machine:hover {
  transform: translateY(-4px);
}

.hero-ref__machine-img {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: radial-gradient(ellipse 85% 65% at 50% 85%, rgba(0, 168, 232, 0.07) 0%, transparent 70%);
}

.hero-ref__machine-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 14px 32px rgba(10, 52, 96, 0.2));
  transition: filter var(--transition-fast), transform var(--transition-fast);
}

.hero-ref__machine-img--wide {
  aspect-ratio: 5/3;
}

.hero-ref__machine-img--wide img {
  width: 115%;
  max-width: 115%;
  max-height: 92%;
}

.hero-ref__machine:hover .hero-ref__machine-img img {
  filter: drop-shadow(0 14px 32px rgba(0, 168, 232, 0.2));
  transform: translateY(-2px);
}

/* Produtos — chips com iconografia line-art */
.hero-ref__products {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.375rem 0;
}

.hero-ref__product-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 252, 0.85));
  border: 1px solid rgba(0, 168, 232, 0.22);
  box-shadow:
    0 4px 14px rgba(10, 52, 96, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: var(--blue-mid);
  transition: transform 0.35s ease, box-shadow 0.35s ease, color 0.25s ease, border-color 0.25s ease;
  animation: chip-float 4.5s ease-in-out infinite;
}

.hero-ref__product-chip svg {
  width: 20px;
  height: 20px;
}

.hero-ref__product-chip:nth-child(2) { animation-delay: 0.5s; }
.hero-ref__product-chip:nth-child(3) { animation-delay: 1s; }

.hero-ref__machine:hover .hero-ref__product-chip {
  color: var(--blue-accent);
  border-color: rgba(0, 168, 232, 0.45);
  box-shadow:
    0 6px 18px rgba(0, 168, 232, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.hero-ref__machine:hover .hero-ref__product-chip:nth-child(1) { transform: translateY(-3px); }
.hero-ref__machine:hover .hero-ref__product-chip:nth-child(2) { transform: translateY(-5px); }
.hero-ref__machine:hover .hero-ref__product-chip:nth-child(3) { transform: translateY(-3px); }

@keyframes chip-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}

.hero-ref__machine-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.125rem;
  min-height: 2.35em;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--blue-mid);
  line-height: 1.25;
  text-align: center;
  max-width: 140px;
}

.hero-ref__machine-name-line {
  display: block;
}

.hero-ref__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-ref__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  max-width: 480px;
  margin: 0 auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 168, 232, 0.15);
}

/* ── Setores ── */
.sectors {
  background: linear-gradient(180deg, var(--grey-50) 0%, var(--white) 100%);
  padding: 4rem 0;
}

.sectors__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.sectors__header .section-label {
  justify-content: center;
}

.sectors__header .section-label::before { display: none; }

.sectors__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.sector-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0.625rem;
  padding: 1.25rem;
  border: 1px solid rgba(0, 168, 232, 0.15);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sector-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(10, 52, 96, 0.18);
}

.sector-card__icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  margin-bottom: auto;
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.sector-card__icon iconify-icon {
  color: var(--white);
}

.sector-card:hover .sector-card__icon {
  background: rgba(255, 255, 255, 0.28);
  transform: scale(1.06);
}

.sector-card__bg {
  position: absolute;
  inset: 0;
}

.sector-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 52, 96, 0.15) 0%, rgba(10, 52, 96, 0.88) 100%);
}

.sector-card__name {
  position: relative;
  z-index: 2;
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.sector-card--farmaceutico .sector-card__bg {
  background: linear-gradient(135deg, #1565b8, #0a3460);
}

.sector-card--cosmetico .sector-card__bg {
  background: linear-gradient(135deg, #5b8fc7, #2a5298);
}

.sector-card--alimenticio .sector-card__bg {
  background: linear-gradient(135deg, #00a8e8, #1565b8);
}

.sector-card--mais .sector-card__bg {
  background: linear-gradient(135deg, #0a3460, #061528);
}

.sector-card--mais .sector-card__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) saturate(0.9);
  opacity: 0.5;
}

/* ── Sobre ── */
.about__layout--ref {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.about__visual {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--grey-200);
  position: relative;
  min-height: 300px;
}

.about__visual-bg {
  position: absolute;
  inset: 0;
}

.about__visual-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: blur(6px) saturate(1.05);
  transform: scale(1.04);
}

/* Zoom máquina + sketch técnico moderno */
.about__machine-sketch {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about__machine-sketch > img {
  position: absolute;
  width: 155%;
  height: 155%;
  object-fit: contain;
  object-position: 55% 50%;
  filter: saturate(0.35) brightness(1.05);
  opacity: 0.32;
}

.about__machine-sketch::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0%, rgba(228, 242, 252, 0.65) 100%);
  z-index: 1;
  pointer-events: none;
}

.about__sketch-overlay {
  position: relative;
  z-index: 2;
  width: 90%;
  height: auto;
  max-height: 85%;
  color: var(--blue-accent);
  opacity: 0.92;
  filter: drop-shadow(0 0 6px rgba(0, 168, 232, 0.25));
  pointer-events: none;
}

.about__visual-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: 1rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(10, 52, 96, 0.94));
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
}

/* Box único — padrão arredondado */
.about__card-box,
.about__quote-box {
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, rgba(240, 248, 255, 0.95) 0%, #fff 100%);
  border: 1px solid rgba(0, 168, 232, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.about__card-box .about__lead {
  margin: 0 0 0.875rem;
  font-weight: 600;
  color: var(--blue-dark);
}

.about__content--ref {
  gap: 1.25rem;
}

.about__card-box p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--grey-600);
}

.about__card-box p + p {
  margin-top: 0.875rem;
}

.about__card-box p:last-child {
  padding-left: 0;
  border-left: none;
  color: var(--grey-600);
  font-weight: 400;
}

.about__quote-box {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 600;
  color: var(--blue-dark);
  border-left: 4px solid var(--blue-accent);
}

.about__quote-box .quote-line + .quote-line {
  margin-top: 0.25rem;
}

/* 5 mercados — grid 3 + 2 centralizado */
.about__markets-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about__markets-grid li {
  grid-column: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.5625rem 0.75rem;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-mid));
  color: var(--white);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 168, 232, 0.3);
  box-shadow: 0 4px 12px rgba(10, 52, 96, 0.12);
  text-align: center;
}

.about__markets-grid li:nth-child(4) {
  grid-column: 2 / 4;
}

.about__markets-grid li:nth-child(5) {
  grid-column: 4 / 6;
}

.about__markets-grid iconify-icon {
  font-size: 15px;
  color: var(--blue-accent);
  flex-shrink: 0;
}

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

  .about__markets-grid li {
    grid-column: auto;
  }

  .about__markets-grid li:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
    width: 100%;
  }
}

/* ── CTA bar ── */
.cta-bar {
  background: linear-gradient(135deg, var(--blue-dark) 0%, #072848 100%);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(0, 168, 232, 0.2);
}

.cta-bar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.cta-bar__text {
  font-size: clamp(0.8125rem, 2.2vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.cta-bar__text span {
  color: var(--blue-accent);
}

/* Responsive */
@media (min-width: 640px) {
  .hero-ref__actions { flex-direction: row; justify-content: center; }
  .hero-ref__machine-name { font-size: 0.6875rem; }
  .hero-ref__sector { font-size: 0.6875rem; max-width: 140px; }
  .hero-ref__product-chip { width: 44px; height: 44px; border-radius: 14px; }
  .hero-ref__product-chip svg { width: 22px; height: 22px; }
  .sectors__grid { grid-template-columns: repeat(4, 1fr); }
  .sector-card { min-height: 200px; }
}

@media (min-width: 768px) {
  .hero-ref { padding-top: calc(var(--header-h) + 2rem); padding-bottom: 4rem; }
  .hero-ref__stage { padding: 3rem 1.25rem 2.75rem; min-height: 360px; }
  .hero-ref__machines { grid-template-columns: repeat(4, 1fr); gap: 0.625rem; }
  .hero-ref__machine-name { font-size: 0.5625rem; max-width: 120px; min-height: 2.5em; }
  .hero-ref__machine-name--long { max-width: 130px; font-size: 0.5rem; }
  .hero-ref__bg-blur { opacity: 0.48; }
  .hero-ref__bg-blur--center { opacity: 0.32; }
  .about__layout--ref { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .about__visual { min-height: 380px; }
  .about__machine-sketch > img { width: 180%; height: 180%; }
  .cta-bar__inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .hero-ref__stage { padding: 3rem 2rem 2.75rem; }
  .hero-ref__machines { gap: 1rem; }
  .hero-ref__machine-name { font-size: 0.6875rem; max-width: 150px; }
  .hero-ref__machine-name--long { max-width: 165px; font-size: 0.5625rem; }
}

@media (max-width: 520px) {
  .hero-ref__machines {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
    align-items: stretch;
    gap: 1.25rem;
  }
  .hero-ref__sector { display: none; }
  .hero-ref__stage { padding-top: 1.5rem; min-height: auto; }
  .hero-ref__bg-blur--left,
  .hero-ref__bg-blur--right { opacity: 0.32; }
  .hero-ref__bg-blur--center { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-ref__product-chip { animation: none; }
  .hero-ref__bg-scan { animation: none; }
}

/* ══════════════════════════════════════════
   Hero Tech — moderno / impactante
   ══════════════════════════════════════════ */

body:has(.hero-ref--tech) .header--ref:not(.scrolled) {
  background: rgba(6, 18, 36, 0.55);
  backdrop-filter: blur(16px) saturate(160%);
  border-bottom-color: rgba(0, 168, 232, 0.12);
}

body:has(.hero-ref--tech) .header--ref:not(.scrolled) .nav__link {
  color: rgba(255, 255, 255, 0.78);
}

body:has(.hero-ref--tech) .header--ref:not(.scrolled) .nav__link:hover,
body:has(.hero-ref--tech) .header--ref:not(.scrolled) .nav__link.active {
  color: var(--white);
}

.hero-ref--tech {
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  background: #040f1e;
}

.hero-ref__bg-layer {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-ref__bg-layer--conveyor {
  background-image: url('../assets/hero-bg-conveyor.png');
  background-size: cover;
  background-position: center 55%;
  opacity: 0.72;
  filter: saturate(0.85) hue-rotate(-8deg);
}

.hero-ref__bg-layer--factory {
  background-image: url('../assets/hero-bg-factory.png');
  background-size: cover;
  background-position: 78% center;
  opacity: 0.38;
  mix-blend-mode: soft-light;
  mask-image: linear-gradient(105deg, transparent 35%, black 72%, black 100%);
}

.hero-ref__bg-layer--gears {
  background-image: url('../assets/hero-bg-gears.png');
  background-size: cover;
  background-position: center center;
  opacity: 0.42;
  mix-blend-mode: screen;
}

.hero-ref__bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 35%, rgba(0, 168, 232, 0.1) 0%, transparent 55%),
    linear-gradient(165deg, rgba(4, 15, 30, 0.88) 0%, rgba(6, 21, 40, 0.8) 35%, rgba(10, 52, 96, 0.86) 70%, rgba(4, 15, 30, 0.92) 100%);
  pointer-events: none;
}

.hero-ref--tech .hero-ref__bg-glow,
.hero-ref--tech .hero-ref__bg-blur,
.hero-ref--tech .hero-ref__bg-mesh { display: none; }

.hero-ref__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 1;
}

.hero-ref__bg-orb--1 {
  top: -8%;
  left: -5%;
  width: 45%;
  height: 45%;
  background: rgba(0, 168, 232, 0.22);
}

.hero-ref__bg-orb--2 {
  top: 20%;
  right: -8%;
  width: 40%;
  height: 40%;
  background: rgba(21, 101, 184, 0.25);
}

.hero-ref__bg-orb--3 {
  bottom: -10%;
  left: 35%;
  width: 35%;
  height: 35%;
  background: rgba(0, 168, 232, 0.12);
}

.hero-ref__bg-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(rgba(0, 168, 232, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 40%, black 15%, transparent 75%);
}

.hero-ref__bg-scan {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 168, 232, 0.04) 50%, transparent 100%);
  background-size: 100% 200%;
  animation: hero-scan 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes hero-scan {
  0%, 100% { background-position: 0 -100%; }
  50% { background-position: 0 100%; }
}

.hero-ref--tech .hero-ref__inner {
  text-align: left;
}

.hero-ref__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-ref__layout--focus {
  gap: 1.75rem;
}

.hero-ref__layout--focus .hero-ref__copy {
  max-width: 640px;
}

.hero-ref__layout--focus .hero-ref__stats {
  grid-column: 1 / -1;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.hero-ref__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-ref__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: rgba(0, 168, 232, 0.1);
  border: 1px solid rgba(0, 168, 232, 0.25);
  border-radius: 100px;
}

.hero-ref--tech .hero-ref__logo {
  display: none;
}

.hero-ref--tech .hero-ref__title {
  font-size: clamp(1.375rem, 4.5vw, 2.25rem);
  letter-spacing: 0.02em;
  text-transform: none;
  background: linear-gradient(135deg, #ffffff 0%, #c8e8ff 45%, #00a8e8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  max-width: 520px;
  margin: 0 0 0.875rem;
}

.hero-ref--tech .hero-ref__subtitle {
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(0.8125rem, 2vw, 0.9375rem);
  letter-spacing: 0.04em;
  max-width: 480px;
  margin: 0 0 1.75rem;
}

.hero-ref--tech .hero-ref__actions {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.hero-ref--tech .hero-ref__stats {
  max-width: none;
  margin: 0;
  padding-top: 0;
  border-top: none;
  gap: 0.625rem;
}

.hero-ref__stat {
  padding: 0.875rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 168, 232, 0.18);
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
}

.hero-ref--tech .hero__stat-num {
  color: var(--white);
  font-size: 1.5rem;
}

.hero-ref--tech .hero__stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.6875rem;
}

.hero-ref__visual {
  position: relative;
  z-index: 1;
}

.hero-ref__visual::before {
  content: '';
  position: absolute;
  inset: -8% -4%;
  background: radial-gradient(ellipse 75% 65% at 50% 55%, rgba(0, 168, 232, 0.14) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.hero-ref--tech .hero-ref__stage {
  position: relative;
  z-index: 1;
  max-width: none;
  margin: 0;
  padding: 2.25rem 0.5rem 2rem;
  min-height: clamp(340px, 42vw, 420px);
}

.hero-ref--tech .hero-ref__stage-bg {
  border-color: rgba(0, 168, 232, 0.35);
  box-shadow:
    0 0 0 1px rgba(0, 168, 232, 0.08),
    0 24px 64px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-ref--tech .hero-ref__stage-bg-gradient {
  background:
    radial-gradient(ellipse 80% 60% at 20% 20%, rgba(0, 168, 232, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse 70% 55% at 85% 75%, rgba(21, 101, 184, 0.18) 0%, transparent 52%),
    linear-gradient(155deg, rgba(10, 52, 96, 0.95) 0%, rgba(7, 40, 72, 0.92) 50%, rgba(4, 20, 40, 0.95) 100%);
}

.hero-ref--tech .hero-ref__stage-bg-grid {
  opacity: 0.18;
  background:
    linear-gradient(rgba(0, 168, 232, 0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, 0.15) 1px, transparent 1px);
}

.hero-ref--tech .hero-ref__sector {
  background: rgba(4, 15, 30, 0.75);
  border-color: rgba(0, 168, 232, 0.35);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
}

.hero-ref--tech .hero-ref__machine-img {
  aspect-ratio: auto;
  min-height: clamp(140px, 20vw, 200px);
  height: clamp(140px, 20vw, 200px);
  align-items: flex-end;
  background: radial-gradient(ellipse 90% 70% at 50% 90%, rgba(0, 168, 232, 0.18) 0%, transparent 72%);
}

.hero-ref--tech .hero-ref__machine-img img {
  max-height: 112%;
  max-width: 108%;
  width: auto;
  filter:
    drop-shadow(0 22px 44px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 28px rgba(0, 168, 232, 0.12));
}

.hero-ref--tech .hero-ref__machine:hover .hero-ref__machine-img img {
  filter:
    drop-shadow(0 26px 48px rgba(0, 168, 232, 0.25))
    drop-shadow(0 0 36px rgba(0, 168, 232, 0.2));
  transform: translateY(-4px) scale(1.03);
}

.hero-ref--tech .hero-ref__machines {
  gap: 0.375rem;
  padding: 0 0.25rem;
}

.hero-ref--tech .hero-ref__machine-name {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.5rem, 1.4vw, 0.625rem);
  max-width: none;
}

.hero-ref--tech .hero-ref__product-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 168, 232, 0.3);
  color: var(--blue-accent);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .hero-ref--tech .hero-ref__machines {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
  }

  .hero-ref__layout--focus .hero-ref__copy {
    text-align: center;
    align-items: center;
    margin: 0 auto;
  }

  .hero-ref__layout--focus .hero-ref__subtitle {
    align-items: center;
  }

  .hero-ref__layout--focus .hero-ref__actions {
    justify-content: center;
  }
}

@media (min-width: 992px) {
  .hero-ref--tech {
    padding: calc(var(--header-h) + 2.5rem) 0 4.5rem;
  }

  .hero-ref__layout--focus {
    gap: 2rem;
  }

  .hero-ref--tech .hero-ref__stage {
    padding: 2.75rem 1.25rem 2.25rem;
  }
}

@media (max-width: 991px) {
  .hero-ref--tech .hero-ref__inner {
    text-align: center;
  }

  .hero-ref__copy {
    align-items: center;
  }

  .hero-ref--tech .hero-ref__subtitle {
    align-items: center;
  }

  .hero-ref--tech .hero-ref__actions {
    justify-content: center;
  }

  .hero-ref--tech .hero-ref__stats {
    max-width: 480px;
    margin: 0 auto;
  }

  .hero-ref--tech .hero-ref__stage {
    min-height: auto;
    padding: 1.75rem 0.75rem 1.5rem;
  }

  .hero-ref--tech .hero-ref__machines {
    grid-template-columns: repeat(2, 1fr);
    align-items: start;
    gap: 1rem 0.625rem;
    max-width: none;
    padding: 0 0.25rem;
  }

  .hero-ref--tech .hero-ref__machine {
    position: relative;
    z-index: 1;
    gap: 0.5rem;
    min-width: 0;
    width: 100%;
  }

  .hero-ref--tech .hero-ref__machine-img {
    overflow: hidden;
    height: clamp(108px, 26vw, 148px);
    min-height: 108px;
  }

  .hero-ref--tech .hero-ref__machine-img img {
    max-height: 100%;
    max-width: 100%;
    transform: none;
  }

  .hero-ref--tech .hero-ref__machine:hover .hero-ref__machine-img img {
    transform: none;
  }

  .hero-ref--tech .hero-ref__products {
    min-height: 38px;
    padding: 0.2rem 0;
    gap: 0.375rem;
  }

  .hero-ref--tech .hero-ref__product-chip {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .hero-ref--tech .hero-ref__product-chip svg {
    width: 17px;
    height: 17px;
  }

  .hero-ref--tech .hero-ref__machine-name {
    font-size: 0.5625rem;
    line-height: 1.3;
    min-height: auto;
    padding: 0 0.125rem;
    max-width: 100%;
  }

  .hero-ref--tech .hero-ref__machine-name--long {
    font-size: 0.5rem;
  }
}

@media (max-width: 520px) {
  .hero-ref--tech .hero-ref__machines {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-ref--tech .hero-ref__machine-img {
    height: clamp(128px, 36vw, 168px);
    min-height: 128px;
  }

  .hero-ref--tech .hero-ref__machine-name {
    font-size: 0.625rem;
  }

  .hero-ref--tech .hero-ref__machine-name--long {
    font-size: 0.5625rem;
  }
}
