:root {
  --bg: #ffffff;
  --cream: #f3efe9;
  --surface: #f7f4ef;
  --text: #1c1c1c;
  --muted: #6f6a64;
  --dark: #141414;
  --dark-2: #1b1b1b;
  --accent: #b7894d;
  --accent-dark: #9f743d;
  --line: #e8e0d4;
  --white: #fff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, h4, p { margin: 0; }

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

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

button, input { font-family: inherit; }

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border: 0;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  padding: 14px 22px;
  cursor: pointer;
  transition: background .2s ease;
}

.btn:hover { background: var(--accent-dark); }

.btn-small { padding: 10px 16px; }

.header { background: var(--dark); }

.topbar {
  background: #101010;
  border-bottom: 1px solid #2a2a2a;
  color: #d8cbb8;
  font-size: 13px;
}

.topbar-row,
.navbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-row { min-height: 46px; }

.topbar-left,
.topbar-right,
.topbar-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-item svg {
  width: 15px;
  height: 15px;
  stroke: #DAB582;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.phone {
  color: var(--accent);
  font-weight: 600;
  white-space: nowrap;
}

.navbar { background: var(--dark-2); }

.navbar-row { min-height: 84px; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  font-family: "Playfair Display", serif;
  font-size: 42px;
  color: var(--accent);
  letter-spacing: .04em;
  line-height: 1;
}

.subtitle {
  font-size: 12px;
  line-height: 1.25;
  color: #d5d0c8;
}

.menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 2px;
}

.menu a {
  display: block;
  padding: 30px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #f4eee4;
}

.menu a:hover,
.menu a.is-current { color: var(--accent); }

.about-hero {
  padding: 48px 0 40px;
  background: #f7f7f7;
}

.about-intro {
  margin-top: 24px;
  overflow: auto;
}

.about-lead {
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 16px;
}

.about-photo {
  float: left;
  width: 50%;
  margin: 0 28px 12px 0;
  border-radius: 12px;
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 14px;
}

.about-requisites {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
  margin-top: 8px;
}

.about-requisites h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.about-requisites p {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 16px;
}

.about-requisites dl {
  margin: 0;
  display: grid;
  gap: 12px;
}

.about-requisites dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}

.about-requisites dd {
  margin: 4px 0 0;
  font-size: 16px;
  font-weight: 600;
}

.info-section {
  padding: 40px 0 24px;
}

.info-section-alt {
  background: #f7f7f7;
  padding: 48px 0;
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.info-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px 24px;
}

.info-card h2,
.info-heading {
  font-family: "Playfair Display", serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  margin-bottom: 18px;
}

.info-list,
.info-steps {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.info-list li,
.info-steps li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
}

.info-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.info-steps {
  counter-reset: step;
}

.info-steps li {
  counter-increment: step;
}

.info-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.info-list strong { color: var(--text); }

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.contact-value {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0;
}

.contact-value a:hover { color: var(--accent); }

.contact-links {
  margin-top: 10px;
  font-size: 14px;
}

.contact-links a { color: var(--accent); }

.contact-qr {
  display: block;
  margin-top: 16px;
  max-width: 180px;
}

.contact-qr img {
  width: 100%;
  height: auto;
  display: block;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #3a3a3a;
  background: transparent;
  padding: 10px 9px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: #f4eee4;
  margin: 5px 0;
}

.hero {
  min-height: 560px;
  background:
    linear-gradient(90deg, rgba(12, 12, 12, .62) 0%, rgba(12, 12, 12, .28) 42%, rgba(12, 12, 12, .08) 72%, rgba(12, 12, 12, .18) 100%),
    url("../images/hero.png") right center / cover no-repeat;
  color: var(--white);
}

.hero-inner {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  padding: 64px 0;
}

.hero-copy { max-width: 560px; }

.hero-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.08;
  font-weight: 600;
}

.hero-copy p {
  margin: 18px 0 28px;
  max-width: 460px;
  line-height: 1.7;
  color: #eee8de;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.years-badge {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(183, 137, 77, .7);
  display: grid;
  place-content: center;
  text-align: center;
  flex-shrink: 0;
}

.years-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  color: var(--accent);
  line-height: 1;
}

.years-badge span {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #e8dccb;
}

.hero-trust p {
  margin: 0;
  font-size: 13px;
  max-width: 210px;
  color: #e6ddd0;
}

.guarantee-card {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 230px;
  background: rgba(18, 18, 18, .72);
  border: 1px solid rgba(255, 255, 255, .08);
  padding: 20px 18px;
  backdrop-filter: blur(6px);
}

.guarantee-card svg {
  width: 28px;
  height: 28px;
  stroke: #DAB582;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 10px;
}

.guarantee-card h3 {
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .05em;
  margin-bottom: 6px;
}

