﻿:root {
  --font-body: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  --font-display: "Barlow Condensed", "Segoe UI", Tahoma, sans-serif;

  --bg-top: #251119;
  --bg-base: #12080d;
  --bg-noise: rgba(255, 95, 140, 0.06);
  --surface-0: rgba(29, 14, 21, 0.93);
  --surface-1: rgba(41, 18, 28, 0.92);
  --surface-2: rgba(56, 26, 38, 0.88);

  --text: #fff4f8;
  --muted: #d9b8c5;
  --line: rgba(255, 174, 204, 0.2);
  --line-strong: rgba(255, 174, 204, 0.42);

  --accent: #ff4f7b;
  --accent-strong: #ff1f61;
  --accent-warm: #ffba4f;
  --danger: #ff8f98;
  --success: #7ae39f;
  --focus: rgba(255, 121, 166, 0.48);

  --shadow-soft: 0 16px 35px rgba(0, 0, 0, 0.34);
  --shadow-strong: 0 26px 54px rgba(0, 0, 0, 0.5);

  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 22px;

  --header-height: 68px;
  --dock-height: 78px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(860px 420px at 84% -2%, rgba(255, 74, 137, 0.24), transparent 62%),
    radial-gradient(960px 500px at 0% 0%, rgba(255, 179, 95, 0.13), transparent 68%),
    linear-gradient(180deg, var(--bg-top), var(--bg-base));
  letter-spacing: 0.01em;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(var(--bg-noise) 1px, transparent 0);
  background-size: 3px 3px;
  opacity: 0.3;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1120px, calc(100% - 24px));
  margin: 0 auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  border-bottom: 1px solid var(--line);
  background: rgba(20, 10, 15, 0.82);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  border: 1px solid rgba(255, 136, 182, 0.55);
  background: rgba(255, 82, 132, 0.2);
  display: grid;
  place-items: center;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 11px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffd7e5;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 177, 207, 0.35);
  background: rgba(255, 129, 173, 0.15);
}

.home-page {
  position: relative;
  z-index: 1;
  padding-bottom: calc(var(--dock-height) + 20px);
}

.hero-section {
  padding: 14px 0 20px;
}

.hero-stack {
  display: grid;
  gap: 12px;
}

.hero-intro {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(64, 26, 41, 0.9), rgba(35, 15, 25, 0.92));
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.hero-kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffd5e4;
}

.hero-headline {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 52px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}

.hero-lead {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.48;
}

.hero-signals {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-signal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 179, 207, 0.42);
  background: rgba(255, 118, 165, 0.18);
  color: #ffe8f1;
  font-weight: 600;
  font-size: 14px;
}

.hero-image-card {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 168, 198, 0.38);
  box-shadow: var(--shadow-strong);
}

.hero-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  transform: scale(1.02);
  transition: opacity 260ms ease;
  will-change: transform, opacity;
}

.hero-image-card img.is-swapping {
  opacity: 0.38;
}

.hero-image-card img.is-zooming {
  animation: hero-image-zoom 7s ease-out forwards;
}

@keyframes hero-image-zoom {
  from {
    transform: scale(1.02);
  }

  to {
    transform: scale(1.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-card img {
    transition: none;
    transform: scale(1);
  }

  .hero-image-card img.is-zooming {
    animation: none;
    transform: scale(1);
  }
}

.tab-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 86;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  border: 1px solid rgba(255, 175, 205, 0.3);
  background: rgba(25, 11, 18, 0.9);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(14px);
}

.tab-button {
  min-height: 50px;
  border-radius: 11px;
  border: 1px solid rgba(255, 166, 199, 0.42);
  background: linear-gradient(180deg, rgba(69, 28, 43, 0.95), rgba(45, 18, 30, 0.95));
  color: #ffe4ee;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.tab-button:hover {
  border-color: rgba(255, 176, 208, 0.82);
  background: linear-gradient(180deg, rgba(86, 33, 53, 0.96), rgba(54, 22, 36, 0.96));
}

.tab-button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 1px;
}

