:root {
  --navy: #333333;
  --navy-dark: #253149;
  --blue: #4f6fba;
  --blue-dark: #3f5fa9;
  --light-blue: #eef5ff;
  --orange: #e8843a;
  --orange-dark: #c76f2f;
  --green: #4f6fba;
  --green-dark: #3f5fa9;
  --gold: #4f6fba;
  --silver: #7d96ce;
  --bronze: #92a8d7;
  --bg: #f3f3f3;
  --paper: #ffffff;
  --white: #ffffff;
  --line: #d2d2d2;
  --muted: #666666;
  --text: #4a4a4a;
  --red: #e84a3c;
  --yellow: #fff4b8;
  --shadow: 0 2px 14px rgba(0,0,0,.08);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  line-height: 1.75;
  font-size: 14px;
  font-weight: 600;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-top: 0;
  border-bottom: 1px solid #e5e5e5;
  box-shadow: 0 1px 6px rgba(0,0,0,.04);
}

.site-header__inner {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}

.brand__mark {
  width: 54px;
  height: 42px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.brand__mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.helmet-shell {
  fill: #f6a21a;
}

.helmet-ridge,
.helmet-brim {
  fill: #ffcf57;
}

.tool-handle {
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
}

.tool-head {
  fill: var(--blue-dark);
}

.brand__text {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  letter-spacing: 0;
}

.brand__text strong {
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
}

.brand__text small {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}

.global-nav a {
  color: #1f2937;
  text-align: center;
  line-height: 1.1;
}

.global-nav small {
  display: block;
  color: #7a8592;
  font-size: 8px;
  margin-top: 3px;
}

.nav-search {
  font-size: 22px;
  line-height: 1;
}

.mobile-filter-open {
  display: none;
}

.top-strip {
  height: 28px;
  border-bottom: 1px solid #e5e5e5;
  background: #fff;
  font-size: 12px;
  color: #30343a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-shell {
  width: min(1120px, calc(100% - 28px));
  margin: 42px auto 80px;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.search-sidebar {
  position: sticky;
  top: 100px;
  z-index: 20;
}

.filter-card {
  background: #fff;
  padding: 22px 18px;
  border: 1px solid #e5e5e5;
  box-shadow: var(--shadow);
}

.filter-head {
  display: none;
}

.filter-card label {
  display: block;
  margin-bottom: 16px;
  font-weight: 700;
  color: #222;
  font-size: 12px;
}

.filter-card label span {
  display: block;
  margin-bottom: 7px;
}

.filter-card select,
.filter-card input {
  width: 100%;
  height: 42px;
  border: 1px solid #d8d8d8;
  border-radius: 3px;
  background: #fff;
  padding: 0 12px;
  color: #2d3748;
  font-size: 13px;
}

.filter-card select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #222 50%), linear-gradient(135deg, #222 50%, transparent 50%);
  background-position: calc(100% - 18px) 16px, calc(100% - 9px) 16px;
  background-size: 10px 10px, 10px 10px;
  background-repeat: no-repeat;
}

.filter-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.filter-actions button {
  height: 40px;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.btn-reset {
  background: #7a7a7a;
}

.btn-search {
  background: var(--orange);
}

.main-content {
  min-width: 0;
}

.estimate-card {
  border: 2px solid var(--blue);
  background: #fff;
  margin: 0 auto 28px;
}

.estimate-title {
  background: linear-gradient(135deg, #f7fbff 0%, #e7f2ff 100%);
  text-align: center;
  padding: 24px 20px 14px;
}

.estimate-title h2 {
  color: #333333;
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.35;
}

.estimate-title span {
  font-size: 22px;
}

.estimate-title em {
  color: var(--orange);
  font-style: normal;
  font-size: 30px;
}

.estimate-title p {
  margin: 0;
  font-size: 12px;
  color: #59636f;
}

.step-line {
  margin: 22px 18px 18px;
  padding-bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  border-bottom: 4px solid #ddd;
}

.step-line span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d7d7d7;
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}

.step-line .active {
  background: var(--blue);
}

.estimate-card h3 {
  color: var(--blue-dark);
  text-align: center;
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 700;
}

.estimate-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 0 18px 22px;
}

.estimate-options button {
  min-height: 74px;
  background: #fff;
  border: 1px solid #d7e3f3;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #313942;
  font-weight: 700;
  cursor: pointer;
}

.estimate-options strong {
  color: #62676d;
  font-size: 22px;
  line-height: 1;
}

.estimate-options span {
  font-size: 12px;
}

.intro-copy {
  margin-bottom: 22px;
}

.intro-copy p {
  margin: 0 0 14px;
}

.updated {
  text-align: right;
  font-size: 12px;
  color: #333;
}

.intro-copy h1 {
  color: #333333;
  font-size: 20px;
  line-height: 1.55;
  margin: 16px 0 18px;
  font-weight: 700;
}

.result-count {
  font-weight: 700;
}

.notice-box {
  background: #f7f8fb;
  border-left: 3px solid var(--blue);
  padding: 18px 22px;
  color: #666666;
  font-size: 13px;
}

.ranking-list {
  display: grid;
  gap: 28px;
}

.vendor-card {
  position: relative;
  background: var(--paper);
  border: 2px solid var(--gold);
  border-radius: 6px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.vendor-card:nth-of-type(n+4) {
  background: #fff;
  border-color: #d7e3f3;
}

.vendor-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  min-width: 76px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  box-shadow: 0 8px 16px rgba(47, 86, 177, 0.14);
  white-space: nowrap;
}

.vendor-badge span {
  font-size: 13px;
}

.badge-pickup { background: var(--blue); }
.badge-sponsor,
.badge-pr { background: linear-gradient(135deg, #f59b23, #d46d1a); }
.badge-ranking { background: linear-gradient(135deg, #d9a825, #b78108); }
.badge-check { background: #24a164; }

.vendor-head {
  min-height: 54px;
  padding-left: 112px;
  margin-bottom: 14px;
}

.vendor-head h2 {
  margin: 0;
  color: var(--blue);
  font-size: 20px;
  line-height: 1.3;
  text-decoration: underline;
}

.vendor-head p {
  margin: 3px 0 0;
  color: #5a6571;
  font-size: 12px;
}

.region-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.region-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  background: #eef4ff;
  color: var(--blue);
  border: 1px solid #cfdcf7;
  white-space: nowrap;
}

.region-badge.badge-local {
  background: #eaf8f1;
  color: #127944;
  border-color: #b9e7cf;
}

.region-badge.badge-area {
  background: #eef4ff;
  color: var(--blue);
}

.region-badge.badge-nearby {
  background: #fff7e8;
  color: #a45a00;
  border-color: #f4d39b;
}

.region-badge.badge-pr {
  background: #fff0dc;
  color: #b95600;
  border-color: #f5c782;
}

.region-badge.badge-work {
  background: #f1ecff;
  color: #5a3ab7;
  border-color: #d9ccff;
}

.vendor-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 18px;
  align-items: start;
}

.vendor-image {
  background: #edf3ff;
  border: 1px solid #d7e3f3;
  min-height: 178px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.vendor-image img {
  width: 100%;
  height: 178px;
  object-fit: cover;
  object-position: top center;
  background: #fff;
}

.rating-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0 6px;
}

.stars {
  color: #ffc107;
  font-size: 22px;
  letter-spacing: 0;
}

.rating-line strong {
  font-size: 22px;
}

.rating-line a {
  color: var(--blue);
  text-decoration: underline;
  font-size: 12px;
}

.catch-copy {
  color: var(--red);
  font-weight: 700;
  font-size: 16px;
  margin: 0 0 8px;
}

.spec-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #4e5966;
  font-size: 13px;
}

.spec-list li {
  margin: 4px 0;
}

.spec-list span {
  color: var(--blue);
  display: inline-block;
  width: 20px;
  font-weight: 700;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 14px;
}

.tag-row span {
  background: var(--blue);
  color: #fff;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 700;
}

.vendor-card:nth-of-type(n+4) .tag-row span {
  background: #f7f8fb;
  color: var(--blue-dark);
  border: 1px solid #d7e3f3;
}

.vendor-description {
  margin: 0;
  font-size: 13px;
}

.local-proof {
  background: #fffaf0;
  border: 1px solid #f4ddb3;
  border-left: 4px solid #d79a2b;
  margin: 14px 0 0;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.7;
}

.local-proof strong {
  display: block;
  color: #8d5200;
  font-size: 13px;
  margin-bottom: 4px;
}

.local-proof p {
  margin: 0 0 6px;
}

.local-proof a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}

.local-proof small {
  color: #777;
  margin-left: 8px;
}

.review-box {
  background: #f7fbff;
  border: 1px solid #dce8f8;
  border-left: 4px solid var(--blue);
  margin: 16px 0 0;
  padding: 12px 14px;
}

.review-box strong {
  display: block;
  color: var(--blue-dark);
  font-size: 13px;
  margin-bottom: 4px;
}

.review-box p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.7;
}

.micro-copy {
  text-align: center;
  margin: 24px 0 14px;
  color: #4a5563;
}

.micro-copy strong {
  color: var(--blue);
}

.vendor-cta {
  display: flex;
  justify-content: center;
  width: min(320px, 100%);
  margin: 0 auto;
}

.vendor-cta a {
  min-height: 54px;
  width: 100%;
  border-radius: 6px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.btn-official {
  background: var(--blue);
  box-shadow: inset 0 -3px 0 var(--blue-dark);
}

.listing-link {
  margin-top: 26px;
  text-align: right;
  font-size: 12px;
  margin-bottom: 28px;
}

.listing-link a {
  color: var(--blue);
  text-decoration: underline;
}

.tag-panel-note {
  margin: 14px 0 8px;
  color: #4d5a66;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.area-intro,
.area-detail-content {
  background: #fff;
  border: 1px solid #dce8f8;
  border-left: 5px solid var(--blue);
  border-radius: 6px;
  padding: 20px 22px;
  margin: 22px 0 26px;
  box-shadow: var(--shadow);
}

.area-intro h2,
.area-detail-content h2 {
  margin: 0 0 10px;
  color: var(--blue-dark);
  font-size: 20px;
  line-height: 1.4;
}

.area-intro p,
.area-detail-content p {
  margin: 0 0 12px;
  color: #3f4852;
  font-size: 14px;
  line-height: 1.8;
  font-weight: 400;
}

.area-intro ul {
  margin: 12px 0 0;
  padding-left: 1.2em;
  color: #4e5966;
  font-size: 13px;
  line-height: 1.8;
}

.area-faq {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.area-faq h3 {
  margin: 0;
  color: var(--blue);
  font-size: 17px;
}

.faq-item {
  background: #f7fbff;
  border: 1px solid #dce8f8;
  padding: 13px 15px;
}

.faq-item h4 {
  margin: 0 0 6px;
  color: #333;
  font-size: 14px;
}

.faq-item p {
  margin: 0;
  font-size: 13px;
}

.tag-panel {
  background: #fff;
  border: 1px solid #d8d8d8;
  box-shadow: var(--shadow);
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 18px;
}

.tag-panel h2 {
  margin: 0 0 12px;
  color: #333333;
  font-size: 16px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 10px;
}

.tag-panel p {
  margin: 0 0 10px;
  font-size: 12px;
}

.tag-panel a {
  color: var(--blue);
}

.text-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.station-links {
  margin-top: 10px;
}

.text-links a {
  font-size: 12px;
}

.text-links a::before {
  content: "›";
  color: var(--blue);
  margin-right: 4px;
  font-weight: 700;
}

.article-content {
  margin: 42px auto 0;
  max-width: 100%;
  background: #fff;
  padding: 0 32px 56px;
}

.article-hero-title {
  background: #eef5ff;
  border-left: 6px solid var(--blue);
  padding: 22px 26px;
  margin-bottom: 46px;
}

.article-hero-title h2 {
  margin: 0;
  color: #333;
  font-size: 28px;
  line-height: 1.45;
  font-weight: 700;
}

.article-content section {
  margin: 0 0 56px;
}

.article-lead h3 {
  position: relative;
  color: #333333;
  border-top: 1px solid #e4e4e4;
  border-bottom: 1px solid #e4e4e4;
  padding: 16px 0 16px 24px;
  margin: 0 0 40px;
  font-size: 24px;
  font-weight: 700;
}

.article-lead h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 290px;
  height: 3px;
  background: var(--blue);
}

.article-heading {
  position: relative;
  color: #333;
  border-bottom: 4px solid #e8e8e8;
  padding: 0 0 14px;
  margin: 0 0 34px;
  font-size: 25px;
  line-height: 1.45;
  font-weight: 700;
}

.article-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 280px;
  height: 4px;
  background: var(--blue);
}

.article-heading span {
  color: var(--red);
}

.article-content p {
  margin: 0 0 22px;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
}

.article-content strong {
  font-weight: 700;
}

.quote-line {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.8;
  margin-bottom: 34px;
}

.marker {
  font-weight: 700;
  background: linear-gradient(transparent 58%, var(--yellow) 58%);
}

.zigzag-card {
  display: grid;
  grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
  align-items: center;
  gap: 30px;
  margin: 36px 0 64px;
}

.zigzag-card.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 46%);
}

