:root {
  --container-width: 1200px;
  --border-color: #cfcfcf;
  --text-color: #222222;
  --muted-color: #666666;
  --bg-soft: #f5f5f5;
  --bg-card: #fafafa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text-color);
  background: #ffffff;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

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

.topbar,
.header,
.footer {
  border-bottom: 1px solid var(--border-color);
}

.topbar {
  background: var(--bg-soft);
  font-size: 13px;
}

.topbar__inner,
.header__inner,
.showroom__grid,
.measurement__grid,
.footer__grid,
.hero__grid {
  display: grid;
  gap: 24px;
}

.topbar__inner {
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 6px 0;
}

.topbar__left,
.topbar__right,
.hero__buttons,
.hero__quick-links,
.hero__facts,
.showroom__buttons,
.facts-row,
.final-cta__buttons,
.brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar__left,
.topbar__right {
  align-items: center;
  gap: 16px;
}

.topbar__note,
.topbar__worktime,
.section-text,
.card__text,
.advantage-item__text,
.case-card__text,
.case-card__meta,
.form-note,
.review-card__role,
.footer__text,
.footer__links a,
.footer__contacts a,
.footer__contacts span {
  color: var(--muted-color);
}

.topbar__phone {
  font-weight: 600;
}

.header {
  background: #ffffff;
}

.header__inner {
  grid-template-columns: minmax(280px, 320px) minmax(0, 1fr) minmax(240px, 280px);
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: var(--bg-soft);
  font-weight: 700;
}

.header__brand {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  max-width: 320px;
}

.logo__title {
  margin: 0 0 2px;
  font-size: 19px;
}

.logo__subtitle {
  margin: 0;
  font-size: 13px;
  color: var(--muted-color);
  line-height: 1.35;
}

.nav__list,
.footer__links {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav__list {
  grid-template-columns: repeat(4, max-content);
  justify-content: center;
  gap: 10px 20px;
  font-size: 14px;
}

.header__nav {
  display: flex;
  justify-content: center;
}

.header__nav a {
  display: inline-block;
  white-space: nowrap;
}

.header__actions {
  display: grid;
  gap: 10px;
  justify-items: end;
  align-content: center;
}

.header__phone,
.phone-link {
  font-weight: 700;
  font-size: 18px;
}

.header__buttons {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.header__button {
  width: 100%;
  min-width: 220px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--border-color);
  background: #ffffff;
  cursor: pointer;
}

.btn-primary {
  background: #ececec;
}

.btn-secondary {
  background: #f8f8f8;
}

.btn-outline {
  background: transparent;
}

main section,
.footer {
  padding: 56px 0;
}

.section-head {
  display: grid;
  gap: 10px;
  margin-bottom: 28px;
}

.section-title,
.hero__title {
  margin: 0;
  line-height: 1.2;
}

.section-title {
  font-size: 34px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(380px, 1fr);
  align-items: center;
}

.hero__content {
  display: grid;
  gap: 18px;
}

.hero__eyebrow,
.fact-item,
.showroom__meta-item,
.process-step__number,
.trust-fact__label,
.brand-item {
  font-size: 14px;
  color: var(--muted-color);
}

.hero__title {
  font-size: 52px;
}

.hero__text {
  font-size: 18px;
  color: var(--muted-color);
}

.link-chip,
.fact-item,
.showroom__meta-item,
.trust-fact,
.review-card,
.brand-item {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
}

.cards-grid {
  display: grid;
  gap: 20px;
}

.cards-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

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

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

.card,
.advantage-item,
.case-card,
.process-step,
.form-block,
.final-cta__box {
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  padding: 24px;
}

.card,
.case-card {
  display: grid;
  gap: 14px;
}

.card__title,
.advantage-item__title,
.case-card__title,
.form-title,
.trust-fact__value {
  margin: 0;
  font-size: 22px;
}

.card__action,
.card__link,
.case-card__action {
  margin-top: 4px;
}

.image-placeholder {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border: 1px dashed #999999;
  background: #efefef;
  color: #555555;
  text-align: center;
}

.showroom__grid,
.measurement__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
}

.showroom__content,
.measurement__content {
  display: grid;
  gap: 18px;
}

.showroom__media {
  display: grid;
  gap: 16px;
}

.form-block {
  display: grid;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.input,
.select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.facts-row {
  margin-top: 6px;
}

.case-card__image {
  min-height: 220px;
}

.section-footer {
  margin-top: 24px;
}

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

.process-step {
  display: grid;
  gap: 12px;
}

.process-step__number {
  font-weight: 700;
}

.trust__stack {
  display: grid;
  gap: 24px;
}

.trust__facts {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trust-fact {
  display: grid;
  gap: 12px;
}

.trust-fact__value {
  font-size: 28px;
}

.review-card__name {
  margin: 0;
  font-size: 18px;
}

.final-cta__box {
  text-align: center;
  display: grid;
  gap: 18px;
}

.final-cta__buttons {
  justify-content: center;
}

.footer {
  border-top: 1px solid var(--border-color);
  border-bottom: 0;
  background: var(--bg-soft);
}

.footer__grid {
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  align-items: start;
}

.footer__col {
  display: grid;
  gap: 12px;
}

.footer__title {
  margin: 0;
  font-size: 18px;
}
