/* ============================================================
   HERO SLIDER
   ============================================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  padding-block: 0; /* override global section padding */
}

/* Reduce top gap on the section immediately after hero */
.hero + section {
  padding-block-start: var(--space-8);
}

/* Slides wrapper */
.hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-slow);
  pointer-events: none;
}

.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* Background image */
.hero__slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__slide.active .hero__slide-bg {
  transform: scale(1);
}

/* Overlay */
.hero__slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 24, 0.78) 0%,
    rgba(47, 46, 44, 0.45) 60%,
    rgba(0, 0, 0, 0.18) 100%
  );
}

/* Content */
.hero__content {
  position: relative;
  z-index: var(--z-raised);
  padding-top: 80px;
}

/* Two-column hero layout */
.hero__layout {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  width: 100%;
}

.hero__text {
  flex: 1 1 380px;
  min-width: 0;
}

.hero__visual {
  flex: 0 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__logo-anim {
  width: clamp(180px, 22vw, 300px);
  height: auto;
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.90);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.30),
    0 0 0 1px rgba(255, 255, 255, 0.25);
   filter: drop-shadow(0 12px 28px rgba(46, 155, 95, 0.28));
  animation: logoFloat 4s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,  100% { transform: translateY(0)     scale(1);    }
  50%        { transform: translateY(-14px) scale(1.03); }
}

@media (max-width: 767px) {
  .hero__visual { display: none; }
  .hero__layout { display: block; }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-secondary);
   background: rgba(46, 155, 95, 0.12);
   border: 1px solid rgba(46, 155, 95, 0.25);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}

.hero__title {
  font-size: var(--text-4xl);
  font-weight: var(--font-weight-extrabold);
  color: var(--color-white);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-5);
  max-width: 700px;
}

.hero__title em {
  font-style: normal;
  color: var(--color-secondary);
}

.hero__subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--leading-normal);
  margin-bottom: var(--space-5);
  max-width: 520px;
}

/* Key-point chips under the hero subtitle (replaces the inline " · " list) */
.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8);
  max-width: 560px;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

/* Controls */
.hero__controls {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-raised);
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.hero__dots {
  display: flex;
  gap: var(--space-2);
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  padding: 0;
}

.hero__dot.active {
  background: var(--color-white);
  width: 24px;
}

.hero__arrow {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  font-size: var(--text-lg);
  line-height: 1;
}

.hero__arrow:hover {
  background: rgba(255, 255, 255, 0.28);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-8);
  right: var(--space-8);
  z-index: var(--z-raised);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50%       { transform: scaleY(0.5); opacity: 0.4; }
}

@media (min-width: 768px) {
  .hero__title    { font-size: var(--text-5xl); }
  .hero__scroll   { display: flex; }
}

@media (min-width: 1024px) {
  .hero__title { font-size: var(--text-6xl); }
}
