:root {
  --yellow: #ffd400;
  --yellow-dark: #d5a900;
  --black: #111111;
  --text: #202020;
  --muted: #666f77;
  --line: #dddddd;
  --soft: #f7f7f7;
  --link: #0073b5;
  --green: #188a3b;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

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

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

.yp-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.header-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 44px;
  gap: 18px;
  align-items: center;
  min-height: 56px;
}

.brand img {
  display: block;
  width: 112px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px 86px;
  overflow: hidden;
  border: 1px solid #bdbdbd;
  border-radius: 2px;
  background: #fff;
}

.search-bar span,
.search-bar button {
  min-height: 38px;
  border: 0;
  border-right: 1px solid #d7d7d7;
  background: #fff;
  padding: 10px 12px;
  color: #222;
  font: inherit;
}

.search-bar button {
  border-right: 0;
  background: var(--yellow);
  color: #111;
  font-weight: 900;
}

.menu-toggle {
  display: flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  background: transparent;
  color: #111;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: currentColor;
}

.category-strip {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  background: #fff;
}

.category-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 36px;
  align-items: center;
  color: #333;
  font-size: 0.78rem;
}

.mobile-menu {
  padding: 10px 0;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu nav {
  display: grid;
  gap: 8px;
}

.mobile-menu a {
  border: 1px solid var(--line);
  padding: 9px 10px;
  font-weight: 800;
}

.page-shell {
  padding: 18px 0 60px;
}

.page-grid {
  display: grid;
  grid-template-columns: 245px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.left-rail {
  display: grid;
  gap: 14px;
}

.contact-card,
.rail-card,
.profile-section {
  border: 1px solid var(--line);
  background: #fff;
}

.contact-card {
  display: grid;
}

.phone-link,
.rail-link {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 14px 16px;
  color: var(--link);
  font-weight: 900;
}

.phone-link {
  color: #111;
  font-size: 1.2rem;
}

.rail-link:last-child {
  border-bottom: 0;
}

.rail-card {
  padding: 16px;
}

.rail-card h2,
.profile-section h2 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.rail-card a {
  display: block;
  color: var(--link);
  font-size: 0.9rem;
  padding: 3px 0;
}

.hours-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: #6c747d;
  font-size: 0.78rem;
}

.breadcrumb a,
.profile-section a {
  color: var(--link);
}

.business-hero {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin: 0 0 4px;
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: 0;
}

.business-copy > p {
  margin-bottom: 10px;
  color: #353535;
}

.rating-row,
.status-row,
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.stars {
  color: #f8b400;
  letter-spacing: 0;
}

.status-row strong {
  color: var(--green);
}

.trust-badges span {
  border-right: 1px solid #ccc;
  padding-right: 8px;
  color: #5c646b;
  font-size: 0.8rem;
}

.trust-badges span:last-child {
  border-right: 0;
}

.profile-section {
  margin-top: 22px;
  padding: 18px 0;
  border-right: 0;
  border-left: 0;
}

.more-info h3 {
  font-size: 0.98rem;
}

.info-table {
  display: grid;
  gap: 16px;
  margin: 14px 0 0;
}

.info-table div {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
}

dt {
  color: #333;
  font-size: 0.78rem;
  font-weight: 900;
}

dd {
  margin: 0;
  color: #333;
  overflow-wrap: anywhere;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.rate-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  padding: 12px;
}

.avatar {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: #8a43d1;
  color: #fff;
  font-weight: 900;
}

.rate-card .avatar {
  background: #6aae2a;
}

.rate-card span {
  color: #616a72;
}

.rate-stars {
  color: #aaa;
  font-size: 1.5rem;
}

.reviews-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.post {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
}

.post-original {
  display: none;
}

.author-block {
  display: grid;
  justify-items: start;
  gap: 5px;
}

.author-block strong {
  color: var(--link);
}

.author-block span,
.author-block small,
.post-meta {
  color: #6a737d;
  font-size: 0.8rem;
}

.post-body h2 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.post-body p {
  color: #333;
}

.post-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.post-actions a {
  color: var(--link);
  font-size: 0.78rem;
  font-weight: 800;
}

.details-section p {
  margin-bottom: 6px;
}

.site-footer {
  background: #f4f4f4;
  border-top: 1px solid #e2e2e2;
  padding: 48px 0;
}

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

.footer-grid h2 {
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  color: #4a4f55;
  font-size: 0.82rem;
  padding: 2px 0;
}

@media (max-width: 880px) {
  .header-row,
  .page-grid {
    grid-template-columns: 1fr;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar span,
  .search-bar button {
    border-right: 0;
    border-bottom: 1px solid #d7d7d7;
  }

  .category-nav {
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 8px 0;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(100% - 20px, 980px);
  }

  .info-table div,
  .post,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