.tab-button.is-active {
  border-color: rgba(255, 206, 115, 0.95);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #2a0a17;
  box-shadow: inset 0 0 0 1px rgba(255, 227, 187, 0.34);
}

.tab-button:active {
  transform: translateY(1px);
}

.tab-panels {
  display: grid;
}

.tab-panel[hidden] {
  display: none !important;
}

.search-view {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--surface-0), var(--surface-1));
  padding: 16px;
  box-shadow: var(--shadow-soft);
}

#view-region.search-view {
  width: auto;
  margin: 0;
  border-radius: var(--radius-lg);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

.view-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(31px, 8vw, 50px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.view-lead,
.lead {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.53;
  font-size: 16px;
}

.search-card {
  margin-top: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 177, 206, 0.25);
  background: linear-gradient(180deg, rgba(53, 23, 35, 0.82), rgba(35, 15, 24, 0.86));
  padding: 13px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.region-subsearch-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.region-subsearch-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.region-subsearch-button {
  width: 100%;
  min-width: 0;
}

.region-toggle-group {
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.region-toggle-pill {
  position: relative;
  min-height: 40px;
  border: 1px solid rgba(255, 176, 207, 0.5);
  border-radius: 999px;
  background: rgba(98, 36, 59, 0.45);
  color: #ffe8f1;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.region-toggle-pill:hover {
  border-color: rgba(255, 190, 216, 0.82);
  background: rgba(119, 45, 70, 0.56);
}

.region-toggle-pill:focus-within {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.region-toggle-pill input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.region-toggle-pill span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.region-toggle-pill span::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid rgba(255, 196, 218, 0.72);
  background: rgba(27, 9, 17, 0.94);
  box-sizing: border-box;
}

.region-toggle-pill input[type="checkbox"]:checked + span::before {
  border-color: rgba(255, 204, 119, 0.98);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 0 0 2px rgba(42, 10, 23, 0.66);
}

.region-location-pill {
  width: 100%;
  border-radius: 999px;
}

.region-location-pill span::before {
  content: none;
}

.region-location-pill .region-location-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.region-location-pill .region-location-icon {
  display: inline-block;
  font-size: 14px;
  line-height: 1;
}

.region-location-pill.is-selected {
  border-color: rgba(255, 206, 116, 0.96);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #2b0d1b;
  box-shadow: inset 0 0 0 1px rgba(255, 223, 171, 0.35);
}

.region-location-pill.is-loading {
  opacity: 0.86;
  cursor: wait;
}

input[type="tel"],
input[type="text"],
select {
  width: 100%;
  min-height: 50px;
  border-radius: 13px;
  border: 1px solid rgba(255, 196, 220, 0.35);
  background: rgba(22, 8, 15, 0.92);
  color: var(--text);
  padding: 0 14px;
  font-size: 16px;
  outline: none;
}

input[type="tel"]::placeholder,
input[type="text"]::placeholder {
  color: rgba(255, 208, 224, 0.64);
}

input[type="tel"]:focus,
input[type="text"]:focus,
select:focus {
  border-color: rgba(255, 181, 210, 0.82);
  box-shadow: 0 0 0 3px rgba(255, 121, 166, 0.2);
}

.button-primary {
  min-height: 50px;
  border: 0;
  border-radius: 13px;
  padding: 0 18px;
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #2a0a17;
  font-size: 18px;
  line-height: 1;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  cursor: pointer;
}

.button-primary:hover {
  filter: brightness(1.04);
}

.button-primary:active {
  transform: translateY(1px);
}

.button-outline {
  border: 1px solid rgba(255, 177, 207, 0.42);
  background: rgba(88, 34, 54, 0.45);
  color: #ffe6f0;
}

.hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.region-pill-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.region-pill {
  min-height: 40px;
  width: 100%;
  border: 1px solid rgba(255, 177, 208, 0.45);
  border-radius: 999px;
  background: rgba(88, 34, 54, 0.44);
  color: #ffe9f2;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  padding: 8px 12px;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.region-pill:hover {
  border-color: rgba(255, 193, 219, 0.82);
  background: rgba(113, 44, 68, 0.58);
}

.region-pill:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.region-pill.is-selected {
  border-color: rgba(255, 206, 116, 0.95);
  background: linear-gradient(180deg, var(--accent), var(--accent-strong));
  color: #2a0b18;
  box-shadow: inset 0 0 0 1px rgba(255, 225, 176, 0.32);
}

.region-pill-action {
  font-weight: 700;
}

.region-pill-reset {
  border-style: dashed;
}

.region-pill-empty {
  margin-top: 12px;
}

.region-results-wrap {
  margin-top: 14px;
}

.region-results-summary {
  margin: 0 0 12px;
}

.region-pagination {
  margin-top: 12px;
}

.region-load-more {
  width: 100%;
}

.error,
.placeholder-feedback {
  margin: 8px 0 0;
  min-height: 19px;
  font-size: 13px;
  line-height: 1.4;
}

.error {
  color: var(--danger);
}

.placeholder-feedback {
  color: #f7c3d7;
}

.region-loading-indicator {
  margin: 8px 0 0;
  min-height: 19px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  color: #ffd0e1;
}

.region-loading-indicator[hidden] {
  display: none;
}

.region-loading-spinner {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid rgba(255, 205, 220, 0.26);
  border-top-color: rgba(255, 205, 220, 0.96);
  animation: region-loading-spin 0.85s linear infinite;
}

@keyframes region-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.chip-list {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  border: 1px solid rgba(255, 177, 208, 0.4);
  border-radius: 999px;
  background: rgba(255, 116, 165, 0.14);
  color: #ffe9f2;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}

button.chip {
  cursor: pointer;
}

.chip:hover {
  text-decoration: none;
  border-color: rgba(255, 197, 221, 0.78);
  background: rgba(255, 131, 175, 0.28);
}

.filter-fieldset {
  margin: 0;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.filter-fieldset legend {
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 8px 0;
  color: var(--text);
  font-size: 15px;
}

.filter-item input {
  width: 16px;
  height: 16px;
}

.section {
  padding: 8px 0 34px;
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(29px, 7vw, 40px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.steps {
  display: grid;
  gap: 10px;
}

.step {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(42, 18, 28, 0.86), rgba(30, 12, 20, 0.88));
  padding: 14px;
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 10px;
  background: rgba(255, 81, 133, 0.2);
  border: 1px solid rgba(255, 176, 206, 0.52);
}

.step h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 23px;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: 0.02em;
}

.step p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.section-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  border-left: 3px solid rgba(255, 164, 198, 0.5);
  padding-left: 10px;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
  padding: 18px 0 24px;
}

.footer-inner {
  display: flex;
  align-items: center;
}

.phone-page {
  position: relative;
  z-index: 1;
  padding: 20px 0 40px;
}

.phone-hero {
  padding: 8px 0 4px;
}

.phone-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(34px, 10vw, 58px);
  line-height: 0.95;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.phone-number {
  color: var(--accent-warm);
}

.phone-meta {
  margin: 14px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(44, 18, 29, 0.88), rgba(31, 12, 21, 0.88));
  padding: 12px;
}

.phone-meta ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.6;
  font-size: 14px;
}

.phone-results h2,
.phone-context h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-size: clamp(27px, 7vw, 36px);
  line-height: 0.96;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.results-grid {
  display: grid;
  gap: 14px;
}

.result-card {
  border: 1px solid rgba(255, 178, 208, 0.32);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(49, 21, 33, 0.9), rgba(31, 13, 22, 0.92));
  box-shadow: var(--shadow-soft);
  padding: 12px;
  display: grid;
  gap: 12px;
}

