:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #253041;
  --muted: #68778d;
  --line: #dfe6ef;
  --accent: #2d82da;
  --accent-dark: #1f67b4;
  --green: #22a652;
  --shadow: 0 18px 50px rgba(21, 38, 66, 0.08);
  --radius: 28px;
  --container: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(223,230,239,.9);
}
.header__wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 28px;
  color: var(--accent);
}
.logo__mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, #43a1ff, #2677cb);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow);
}
.nav {
  display: flex;
  gap: 24px;
  font-size: 15px;
  font-weight: 700;
  color: #334054;
}
.header__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}
.phone {
  font-size: 24px;
  font-weight: 800;
  color: #1e2b3f;
  white-space: nowrap;
}
.icon-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  flex: 0 0 auto;
}
.icon-btn svg {
  width: 22px;
  height: 22px;
  fill: #fff;
  display: block;
}
.icon-btn--mail { background: #2d82da; }

.mobile-menu-btn {
  display: none;
  border: 0;
  background: #fff;
  border-radius: 14px;
  width: 48px;
  height: 48px;
  box-shadow: var(--shadow);
  font-size: 24px;
  cursor: pointer;
}

.hero {
  padding: 44px 0 32px;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
  gap: 36px;
  align-items: center;
}
.hero__content, .hero__visual {
  min-width: 0;
}
.hero__content h1 {
  margin: 0 0 18px;
  font-size: clamp(38px, 4.6vw, 64px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero__lead {
  margin: 0 0 26px;
  font-size: 20px;
  line-height: 1.4;
  color: #4b5a70;
  max-width: 640px;
}
.hero__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 22px;
}
.btn {
  min-height: 62px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  cursor: pointer;
  transition: .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary {
  background: linear-gradient(180deg, #3895ef, #2a7ed1);
  color: #fff;
  box-shadow: 0 18px 40px rgba(45,130,218,.22);
}
.btn--primary-alt {
  background: #fff;
  color: var(--accent-dark);
  border: 1px solid rgba(45,130,218,.28);
  box-shadow: var(--shadow);
}
.btn--full { width: 100%; }

.hero__tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.hero__tags span {
  min-height: 50px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero__visual {
  display: grid;
  gap: 16px;
}
.hero__image-wrap {
  background: linear-gradient(180deg, #eef5fc, #f8fbff);
  border-radius: 34px;
  padding: 26px;
  box-shadow: var(--shadow);
}
.hero__machine {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 28px 60px rgba(25,48,80,.14));
}
.hero__price-card {
  align-self: start;
  width: 100%;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(223,230,239,.85);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 22px 24px;
}
.hero__price-title {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.hero__price-value {
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  color: #1f2e42;
  line-height: 1;
  margin-bottom: 10px;
  white-space: nowrap;
}
.hero__price-text {
  color: #55657b;
  font-size: 18px;
  font-weight: 700;
}

.section {
  padding: 34px 0 76px;
}
.section--soft {
  background: linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.5));
}
.section--map {
  padding-top: 10px;
}
.section__head {
  margin-bottom: 28px;
}
.section__head--center {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px;
}
.section__title {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section__title--panel {
  font-size: clamp(32px, 3.5vw, 46px);
}
.section__text {
  margin: 12px auto 0;
  font-size: 24px;
  color: #55657b;
  max-width: 900px;
}

.cards {
  display: grid;
  gap: 22px;
  align-items: stretch;
}
.cards--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.cards--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border-radius: 28px;
  border: 1px solid #e5ebf3;
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.card__media {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: #eef5fc;
}
.card__media img,
.work-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: 24px;
}
.card__body--panel {
  padding: 32px;
}
.card__title {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 800;
}
.card__text {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}
.card--step {
  padding-top: 10px;
}
.step__num {
  width: 54px;
  height: 54px;
  margin: 24px 24px 0;
  border-radius: 16px;
  background: linear-gradient(180deg, #3895ef, #2a7ed1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 18px 40px rgba(45,130,218,.16);
}

.review-head {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.review-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  background: #eee;
}

.contact__line {
  margin-top: 18px;
  font-size: 20px;
  color: #43536a;
}
.contact__line strong {
  color: #1e2b3f;
}
.contact-note {
  margin-top: 20px;
}

.contact-form .card__body {
  height: 100%;
}
.form-grid {
  display: grid;
  gap: 18px;
}
.form-callout {
  background: #f9f9f9;
  padding: 15px;
  border-radius: 12px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px dashed #ccc;
}
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #57677e;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 58px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid #d6dfeb;
  background: #fbfdff;
  color: #1f2c40;
  outline: none;
}
.field textarea {
  min-height: 144px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: #2d82da;
  background: #fff;
}
.status {
  margin-top: 12px;
  min-height: 24px;
  font-size: 15px;
  font-weight: 700;
}
.status--success { color: var(--green); }
.status--error { color: #d84c4c; }

.consent-box {
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid #d6dfeb;
  background: #f8fbff;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #43536a;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.consent-check a,
.contact__line a,
.footer__links a,
.legal-page a,
.legal-page__back {
  color: var(--accent-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.map-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}
.map-embed-wrap {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 1px solid #e5ebf3;
  background: #fff;
}
.map-embed {
  width: 100%;
  height: 520px;
  border: 0;
  display: block;
}
.map-btn {
  margin-top: 24px;
  width: 100%;
}
.seo-text p {
  font-size: 18px;
  color: #4f5f75;
}

.footer {
  padding: 24px 0 40px;
  color: #66778d;
  font-size: 15px;
}

.footer__wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px 24px;
  flex-wrap: wrap;
}

.footer__links {
  display: flex;
  gap: 16px 24px;
  align-items: center;
  flex-wrap: wrap;
}

.map-embed-wrap--full {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid #e5ebf3;
  background: transparent;
}

.phone-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.phone-link,
.phone.js-phone-link,
.phone {
  color: inherit;
}

.phone__main {
  font-size: 24px;
  font-weight: 800;
  color: #1e2b3f;
  white-space: nowrap;
}

.phone-reveal-btn {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #3895ef, #2a7ed1);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(45,130,218,.22);
  white-space: nowrap;
}

.phone-reveal-btn:hover {
  transform: translateY(-1px);
}

.contact-phone-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  vertical-align: middle;
}

.contact-phone-link {
  color: inherit;
  font-weight: inherit;
}

.contact-phone__main {
  white-space: nowrap;
}

.contact-phone-reveal-btn {
  height: 34px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #3895ef, #2a7ed1);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.contact-phone-reveal-btn:hover {
  transform: translateY(-1px);
}

.legal-page {
  padding: 40px 0 80px;
}

.legal-page__container {
  max-width: 920px;
}

.legal-page__back {
  display: inline-block;
  margin-bottom: 22px;
  font-weight: 700;
}

.legal-page__meta {
  margin: 12px 0 30px;
  color: var(--muted);
  font-size: 16px;
}

.legal-page section + section {
  margin-top: 26px;
}

.legal-page h1 {
  margin: 0;
  font-size: clamp(38px, 4.6vw, 60px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.legal-page h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.15;
}

.legal-page p,
.legal-page li {
  color: #43536a;
  font-size: 17px;
  line-height: 1.65;
}

.legal-list {
  margin: 0;
  padding-left: 22px;
}

@media (max-width: 1200px) {
  .hero__grid,
  .cards--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards--3,
  .cards--2,
  .map-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 88px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    flex-direction: column;
    gap: 16px;
    box-shadow: var(--shadow);
  }
  .nav.nav--open { display: flex; }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .header__wrap {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .hero__grid,
  .cards--4,
  .cards--3,
  .cards--2,
  .map-grid {
    grid-template-columns: 1fr;
  }

  .hero__content h1 {
    font-size: 44px;
  }

  .hero__lead,
  .section__text,
  .phone,
  .phone__main {
    font-size: 20px;
  }

  .hero__actions,
  .hero__tags {
    grid-template-columns: 1fr;
  }

  .footer__wrap,
  .footer__links {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 20px));
  }

  .hero {
    padding-top: 20px;
  }

  .logo {
    font-size: 22px;
  }

  .phone,
  .phone__main {
    font-size: 18px;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }

  .icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .hero__content h1 {
    font-size: 38px;
  }

  .hero__image-wrap,
  .hero__price-card,
  .card,
  .map-embed-wrap,
  .map-embed-wrap--full {
    border-radius: 24px;
  }

  .hero__price-value {
    font-size: 36px;
    white-space: normal;
  }

  .section__title {
    font-size: 34px;
  }

  .btn {
    width: 100%;
  }

  .phone-box {
    gap: 8px;
  }

  .phone-reveal-btn {
    height: 38px;
    padding: 0 14px;
    font-size: 12px;
  }

  .map-embed-wrap--full,
  .map-embed {
    height: 420px;
  }
}
