:root {
  --service-font-title: Montserrat, Arial, sans-serif;
  --service-font-text: Roboto, Arial, sans-serif;
  --service-black: #111;
  --service-white: #fff;
  --service-yellow: #f8c500;
  --service-yellow-rgb: 248, 197, 0;
  --service-form-width: 450px;
  --service-form-padding: 42px 48px 44px;
  --service-form-title-size: 20px;
  --service-form-field-size: 24px;
  --service-form-field-height: 76px;
  --service-form-gap: 14px;
  --service-form-button-size: 24px;
}

.service-body {
  color: #1f1f1f;
}

.service-body .top-line {
  background: #111;
}

.service-body .top-menu a {
  color: #fff;
}

.service-body .top-logo img {
  max-width: 160px;
}

.service-hero {
  position: relative;
  min-height: 620px;
  padding: 120px 0 80px;
  background-position: center;
  background-size: cover;
  color: #fff;
}

.service-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .55), rgba(0, 0, 0, .2));
}

.service-hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.service-hero__content {
  max-width: 650px;
}

.service-breadcrumbs {
  margin-bottom: 22px;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.service-breadcrumbs a {
  color: #fff;
  opacity: .78;
}

.service-breadcrumbs span {
  color: var(--service-yellow);
}

.service-hero h1 {
  margin: 0 0 24px;
  font-family: var(--service-font-title);
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}

.service-hero__lead {
  margin: 0 0 34px;
  font-size: 20px;
  line-height: 1.55;
}

.service-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.service-hero__actions .main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 0;
  background: var(--service-yellow);
  color: var(--service-black);
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.service-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  font-weight: 500;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.service-link-button:hover {
  background: #111;
  color: #fff;
}

.service-hero__phone {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.service-hero .form {
  width: var(--service-form-width);
  min-width: 320px;
}

.service-hero .form.ajax-form,
.service-form-section .form.ajax-form {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: var(--service-form-gap);
  padding: var(--service-form-padding);
  background:
    linear-gradient(rgba(var(--service-yellow-rgb), .88), rgba(var(--service-yellow-rgb), .88)),
    url("../img/serv-new/remont.png") center/cover no-repeat;
  color: var(--service-black);
  box-shadow: none;
}

.service-hero .form.ajax-form .h3,
.service-form-section .form.ajax-form .h3 {
  margin: 0 0 calc(34px - var(--service-form-gap));
  color: var(--service-black);
  font-family: var(--service-font-title);
  font-size: var(--service-form-title-size);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.service-hero .form.ajax-form input.browser-default,
.service-hero .form.ajax-form textarea.browser-default,
.service-hero .form.ajax-form select,
.service-form-section .form.ajax-form input.browser-default,
.service-form-section .form.ajax-form textarea.browser-default,
.service-form-section .form.ajax-form select {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0 22px;
  border: 0;
  background: var(--service-white);
  color: var(--service-black);
  font-family: var(--service-font-text);
  font-size: var(--service-form-field-size);
  font-weight: 300;
  text-align: center;
  outline: none;
}

.service-hero .form.ajax-form input.browser-default::placeholder,
.service-hero .form.ajax-form textarea.browser-default::placeholder,
.service-form-section .form.ajax-form input.browser-default::placeholder,
.service-form-section .form.ajax-form textarea.browser-default::placeholder {
  color: var(--service-black);
  opacity: 1;
}

.service-hero .form.ajax-form input.browser-default,
.service-hero .form.ajax-form select,
.service-form-section .form.ajax-form input.browser-default,
.service-form-section .form.ajax-form select {
  height: var(--service-form-field-height);
}

.service-hero .form.ajax-form textarea.browser-default,
.service-form-section .form.ajax-form textarea.browser-default {
  min-height: var(--service-form-field-height);
  padding-top: 20px;
  resize: vertical;
}

.service-hero .form.ajax-form span,
.service-form-section .form.ajax-form span {
  display: block;
  margin: 0;
  color: var(--service-black);
  font-family: var(--service-font-text);
  font-size: calc(var(--service-form-field-size) - 4px);
  font-weight: 300;
  line-height: 1.45;
}

.service-hero .form.ajax-form label,
.service-form-section .form.ajax-form label {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: var(--service-form-field-height);
  margin: 0;
  border: 3px solid var(--service-black);
  color: var(--service-black);
  font-family: var(--service-font-title);
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
}

.service-hero .form.ajax-form label span,
.service-form-section .form.ajax-form label span {
  margin: 0;
  font-family: var(--service-font-title);
  font-size: inherit;
  font-weight: inherit;
  line-height: 1.2;
}

.service-hero .form.ajax-form label .file,
.service-form-section .form.ajax-form label .file {
  display: none;
}

.service-hero .form.ajax-form button,
.service-form-section .form.ajax-form button {
  width: 100%;
  min-height: var(--service-form-field-height);
  border: 0;
  background: var(--service-black);
  color: var(--service-white);
  font-family: var(--service-font-text);
  font-size: var(--service-form-button-size);
  font-weight: 300;
  text-transform: none;
  cursor: pointer;
}

.service-hero .form.ajax-form button:hover,
.service-form-section .form.ajax-form button:hover {
  background: #222;
}

.service-section {
  padding: 78px 0;
}

.service-section--white {
  background: #fff;
}

.service-section--dark {
  background: #151515;
  color: #fff;
}

.service-title {
  margin: 0 0 20px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.service-text {
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, .95fr);
  gap: 46px;
  align-items: start;
}

.service-card-list,
.service-steps {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card-list li,
.service-step {
  position: relative;
  padding: 24px 24px 24px 68px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .08);
}

.service-card-list li::before,
.service-step__number {
  position: absolute;
  top: 22px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f8c500;
  color: #111;
  font-weight: 700;
}

.service-card-list li::before {
  content: "";
}

.service-card-list li:nth-child(1)::before { content: "1"; }
.service-card-list li:nth-child(2)::before { content: "2"; }
.service-card-list li:nth-child(3)::before { content: "3"; }
.service-card-list li:nth-child(4)::before { content: "4"; }

.service-card-list strong,
.service-step strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.service-card-list p,
.service-step p {
  margin: 0;
  line-height: 1.6;
}

.service-note {
  padding: 28px;
  background: #f8c500;
  color: #111;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.55;
}

.service-why {
  padding: 78px 0;
  background: #fff;
}

.service-why .sec_title {
  margin-bottom: 8px;
}

.service-why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 38px;
}

.service-why__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 118px;
  padding: 26px;
  background: #f7f7f7;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .07);
}

.service-why__icon {
  display: flex;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  background: #f8c500;
  color: #111;
  font-family: "Material Icons";
  font-size: 30px;
  line-height: 1;
}

.service-why__item h4 {
  margin: 0 0 8px;
  color: #111;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.service-why__item p {
  margin: 0;
  color: #333;
  font-size: 16px;
  line-height: 1.55;
}

.service-faq {
  padding: 100px 0;
}

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

.service-step {
  min-height: 190px;
}

.service-form-section .container {
  display: grid;
  grid-template-columns: minmax(300px, 430px) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.service-form-section .form {
  width: 100%;
}

.service-more {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-more a {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 22px;
  background: #fff;
  color: #111;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .08);
}

.service-more a:hover {
  background: #f8c500;
}

.service-link-button {
  width: 100%;
  margin-top: 14px;
}

@media (max-width: 1100px) {
  :root {
    --service-form-width: 420px;
    --service-form-padding: 36px 38px 38px;
    --service-form-title-size: 18px;
    --service-form-field-size: 21px;
    --service-form-field-height: 68px;
    --service-form-button-size: 22px;
  }

  .service-hero .container,
  .service-grid,
  .service-form-section .container {
    gap: 30px;
  }

  .service-steps,
  .service-more,
  .service-why__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  :root {
    --service-form-width: 100%;
  }

  .service-hero {
    padding: 105px 0 60px;
  }

  .service-hero .container,
  .service-grid,
  .service-form-section .container {
    display: block;
  }

  .service-hero__content,
  .service-hero .form,
  .service-form-section .form {
    max-width: none;
    min-width: 0;
    width: 100%;
  }

  .service-hero .form,
  .service-form-section .form {
    margin-top: 34px;
  }

  .service-card-list,
  .service-note {
    margin-top: 28px;
  }
}

@media (max-width: 640px) {
  :root {
    --service-form-padding: 28px 22px 30px;
    --service-form-title-size: 16px;
    --service-form-field-size: 18px;
    --service-form-field-height: 58px;
    --service-form-gap: 12px;
    --service-form-button-size: 20px;
  }

  .service-hero {
    min-height: auto;
    padding: 92px 0 46px;
  }

  .service-hero::before {
    background: rgba(0, 0, 0, .76);
  }

  .service-hero h1 {
    font-size: 30px;
  }

  .service-hero__lead,
  .service-text {
    font-size: 16px;
  }

  .service-section {
    padding: 48px 0;
  }

  .service-faq {
    padding: 60px 0;
  }

  .service-title {
    font-size: 25px;
  }

  .service-steps,
  .service-more,
  .service-why__grid {
    grid-template-columns: 1fr;
  }

  .service-why {
    padding: 48px 0;
  }

  .service-why__item {
    padding: 22px 18px;
  }

  .service-card-list li,
  .service-step {
    padding: 22px 20px 22px 62px;
  }

  .service-hero__actions {
    display: block;
  }

  .service-hero__phone {
    margin-top: 14px;
  }
}
