.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: var(--bg-dark);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  transform: translateZ(0);
  will-change: transform;
  backface-visibility: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--bg-dark) 0%, rgba(30,35,43,0.3) 100%);
}

[dir='rtl'] .hero-slide::after {
  background: linear-gradient(to left, var(--bg-dark) 0%, rgba(30,35,43,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: start;
  width: 45%;
  margin-left: 0;
  margin-right: auto;
  padding-left: calc(max(24px, (100vw - 1140px) / 2));
  padding-right: 40px;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 500;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-slogan {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 440px;
}

.hero-phone {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-phone svg {
  width: 16px;
  height: 16px;
  stroke: var(--accent);
}

[dir='rtl'] .hero-content {
  margin-left: auto;
  margin-right: 0;
  padding-right: calc(max(24px, (100vw - 1140px) / 2));
  padding-left: 40px;
}

[dir='rtl'] .hero-slides {
  right: auto;
  left: 0;
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0% 100%);
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
  }
  .hero-slides, [dir='rtl'] .hero-slides {
    position: relative;
    width: 100%;
    height: 45vh;
    clip-path: none;
    left: 0;
    right: 0;
  }
  .hero-slide::after {
    background: linear-gradient(to bottom, transparent 50%, var(--bg-dark) 100%);
  }
  .hero-content {
    width: 100%;
    padding: 40px 24px 60px;
    margin: 0;
    position: relative;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-slogan {
    font-size: 1rem;
  }
}
