/* Shared landing/trip components. Load after base.css and before hub.css
   (landing page) or home.css (trip planner). */

.v2 [hidden] { display: none !important; }
.v2-home { --col-max: 1560px; --col-pad: 24px; }
@media (max-width: 899px) { .v2-home { --col-pad: 20px; } }
@media (max-width: 640px) { .v2-home { --col-pad: 12px; } }
.v2-home main { display: block; }
.v2-section { padding: 26px 0; scroll-margin-top: calc(var(--nav-h) + 8px); }

.v2-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 10px 0 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.v2-hero-badge:hover { border-color: var(--line-strong); color: var(--text); }
.v2-hero-badge .v2-new { border-radius: 999px; padding: 3px 8px; }
.v2-hero-badge svg { width: 13px; height: 13px; color: var(--text-3); }

.v2-hero-sub {
  max-width: 560px;
  margin: 18px auto 0;
  color: var(--text-2);
  font-size: 16px;
  line-height: 1.55;
}

.v2-search {
  position: relative;
  z-index: 20;
  max-width: 600px;
  margin: 30px auto 0;
  text-align: left;
}
.v2-search-icon {
  position: absolute;
  left: 17px;
  top: 26px;
  width: 18px;
  height: 18px;
  color: var(--text-3);
  transform: translateY(-50%);
  pointer-events: none;
}
.v2-search-input {
  width: 100%;
  height: 52px;
  padding: 0 52px 0 46px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none;
  appearance: none;
}
.v2-search-input::-webkit-search-cancel-button { display: none; }
.v2-search-input::placeholder { color: var(--text-3); }
.v2-search-input:focus {
  border-color: color-mix(in srgb, var(--blue) 60%, var(--line));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 14%, transparent), var(--shadow-sm);
}
.v2-search:focus-within .v2-search-icon { color: var(--blue); }
.v2-search-kbd {
  position: absolute;
  right: 14px;
  top: 26px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--surface-2);
  color: var(--text-3);
  font-size: 12px;
  transform: translateY(-50%);
}
.v2-search:focus-within .v2-search-kbd { opacity: 0; }

.lv-suggest {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  max-height: 380px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.lv-suggest.open { display: block; }
.lv-suggest-head { padding: 6px 10px 4px; color: var(--text-3); font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; }
.lv-suggest-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 9px;
  color: var(--text);
  text-decoration: none;
}
.lv-suggest-item:hover,
.lv-suggest-item[aria-selected="true"] { background: var(--surface-2); }
.lv-suggest-item .hej-flag { width: 20px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06); }
.lv-suggest-icon { display: grid; place-items: center; width: 20px; color: var(--blue); }
.lv-suggest-icon svg { width: 15px; height: 15px; }
.lv-suggest-name { flex: 1; min-width: 0; font-size: 14px; font-weight: 500; }
.lv-suggest-badge {
  padding: 2px 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text-3);
  font-size: 10.5px;
  font-weight: 550;
  white-space: nowrap;
}

.v2-explore {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 680px;
  margin: 14px auto 0;
}
.v2-explore-label { color: var(--text-3); font-size: 12px; font-weight: 500; }
.v2-explore-chips { display: contents; }

.v2-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.v2-stats a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 28px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
  font-size: 12.5px;
  text-decoration: none;
}
.v2-stats a:hover { border-color: var(--line-strong); color: var(--text); }
.v2-stats b { color: var(--text); font-weight: 650; font-variant-numeric: tabular-nums; }

.v2-new {
  display: inline-flex;
  align-items: center;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--brand) 26%, transparent);
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
}
.v2-pill--link { text-decoration: none; transition: border-color 0.15s, color 0.15s; }
.v2-pill--link:hover { border-color: var(--line-strong); color: var(--text); }

.v2-tour-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--text-3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.v2-tour-kicker i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.7; }
.v2-tt-accent { color: var(--blue); }

.v2-feats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  box-shadow: var(--shadow-sm);
  list-style: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.v2-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
  padding: 7px 12px;
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
  transition: background 0.15s;
}
.v2-feat:hover { background: color-mix(in srgb, var(--tone) 8%, transparent); }
.v2-feat:focus-visible { outline: 2px solid var(--tone); outline-offset: 2px; }
.v2-feat-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--tone) 14%, var(--surface));
  color: var(--tone);
  transition: transform 0.25s var(--ease);
}
.v2-feat:hover .v2-feat-icon { transform: scale(1.07) rotate(-5deg); }
.v2-feat-icon svg { width: 22px; height: 22px; }
.v2-feat-copy { display: grid; gap: 3px; min-width: 0; }
.v2-feat-copy strong { color: var(--text); font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.v2-feat-copy small { color: var(--text-2); font-size: 12.5px; line-height: 1.4; }

@media (min-width: 900px) and (max-width: 1279px) {
  .v2-feat { gap: 10px; padding: 8px; }
  .v2-feat-icon { width: 40px; height: 40px; }
  .v2-feat-copy small { display: none; }
}
@media (max-width: 899px) {
  .v2-tour-kicker { justify-content: center; margin-bottom: 10px; font-size: 11px; }
}
@media (max-width: 640px) {
  .v2-search-kbd { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .v2-feat-icon { transition: none; }
}