.zigzag-card.reverse img {
  grid-column: 2;
}

.zigzag-card.reverse div {
  grid-column: 1;
  grid-row: 1;
}

.zigzag-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  background: #eef5ff;
}

.zigzag-card div {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 8px solid #f5f5f5;
  padding: 34px 36px;
  margin-left: 0;
}

.zigzag-card.reverse div {
  margin-left: 0;
  margin-right: 0;
}

.zigzag-card h4 {
  color: #c35d00;
  margin: 0 0 22px;
  font-size: 21px;
  font-weight: 700;
}

.zigzag-card p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
}

.specialist-reasons > p {
  margin-bottom: 44px;
}

.reason-item {
  margin: 0 0 58px;
}

.reason-item h4 {
  position: relative;
  margin: 0 0 22px;
  padding-left: 42px;
  color: #333;
  font-size: 23px;
  line-height: 1.45;
  font-weight: 700;
}

.reason-item h4::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -2px;
  color: #42a8bb;
  font-size: 28px;
  font-weight: 700;
}

.reason-item p {
  margin: 0;
  font-weight: 400;
  line-height: 1.75;
}

.diagram {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 26px 0;
}

.diagram div {
  border: 1px solid #d8d8d8;
  background: #fff;
  padding: 18px;
}

.diagram strong,
.diagram span,
.diagram em {
  display: block;
}

