html,
body,
div,
span,
h1,
h2,
h3,
h4,
h5,
h6,
p,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  vertical-align: baseline;
}

a,
button,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent !important;
}

/* Black */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Black.ttf")
    format("truetype");
  font-weight: 900;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-BlackItalic.ttf")
    format("truetype");
  font-weight: 900;
  font-style: italic;
}

/* ExtraBold */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-ExtraBold.ttf")
    format("truetype");
  font-weight: 800;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-ExtraBoldItalic.ttf")
    format("truetype");
  font-weight: 800;
  font-style: italic;
}

/* Bold */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Bold.ttf")
    format("truetype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-BoldItalic.ttf")
    format("truetype");
  font-weight: 700;
  font-style: italic;
}

/* SemiBold */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-SemiBold.ttf")
    format("truetype");
  font-weight: 600;
  font-style: normal;
}

/* Medium */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Medium.ttf")
    format("truetype");
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-MediumItalic.ttf")
    format("truetype");
  font-weight: 500;
  font-style: italic;
}

/* Regular */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Regular.ttf")
    format("truetype");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Italic.ttf")
    format("truetype");
  font-weight: 400;
  font-style: italic;
}

/* Light */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Light.ttf")
    format("truetype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-LightItalic.ttf")
    format("truetype");
  font-weight: 300;
  font-style: italic;
}

/* ExtraLight / Thin */
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-ExtraLight.ttf")
    format("truetype");
  font-weight: 200;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-Thin.ttf")
    format("truetype");
  font-weight: 100;
  font-style: normal;
}
@font-face {
  font-family: "Roboto Condensed";
  src: url("/wp-content/themes/YUKO/assets/fonts/Roboto_Condensed/static/RobotoCondensed-ThinItalic.ttf")
    format("truetype");
  font-weight: 100;
  font-style: italic;
}

:root {
  /*ЗАДНИКИ*/
  --primary: #fed018;
  --secondary: #eae9e9;
  --dark: #000000;
  --light: #ffffff;
  /*ЦВЕТА ТЕКСТА*/
  --text-primary: #fed018;
  --text-dark: #000000;
  --text-grey: #6b6b6b;
  --text-light-grey: #bbbaba;
  --text-light: #ffffff;
  /*СКРУГЛЕНИЕ*/
  --rounded-8: 0.48rem;
  --rounded-10: 0.6rem;
  --rounded-20: 1.21rem;
  /*ОТСТУПЫ*/
  --main_block_padding: 18.29rem;
}

html,
body {
  position: relative;
  height: 100%;
}

html {
  font-size: calc(0.433vw + 0.433vh + 0.3175vmin);
}

@media (max-width: 430px) {
  html {
    font-size: calc(0.333vw + 0.333vh + 0.2175vmin);
  }
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  font-family: "Roboto Condensed", sans-serif;
  outline: none; /* Убирает рамку вокруг ссылки при фокусе */
  -webkit-tap-highlight-color: transparent !important; /* Убирает синий цвет на мобильных устройствах */
}

body {
  box-sizing: border-box;
  background-color: #f2f2f2;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 500;
  line-height: 1;
}

/* Убираем контур у элементов, получающих фокус */
a:focus,
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

.text-xxl {
  font-size: 3.658rem; /* 60px */
  line-height: 4.024rem; /* 66px */
  letter-spacing: -0.152rem; /* -2.5px */
}

.text-xl3 {
  font-size: 3.049rem; /* 50px */
  line-height: 3.659rem; /* 60px */
  letter-spacing: -0.121rem; /* -2px */
}

body.home > .home_hero ~ section h2 {
  font-size: 3.65rem;
  line-height: 1.16;
  text-wrap: balance;
}

.text-xl1 {
  font-size: 2.195rem; /* 36px */
  line-height: 2.439rem; /* 40px */
}

.text-xl {
  font-size: 1.524rem; /* 25px */
  line-height: 1.829rem; /* 30px */
}

