/* ===========================================================
   HERO – layout comun (home, pricing etc.)
   =========================================================== */

.hero {
  position: relative;
  width: 100%;
  color: #f9fafb;
  background: #0B1F38;
  overflow: hidden;
  min-height: var(--hero-height, 520px);
}

/* imaginea ocupă TOT hero-ul */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg picture,
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* gradient pe stânga pentru lizibilitate text */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(2, 10, 30, 0.78),
    rgba(2, 10, 30, 0.55),
    transparent 55%
  );
}

/* overlay cu text */
.hero-overlay {
  position: relative;
  z-index: 3;
  min-height: var(--hero-height, 520px);
  display: flex;
  align-items: center;
}

.hero-overlay .container {
  width: 100%;
  display: flex;
  align-items: center;
}

/* textul din stânga (cam 1/3 din lățime) */
.hero-content {
  max-width: 32%;
}

/* kicker / title / subtitle */

.hero-kicker {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin: 0 0 0.5rem;
}

.hero-title {
  margin: 0 0 0.75rem;
  font-size: 2.4rem;
  line-height: 1.2;
  color: #00d4ff;
  font-weight: 600;
}

.hero-subtitle {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.5;
  color: rgba(229, 244, 251, 0.96);
  max-width: 34rem;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .hero-content {
    max-width: 55%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 420px;
  }

  .hero-overlay {
    min-height: 420px;
    align-items: flex-end;
    padding-bottom: 16px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* pe mobil gradient mai mult vertical */
  .hero::before {
    background: linear-gradient(
      to bottom,
      rgba(2, 10, 30, 0.7),
      rgba(2, 10, 30, 0.5),
      transparent 65%
    );
  }
}