.diagram strong {
  color: var(--blue-dark);
  margin-bottom: 8px;
}

.diagram em {
  margin-top: 10px;
  color: #59636f;
  font-style: normal;
  font-size: 12px;
}

.blue-box {
  background: #f7fbff;
  border: 1px solid #dce8f8;
  padding: 22px;
  margin: 22px 0;
}

.blue-box ul {
  margin: 10px 0 0;
  padding-left: 20px;
}

.warning-list p {
  border-top: 1px solid #d9dde2;
  padding-top: 16px;
}

.warning-list strong {
  color: #333333;
}

.district-box {
  background: #f7f8fb;
  padding: 18px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.district-box a {
  border: 1px solid var(--blue);
  color: var(--blue);
  background: #fff;
  padding: 5px 12px;
  font-weight: 700;
  font-size: 12px;
}

.business-page {
  width: min(1120px, calc(100% - 28px));
  margin: 38px auto 72px;
}

.business-hero {
  background: #fff;
  border: 1px solid #dce8f8;
  border-top: 5px solid var(--blue);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.business-hero__inner {
  padding: 44px 48px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f8ff 100%);
}

.business-eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

.business-hero h1 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0;
}

.business-hero p {
  max-width: 820px;
  margin: 0;
  color: #4e5966;
  font-size: 15px;
  line-height: 1.9;
  font-weight: 400;
}

