@import url("reset.css");
@import url("./fonts/stylesheet.css");
:root {
  --colorM: #180747;
  --colorS: #1c7fde;
  --colorT: #e3f4fe;
  --textMiddle: 20px;
  --textSmall: 16px;
  height: 100%;
  color: var(--colorM);
  font-size: 16px;
  font-family: "Merriweather Sans", sans-serif;
  scroll-behavior: smooth;
}
.body {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  flex-direction: column;
}
.body > * {
  flex: 0 0 auto;
}
.body > *:nth-child(2) {
  flex: 1 0 auto;
}
.header,
.nav > ul {
  display: flex;
  justify-content: space-between;
}
.header > div {
  border: 1px solid;
}
.header .dFlex {
  gap: 0;
}
.header .dFlex > * {
  width: 100%;
  min-width: fit-content;
}
.header li,
.header .logo,
.footer .nav li,
.footer .logo {
  border-right: 1px solid;
}
.logo,
.nav li,
.header .contacts {
  display: inline-flex;
  height: 64px;
  padding: 0.5rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.nav li:hover {
  background-color: var(--colorS);
}
.nav a {
  transition: color 0.5s;
}
.nav {
  gap: 2.25rem;
}
.contacts {
  display: flex;
  color: var(--colorS);
  font-size: var(--textMiddle);
  flex-direction: column;
  align-items: flex-end;
}
.header .contacts a {
  text-align: right;
}
.header .contacts img {
  vertical-align: bottom;
}
input {
  width: fit-content;
  height: 44px;
  padding: 0.5rem 2rem;
  transition: all 0.5s;
}
header input,
input[type="button"] {
  background-color: var(--colorS);
  color: var(--colorT);
}
header input:hover,
input[type="button"]:hover,
.submit:hover {
  background-color: var(--colorT);
  color: var(--colorM);
}
.nav__column {
  display: flex;
  flex-direction: column;
}
.container {
  width: 1174px;
  margin-right: auto;
  margin-left: auto;
}
.dFlex {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}
.gap0 {
  gap: 0;
}
.flexColumn {
  flex-direction: column;
}
.justifyStart {
  justify-content: flex-start;
}
.justifyCenter {
  justify-content: center;
}
.justifyEvenly {
  justify-content: space-evenly;
}
.justifyEnd {
  justify-content: end;
}
.alignCenter {
  align-items: center;
}
.grid {
  display: grid;
}
.textCenter {
  text-align: center;
}
.texMiddle {
  font-size: var(--textMiddle);
}
.textLarge {
  font-size: 6rem;
  font-weight: 600;
  text-transform: uppercase;
}
h1 {
  font-size: 3.5rem;
  font-weight: 600;
}
h1 ~ input {
  margin-top: 1.75rem;
}
h2 {
  margin-bottom: 2rem;
  font-size: 2rem;
  font-weight: 900;
}
h3 {
  margin: var(--textMiddle) 0;
  font-size: var(--textMiddle);
  font-weight: 700;
}
main > * {
  margin-top: 4rem;
}
main > *:first-child {
  margin-top: 0;
}
.title ul {
  margin-left: 2rem;
  list-style: disc;
}
.head {
  width: 550px;
}
.call {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 2px solid;
  align-items: center;
}
.about > .dFlex {
  margin: 4.5rem 0;
}
.about input {
  margin-top: calc(var(--textMiddle) * 2);
}
.about--item {
  width: 100%;
  padding: 2rem;
  background-color: var(--colorT);
  text-align: center;
}
.diagnostics {
  padding: 4.5rem 0;
  background-color: var(--colorT);
}
.diagnostics h2 span {
  color: var(--colorS);
}
.diagnostics--items {
  counter-reset: count;
  display: inline-flex;
  font-size: var(--textMiddle);
}
.diagnostics--item {
  display: inline-flex;
  padding: 1em;
  border: 1px solid;
  align-items: center;
}
.diagnostics--item::before {
  content: counter(count);
  counter-increment: count;
  display: inline-block;
  margin-right: 2rem;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  background-color: var(--colorS);
  color: var(--colorT);
  text-align: center;
}
.diagnostics form {
  padding: calc(var(--textMiddle) * 2) 2rem;
  background-color: var(--colorS);
  color: var(--colorT);
}
.diagnostics form h3 {
  margin: 0;
}
.diagnostics input {
  width: 100%;
  border: 1px solid;
}
.diagnostics input[type="button"],
.diagnostics .submit {
  background-color: var(--colorT);
}
.diagnostics input[type="button"]:hover,
.diagnostics .submit:hover {
  background-color: var(--colorM);
  color: var(--colorT);
}
.brands .grid {
  grid-template-rows: repeat(3, 1fr);
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.brands--item {
  padding: 1.5rem 1rem;
  border: 2px solid;
  color: var(--colorT);
  text-align: center;
}
.brands--item p {
  margin-bottom: 1rem;
  text-align: left;
}
.brands--add {
  margin-top: 9rem;
  font-size: var(--textMiddle);
}
.brands--add h2 {
  color: var(--colorS);
}
.brands--add .dFlex > div {
  display: inline-flex;
  padding: 1.5rem;
  border: 2px solid;
  background-color: var(--colorT);
  font-weight: 600;
}
.brands--add .dFlex > div:nth-child(2)::before {
  content: url(../images/add1.svg);
  margin-right: 1rem;
}
.brands--add .dFlex > div:nth-child(3)::before {
  content: url(../images/add2.svg);
  margin-right: 1rem;
}
.brands--add input {
  width: 100%;
  color: var(--colorT);
}
.brands--add a {
  color: var(--colorS);
}
.price {
  padding: 4.5rem 0;
  background-color: var(--colorS);
  color: var(--colorT);
  font-size: var(--textMiddle);
  @media screen and (max-width: 600px) {
    padding: 1.5rem 0;
  }
}
.price .grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 0 1.5rem;
}
.price--item {
  padding: 0.5rem 1rem;
  background-color: var(--colorT);
  color: var(--colorM);
  align-items: flex-start;
}
.price--item:nth-child(1),
.price--item:nth-child(2) {
  padding-top: 2rem;
}
.price--item:nth-last-child(1),
.price--item:nth-last-child(2) {
  padding-bottom: 2rem;
}
.price--item p:last-child {
  color: var(--colorS);
  flex: 0 0 20%;
  margin: 0;
}
.price > div > *:last-child {
  width: 52%;
  margin-top: 4.5rem;
  @media screen and (max-width: 600px) {
    margin-top: 1.5rem;
    padding: 0 0.5rem;
  }
}
.discount {
  font-size: 2rem;
}
.discount > div > *:first-child {
  padding: 1em 3em;
  background-color: var(--colorM);
  color: var(--colorT);
  font-weight: 900;
  text-align: center;
}
.discount > div > *:nth-child(2) {
  position: relative;
  width: 80%;
  margin: -1.5rem auto 1.5rem auto;
  padding: 4rem 3rem;
  border: 1px solid;
  background-color: var(--colorT);
  text-align: center;
}
.discount h3 {
  color: var(--colorS);
  font-size: 2.75rem;
}
.discount > div > *:last-child {
  width: 100%;
  text-align: center;
}
.discount input {
  position: relative;
  margin: 0 auto;
  padding: 0.5rem 7.6rem;
  color: var(--colorT);
  font-size: 1rem;
  @media screen and (max-width: 600px) {
    width: 100%;
    padding: 0.5rem 0;
  }
}
.form input {
  width: 100%;
  margin: 0.5rem 0;
  border: 1px solid;
  background-color: var(--colorT);
}
.form h3 {
  margin: 0;
}
.form p {
  margin: 2rem 0;
}
.form .submit {
  margin-top: 2rem;
  text-align: center;
  border: 1px solid;
  padding: 1rem 0;
}
.footer {
  background-color: var(--colorM);
  color: var(--colorT);
}
.footer > div:first-child {
  border-bottom: 1px solid;
  border-left: 1px solid;
  gap: 0;
}
.footer > div:first-child > * {
  border-right: 1px solid;
}
.footer .logo {
  width: 100%;
  height: auto;
  padding-left: 1rem;
  justify-content: start;
}
.footer .nav {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.footer .nav li {
  height: auto;
  padding: 1rem 0;
  border-right: 1px solid;
}
.footer .nav li:nth-child(2n) {
  border-right: 0;
}
.footer .contacts {
  width: 100%;
  padding: 1rem;
  color: var(--colorT);
  justify-content: space-around;
}
.footer .contacts svg {
  fill: var(--colorT);
}
.p1 {
  padding: 1rem 0;
}
@media screen and (max-width: 600px) {
  .container,
  .form--item,
  .half,
  .services--list,
  .process--list,
  .price--list,
  img,
  input,
  .price > div > *:last-child {
    width: 100%;
  }
  .price--item {
    gap: 0;
    align-items: start;
    & > p {
      margin: 0;
    }
  }
  h2 {
    font-size: 1.5rem;
    text-align: center;
    hyphens: auto;
    word-wrap: normal;
  }
  body {
    padding: 0.5rem;
  }
  .dFlex,
  .header,
  .nav > ul {
    flex-direction: column;
  }
  footer .dFlex {
    gap: 1rem;
  }
  .textLarge,
  .harantly ul li,
  h1 {
    font-size: 2.5rem;
  }
  h1 {
    word-wrap: break-word;
  }
  .brands .grid,
  .price .grid {
    grid-template-columns: 1fr;
  }
  .brands img {
    width: 50%;
  }
  .footer .logo,
  .footer .contacts {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header .contacts img {
    width: auto !important;
  }
  .nav li,
  .header .contacts,
  .header .logo {
    border: 0;
  }
  .header .nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
  }
  img[src*=".svg"] {
    max-width: 50%;
  }
}
.w100 {
  width: 100% !important;
}
input[type="button"] {
  cursor: pointer;
}
.floatForm {
  display: none;
  position: fixed;
  z-index: 20;
  top: 10%;
  left: 40%;
  padding: 1.5rem;
  padding-bottom: calc(var(--textMiddle) + 1.5rem);
  border-radius: 1rem;
  background: #fff;
  flex-direction: column;
  box-shadow: 0 0 1rem #00000020;
  @media screen and (max-width: 600px) {
    left: 1%;
    width: 98%;
  }
  & input,
  select {
    width: 100%;
    height: 44px;
    margin-bottom: 1rem;
    padding: 0.5rem 2rem;
    border: 1px solid;
    border-radius: 5rem;
    transition: all 0.5s;
    &.submit {
      border-radius: 5rem;
      background-color: var(--colorS);
      box-shadow: 0 3px #0003 inset;
      &:hover {
        background-color: var(--colorM);
        color: var(--colorT);
      }
    }
  }
  & .close {
    width: fit-content;
    margin-left: auto;
    padding: 0.1rem 0.5rem 0.2rem 0.5rem;
    border-radius: 50%;
  }
}
/* @supports (
  background-image: -webkit-image-set(url("../images/bgKettle.webp"))
) {
  .blockH1 {
    background-image: -webkit-image-set(url("../images/bgKettle.webp"));
  }
} */
.submit {
  border: 1px solid;
  padding: 1rem 0;
}
.grecaptcha-badge {
  visibility: hidden;
}
