/* Hero Slider Styles — Scoped under .common-hero */
.common-hero {
  --hero-bg: oklch(99% 0.002 240);
  --hero-surface: oklch(100% 0 0);
  --hero-fg: oklch(18% 0.02 250);
  --hero-muted: oklch(54% 0.01 250);
  --hero-border: oklch(92% 0.005 250);
  --hero-exclusive: oklch(25% 0.04 255);
  --hero-accent: oklch(58% 0.20 30);
  --hero-accent-hover: oklch(52% 0.20 30);
  --hero-success: oklch(55% 0.16 150);
  --hero-danger: oklch(54% 0.18 25);
  --hero-font-display: 'Playfair Display', Georgia, serif;
  --hero-font-hero: 'Clash Display', 'Playfair Display', -apple-system, serif;
  --hero-font-strong: 'Montserrat', sans-serif;
  --hero-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --hero-font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

.common-hero * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.common-hero .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Primary buttons */
.common-hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid transparent;
}

.common-hero .btn-primary {
  background-color: var(--hero-accent);
  color: #fff;
}

.common-hero .btn-primary:hover {
  background-color: var(--hero-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.common-hero .btn-outline {
  background-color: transparent;
  border-color: var(--hero-border);
  color: var(--hero-fg);
}

.common-hero .btn-outline:hover {
  border-color: var(--hero-fg);
  background: rgba(0,0,0,0.01);
}

/* Hero Section */
.common-hero .hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 0 100px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}

.common-hero .hero-title-keyword {
  font-family: var(--hero-font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hero-muted);
  margin-bottom: 12px;
  display: block;
  font-weight: 500;
}

.common-hero .hero h2,
.common-hero .hero .hero-title {
  font-family: var(--hero-font-hero);
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--hero-exclusive);
  margin-bottom: 24px;
}

.common-hero .hero h2 span,
.common-hero .hero .hero-title span {
  color: var(--hero-muted);
  font-weight: 400;
}

.common-hero .hero p.lead,
.common-hero .hero .hero-lead {
  font-size: 18px;
  color: var(--hero-muted);
  max-width: 760px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.common-hero .hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Slider */
.common-hero .hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.common-hero .hero-swiper .swiper-slide {
  background-size: cover;
  background-position: center;
  height: 100%;
}

.common-hero .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(9, 15, 29, 0.98) 0%,
    rgba(11, 19, 34, 0.94) 30%,
    rgba(38, 28, 20, 0.82) 55%,
    rgba(20, 16, 12, 0.40) 75%,
    rgba(9, 12, 20, 0.15) 100%
  );
  pointer-events: none;
}

.common-hero .hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
}

.common-hero .hero-swiper-pagination {
  display: flex;
  gap: 8px;
}

.common-hero .hero-swiper-pagination .swiper-pagination-bullet {
  width: 48px;
  height: 3px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
  display: inline-block;
  cursor: pointer;
  opacity: 1 !important;
}

.common-hero .hero-swiper-pagination .swiper-pagination-bullet .progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--hero-accent);
  border-radius: 2px;
}

.common-hero .hero-swiper-pagination .swiper-pagination-bullet-active .progress-bar {
  animation: heroAutoplayProgress 5000ms linear forwards;
}

@keyframes heroAutoplayProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

.common-hero .hero-swiper-arrows {
  display: flex;
  gap: 6px;
}

.common-hero .hero-swiper-arrows button {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.common-hero .hero-swiper-arrows button:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.4);
}

.common-hero .hero .container {
  position: relative;
  z-index: 2;
}

/* When hero has slider, adjust padding to use the dark bg */
.common-hero .hero.with-slider {
  color: #fff;
}

.common-hero .hero.with-slider .hero-title-keyword {
  color: rgba(255,255,255,0.5);
}

.common-hero .hero.with-slider h2,
.common-hero .hero.with-slider .hero-title {
  color: #fff;
}

.common-hero .hero.with-slider h2 span,
.common-hero .hero.with-slider .hero-title span {
  color: rgba(255,255,255,0.55);
}

.common-hero .hero.with-slider p.lead,
.common-hero .hero.with-slider .hero-lead {
  color: rgba(255,255,255,0.7);
}

.common-hero .hero.with-slider .btn-outline {
  border-color: rgba(255,255,255,0.25);
  color: #fff;
}

.common-hero .hero.with-slider .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
}

@media (max-width: 768px) {
  .common-hero .hero {
    min-height: 80vh;
    padding: 120px 0 60px;
  }

  .common-hero .hero h2,
  .common-hero .hero .hero-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .common-hero .hero p.lead,
  .common-hero .hero .hero-lead {
    font-size: 15px;
  }

  .common-hero .hero-actions {
    flex-direction: column;
  }

  .common-hero .hero-actions .btn {
    width: 100%;
  }

  .common-hero .hero-title-keyword {
    font-size: 11px;
  }

  .common-hero .hero-slider-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}