.business-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.business-btn {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.business-btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: inset 0 -3px 0 var(--blue-dark);
}

.business-btn-outline {
  background: #fff;
  color: var(--blue);
  border: 1px solid #cfdcf7;
}

.business-btn:disabled {
  cursor: default;
  opacity: .75;
}

.business-section {
  background: #fff;
  border: 1px solid #d8d8d8;
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin-top: 28px;
  padding: 30px 34px;
}

.business-section-muted {
  background: #f9fbff;
  border-color: #dce8f8;
}

.business-section__head {
  margin-bottom: 22px;
}

.business-section__head h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 24px;
  line-height: 1.4;
  font-weight: 700;
  border-bottom: 3px solid var(--blue);
  padding-bottom: 12px;
}

.business-section__head p {
  margin: 0;
  color: #5a6571;
  font-size: 14px;
  font-weight: 400;
}

.business-cards,
.business-info-grid {
  display: grid;
  gap: 18px;
}

.business-cards {
  grid-template-columns: repeat(3, 1fr);
}

.business-info-grid {
  grid-template-columns: 1fr 1fr;
}

.business-cards article,
.business-info-grid > div {
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 6px;
  padding: 20px;
}

.business-cards span {
  display: inline-flex;
  min-width: 42px;
  min-height: 28px;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.business-cards h3,
.business-info-grid h3,
.business-flow h3 {
  margin: 12px 0 8px;
  color: var(--blue-dark);
  font-size: 17px;
  line-height: 1.45;
}

.business-cards p,
.business-flow p {
  margin: 0;
  color: #4e5966;
  font-size: 13px;
  line-height: 1.8;
  font-weight: 400;
}

.business-info-grid ul {
  margin: 10px 0 0;
  padding-left: 1.2em;
  color: #4e5966;
  font-size: 13px;
  line-height: 1.9;
  font-weight: 400;
}

.business-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.business-flow li {
  background: #f7fbff;
  border: 1px solid #dce8f8;
  border-radius: 6px;
  padding: 18px;
}

.business-flow span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}