.result-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 200, 221, 0.22);
  background: rgba(17, 7, 12, 0.6);
  aspect-ratio: 16 / 10;
}

.result-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.result-content h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 25px;
  line-height: 0.94;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.result-meta {
  margin: 8px 0 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.result-link {
  color: #ffd182;
  font-weight: 700;
}

.status-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid transparent;
}

.status-active {
  color: #0a2513;
  background: rgba(122, 227, 159, 0.94);
  border-color: rgba(122, 227, 159, 0.48);
}

.status-inactive {
  color: #391216;
  background: rgba(255, 143, 152, 0.93);
  border-color: rgba(255, 143, 152, 0.48);
}

.status-unknown {
  color: #25172f;
  background: rgba(182, 164, 203, 0.88);
  border-color: rgba(182, 164, 203, 0.5);
}

.region-results .result-card {
  border-radius: 20px;
  grid-template-columns: 118px 1fr;
  gap: 12px;
  align-items: start;
}

.region-results .region-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.region-results .result-image {
  aspect-ratio: 1 / 1.2;
  border-radius: 10px;
}

.region-results .region-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.region-results .region-image-link:hover {
  text-decoration: none;
}

.region-results .result-content {
  min-width: 0;
}

.region-results .result-title {
  min-width: 0;
}

