/* --- HERO --- */

.hero-frame {
  background-color: #ffffff;
  padding: 0 12px;
}

.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 160px 32px 32px;
  border-radius: 24px;
  background-color: var(--color-primary-900);
  background-image: var(--bg-desktop);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(0, 26, 53, 0.9) 0%,
    rgba(0, 26, 53, 0.55) 45%,
    rgba(0, 26, 53, 0.3) 65%,
    rgba(0, 26, 53, 0.08) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: #ffffff;
  text-align: left;
}

.hero-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1;
  color: #ffffff;
  text-wrap: balance;
}

.hero-subtitle {
  margin: 20px 0 0;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.5;
  color: #ffffff;
}

.hero-usp-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.usp-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 6px 8px;
  border: none;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 14px;
  line-height: 1.3;
}

.usp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "fontello", sans-serif !important;
  font-size: 1em;
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  color: #ffffff;
}

.usp-icon::before {
  content: none !important;
  display: none !important;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: 32px;
}

.hero .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 24px;
  border: none;
  border-radius: 99px;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.hero .btn .icon-chevron-right {
  font-family: "fontello", sans-serif !important;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  color: inherit;
}

.hero .btn .icon-chevron-right::before {
  content: none !important;
  display: none !important;
}

.hero .btn-primary {
  background-color: #ffffff;
  color: var(--color-primary-dark);
}

.hero .btn-primary:hover {
  background-color: #ffffff;
  color: var(--color-primary-dark);
}

.hero .btn-secondary {
  background-color: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* --- ≤ 1400px --- */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 64px;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 26, 53, 0.92) 0%,
      rgba(0, 26, 53, 0.6) 50%,
      rgba(0, 26, 53, 0.35) 72%,
      rgba(0, 26, 53, 0.1) 100%
    );
  }
}

/* --- ≤ 1200px --- */
@media (max-width: 1200px) {
  .hero {
    padding: 140px 28px 28px;
  }

  .hero-title {
    font-size: 56px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 26, 53, 0.93) 0%,
      rgba(0, 26, 53, 0.65) 55%,
      rgba(0, 26, 53, 0.4) 78%,
      rgba(0, 26, 53, 0.12) 100%
    );
  }
}

/* --- ≤ 992px --- */
@media (max-width: 992px) {
  .hero {
    padding: 120px 24px 24px;
    border-radius: 20px;
  }

  .hero-content {
    max-width: 640px;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 16px;
  }

  .usp-pill {
    font-size: 13px;
  }

  .hero-usp-list {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-overlay {
    background: linear-gradient(
      to right,
      rgba(0, 26, 53, 0.94) 0%,
      rgba(0, 26, 53, 0.7) 60%,
      rgba(0, 26, 53, 0.45) 85%,
      rgba(0, 26, 53, 0.18) 100%
    );
  }
}

/* --- Mobil ≤ 768px --- */
@media (max-width: 768px) {
  .hero-frame {
    padding: 0 8px;
  }

  .hero {
    padding: 48px 20px 24px;
    border-radius: 16px;
    background-image: var(--bg-mobile);
  }

  .hero-overlay {
    background: rgba(0, 26, 53, 0.72);
  }

  .hero-content {
    max-width: none;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    margin-top: 14px;
    font-size: 15px;
  }

  .hero-usp-list {
    margin-top: 20px;
  }

  .usp-pill {
    font-size: 13px;
    padding: 5px 10px 5px 7px;
  }

  .hero-actions {
    margin-top: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Kis mobil ≤ 576px --- */
@media (max-width: 576px) {
  .hero {
    padding: 48px 16px 20px;
    border-radius: 14px;
  }

  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .usp-pill {
    font-size: 12px;
  }

  .hero-overlay {
    background: rgba(0, 26, 53, 0.78);
  }
}
