/*
Theme Name: StirAl Mashina
Theme URI: https://stiral-mashina-remont.ru/
Author: Codex
Description: Landing page migrated from Tilda to WordPress with ACF.
Version: 1.0.0
*/

@font-face {
  font-family: "TildaSans";
  font-style: normal;
  font-weight: 250 1000;
  src: url("assets/fonts/TildaSans-VF.woff2") format("woff2-variations");
  font-display: swap;
}

:root {
  --t-text-font: "TildaSans";
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.t-body {
  margin: 0;
  font-family: "TildaSans", Arial, sans-serif;
  color: #151a18;
  background: #ffffff;
}

img {
  max-width: 100%;
  height: auto;
}

.t-records,
.t-rec {
  position: relative;
  width: 100%;
}

.t396 {
  position: relative;
  width: 100%;
}

.t396__artboard {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
}

.t396__carrier,
.t396__filter {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.t396__carrier {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.t396__filter {
  pointer-events: none;
}

.t396__elem,
.tn-elem {
  position: absolute;
  display: table;
}

.tn-atom {
  display: table-cell;
  width: 100%;
  height: 100%;
  vertical-align: middle;
}

.tn-elem[data-elem-type="shape"] .tn-atom {
  height: 100%;
}

.tn-atom__img,
.t-img {
  display: block;
  width: 100%;
  height: auto;
}

.t-bgimg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.t-bgimg[data-zoomable="yes"] {
  cursor: zoom-in;
}

.t-image-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.75);
  z-index: 10000;
}

.t-image-popup.is-active {
  display: flex;
}

.t-image-popup__inner {
  position: relative;
  max-width: 92vw;
  max-height: 92vh;
}

.t-image-popup__inner img {
  display: block;
  max-width: 100%;
  max-height: 92vh;
}

.t-image-popup__close {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: #ffffff;
  color: #151a18;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.tn-atom__vector svg {
  display: block;
}

.tn-atom__link {
  display: block;
  width: 100%;
  height: 100%;
}

.tn-atom a {
  color: inherit;
  text-decoration: none;
}

.tn-atom a:hover {
  text-decoration: none;
}

.t396__elem[data-elem-type="button"] .tn-atom,
.t396__elem[data-elem-type="button"] .tn-atom__button-text,
.t-btn,
.t-btnflex {
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

.t-text,
.t-title,
.t-descr {
  font-family: inherit;
}

.t-text_md {
  font-size: 18px;
  line-height: 1.5;
}

.t-text_xs {
  font-size: 12px;
  line-height: 1.4;
}

.t-title_xxs {
  font-size: 24px;
  line-height: 1.2;
}

.t-descr_md {
  font-size: 16px;
  line-height: 1.5;
}

.t-descr_xs {
  font-size: 14px;
  line-height: 1.5;
}

.t-align_center {
  text-align: center;
}

.t-popup {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
}

.t-popup.is-active {
  display: flex;
}

.t-popup__container {
  width: 100%;
  max-width: 640px;
  padding: 20px;
}

.t-popup__container .t702__wrapper {
  background: #ffffff;
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
}

.t-popup__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
}

.t-popup__close-wrapper {
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.t702__title {
  font-weight: 600;
  margin-bottom: 8px;
}

.t702__descr {
  margin-bottom: 20px;
  color: #555555;
}

.t-form {
  width: 100%;
}

.t-form__inputsbox {
  display: grid;
  gap: 12px;
}

.t-input-block {
  width: 100%;
}

.t-input-title {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
}

.t-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid #c9c9c9;
  font-size: 16px;
  line-height: 1.2;
}

.t-btnflex {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 18px;
  border-radius: 5px;
  border: 0;
  background: #ff5f00;
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
}

.t702__form-bottom-text {
  margin-top: 12px;
  color: #666666;
}

.t-form__successbox,
.t-form__errorbox-wrapper {
  margin-top: 12px;
}

.t-form__successbox {
  color: #0b6623;
}

.t-form__errorbox-wrapper {
  color: #b00020;
}

.t724 {
  display: none;
}

@media (max-width: 640px) {
  .t-popup__container {
    max-width: 95vw;
  }

  .t-popup__container .t702__wrapper {
    padding: 24px 18px;
  }

  .t-btnflex {
    font-size: 14px;
  }
}
