.business-directory-page {
  padding-top: 74px;
  padding-bottom: 40px;
  background:
    radial-gradient(circle at 15% 0%, rgba(252, 194, 27, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(236, 249, 246, 0.96), rgba(248, 252, 250, 1) 42%),
    #f7fbfa;
}

.business-directory {
  width: min(1500px, calc(100% - 32px));
  margin: 0 auto;
}

.business-directory-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  margin: 0 auto 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.business-directory-page .site-header__inner {
  min-height: 62px;
  width: min(1500px, calc(100% - 32px));
  margin: 10px auto 0;
  gap: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  border: 1px solid rgba(142, 255, 231, 0.2);
  border-radius: 999px;
  background: rgba(222, 239, 236, 0.88);
  backdrop-filter: blur(18px);
  box-shadow:
    0 18px 44px rgba(7, 63, 57, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.business-directory-page .site-header__brand {
  color: #063f39;
  font-size: 1.14rem;
  font-weight: 900;
  text-transform: none;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.58);
  white-space: nowrap;
}

.business-directory-page .site-header__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.business-directory-page .site-header__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(142, 255, 231, 0.32);
  border-radius: 999px;
  background: linear-gradient(135deg, #22f0c1, #1782ca);
  color: #02131a;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(20, 199, 160, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.business-directory-page .site-header__button:hover,
.business-directory-page .site-header__button:focus-visible {
  background: linear-gradient(135deg, #59ffd8, #2ea4ff);
  box-shadow: 0 16px 34px rgba(20, 199, 160, 0.36);
  transform: translateY(-2px);
}

.business-directory__hero,
.station-focus,
.directory-controls,
.directory-results,
.station-directory {
  border: 1px solid rgba(22, 93, 83, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 60px rgba(28, 76, 71, 0.1);
}

.business-directory__hero {
  position: relative;
  overflow: hidden;
  padding: 46px;
  background:
    linear-gradient(90deg, rgba(9, 77, 72, 0.95), rgba(14, 118, 107, 0.88)),
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(255, 255, 255, 0.08) 72px 74px);
  color: #f6fffc;
}

.business-directory__hero::after {
  content: "";
  position: absolute;
  right: 34px;
  bottom: 34px;
  width: min(460px, 42vw);
  height: 120px;
  border-top: 7px solid rgba(255, 255, 255, 0.25);
  border-bottom: 7px solid rgba(255, 255, 255, 0.16);
  transform: skewX(-18deg);
}

.business-directory__hero h1 {
  position: relative;
  max-width: 920px;
  margin: 14px 0 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: none;
  z-index: 1;
}

.business-directory__hero p:not(.search-hero__chip) {
  position: relative;
  max-width: 780px;
  margin: 18px 0 0;
  color: #d8fbf3;
  font-size: 1.08rem;
  line-height: 1.7;
  z-index: 1;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.business-directory-page .hero-actions .cta {
  min-height: 50px;
  padding: 0 24px;
  font-weight: 900;
}

.business-directory-page .hero-actions__primary {
  color: #02131a;
  box-shadow: 0 18px 36px rgba(20, 199, 160, 0.32);
}

.business-directory-page .hero-actions__secondary {
  border-color: rgba(216, 251, 243, 0.42);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.business-directory-page .hero-actions__secondary:hover,
.business-directory-page .hero-actions__secondary:focus-visible {
  background: rgba(255, 255, 255, 0.16);
}

.search-hero__chip,
.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(252, 194, 27, 0.18);
  color: #ffd968;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.directory-stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  z-index: 1;
}

.directory-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
}

.directory-stats strong,
.directory-stats span {
  display: block;
}

.directory-stats strong {
  color: #ffffff;
  font-size: 2rem;
}

.directory-stats span {
  margin-top: 4px;
  color: #d8fbf3;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.station-focus {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(280px, 1.1fr);
  gap: 22px;
  align-items: center;
  margin-top: 18px;
  padding: 24px;
}

.station-focus h2,
.section-heading h2 {
  margin: 12px 0 0;
  color: #073f39;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.station-focus p,
.section-heading p {
  margin: 10px 0 0;
  color: #456761;
  line-height: 1.6;
}

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

.station-focus__facts span {
  min-height: 78px;
  padding: 14px;
  border-left: 5px solid #fcc21b;
  border-radius: 12px;
  background: #f3faf7;
  color: #0b4b43;
  font-weight: 800;
  line-height: 1.35;
}

.station-focus__facts strong {
  display: block;
  font-size: 1.55rem;
  color: #073f39;
}

.directory-controls {
  display: grid;
  grid-template-columns: minmax(320px, 1.6fr) repeat(5, minmax(160px, 1fr)) auto;
  gap: 14px;
  align-items: end;
  margin-top: 18px;
  padding: 18px;
  scroll-margin-top: 104px;
}

.directory-controls .field {
  min-width: 0;
}

.directory-controls select,
.directory-controls input,
.category-combobox__button {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(22, 93, 83, 0.18);
  border-radius: 10px;
  background: #ffffff;
  color: #073f39;
  padding: 0 16px;
  font: inherit;
}

.directory-controls .field > span {
  display: block;
  margin-bottom: 7px;
  color: #456761;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.category-combobox {
  position: relative;
}

.category-combobox__button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.category-combobox__button::after {
  content: "";
  width: 9px;
  height: 9px;
  margin-left: 12px;
  border-right: 2px solid #0c4942;
  border-bottom: 2px solid #0c4942;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 160ms ease;
}

.category-combobox[data-open="true"] .category-combobox__button {
  border-color: rgba(23, 130, 202, 0.56);
  box-shadow: 0 0 0 3px rgba(31, 178, 219, 0.16);
}

.category-combobox[data-open="true"] .category-combobox__button::after {
  transform: rotate(225deg) translate(-2px, -1px);
}

.category-combobox__panel {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 1200;
  display: none;
  width: min(380px, 90vw);
  padding: 12px;
  border: 1px solid rgba(22, 93, 83, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 58px rgba(7, 63, 57, 0.18);
}

.category-combobox[data-open="true"] .category-combobox__panel {
  display: block;
}

.category-combobox__panel input[type="search"] {
  min-height: 44px;
  margin-bottom: 10px;
}

.category-combobox__selected {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 30px;
  margin-bottom: 10px;
}

.category-combobox__hint,
.category-combobox__empty {
  color: #5b746e;
  font-size: 0.92rem;
}

.category-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border: 1px solid rgba(22, 93, 83, 0.16);
  border-radius: 999px;
  background: #e9f7f4;
  color: #073f39;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
}

.category-chip::after {
  content: "x";
  margin-left: 8px;
  color: #54706a;
  font-size: 0.82rem;
}

.category-combobox__options {
  max-height: 260px;
  overflow: auto;
  border-top: 1px solid rgba(22, 93, 83, 0.1);
  border-bottom: 1px solid rgba(22, 93, 83, 0.1);
}

.category-combobox__option {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 4px;
  color: #073f39;
  cursor: pointer;
}

.category-combobox__option + .category-combobox__option {
  border-top: 1px solid rgba(22, 93, 83, 0.08);
}

.category-combobox__option:hover,
.category-combobox__option:has(input:focus-visible) {
  background: #eef9f6;
}

.category-combobox__option input {
  width: 18px;
  min-height: 18px;
  accent-color: #0c7469;
}

.category-combobox__name {
  min-width: 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.category-combobox__count {
  color: #5b746e;
  font-size: 0.88rem;
  font-weight: 800;
}

.category-combobox__clear {
  width: 100%;
  min-height: 38px;
  margin-top: 10px;
  border: 0;
  border-radius: 999px;
  background: #e9f7f4;
  color: #073f39;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.category-combobox__clear:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.directory-results,
.station-directory {
  margin-top: 18px;
  padding: 18px;
}

.directory-results__bar {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  color: #456761;
  font-weight: 800;
}

.directory-results__bar p {
  margin: 0 0 14px;
}

.business-table-wrap {
  overflow-x: auto;
}

.business-table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
}

.business-table th,
.business-table td {
  padding: 16px 14px;
  border-top: 1px solid rgba(22, 93, 83, 0.13);
  text-align: left;
  vertical-align: top;
}

.business-table th {
  color: #0e766b;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.business-name {
  display: block;
  color: #073f39;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.business-name:hover,
.business-name:focus-visible,
.business-link:hover,
.business-link:focus-visible {
  color: #0e766b;
}

.business-muted {
  display: block;
  margin-top: 6px;
  color: #5e7772;
  line-height: 1.45;
}

.business-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 8px;
}

.business-link {
  display: inline-flex;
  padding: 6px 9px;
  border: 1px solid rgba(14, 118, 107, 0.18);
  border-radius: 999px;
  background: rgba(14, 118, 107, 0.08);
  color: #075f55;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none;
}

.business-link-list--social .business-link {
  background: rgba(252, 194, 27, 0.16);
  border-color: rgba(252, 194, 27, 0.35);
  color: #6a4a00;
}

.business-rating {
  color: #073f39;
  font-weight: 800;
}

.walk-time {
  display: block;
  margin-top: 5px;
  color: #0e766b;
  font-size: 0.9rem;
  font-weight: 900;
}

.station-pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #e8f7f3;
  color: #075f55;
  font-weight: 900;
}

.results-empty {
  padding: 30px;
  border-radius: 12px;
  background: #f3faf7;
  color: #456761;
  text-align: center;
  font-weight: 800;
}

.results-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}

.pager {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(14, 118, 107, 0.25);
  border-radius: 999px;
  background: #ffffff;
  color: #075f55;
  cursor: pointer;
  font-weight: 900;
}

.pager:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.station-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.station-card {
  min-height: 166px;
  padding: 16px;
  border: 1px solid rgba(22, 93, 83, 0.14);
  border-radius: 14px;
  background: #f9fcfb;
  text-align: left;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.station-card:hover,
.station-card:focus-visible,
.station-card.is-active {
  border-color: rgba(252, 194, 27, 0.85);
  box-shadow: 0 12px 34px rgba(28, 76, 71, 0.12);
  transform: translateY(-2px);
}

.station-card > span {
  display: inline-flex;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(252, 194, 27, 0.25);
  color: #6f4d00;
  font-size: 0.76rem;
  font-weight: 900;
}

.station-card h3 {
  margin: 12px 0 0;
  color: #073f39;
  font-size: 1.1rem;
  line-height: 1.25;
}

.station-card p {
  margin: 8px 0 0;
  color: #5e7772;
  line-height: 1.45;
}

.station-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.station-card__meta span {
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(14, 118, 107, 0.08);
  color: #075f55;
  font-size: 0.76rem;
  font-weight: 800;
}

.business-detail {
  margin-top: 18px;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid rgba(22, 93, 83, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 250, 0.98)),
    #ffffff;
  box-shadow: 0 18px 60px rgba(28, 76, 71, 0.1);
}

.business-back-link {
  display: inline-flex;
  margin-bottom: 22px;
  color: #075f55;
  font-weight: 900;
  text-decoration: none;
}

.business-detail h1 {
  max-width: 980px;
  margin: 18px 0 0;
  color: #073f39;
  font-size: clamp(2.3rem, 5vw, 5.2rem);
  line-height: 0.98;
}

.business-detail__summary {
  max-width: 820px;
  margin: 18px 0 0;
  color: #456761;
  font-size: 1.1rem;
  line-height: 1.7;
}

.business-detail__actions,
.business-detail__pager {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.detail-ghost {
  color: #075f55;
  border-color: rgba(14, 118, 107, 0.22);
}

.business-detail__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin: 32px 0 0;
}

.business-detail__facts div,
.business-detail__link-grid > div {
  padding: 18px;
  border: 1px solid rgba(22, 93, 83, 0.13);
  border-radius: 14px;
  background: #f8fcfb;
}

.business-detail__facts dt,
.business-detail__contact h3 {
  color: #0e766b;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.business-detail__facts dd {
  margin: 8px 0 0;
  color: #073f39;
  font-weight: 800;
  line-height: 1.45;
}

.business-detail__contact {
  margin-top: 34px;
}

.business-detail__contact h2 {
  margin: 0;
  color: #073f39;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.business-detail__link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.business-detail__pager {
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(22, 93, 83, 0.13);
}

@media (max-width: 1200px) {
  .directory-controls {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .directory-controls .cta {
    min-height: 50px;
  }
}

@media (max-width: 940px) {
  .directory-stats,
  .station-focus,
  .station-focus__facts {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .business-directory-page {
    padding-top: 128px;
  }

  .business-directory {
    width: min(100% - 24px, 1500px);
  }

  .business-directory__hero,
  .station-focus,
  .directory-controls,
  .directory-results,
  .station-directory {
    border-radius: 12px;
  }

  .business-directory__hero {
    padding: 28px;
  }

  .business-directory-page .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 12px 16px;
  }

  .business-directory-page .site-header__nav {
    width: 100%;
    margin-left: 0;
  }

  .business-directory-page .site-header__button {
    flex: 1;
    min-width: 92px;
  }

  .business-directory__hero::after {
    display: none;
  }

  .directory-stats,
  .directory-controls,
  .station-focus,
  .station-focus__facts {
    grid-template-columns: 1fr;
  }

  .directory-controls {
    scroll-margin-top: 152px;
  }

  .directory-results__bar,
  .results-pagination {
    display: block;
  }

  .results-pagination .pager {
    width: 100%;
    margin: 5px 0;
  }
}