.guarantee-card p {
  font-size: 13px;
  color: #d8d2c8;
  line-height: 1.45;
}

.benefits {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.benefits article {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.icon {
  width: 34px;
  height: 34px;
  color: #DAB582;
  flex-shrink: 0;
}

.icon svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: block;
  mix-blend-mode: multiply;
}

.benefits h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.benefits p {
  font-size: 13px;
  color: var(--muted);
}

.section { padding: 64px 0 8px; }

.section h2,
.consult-copy h2 {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 2.4vw, 40px);
  font-weight: 600;
  margin-bottom: 28px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 8px;
}

.section-head h2 { margin-bottom: 22px; }

.section-head a {
  color: var(--accent);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  margin-bottom: 28px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.project-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 12px;
}

.project-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
  line-height: 1.35;
}

.project-card p {
  font-size: 13px;
  color: var(--muted);
}

.reviews { background: var(--cream); padding-bottom: 56px; }

.reviews-slider {
  display: grid;
  grid-template-columns: 36px 1fr 36px;
  gap: 12px;
  align-items: center;
}

.reviews-viewport { overflow: hidden; }

.reviews-track {
  display: flex;
  gap: 16px;
  transition: transform .35s ease;
}

.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  background: var(--white);
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 24px rgba(40, 30, 20, .05);
}

.review-top {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.review-top img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.review-top h3 { font-size: 15px; }

.review-top span {
  display: block;
  font-size: 12px;
  color: var(--muted);
  margin-top: 3px;
}

.stars {
  color: var(--accent);
  letter-spacing: 1px;
  font-size: 13px;
}

.review-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #3d3a36;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--accent);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: start;
}

.steps article { padding-right: 8px; }

.steps h3 {
  font-size: 16px;
  margin: 10px 0 8px;
}

.steps em {
  font-style: normal;
  color: var(--accent);
  margin-right: 6px;
  font-family: "Playfair Display", serif;
}

.steps p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}

.step-arrow {
  color: #cfc5b6;
  font-size: 28px;
  padding-top: 28px;
}

.consult { padding-bottom: 64px; }

.consult-box {
  background: var(--surface);
  border-radius: 12px;
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1.15fr .9fr .85fr;
  gap: 28px;
  align-items: center;
}

.consult-copy p {
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
}

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

.consult-form input[type="text"],
.consult-form input[type="tel"] {
  height: 46px;
  border: 0;
  border-radius: 6px;
  background: var(--white);
  padding: 0 14px;
  font-size: 14px;
}

.consult-form label {
  font-size: 12px;
  color: #8a8378;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.consult-form a { text-decoration: underline; }

.consult-art img {
  width: 100%;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.footer {
  background: #111;
  color: #d3d3d3;
  padding: 48px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 28px;
  padding-bottom: 28px;
}

.footer .logo { font-size: 36px; margin-bottom: 10px; }

.footer p,
.footer a {
  display: block;
  color: #c9c3ba;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 6px;
}

.footer h4 {
  color: var(--white);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.socials { display: flex; gap: 8px; margin-top: 14px; }

.socials a {
  width: 32px;
  height: 32px;
  border: 1px solid #3a3a3a;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--white);
}

.socials svg {
  width: 16px;
  height: 16px;
  display: block;
}

.socials .max-app-icon {
  width: 18px;
  height: 18px;
  color: #471aff;
}

.footer-bottom {
  border-top: 1px solid #2a2a2a;
  padding-top: 16px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.footer-bottom p,
.footer-bottom a { margin: 0; color: #9a9a9a; }

.ym-advanced-informer,
a:has(.ym-advanced-informer) {
  display: none !important;
}

@media (max-width: 1180px) {
  .project-grid { grid-template-columns: repeat(3, 1fr); }
  .review-card { flex-basis: calc((100% - 16px) / 2); }
  .menu a { padding: 24px 8px; font-size: 11px; }
}

@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 130px;
    background: #171717;
    flex-direction: column;
    z-index: 20;
    padding: 8px 0 16px;
  }
  .menu.open { display: flex; }
  .menu a { padding: 14px 24px; }
  .navbar { position: relative; }
  .benefits-grid,
  .consult-box,
  .footer-grid,
  .steps {
    grid-template-columns: 1fr;
  }
  .step-arrow { display: none; }
  .guarantee-card { position: static; width: 100%; margin-top: 28px; }
  .hero-inner { display: block; }
  .topbar-row { flex-wrap: wrap; justify-content: center; padding: 10px 0; }
  .info-grid,
  .contacts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .review-card { flex-basis: 100%; }
  .reviews-slider { grid-template-columns: 1fr; }
  .slider-btn { display: none; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 520px) {
  .project-grid { grid-template-columns: 1fr; }
  .hero { min-height: 460px; }
  .hero-inner { min-height: 460px; padding: 40px 0; }
}
