main {
  gap: 30px;
}

.home-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: 34px;
  min-height: auto;
  padding: clamp(26px, 4vw, 56px) clamp(18px, 5vw, 70px) 12px;
  background: linear-gradient(180deg, #fff 0%, #f4f7f6 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 780px;
}

.home-hero h1 {
  font-style: italic;
}

.home-hero .intro {
  font-size: 18px;
}

@media (min-width: 981px) {
  .home-hero h1 {
    font-size: 70px;
  }
}

.hero-flight-path {
  position: absolute;
  top: clamp(18px, 3.4vw, 44px);
  left: clamp(390px, 39vw, 690px);
  z-index: 2;
  width: clamp(210px, 20vw, 350px);
  max-width: 28%;
  height: auto;
  color: #0f7464;
  pointer-events: none;
}

.hero-flight-curve {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-dasharray: 13 18;
  stroke-linecap: round;
  opacity: 0.68;
}

.hero-pin-icon,
.hero-plane-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-pin-icon circle {
  stroke-width: 2.6;
}

.hero-eyebrow-mark {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin: 0 0 12px -36px;
}

.hero-eyebrow-mark .eyebrow {
  margin: 0;
}

.eyebrow-burst {
  flex: 0 0 auto;
  width: 44px;
  height: 36px;
  color: var(--accent);
  transform: translateY(-4px);
}

.eyebrow-burst path {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.home-action-section {
  padding-top: 0;
  padding-bottom: 0;
}

.hero-action-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 106px;
  padding-block: 14px;
}

.hero-action-copy {
  display: grid;
  gap: 8px;
}

.hero-action-icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e7f3ee;
  color: var(--accent);
}

.hero-action-icon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.search-panel {
  display: grid;
  gap: 10px;
  max-width: 650px;
  margin-top: 22px;
}

.search-panel label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.search-panel div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.discovery-panel {
  position: relative;
  z-index: 1;
  align-self: center;
  display: grid;
  gap: 18px;
  min-height: 488px;
  padding: clamp(18px, 3vw, 26px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf7;
  box-shadow: var(--shadow);
}

.discovery-panel-heading {
  display: grid;
  gap: 8px;
}

.discovery-panel-heading h2 {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1.05;
}

.route-map {
  position: relative;
  min-height: 388px;
  border: 1px solid rgba(18, 40, 38, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(18, 40, 38, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(18, 40, 38, 0.06) 1px, transparent 1px),
    #f4f8f5;
  background-size: 44px 44px;
  overflow: hidden;
}

.route-map::before {
  content: "";
  position: absolute;
  inset: 46px 56px 58px 52px;
  border: 2px dashed rgba(24, 112, 92, 0.46);
  border-right-color: rgba(211, 106, 30, 0.52);
  border-bottom-color: rgba(36, 91, 154, 0.5);
  border-radius: 48% 52% 46% 54%;
  pointer-events: none;
}

.route-map-pins {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-pin {
  fill: currentColor;
}

.map-pin circle {
  fill: #fff;
}

.map-pin-featured {
  color: #1c8b72;
}

.map-pin-admin {
  color: #d36a1e;
}

.map-pin-rated {
  color: #245b9a;
}

.route-button {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 7px;
  width: min(74%, 250px);
  padding: 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(19, 43, 41, 0.12);
}

.route-button > span,
.quick-link-card .hero-action-copy > span,
.category-copy > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.route-button strong {
  font-size: 22px;
  line-height: 1.05;
}

.route-button p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.4;
}

.route-featured {
  top: 34px;
  left: 24px;
  border-color: rgba(42, 120, 94, 0.24);
  background: #e8f5ef;
}

.route-featured strong {
  color: #22745c;
}

.route-admin {
  top: 112px;
  right: 12px;
  border-color: rgba(184, 118, 39, 0.28);
  background: #fff3df;
}

.route-admin strong {
  color: #a4571f;
}

.route-rated {
  left: 50px;
  bottom: 16px;
  border-color: rgba(49, 105, 166, 0.24);
  background: #e7eef8;
}

.route-rated strong {
  color: #245b9a;
}

.category-grid,
.destination-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.destination-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.quick-link-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  text-decoration: none;
}

.quick-link-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  text-decoration: none;
}

.category-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.category-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-icon-do {
  background: #e7f3ee;
  color: var(--accent);
}

.category-icon-feel {
  background: #e7eef8;
  color: #245b9a;
}

.category-icon-stay {
  background: #fff3df;
  color: #d36a1e;
}

.category-copy {
  display: grid;
  gap: 6px;
}

.category-arrow {
  color: var(--muted);
  font-size: 36px;
  font-weight: 300;
  line-height: 1;
}

.category-card strong {
  color: var(--accent);
  font-size: 24px;
}

.quick-link-card strong {
  color: var(--accent);
  font-size: 24px;
}

.category-card p,
.quick-link-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.42;
}

.section-heading-with-action {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.home-categories-section,
.home-featured-section {
  padding-top: 4px;
}

.destination-empty {
  grid-column: 1 / -1;
  padding: 24px;
  border: 1px dashed #9fb0b0;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-weight: 700;
  text-align: center;
}

@media (max-width: 980px) {
  .home-hero,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: auto;
  }

  .hero-flight-path {
    top: 38px;
    right: clamp(18px, 5vw, 70px);
    left: auto;
    width: 260px;
    max-width: 36vw;
    opacity: 0.42;
  }

  .hero-eyebrow-mark {
    margin-left: 0;
  }

  .discovery-panel {
    min-height: auto;
  }
}

@media (max-width: 1000px) {
  .destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .destination-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .home-hero h1 {
    font-size: 35px;
  }

  .home-hero .intro {
    font-size: 16px;
  }

  .home-hero > .home-featured-section {
    padding-inline: 0;
  }

  .section-heading-with-action,
  .search-panel div {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-action-icon {
    width: 58px;
    height: 58px;
  }

  .category-icon {
    width: 48px;
    height: 48px;
  }

  .hero-action-icon svg {
    width: 30px;
    height: 30px;
  }

  .category-icon svg {
    width: 25px;
    height: 25px;
  }

  .hero-flight-path {
    display: none;
  }

  .eyebrow-burst {
    width: 36px;
    height: 30px;
  }

  .route-map {
    display: grid;
    gap: 12px;
    min-height: auto;
    padding: 14px;
  }

  .route-map::before {
    display: none;
  }

  .route-map-pins {
    display: none;
  }

  .route-button {
    position: static;
    width: 100%;
  }

  .category-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .category-arrow {
    display: none;
  }
}
