/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero { position: relative; }
.slider { position: relative; height: 600px; overflow: hidden; background: var(--black); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; pointer-events: none; }
.slide.active { opacity: 1; pointer-events: auto; }
.slide-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.slide-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg,
    rgba(20,21,28,0.88) 0%,
    rgba(20,21,28,0.55) 45%,
    rgba(20,21,28,0.1) 100%);
}
.slide-img::before {
  content: ''; position: absolute; inset: 0; opacity: 0.22;
  background-image:
    repeating-linear-gradient(100deg, transparent 0 38px, rgba(0,0,0,0.4) 38px 40px),
    repeating-linear-gradient(10deg, transparent 0 60px, rgba(255,255,255,0.04) 60px 62px);
}
.slide-content {
  position: relative; z-index: 3;
  max-width: 1340px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; flex-direction: column; justify-content: center;
}
.slide-eyebrow {
  display: inline-flex; align-items: center;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--yellow); font-weight: 700; margin-bottom: 18px;
  padding-left: 14px;
  border-left: 3px solid var(--yellow);
  line-height: 1.2;
}
.slide-eyebrow::before { display: none; }
.slide h2 {
  font-family: var(--serif);
  font-size: clamp(48px, 6vw, 82px);
  font-weight: 800; line-height: 0.92; color: white;
  text-transform: uppercase; max-width: 760px; margin-bottom: 20px;
}
.slide h2 .y { color: var(--yellow); }
.slide p { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 480px; margin-bottom: 30px; line-height: 1.6; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* HERO SEARCH */
.hero-search {
  position: relative;
  z-index: 7;
  max-width: 1340px;
  margin: -42px auto 0;
  padding: 0 28px;
}
.hero-search__form {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  background: var(--white);
  border: 1px solid rgba(20,21,28,0.08);
  border-bottom: 4px solid var(--yellow);
  border-radius: 5px;
  box-shadow: 0 18px 45px rgba(20,21,28,0.22);
  overflow: hidden;
}
.hero-search__form input {
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 20px 22px;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 600;
}
.hero-search__form input::placeholder { color: var(--steel); font-weight: 500; }
.hero-search__form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 132px;
  border: 0;
  background: var(--yellow);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s;
}
.hero-search__form button:hover { background: #fff45a; }

/* Controls */
.slider-dots {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5;
}
.slider-dots button {
  width: 40px; height: 4px; background: rgba(255,255,255,0.3);
  border: none; cursor: pointer; transition: background 0.2s; padding: 0;
}
.slider-dots button.active { background: var(--yellow); }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 52px; height: 52px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3); color: white; font-size: 20px;
  transition: all 0.2s; display: grid; place-items: center;
}
.slider-arrow:hover { background: var(--yellow); color: var(--black); border-color: var(--yellow); }
.slider-arrow.prev { left: 28px; }
.slider-arrow.next { right: 28px; }

/* SEGMENT BAR */
.seg-bar { background: var(--black); }
.seg-bar-inner {
  max-width: 1340px; margin: 0 auto; padding: 0 28px;
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.seg-bar a {
  padding: 26px 28px; color: white; border-right: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; gap: 18px;
  transition: background 0.2s; position: relative; overflow: hidden;
}
.seg-bar a:last-child { border-right: none; }
.seg-bar a::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: var(--yellow); transform: scaleY(0); transition: transform 0.25s; transform-origin: bottom;
}
.seg-bar a:hover { background: var(--black-soft); }
.seg-bar a:hover::before { transform: scaleY(1); }
.seg-bar .num { font-family: var(--serif); font-size: 38px; font-weight: 800; color: var(--yellow); line-height: 1; }
.seg-bar .txt strong { display: block; font-size: 16px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.seg-bar .txt span { font-size: 13px; color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) {
  .seg-bar-inner { grid-template-columns: 1fr; }
  .seg-bar a { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 600px) {
  .slider { height: 560px; }
  .slide-content {
    justify-content: flex-start;
    padding: 92px 18px 0;
  }
  .slide-eyebrow { font-size: 10px; margin-bottom: 13px; }
  .slide h2 { font-size: 40px; margin-bottom: 14px; }
  .slide p { font-size: 15px; margin-bottom: 18px; line-height: 1.5; }
  .slide-actions { gap: 10px; }
  .slide-actions .btn { min-height: 42px; padding: 11px 14px; font-size: 12px; }
  .hero-search {
    margin-top: -112px;
    padding: 0 14px;
  }
  .hero-search__form {
    width: 100%;
    grid-template-columns: 1fr 48px;
    border-bottom-width: 3px;
    box-shadow: 0 12px 30px rgba(20,21,28,0.28);
  }
  .hero-search__form input {
    padding: 16px 14px;
    font-size: 15px;
  }
  .hero-search__form button {
    min-width: 48px;
  }
  .hero-search__form button span { display: none; }
}

@media (max-width: 768px) {
  .slider-arrow {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .slider-arrow.prev { left: 16px; }
  .slider-arrow.next { right: 16px; }
  .slider-dots { bottom: 72px; }
}