.region-results .region-card-name {
  margin: 0;
  font-size: 22px;
  line-height: 0.95;
  font-weight: 700;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.region-results .region-city {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 700;
  display: block;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.region-results .result-meta {
  list-style: none;
  margin: 8px 0 10px;
  padding-left: 0;
  line-height: 1.44;
}

.region-results .result-meta li {
  margin: 3px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.region-results .region-phone-line {
  margin-top: 8px;
}

.region-results .region-phone-pill,
.region-results .region-portal-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(180px, 100%);
  max-width: 180px;
  min-height: 29px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: middle;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
}

.region-results .region-phone-pill {
  color: #052313;
  background: linear-gradient(180deg, #77e5a4, #34bf72);
  border: 1px solid rgba(123, 227, 160, 0.95);
}

.region-results .region-phone-pill:hover,
.region-results .region-portal-pill.is-link:hover {
  filter: brightness(1.04);
  text-decoration: none;
}

.region-results .region-portal-line {
  margin-top: 8px;
}

.region-results .region-portal-pill {
  color: #2b0d18;
  background: linear-gradient(180deg, #ffca76, #ffb14f);
  border: 1px solid rgba(255, 199, 120, 0.95);
}

.region-results .region-portal-pill.is-link {
  cursor: pointer;
}

.region-results .region-portal-pill.status-active {
  color: #072211;
  background: rgba(122, 227, 159, 0.95);
  border-color: rgba(122, 227, 159, 0.54);
}

.region-results .region-portal-pill.status-inactive {
  color: #391216;
  background: rgba(255, 143, 152, 0.95);
  border-color: rgba(255, 143, 152, 0.5);
}

.phone-context {
  margin-top: 18px;
  border-left: 3px solid rgba(255, 168, 199, 0.48);
  padding-left: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

@media (min-width: 680px) {
  .container {
    width: min(1120px, calc(100% - 40px));
  }

  .hero-intro {
    padding: 18px;
  }

  .hero-headline {
    max-width: 14ch;
  }

  .search-view {
    padding: 18px;
  }

  .form-grid {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .button-primary {
    min-width: 180px;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .region-pill-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .region-results .result-card {
    grid-template-columns: 142px 1fr;
  }
}

@media (min-width: 940px) {
  .home-page {
    padding-bottom: 28px;
  }

  .hero-section {
    padding-top: 20px;
  }

  .hero-stack {
    gap: 14px;
  }

  .tab-nav {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .tab-button {
    min-height: 45px;
    font-size: 17px;
  }

  .region-results {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-pill-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .result-card {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }

  .result-image {
    aspect-ratio: 4 / 3;
  }
}

@media (min-width: 1220px) {
  .hero-section {
    padding-top: 24px;
  }

  .hero-stack {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 14px;
  }

  .hero-intro {
    grid-column: 1 / 2;
  }

  .hero-image-card {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .tab-nav {
    grid-column: 1 / 2;
  }

  .tab-panels {
    grid-column: 1 / 3;
  }

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