.business-contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.business-contact-form label {
  display: grid;
  gap: 7px;
}

.business-contact-form span {
  color: #333;
  font-size: 13px;
  font-weight: 700;
}

.business-contact-form em {
  color: var(--red);
  font-style: normal;
}

.business-contact-form input,
.business-contact-form select,
.business-contact-form textarea {
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: 6px;
  background: #fff;
  color: #333;
  font: inherit;
  font-weight: 500;
  padding: 12px 13px;
}

.business-contact-form input:focus,
.business-contact-form select:focus,
.business-contact-form textarea:focus {
  border-color: var(--blue);
  outline: 3px solid rgba(79, 111, 186, .14);
}

.business-contact-form .is-invalid {
  border-color: var(--red);
  background: #fffafa;
}

.business-contact-form .is-invalid:focus {
  outline-color: rgba(232, 74, 60, .15);
}

.business-contact-form textarea {
  resize: vertical;
}

.field-error,
.field-help {
  min-height: 18px;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}

.field-error {
  color: var(--red);
}

.field-help {
  color: #777;
}

.privacy-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px 10px;
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 6px;
  padding: 13px 14px;
}

.privacy-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blue);
}

.privacy-consent span,
.privacy-consent .field-error {
  grid-column: 2;
}

.privacy-consent a {
  color: var(--blue);
  text-decoration: underline;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-wide,
.form-message,
.form-actions {
  grid-column: 1 / -1;
}

.form-message {
  background: #eaf8f1;
  border: 1px solid #b9e7cf;
  border-left: 4px solid #24a164;
  color: #127944;
  padding: 13px 15px;
  font-weight: 700;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.form-confirm-note {
  width: 100%;
  margin: 0;
  color: #4e5966;
  font-size: 13px;
  font-weight: 700;
}

.form-actions small {
  color: #666;
  font-size: 12px;
  font-weight: 400;
}

.site-footer {
  background: #fff;
  border-top: 1px solid #dce8f8;
  margin-top: 48px;
}

.site-footer__inner {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 20px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer strong {
  color: var(--navy);
  font-size: 18px;
}

.site-footer p {
  margin: 6px 0 0;
  color: #666;
  font-size: 12px;
  font-weight: 400;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: flex-end;
}

.site-footer a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.site-footer__notice {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  border-top: 1px solid #eef1f5;
  padding: 12px 0 0;
  line-height: 1.7;
  color: #667085;
  font-size: 12px;
  font-weight: 400;
}

.site-footer__notice a {
  font-size: inherit;
}

.site-footer__copy {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  border-top: 1px solid #eef1f5;
  padding: 14px 0 18px;
  text-align: center;
}

.legal-page {
  width: min(920px, calc(100% - 28px));
  margin: 38px auto 72px;
}

.legal-hero,
.legal-card {
  background: #fff;
  border: 1px solid #dce8f8;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.legal-hero {
  border-top: 5px solid var(--blue);
  padding: 34px 38px;
  margin-bottom: 24px;
}

.legal-hero h1 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.35;
}

.legal-hero p,
.legal-card p {
  margin: 0;
  color: #4e5966;
  font-size: 14px;
  line-height: 1.9;
  font-weight: 400;
}

.legal-card {
  padding: 28px 32px;
  margin-bottom: 20px;
}

.legal-card h2 {
  margin: 0 0 12px;
  color: var(--blue-dark);
  font-size: 21px;
  border-bottom: 2px solid var(--blue);
  padding-bottom: 8px;
}

.legal-card h2:not(:first-child) {
  margin-top: 28px;
}

.legal-card a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 700;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  border-bottom: 1px solid #e4eaf5;
  padding: 14px 12px;
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  width: 180px;
  color: var(--navy);
  background: #f7fbff;
}

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #333;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  font-weight: 700;
  z-index: 45;
}

