:root {
  --hero-blue: #1769e0;
  --hero-blue-dark: #0d4fb5;
  --hero-red: #e53935;
  --hero-text: #172033;
  --hero-muted: #667085;
  --hero-border: #e7ecf3;
  --hero-white: #ffffff;
  --hero-soft: #f5f8ff;
}

.hero-section {
  position: relative;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 20%,
      rgba(23, 105, 224, 0.10),
      transparent 30%
    ),
    linear-gradient(
      180deg,
      #ffffff 0%,
      #f8fbff 100%
    );

  padding: 92px 0 80px;
}

.hero-section::before {
  content: "";

  position: absolute;

  width: 420px;
  height: 420px;

  top: -180px;
  right: -120px;

  border-radius: 50%;

  background: rgba(23, 105, 224, 0.05);

  pointer-events: none;
}

.hero-container {
  width: min(1180px, calc(100% - 40px));

  margin: 0 auto;

  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 1050px;
  margin: 0 auto;

  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  padding: 9px 15px;

  border: 1px solid rgba(23, 105, 224, 0.14);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.85);

  color: var(--hero-blue);

  font-size: 13px;
  font-weight: 700;

  box-shadow:
    0 6px 20px rgba(23, 32, 51, 0.05);
}

.hero-badge-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #22a06b;

  box-shadow:
    0 0 0 4px rgba(34, 160, 107, 0.10);
}

.hero-content h1 {
  margin: 25px auto 0;

  max-width: 900px;

  color: var(--hero-text);

  font-size: clamp(46px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -3px;
  font-weight: 800;
}

.hero-content h1 span {
  display: block;

  color: var(--hero-blue);
}

.hero-description {
  max-width: 680px;

  margin: 24px auto 0;

  color: var(--hero-muted);

  font-size: 18px;
  line-height: 1.7;
}

.hero-search {
  max-width: 1040px;

  margin: 42px auto 0;

  padding: 10px;

  display: flex;
  align-items: center;

  background: var(--hero-white);

  border: 1px solid var(--hero-border);
  border-radius: 16px;

  box-shadow:
    0 20px 50px rgba(23, 32, 51, 0.10);
}

.search-field {
  flex: 1;

  min-width: 0;

  display: flex;
  align-items: center;

  gap: 12px;

  padding: 12px 16px;

  text-align: left;

  cursor: pointer;
}

.search-icon {
  width: 38px;
  height: 38px;

  flex: 0 0 38px;

  display: grid;
  place-items: center;

  border-radius: 10px;

  background: var(--hero-soft);

  color: var(--hero-blue);

  font-size: 17px;
  font-weight: 700;
}

.search-field-content {
  min-width: 0;

  display: flex;
  flex-direction: column;

  gap: 4px;
}

.search-field-content label {
  color: var(--hero-muted);

  font-size: 11px;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-field-content span {
  color: var(--hero-text);

  font-size: 14px;
  font-weight: 700;

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-divider {
  width: 1px;
  height: 42px;

  flex: 0 0 1px;

  background: var(--hero-border);
}

.search-button {
  min-height: 52px;

  padding: 0 24px;

  border: 0;
  border-radius: 12px;

  background: var(--hero-blue);
  color: var(--hero-white);

  font-size: 14px;
  font-weight: 700;

  cursor: pointer;

  white-space: nowrap;

  box-shadow:
    0 10px 24px rgba(23, 105, 224, 0.20);

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.search-button:hover {
  background: var(--hero-blue-dark);

  transform: translateY(-2px);

  box-shadow:
    0 14px 30px rgba(23, 105, 224, 0.28);
}

.hero-trust {
  margin-top: 24px;

  display: flex;
  justify-content: center;
  align-items: center;

  flex-wrap: wrap;

  gap: 24px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;

  color: var(--hero-muted);

  font-size: 13px;
  font-weight: 600;
}

.trust-icon {
  width: 20px;
  height: 20px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: rgba(34, 160, 107, 0.10);

  color: #22a06b;

  font-size: 11px;
  font-weight: 800;
}

/* ==================== TABLET ==================== */

@media (max-width: 900px) {

  .hero-section {
    padding: 72px 0 65px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 7vw, 62px);
  }

  .hero-search {
    flex-wrap: wrap;
  }

  .search-field {
    flex: 1 1 30%;
  }

  .search-divider {
    display: none;
  }

  .search-button {
    width: 100%;
    margin-top: 6px;
  }
}

/* ==================== MOBILE ==================== */

@media (max-width: 600px) {

  .hero-section {
    padding: 58px 0 55px;
  }

  .hero-container {
    width: calc(100% - 28px);
  }

  .hero-badge {
    font-size: 11px;
    padding: 8px 12px;
  }

  .hero-content h1 {
    margin-top: 21px;

    font-size: clamp(40px, 12vw, 54px);

    line-height: 1.06;

    letter-spacing: -2px;
  }

  .hero-description {
    margin-top: 20px;

    font-size: 15px;
    line-height: 1.65;
  }

  .hero-search {
    margin-top: 30px;

    padding: 9px;

    flex-direction: column;
    align-items: stretch;

    border-radius: 14px;
  }

  .search-field {
    width: 100%;

    padding: 11px 10px;
  }

  .search-icon {
    width: 36px;
    height: 36px;

    flex-basis: 36px;
  }

  .search-button {
    min-height: 50px;

    margin-top: 5px;
  }

  .hero-trust {
    margin-top: 20px;

    gap: 13px 18px;
  }

  .trust-item {
    font-size: 12px;
  }
}

.search-field-content select {
  width: 100%;

  padding: 0;

  border: 0;
  outline: 0;

  background: transparent;

  color: #172033;

  font: inherit;
  font-size: 13px;
  font-weight: 700;

  cursor: pointer;

  appearance: none;
}

.search-field-content select option {
  color: #172033;
}

