:root {
  --green: #00b67a;
  --green-dark: #009b68;
  --blue: #3157c8;
  --blue-soft: #e8edff;
  --ink: #1f1f1f;
  --text: #222222;
  --muted: #62666d;
  --line: #d9d9d9;
  --soft: #f7f7f4;
  --surface: #ffffff;
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
}

body {
  margin: 0;
  background: var(--soft);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

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

.site-header {
  background: #171717;
  color: #fff;
}

.header-inner {
  display: grid;
  grid-template-columns: 188px minmax(260px, 1fr) auto;
  gap: 20px;
  align-items: center;
  min-height: 72px;
}

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

.search-box {
  min-height: 44px;
  border-radius: 5px;
  background: #fff;
  color: #777d86;
  display: flex;
  align-items: center;
  padding: 0 18px;
  font-size: 0.94rem;
}

.main-nav,
.footer-inner nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-nav a {
  color: #fff;
  font-size: 0.86rem;
  font-weight: 700;
}

.business-link {
  border-radius: 999px;
  background: #7ca2ff;
  color: #111 !important;
  padding: 12px 18px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  background: transparent;
  color: #fff;
}

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

.mobile-menu {
  padding-bottom: 14px;
}

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

.mobile-menu nav {
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  padding-top: 14px;
}

.profile-shell {
  overflow: hidden;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  background: #fff;
  padding: 24px 0 60px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  color: #6d737d;
  font-size: 0.78rem;
  font-weight: 700;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 720px) 340px;
  gap: 56px;
  align-items: start;
}

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

.claimed-line {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 4px 7px;
  color: #464b52;
  font-size: 0.75rem;
  font-weight: 700;
}

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

h1 {
  margin: 10px 0 6px;
  font-size: clamp(2rem, 4vw, 2.65rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.score-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: #333941;
}

.score-line a {
  text-decoration: underline;
}

.category-link {
  color: var(--blue);
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.review-button,
.visit-button,
.all-reviews {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  font-weight: 800;
}

.review-button {
  background: var(--blue);
  color: #fff;
}

.visit-button {
  border: 1px solid var(--blue);
  color: var(--blue);
}

.notice {
  margin: 28px 0;
  border: 1px solid #e7dfcb;
  border-radius: 6px;
  background: #fffdf5;
  padding: 16px 18px;
  font-size: 0.9rem;
}

.review-preview h2,
.company-details h2 {
  margin-bottom: 22px;
  font-size: 1.55rem;
}

.reviews-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 38px;
}

.review-card {
  min-width: 0;
}

.review-card-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.avatar {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #dcfce9;
  color: #064d36;
  font-weight: 900;
}

.review-card strong,
.review-card time {
  display: block;
}

.review-card time {
  color: var(--muted);
  font-size: 0.84rem;
}

.trust-stars {
  display: inline-grid;
  grid-template-columns: repeat(5, 18px);
  gap: 2px;
  margin-bottom: 10px;
}

.trust-star {
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  line-height: 1;
}

.trust-star.empty {
  background: #d7d7d7;
}

.review-card h3 {
  margin-bottom: 7px;
  font-size: 1rem;
}

.review-card p {
  margin-bottom: 14px;
}

.review-actions {
  display: flex;
  gap: 16px;
  color: #62666d;
  font-size: 0.82rem;
  font-weight: 700;
}

.reply-note {
  margin-top: 10px;
  color: #666;
  font-size: 0.84rem;
}

.all-reviews {
  width: min(300px, 100%);
  margin-top: 36px;
  background: var(--blue-soft);
  color: var(--blue);
}

.company-details {
  margin-top: 44px;
}

.details-card {
  display: grid;
  gap: 12px;
  max-width: 540px;
}

.category-pill {
  width: max-content;
  border: 1px solid #b9c5ff;
  border-radius: 3px;
  color: var(--blue);
  padding: 3px 7px;
  font-size: 0.78rem;
  font-weight: 800;
}

dl {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

dt {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

dd {
  margin: 2px 0 0;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.trust-sidebar {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 20px;
}

.score-card,
.side-note {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow);
}

.score-card {
  overflow: hidden;
}

.score-card-top {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 24px 24px 18px;
}

.score-card-top strong {
  grid-row: span 3;
  font-size: 3rem;
  line-height: 1;
}

.score-card-top small {
  color: var(--muted);
}

.big-stars,
.small-stars {
  display: inline-grid;
  grid-template-columns: repeat(5, 22px);
  gap: 2px;
}

.small-stars {
  grid-template-columns: repeat(5, 17px);
}

.big-stars .trust-star {
  width: 22px;
  height: 22px;
}

.rating-bars {
  display: grid;
  gap: 9px;
  padding: 0 24px 20px;
}

.rating-bar {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr) 36px;
  gap: 10px;
  align-items: center;
  color: #3f454d;
  font-size: 0.78rem;
  font-weight: 700;
}

.bar-track {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: #d6d6d6;
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--green);
}

.rating-bar.low .bar-fill {
  background: #ff3722;
}

.score-help {
  display: block;
  border-top: 1px solid var(--line);
  padding: 14px 18px;
  color: #5d6570;
  text-align: center;
  text-decoration: underline;
  font-size: 0.82rem;
}

.side-note {
  padding: 18px 20px;
}

.side-note p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  background: #171717;
  color: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 800;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: 188px 1fr 44px;
  }

  .search-box,
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .trust-sidebar {
    position: static;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  .header-inner {
    grid-template-columns: 1fr 44px;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }

  .score-card-top {
    grid-template-columns: 1fr;
  }

  .score-card-top strong {
    grid-row: auto;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }
}
