/* =========================================
   HERO SLIDER — AIRES
   ========================================= */

.hero-slider-section {
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  background: #060608;
  isolation: isolate;
  overflow: hidden;
}

.hero-slider-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(var(--hero-slide-scale, 1.035));
  transition:
    opacity 1.15s ease,
    transform 1.8s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 1.15s ease;
  background-size: var(--hero-bg-size, cover);
  background-position: var(--hero-bg-pos, center center);
  background-repeat: no-repeat;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(5, 6, 10, 0.06) 0%,
      rgba(5, 6, 10, 0.1) 50%,
      rgba(5, 6, 10, 0.3) 100%
    );
}

.hero-slider-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 7, 10, 0.02), rgba(6, 7, 10, 0.06));
}

.hero-slider-noise,
.hero-slider-lines,
.hero-slider-glow,
.hero-slider-copy,
.hero-slider-eyebrow,
.hero-slider-badge {
  display: none;
}

.hero-slider-content {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100svh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 120px;
  padding-bottom: 32px;
}

.hero-slider-panel {
  position: relative;
  align-self: end;
  width: min(100%, 420px);
  margin-left: clamp(16px, 3vw, 40px);
  padding: 14px 14px 12px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(10, 12, 16, 0.42);
  box-shadow:
    0 12px 34px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero-slider-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
}

.hero-slider-panel-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.hero-panel-kicker {
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-panel-index {
  display: none;
}

.hero-slider-panel-text {
  position: relative;
  z-index: 1;
  max-width: 100%;
}

.hero-panel-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.hero-panel-meta span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel-meta-divider {
  width: 12px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-slider-panel-text h2 {
  max-width: 100%;
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-slider-panel-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.45;
  font-size: 0.84rem;
  max-width: 100%;
  margin: 0;
}

/* =========================================
   CONTROLS
   ========================================= */

.hero-slider-controls {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.hero-nav {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition:
    transform var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-nav span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.82rem;
  line-height: 1;
  transform: translateY(-1px);
}

.hero-nav:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

/* =========================================
   THUMBS
   ========================================= */

.hero-slider-thumbs {
  position: absolute;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(18px, 2vw, 28px);
  z-index: 7;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin: 0;
  padding: 10px 12px;

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(10, 12, 16, 0.34);
  box-shadow:
    0 14px 34px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  width: fit-content;
  max-width: calc(100vw - 32px);

  overflow: visible;
}

.hero-thumb {
  position: relative;
  width: 42px;
  height: 42px;
  min-width: 42px;
  flex: 0 0 42px;

  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(255,255,255,0.04);

  cursor: pointer;
  opacity: 0.76;
  transform: scale(0.96);

  transition:
    transform var(--transition),
    opacity var(--transition),
    border-color var(--transition),
    box-shadow var(--transition),
    filter var(--transition);

  overflow: hidden;
  padding: 0;

  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, 0.18),
    0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.03), rgba(0,0,0,0.18));
}

.hero-thumb:hover {
  opacity: 0.95;
  transform: scale(1);
  filter: brightness(1.03);
}

.hero-thumb.is-active {
  opacity: 1;
  transform: scale(1.04);
  border-color: rgba(255, 255, 255, 0.82);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.08),
    0 0 0 3px rgba(255,255,255,0.10),
    0 10px 22px rgba(0, 0, 0, 0.24);
}
/* =========================================
   SCROLL DOWN
   ========================================= */

.hero-scroll-down {
  position: absolute;
  left: 50%;
  bottom: 14px;
  z-index: 6;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  transition: transform var(--transition), color var(--transition);
}

.hero-scroll-down:hover {
  transform: translateX(-50%) translateY(2px);
  color: var(--white);
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.5));
}

.hero-scroll-text {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-scroll-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: heroArrowFloat 2.6s ease-in-out infinite;
}

.hero-scroll-arrow svg {
  width: 16px;
  height: 16px;
}

@keyframes heroArrowFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 900px) {
  .hero-slider-content {
    padding-top: 110px;
    padding-bottom: 28px;
  }

  .hero-slider-panel {
    width: min(100%, 360px);
    margin-left: 16px;
    padding: 12px 12px 10px;
    border-radius: 16px;
  }

  .hero-slider-controls {
    right: 10px;
    top: 10px;
    gap: 6px;
  }

  .hero-nav {
    width: 32px;
    height: 32px;
  }

  .hero-nav span {
    font-size: 0.76rem;
    transform: translateY(-1px);
  }

  .hero-slider-panel-text h2 {
    font-size: 1.05rem;
  }

  .hero-slider-panel-text p {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .hero-slider-thumbs {
    right: 14px;
    bottom: 20px;
    gap: 6px;
    padding: 8px 10px;
    max-width: calc(100vw - 28px);
    overflow: visible;
  }

  .hero-thumb {
    width: 38px;
    height: 38px;
    min-width: 38px;
    flex: 0 0 38px;
  }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 640px) {
  .hero-slider-content {
    padding-top: 100px;
    padding-bottom: 20px;
    align-items: flex-end;
  }

  .hero-slider-thumbs,
  .hero-slider-controls,
  .hero-scroll-down {
    display: none !important;
  }

  .hero-slider-panel {
    width: calc(100% - 32px);
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
    padding: 11px 11px 10px;
    border-radius: 14px;
  }

  .hero-slider-panel-top {
    margin-bottom: 6px;
  }

  .hero-panel-kicker {
    font-size: 0.6rem;
  }

  .hero-panel-meta {
    margin-bottom: 6px;
    gap: 6px;
  }

  .hero-panel-meta span {
    font-size: 0.62rem;
  }

  .hero-slider-panel-text h2 {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }

  .hero-slider-panel-text p {
    font-size: 0.76rem;
    line-height: 1.36;
  }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 420px) {
  .hero-slider-panel {
    width: calc(100% - 24px);
    margin-left: 12px;
    margin-right: 12px;
    padding: 10px 10px 9px;
  }

  .hero-slider-panel-text h2 {
    font-size: 0.92rem;
  }

  .hero-slider-panel-text p {
    font-size: 0.72rem;
    line-height: 1.34;
  }
}