.mobile-filter-bar,
.filter-backdrop {
  display: none;
}

@media (max-width: 900px) {
  .site-header__inner {
    height: 62px;
  }

  .brand__text strong {
    font-size: 18px;
  }

  .global-nav {
    display: none;
  }

  .mobile-filter-open {
    display: inline-flex;
    border: 0;
    background: var(--orange);
    color: #fff;
    border-radius: 4px;
    padding: 9px 14px;
    font-weight: 700;
  }

  .page-shell {
    width: min(720px, calc(100% - 24px));
    margin-top: 24px;
    display: block;
  }

  .business-page {
    width: min(720px, calc(100% - 24px));
    margin: 24px auto 72px;
  }

  .business-hero__inner,
  .business-section {
    padding: 24px 18px;
  }

  .business-cards,
  .business-info-grid,
  .business-flow,
  .business-contact-form {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    display: block;
  }

  .site-footer nav {
    justify-content: flex-start;
    margin-top: 16px;
  }

  .legal-hero,
  .legal-card {
    padding: 22px 18px;
  }

  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
  }

  .business-hero__actions,
  .form-actions {
    align-items: stretch;
  }

  .business-btn {
    width: 100%;
  }

  .search-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: min(320px, 88vw);
    transform: translateX(-105%);
    transition: transform .2s ease;
    z-index: 80;
    background: #f1f3f5;
    overflow-y: auto;
  }

  .filter-open .search-sidebar {
    transform: translateX(0);
  }

  .filter-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }

  .filter-close {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: #d7dce1;
    font-size: 20px;
  }

  .filter-card {
    min-height: 100%;
    padding-top: 28px;
  }

  .filter-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.36);
    z-index: 70;
  }

  .filter-open .filter-backdrop {
    display: block;
  }

  .mobile-filter-bar {
    display: block;
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    height: 48px;
    border: 0;
    border-radius: 24px;
    background: var(--orange);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(0,0,0,.22);
  }

  .estimate-options {
    grid-template-columns: 1fr 1fr;
  }

  .vendor-grid {
    grid-template-columns: 1fr;
  }

  .vendor-image img {
    height: 220px;
  }

  .vendor-cta {
    width: 100%;
  }

  .diagram {
    grid-template-columns: 1fr;
  }

  .article-hero-title {
    padding: 18px;
    margin-bottom: 34px;
  }

  .article-hero-title h2 {
    font-size: 23px;
  }

  .article-lead h3,
  .article-heading {
    font-size: 21px;
  }

  .article-content p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.75;
  }

  .zigzag-card,
  .zigzag-card.reverse {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin: 28px 0 46px;
  }

  .zigzag-card.reverse img,
  .zigzag-card.reverse div {
    grid-column: auto;
    grid-row: auto;
  }

  .zigzag-card img {
    height: 230px;
  }

  .zigzag-card div,
  .zigzag-card.reverse div {
    margin: 0;
    border-width: 6px;
    padding: 24px 20px;
  }

  .zigzag-card h4 {
    font-size: 19px;
  }

  .reason-item h4 {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 13px;
  }

  .top-strip {
    justify-content: flex-start;
    padding: 0 12px;
    overflow: hidden;
    white-space: nowrap;
  }

  .estimate-title h2 {
    font-size: 24px;
  }

  .estimate-title span {
    font-size: 18px;
  }

  .estimate-options {
    grid-template-columns: 1fr;
  }

  .vendor-card {
    padding: 14px;
  }

  .vendor-badge {
    position: static;
    width: fit-content;
    margin-bottom: 10px;
  }

  .vendor-head {
    padding-left: 0;
  }

  .vendor-head h2 {
    font-size: 18px;
  }

  .stars {
    font-size: 18px;
  }

  .article-content {
    padding-bottom: 70px;
  }
}
