@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap");
* {
  font-family: "Montserrat", sans-serif;
  color: #222831;
}

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin-block-start: 0;
  margin-block-end: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body, h1, h2, h3, h4, p,
figure, blockquote, dl, dd {
  margin: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
}

/* Set core body defaults */
body {
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1, h2, h3, h4,
button, input, label {
  line-height: 1.1;
}

/* A elements that don't have a class get default styles */
a {
  text-decoration-skip-ink: auto;
  color: currentColor;
  text-decoration: none;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input, button,
textarea, select {
  font: inherit;
}

/* Make sure textarea without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}
input[type=range] {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: #e0e0e0;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0C70FF;
  cursor: pointer;
  border: none;
}

input[type=range]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0C70FF;
  cursor: pointer;
  border: none;
}

input[type=range]::-ms-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #0C70FF;
  cursor: pointer;
  border: none;
}

.header {
  background: #fafafa;
  height: 80px;
}
@media (max-width: 991px) {
  .header {
    height: fit-content;
  }
}
.header-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
@media (max-width: 991px) {
  .header-body {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: fit-content;
    gap: 12px;
  }
}
.header-logo {
  height: 60px;
}
@media (max-width: 991px) {
  .header-logo {
    margin-top: 8px;
  }
}
.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
}
@media (max-width: 991px) {
  .header__contacts {
    align-items: center;
    margin-bottom: 8px;
  }
}
.header__contacts-name {
  font-size: 18px;
  font-weight: 500;
  line-height: 18px;
}
.header__contacts-phone {
  font-size: 16px;
  font-weight: 400;
  line-height: 16px;
  transition: color 0.3s ease;
}
.header__contacts-phone:hover {
  color: #4894ff;
}

.calc {
  position: relative;
  padding: 40px 0;
  background: #4894ff;
}
.calc-body {
  display: flex;
  justify-content: center;
  align-items: center;
}
.calc .calculator {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 16px 24px;
  max-width: 500px;
  width: 100%;
}
.calc .calculator-title {
  text-align: center;
  margin-bottom: 24px;
  color: #4894ff;
}
.calc .calculator__group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.calc .calculator__group label {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}
.calc .calculator__group label span {
  font-size: 16px;
  font-weight: 600;
}
.calc .calculator__group input {
  width: 100%;
}
.calc .calculator__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  margin-bottom: 16px;
  font-size: 18px;
}
.calc .calculator__total span {
  font-weight: 700;
}
.calc .calculator__phone {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 16px;
}
.calc .calculator__phone label {
  font-size: 14px;
  margin-bottom: 4px;
}
.calc .calculator__phone input {
  width: 100%;
  outline: none;
  border: 1px solid #1a1a1a;
  border-radius: 8px;
  height: 40px;
  padding: 0 8px;
}
.calc .calculator__phone input:focus {
  border: 1px solid #4894ff;
}
.calc .calculator-btn {
  cursor: pointer;
  width: 100%;
  height: 40px;
  border: 2px solid #4894ff;
  background-color: #4894ff;
  color: #FFFFFF;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.3s ease;
}
.calc .calculator-btn:hover {
  background-color: #FFFFFF;
  color: #4894ff;
}

.footer {
  padding: 40px 0;
}
.footer__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.footer__header img {
  height: 40px;
}
.footer__docs {
  padding: 12px;
  border-radius: 16px;
  background-color: #4894ff;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 991px) {
  .footer__docs {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
@media (max-width: 600px) {
  .footer__docs {
    grid-template-columns: 1fr;
  }
}
.footer__docs-item {
  font-size: 12px;
  color: #FFFFFF;
  height: fit-content;
  transition: opacity 0.3s ease;
}
.footer__docs-item:hover {
  opacity: 0.5;
}
.footer__title {
  font-size: 20px;
  font-weight: 500;
  margin-top: 40px;
  margin-bottom: 16px;
}
.footer__text {
  font-size: 12px;
  opacity: 0.8;
}
.footer__text a {
  text-decoration: underline;
}

/*# sourceMappingURL=style.css.map */
