/**
 * Hero Section Components
 */

.hero {
  padding: 92px 0 70px;
}

.hero-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: stretch;
}

.hero-copy {
  padding: clamp(4px, 1.2vw, 10px) 0 0;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--font-family-serif);
  line-height: 1.12;
  letter-spacing: 0;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.hero-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  max-width: 760px;
}

.hero-stack .hero-copy h1 {
  max-width: 760px;
}

.hero-cta {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-cta .btn {
  border-radius: 999px;
}

/* Hero Panel (Right side card) */
.hero-panel {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  background: linear-gradient(165deg, #154f67, #0d7584 56%, #f0883b);
  padding: clamp(22px, 4vw, 36px);
  color: #fff;
  position: relative;
}

.hero-panel::after {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  bottom: -110px;
  right: -75px;
}

.hero-panel h3 {
  margin: 0;
  font-size: 1.3rem;
}

.hero-points {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.hero-points li {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  padding: 12px 14px;
}

/* Hero Slider/Banner */
.hero-slider {
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: calc(var(--radius) + 6px);
  min-height: clamp(220px, 36vw, 420px);
  background:
    linear-gradient(140deg, rgba(15, 54, 76, 0.92), rgba(14, 37, 56, 0.9)),
    radial-gradient(circle at 85% 8%, rgba(255, 155, 65, 0.2), transparent 38%);
  display: grid;
  align-items: end;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.hero-slider.has-image {
  min-height: 0;
  background: none;
  display: block;
}

.hero-slider-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.slider-shell {
  padding: clamp(18px, 4vw, 34px);
  background: linear-gradient(180deg, rgba(6, 14, 26, 0), rgba(6, 14, 26, 0.8));
}

.slider-kicker {
  margin: 0;
  color: #88dbe3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 700;
}

.slider-shell h2 {
  margin: 10px 0 0;
  color: #ecf5ff;
  font-size: clamp(1.1rem, 2.6vw, 1.8rem);
}

.slider-shell p {
  margin: 10px 0 0;
  color: #afc3d8;
  max-width: 72ch;
}

/* Hero Stack Variant (Homepage) */
.hero-stack .container {
  display: grid;
  gap: 18px;
}

.hero-stack .hero-copy {
  max-width: none;
  margin: 0;
  text-align: left;
}

.hero-stack .hero-copy p {
  margin-left: 0;
  margin-right: 0;
}

.hero-stack .hero-copy h1 {
  max-width: 760px;
  margin: 0;
}

.hero-stack .hero-copy h1 .hero-title-line {
  display: block;
}

.hero-stack .hero-copy h1 .hero-title-line + .hero-title-line {
  margin-top: 0.14em;
}

.hero-title-line {
  display: block;
}

.hero-stack .hero-cta {
  justify-content: flex-start;
}

/* Responsive Hero */
@media (max-width: 1024px) {
  .hero-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  .hero {
    padding-top: 60px;
  }
}

@media (max-width: 560px) {
  .hero-copy {
    padding: 8px 0 0;
  }
}
