.home-main {
  min-height: calc(100vh - 62px);
  background: #ffffff;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #edf0f3;
}

.header-inner {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #17384b;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: -0.3px;
}

.header-tagline {
  color: #8a96a2;
  font-size: 13px;
  font-weight: 300;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 82px 0 74px;
  background: radial-gradient(circle at 50% 10%, rgba(34, 103, 122, 0.08), transparent 34%), linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.hero-section::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -220px;
  width: 640px;
  height: 320px;
  border: 1px solid rgba(23, 56, 75, 0.07);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 29px;
  padding: 0 12px;
  margin-bottom: 18px;
  border: 1px solid #dbe6eb;
  border-radius: 999px;
  background: #ffffff;
  color: #2a6f72;
  font-size: 13px;
  font-weight: 400;
}

.hero-inner h1 {
  margin: 0;
  color: #163144;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: -1.4px;
}

.hero-inner p {
  max-width: 620px;
  margin: 18px auto 30px;
  color: #6f7e8d;
  font-size: 15px;
  line-height: 1.75;
  font-weight: 300;
}

.search-box {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    1px
    minmax(0, 1fr)
    132px;
  align-items: center;
  max-width: 900px;
  min-height: 74px;
  margin: 0 auto;
  padding: 9px;
  border: 1px solid #dfe6eb;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 20px 55px rgba(27, 55, 72, 0.09);
}

.search-field {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 12px;
  text-align: left;
}

.search-icon {
  color: #77909f;
  font-size: 15px;
  text-align: center;
}

.search-field label {
  display: block;
  margin-bottom: 3px;
  color: #526270;
  font-size: 13px;
  font-weight: 400;
}

.search-field input {
  width: 100%;
  height: 26px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #1f3545;
  font-size: 14px;
  font-weight: 300;
}

.search-field input::placeholder {
  color: #98a3ad;
}

.search-divider {
  width: 1px;
  height: 38px;
  background: #e4e9ed;
}

.search-box button {
  height: 54px;
  border: 0;
  border-radius: 13px;
  background: #492cf9;
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.search-box button:hover {
  background: #102f3f;
  transform: translateY(-1px);
}

.search-note {
  display: block;
  margin-top: 14px;
  color: #8996a1;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 300;
}

.cities-section {
  padding: 54px 0 72px;
  background: #ffffff;
}

.cities-section .site-container {
  max-width: 1120px;
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}

.section-heading span {
  display: block;
  margin-bottom: 6px;
  color: #2a7473;
  font-size: 13px;
  font-weight: 400;
}

.section-heading h2 {
  margin: 0;
  color: #1a3446;
  font-size: 25px;
  line-height: 1.25;
  font-weight: 400;
  letter-spacing: -0.5px;
}

.section-heading p {
  max-width: 420px;
  margin: 8px auto 0;
  color: #83909b;
  font-size: 13px;
  line-height: 1.65;
  font-weight: 300;
  text-align: center;
}

.city-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: 980px;
  margin: 0 auto;
}

.city-card {
  width: 210px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 16px;
  border: 1px solid #dfe5ea;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(25, 48, 62, 0.04);
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    background 0.18s ease;
}

.city-card:hover {
  border-color: #9fbfc2;
  background: #fbfdfd;
  box-shadow: 0 10px 24px rgba(34, 63, 78, 0.08);
  transform: translateY(-2px);
}

.city-content {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.city-content strong {
  color: #492cf9;
  font-size: 14px;
  font-weight: 400;
  white-space: nowrap;
}

.city-content span {
  margin: 0;
  color: #8c98a2;
  font-size: 13px;
  font-weight: 300;
  white-space: nowrap;
}

.city-arrow {
  flex-shrink: 0;
  color: #9aa5ae;
  font-size: 14px;
  transition:
    color 0.18s ease,
    transform 0.18s ease;
}

.city-card:hover .city-arrow {
  color: #2a7473;
  transform: translateX(3px);
}

@media (max-width: 900px) {
  .search-box {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 12px;
  }

  .search-divider {
    display: none;
  }

  .search-field {
    min-height: 58px;
    border: 1px solid #e2e8ec;
    border-radius: 12px;
  }

  .search-box button {
    width: 100%;
  }

  .city-grid {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .header-tagline {
    display: none;
  }

  .hero-section {
    padding: 52px 0 48px;
  }

  .hero-inner h1 {
    font-size: 34px;
    letter-spacing: -1px;
  }

  .hero-inner p {
    font-size: 14px;
  }

  .cities-section {
    padding: 42px 0 54px;
  }

  .section-heading {
    margin-bottom: 20px;
    padding: 0 12px;
  }

  .city-grid {
    display: grid;
    grid-template-columns: 1fr;
    max-width: none;
  }

  .city-card {
    width: 100%;
    min-width: 0;
  }
}