.text-l {
  font-size: 1.463rem; /* 24px */
  line-height: 1.64rem; /* 27px */
}

.text-l2 {
  font-size: 1.341rem; /* 22px */
  line-height: 1.743rem; /* 130% */
}

.text-m1 {
  font-size: 1.22rem; /* 20px */
  line-height: 1.646rem; /* 27px */
}

.text-m {
  font-size: 1.098rem; /* 18px */
  line-height: 1.159rem; /* 19px */
}

.text-s5 {
  font-size: 0.976rem; /* 16px */
  line-height: 1.159rem; /* 19px */
}

.text-s4 {
  font-size: 0.915rem; /* 15px */
  line-height: 1.189rem; /* 130% */
}

.row {
  margin: 0;
  padding: 0;
}

/*КАСТАМНЫЕ СТИЛИЗОВАННЫЕ КЛАССЫ*/

.hover_button {
  transition: transform 0.3s ease;
}

.hover_button:hover {
  transform: scale(1.1);
}

.primary_button {
  width: fit-content;
  border: none;
  border-radius: var(--rounded-8);
  background-color: var(--dark);
  color: var(--text-primary);
  text-align: center;
  text-transform: uppercase;
  font-size: 1.21rem;
  font-weight: 700;
  padding: 1.15rem 2.31rem;
  transition: transform 0.3s ease;
}

.primary_button:hover {
  transform: scale(1.1);
}

.swiper {
  z-index: 0 !important;
}

@media (max-width: 1024px) {
  body {
    padding: 2rem;
  }

  :root {
    --rounded-8: 1.48rem;
    --rounded-10: 1.4rem;
    --main_block_padding: 1.21rem;
    --rounded-20: 2.21rem;
  }

  .col-sm-12 {
    width: 100% !important;
  }

  .primary_button {
    width: 100%;
    font-size: 3rem;
    padding: 2.8rem 2.31rem;
  }

  .text-s3 {
    font-size: 2.6rem;
    line-height: 3.4rem;
  }

  .text-s4 {
    font-size: 2rem;
    line-height: 2.35rem;
    letter-spacing: 0.014rem;
  }

  .text-s5 {
    font-size: 3.2rem;
    line-height: 3.8rem;
  }

  .text-m {
    font-size: 3.16rem;
    line-height: 4.56rem;
  }

  .text-m1 {
    font-size: 2.5rem;
    line-height: 3.4rem;
  }

  .text-m2 {
    font-size: 3.86rem;
    line-height: 5.4rem;
    letter-spacing: 0.023rem;
  }

  .text-l {
    font-size: 2.8rem;
    line-height: 3.6rem;
  }

  .text-l2 {
    font-size: 3.95rem;
    line-height: 5rem;
    letter-spacing: 0.025rem;
  }

  .text-xl {
    font-size: 4.9rem;
    line-height: 6.61rem;
    letter-spacing: 0.023rem;
  }

  .text-xl1 {
    font-size: 3.8rem;
    line-height: 4rem;
    letter-spacing: 0.03rem;
  }

  .text-xl2 {
    font-size: 8.5rem;
    line-height: 11rem;
  }

  .text-xl3 {
    font-size: 5.7rem;
    line-height: 7rem;
    letter-spacing: 0.04rem;
  }

  body.home > .home_hero ~ section h2 {
    font-size: 6.8rem;
  }

  body.home > :is(.clients_ticker, .grease_traps_block_8) h2 br {
    display: none;
  }

  .text-xxl {
    font-size: 5rem;
    line-height: 5rem;
    letter-spacing: 0.04rem;
  }

  .secondary_button {
    font-size: 2.9rem;
    line-height: 5rem;
    padding: 1.91rem 2.82rem;
  }

  .yandex_maps {
    height: 100rem;
  }
}

/* * {
  outline: 1px solid red;
} */
