:root {
  --ink: #101318;
  --muted: #5c6470;
  --line: #dfe3e8;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --blue: #0b63ce;
  --green: #0f6b57;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Manrope, sans-serif;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: 6px;
  font-weight: 900;
}

.brand-copy span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.cta-row,
.hero-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  font-weight: 900;
  font-size: 14px;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.btn-secondary {
  color: var(--ink);
}

.page-hero {
  position: relative;
  padding: 74px 0 84px;
  overflow: hidden;
  background: #fff;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 390px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.82) 48%, rgba(255,255,255,0.18) 100%),
    url("./photos/workshop-hero.png") center / cover no-repeat;
}

.page-hero > .container {
  position: relative;
  z-index: 1;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.detail-title,
.section-title,
.card-title,
.mini-title {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: 0;
}

.detail-title {
  max-width: 820px;
  margin: 24px 0 14px;
  font-size: 56px;
  line-height: 1.02;
}

.hero-lead,
.section-lead,
.muted,
.note {
  color: var(--muted);
  line-height: 1.7;
}

.hero-lead {
  max-width: 640px;
  font-size: 18px;
}

.brand-hero-actions {
  margin-top: 22px;
}

.services-hero-panel {
  margin-top: 1rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 28px;
  align-items: start;
  margin-top: 44px !important;
}

.detail-body,
.detail-side {
  display: grid;
  gap: 18px;
}

.hero-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-left: 6px solid var(--blue);
  border-radius: 8px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 50px rgba(16,19,24,0.08);
}

.surface,
.contact-card,
.service-card,
.review-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.surface {
  padding: 26px;
}

.mini-card,
.service-card,
.review-card,
.contact-card {
  padding: 24px;
}

.eyebrow,
.kicker,
.service-badge,
.chip {
  display: inline-flex;
  width: fit-content;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mini-title {
  margin: 0 0 16px;
  font-size: 24px;
  line-height: 1.15;
}

.section {
  padding: 82px 0;
}

.section-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 34px;
}

.section-title {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.filters {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 12px;
}

.field,
.select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.service-grid,
.brand-grid,
.review-grid,
.details-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

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

.details-grid,
.review-grid,
.footer-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.brand-trust-grid,
.brand-sales-grid {
  display: grid;
  gap: 16px;
}

.brand-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.brand-sales-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.trust-card {
  min-height: 132px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(16,19,24,0.06);
}

.trust-card strong,
.trust-card span {
  display: block;
}

.trust-card strong {
  margin-bottom: 10px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px;
  line-height: 1.1;
}

.trust-card span {
  color: var(--muted);
  line-height: 1.55;
}

.process-list {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px 16px;
}

.process-list span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}

.process-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.brand-services-section {
  padding-top: 54px;
}

.popular-services-section {
  padding: 54px 0 0;
}

.catalog-section {
  padding: 62px 0 0;
}

.catalog-section .surface {
  margin-top: 0 !important;
}

.services-trust-grid {
  margin-top: 18px;
}

.service-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
}

.service-card[hidden] {
  display: none;
}

.card-title {
  margin: 10px 0 0;
  font-size: 23px;
  line-height: 1.15;
}

.service-card p {
  margin: 14px 0 24px;
}

.card-link {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.brand-card {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 900;
}

.brand-card-copy {
  display: grid;
  gap: 4px;
}

.brand-card-copy span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.brand-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 999px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(16,19,24,0.12), 0 14px 28px rgba(16,19,24,0.14);
}

.brand-icon {
  width: 44px;
  height: 44px;
  padding: 9px;
}

.brand-icon img,
.brand-logo-plate img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-hero-panel {
  display: grid;
  grid-template-columns: minmax(150px, 0.24fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.brand-logo-plate {
  min-height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(145deg, #fff, #f3f7fb);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.8), 0 18px 42px rgba(16,19,24,0.1);
}

.ticks,
.compact-list,
.sign-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ticks li,
.compact-list li,
.sign-list li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.ticks li + li,
.compact-list li + li,
.sign-list li + li {
  margin-top: 10px;
}

.ticks li::before,
.compact-list li::before,
.sign-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 99px;
}

.footer {
  padding: 70px 0;
  background: var(--soft);
}

.empty {
  padding: 18px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 980px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .detail-layout,
  .brand-hero-panel,
  .section-head,
  .brand-trust-grid,
  .brand-sales-grid,
  .service-grid,
  .brand-grid,
  .details-grid,
  .review-grid,
  .footer-grid,
  .filters {
    grid-template-columns: 1fr;
  }

  .detail-title {
    font-size: 44px;
  }

  .brand-logo-plate {
    min-height: 96px;
    padding: 18px;
  }

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

@media (max-width: 640px) {
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    gap: 14px;
  }

  .cta-row,
  .hero-actions,
  .footer-actions {
    width: 100%;
  }

  .cta-row .btn,
  .hero-actions .btn,
  .footer-actions .btn {
    flex: 1;
  }

  .page-hero {
    padding-top: 54px;
  }

  .page-hero::before {
    height: 430px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.84) 62%, rgba(255,255,255,0.2) 100%),
      url("./photos/workshop-hero.png") center / cover no-repeat;
  }

  .detail-title {
    font-size: 36px;
  }

  .hero-panel,
  .surface,
  .mini-card,
  .service-card,
  .contact-card {
    padding: 20px;
  }

  .brand-hero-panel {
    gap: 14px;
  }

  .brand-logo-plate {
    width: 138px;
    min-height: 66px;
    padding: 12px 16px;
    border-radius: 10px;
  }

  .brand-trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-card {
    min-height: 0;
  }
}
