:root {
  --bg-dark: #0f1f30;
  --bg-darker: #081625;
  --surface: #f8f8f8;
  --text-main: #ffffff;
  --button: #08253c;
  --button-hover: #0c3150;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: radial-gradient(circle at 20% 15%, #334d67 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.35;
  pointer-events: none;
}

.content {
  position: relative;
  width: min(1120px, 100%);
  text-align: center;
}

h1 {
  margin: 0 0 40px;
  color: var(--text-main);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
}

.search-bar {
  display: grid;
  grid-template-columns: 1.4fr 1.1fr 1.1fr 1.1fr 170px;
  gap: 10px;
}

.search-bar input,
.search-bar select,
.search-bar button {
  height: 44px;
  border-radius: 10px;
  border: none;
  font-size: 16px;
  font-family: inherit;
}

.search-bar input,
.search-bar select {
  padding: 0 14px;
  background: var(--surface);
  color: #1a1a1a;
}

.search-bar input::placeholder {
  color: #7d7d7d;
}

.search-bar select {
  cursor: pointer;
}

.search-bar button {
  background: var(--button);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-bar button:hover {
  background: var(--button-hover);
}

@media (max-width: 980px) {
  .search-bar {
    grid-template-columns: 1fr 1fr;
  }

  .search-bar button {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .search-bar {
    grid-template-columns: 1fr;
  }
}
