.home-main {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) max(20px, env(safe-area-inset-right)) 64px
    max(20px, env(safe-area-inset-left));
}
.home-hero {
  max-width: 720px;
  margin-bottom: 28px;
}
.home-hero h1 {
  margin: 0;
  font-size: clamp(31px, 5vw, 54px);
  line-height: 1.18;
  letter-spacing: -0.045em;
}
.home-hero > p:last-child {
  margin: 18px 0 0;
  color: var(--secondary);
  font-size: clamp(15px, 2vw, 18px);
}
.map-choices {
  margin-top: 32px;
}
.map-choices .section-heading {
  margin-bottom: 16px;
}
.destinations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.destination-card {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 13px;
  min-height: 180px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-decoration: none;
}
.destination-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.destination-card > span:nth-child(2) {
  display: grid;
  gap: 5px;
}
.destination-card small {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 650;
}
.destination-card strong {
  font-size: 22px;
  letter-spacing: -0.03em;
}
.destination-card > span:nth-child(2) > span {
  color: var(--secondary);
  font-size: 13px;
  line-height: 1.5;
}
.destination-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  color: var(--accent);
  background: var(--accent-soft);
  font-size: 24px;
  font-weight: 600;
}
.destination-arrow {
  color: var(--accent);
  font-size: 30px;
  line-height: 1;
}
.route-card {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: -0.03em;
}
.section-heading > p {
  margin: 0;
  color: var(--secondary);
  font-size: 14px;
}
.route-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}
.route-fields label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 680;
}
.route-fields .optional {
  color: var(--secondary);
  font-size: 12px;
  font-weight: 500;
}
.route-fields select {
  width: 100%;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface-soft);
  font-size: 16px;
}
.route-card .primary-button {
  min-width: 200px;
}
@media (max-width: 760px) {
  .destinations {
    grid-template-columns: 1fr;
  }
  .destination-card {
    min-height: 112px;
    align-items: center;
    padding: 17px;
  }
  .section-heading {
    display: block;
  }
  .section-heading > p {
    margin-top: 8px;
  }
  .route-fields {
    grid-template-columns: 1fr;
  }
  .route-card .primary-button {
    width: 100%;
  }
}
.platform-return {
  margin-top: 30px;
  text-align: right;
  color: var(--secondary);
  font-size: 14px;
}
.platform-return a {
  font-weight: 700;
}
