@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Lobster&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* ====== БАЗА ====== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.5;
  color: #ffffff;
  background: #000000;
  -webkit-font-smoothing: antialiased;
}

.page {
  min-height: 100vh;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
}

p {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-style: normal;
}

/* ====== ОВЕРЛЕЙ / БУРГЕР ====== */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 1000;
}

body.menu-open .menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.burger {
  display: none; /* по умолчанию спрятан, появится в @media */
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
  z-index: 1002; /* выше оверлея и страницы */
}

.burger__line {
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 999px;
  background-color: #ffffff;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease,
    bottom 0.25s ease;
}

.burger__line:nth-child(1) {
  top: 0;
}

.burger__line:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.burger__line:nth-child(3) {
  bottom: 0;
}

/* крестик */
body.menu-open .burger__line:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}

body.menu-open .burger__line:nth-child(2) {
  opacity: 0;
}

body.menu-open .burger__line:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* ====== ХЕДЕР ====== */

.header {
  background-color: #000000;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

.container {
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo-best-service {
  max-width: 140px;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav__link {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-size: 19px;
  line-height: 19px;
  letter-spacing: -0.02em;
  color: #ffffff;
  transition: opacity 0.4s;
}

.nav__link:hover {
  opacity: 0.7;
}

.number {
  font-size: 19px;
  font-weight: 500;
  color: #fff;
}

/* ====== WELCOME ====== */

.welcome .container {
  display: flex;
  align-items: center;
  background-image: url("./images/real_bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 659px;
}

.welcome__text {
  max-width: 44%;
  margin-left: 20px;
}

.welcome__title {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-size: 44px;
  line-height: 53px;
  letter-spacing: -0.04em;
  margin-bottom: 17px;
  color: #ffffff;
  max-width: 520px;
}

.welcome__desc {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  max-width: 71%;
  color: rgb(207 207 207);
}

.welcome__btn {
  display: inline-block;
  background-color: #e26900;
  padding: 17px 40px;
  border-radius: 16px;
  color: white;
  font-size: 20px;
  font-weight: 500;
  margin-top: 65px;
  box-shadow: 0 4px 14px rgba(255, 128, 0, 0.3);
  transition: all 0.5s;
}

.welcome__btn:hover {
  background-color: #c65d00;
}

/* ====== СТАТИСТИКА ====== */

.stats {
  background-color: #000000;
  color: #fff;
}

.stats .container {
  margin-bottom: 0px;
}

.stats__inner {
  display: flex;
  justify-content: center;
  gap: 90px;
  padding-top: 40px;
  padding-bottom: 40px;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  border-bottom: 2px solid rgba(255, 255, 255, 0.18);
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stats__value {
  font-family: "Montserrat";
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

/* ! SERVICES ! */

.services {
  background: linear-gradient(to bottom, #000000 0%, #151515 40%, #151515 100%);
}

.services .container {
  /* margin-bottom: 90px; */
}

.service__text {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 10px;
  gap: 10px;
  padding-top: 170px;
}

.service__title {
  position: relative;
  letter-spacing: 0.03em;
  font-size: 25px;
}

.services .service__subtitle {
  max-width: 350px;
}

.services__cards__wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 50px;
  padding-top: 60px;
}

.service__btn {
  margin: 0;
  box-shadow: none;
  padding: 11px 32px;
  font-size: 18px;
  margin-top: 30px;
}

.service__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 322px;
  background-color: #292929;
  padding: 20px;
  border-radius: 16px;
  /* border: 2px solid rgba(233, 89, 0, 0.875); */
  border: 2px solid #e26900;
}

.service__icon {
  width: 50px;
  transition: transform 0.5s;
}

.service__icon:hover {
  transform: scale(1.04);
}

/* .oil-icon {
  width: 50px;
} */

.service__card__title {
  font-size: 20px;
}

.service__card__desc {
  max-width: 90%;
  color: rgb(198, 198, 198);
  font-size: 17px;
}

/* ! FOOTER ! */

.footer {
  padding-bottom: 50px;
  background-color: #151515;
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  /* background: linear-gradient(to bottom, #1f1f1f 0%, #131313 18%, #000000 100%); */
}

.footer ul {
  display: flex;
  gap: 30px;
}

/* .footer .container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(209, 209, 209, 0.7),
    transparent
  );
} */

.who__am__i {
  margin-top: 50px;
  /* border-bottom: 1px solid gray; */
  /* padding-bottom: 10px; */

  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.8px;
  color: rgb(204, 204, 204);
  max-width: 360px;
}

.who__wrapper {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.who__wrapper::after {
  content: "";
  position: absolute;
  left: 50%; /* от начала текста */
  transform: translateX(-50%);
  bottom: -10px; /* опусти ниже текста */
  width: 160px;
  height: 2px;

  background: linear-gradient(
    to right,
    transparent 0%,
    rgb(200, 83, 0) 20%,
    rgba(205, 96, 0, 0.832) 85%,
    transparent 100%
  );
}

.footer .container {
  display: flex;
  gap: 30px;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 50px;
}

.slogan {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.8px;
  color: rgb(204, 204, 204);
  max-width: 360px;
}

.footer__nav__links__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__nav__link {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.8px;
  color: rgb(204, 204, 204);
  max-width: 360px;
}

.footer__nav__link {
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  transition: all 0.5s;
}

.footer__nav__link:hover {
  opacity: 0.7;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 22px; /* расстояние между иконками */
  margin: 0px 0;
}

.social-icon {
  width: 34px; /* можно 28–36px, как тебе нравится */
  height: 34px;
  object-fit: contain;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

/* Hover — аккуратный и стильный */
.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

/* ! CONTACT FORM ! */

.name__wrapper input {
  width: 100%;
  height: 56px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid #cecece;
  border-radius: 10px;
  padding-left: 15px;
  box-sizing: border-box;

  color: #fff; /* цвет текста */
  caret-color: #fff;
}

.name__wrapper {
  width: 100%;
}

.inputs__wrapper input::placeholder {
  visibility: hidden;
}

.inputs__wrapper {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
}

textarea {
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid #cecece;
  padding-left: 15px;
  padding-top: 15px;

  color: #fff; /* цвет текста */
  caret-color: #fff;
}

textarea::placeholder {
  visibility: hidden;
}

textarea {
  outline: none;
  width: 100%;
  /* height: 232px; */

  box-sizing: border-box;
}

.email__input {
  width: 100%;
}

.email__input::placeholder {
  visibility: hidden;
}

.say__hello {
  display: flex;
  position: relative;
  overflow: hidden;
  background-color: #151515;
}

.say__hello input,
textarea {
  font-size: 19px;
}

.say__hello .container {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  margin-top: 80px;
  padding-top: 10px;
  align-items: center;
}

.say__hello__text {
  text-align: center;
  margin-top: 54px;
}

.say__hello__title {
  font-weight: 400;
  font-size: 30px;

  margin: 0;

  color: #ffffff;
}

.say__hello__desc {
  font-weight: 500;
  font-size: 13px;
  line-height: 189.5%;
  margin-bottom: 79px;
}

.get__in__touch__form {
  width: 570px;
  margin-top: 65px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 40px;
}

.say__hello .btn {
  /* align-self: flex-end; */
  border: none;
  cursor: pointer;

  margin-top: 43px;
  padding-left: 35px;
  padding-right: 35px;
}

.form__name__title {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.3px;
  color: #6d6d6d;
}

.name__wrapper h3 {
  transition: color 0.3s;
  text-align: center;
}

.name__wrapper:focus-within h3 {
  color: #e6e6e6; /* цвет при фокусе */
}

.inputs__wrapper {
  display: flex;
  width: 100%;
  gap: 30px;
  margin-bottom: 18px;
}

.get__in__touch__text {
  text-align: center;
  letter-spacing: 0.8px;
  text-align: center;
  margin-bottom: 7px;
  font-size: 25px;

  max-width: 500px;
}

.contact__subtitle {
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  letter-spacing: 0.8px;
  color: rgb(159 159 159);
  max-width: 360px;
  cursor: default;
}

/* ! О КОМПАНИИ ! */

.about__us {
  background-color: #151515;
}

.about__us .container {
  padding-top: 150px;
}

.about__us__text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: center;
  margin-bottom: 80px;
}

.about__us__title {
  font-size: 25px;
}

.abous__us__subtitle {
  color: rgb(198, 198, 198);
  text-align: center;
  max-width: 340px;
  font-size: 17px;
}

.about__us__cards__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  padding-left: 10px;
  padding-right: 10px;
  padding-bottom: 90px;
}

.about__us__card {
  display: flex;
  align-items: center;
  gap: 70px;
}

.card-reversed {
  flex-direction: row-reverse;
}

.about__us__card__img {
  border-radius: 16px;
  max-width: 540px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.about__us__card__text {
  max-width: 400px;
}

.about__us__card__title {
  margin-bottom: 20px;
  font-size: 22px;
}

.about__us__card__subtitle {
  color: rgb(198, 198, 198);
  font-size: 17px;
}

.subtitle__reversed,
.title__reversed {
  text-align: right;
}

/* ! BRANDS ! */

/* ====== BRANDS ====== */
.brands {
  padding: 60px 0;
  background: #151515;
}

.brands-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
}

.brands-swiper .swiper-slide {
  width: clamp(190px, 28vw, 320px); /* min / адаптив / max */
}

.brands .container {
  display: flex;
  flex-direction: column;
}

.brands__title {
  text-align: center;
  align-self: center;
  color: #fff;
  letter-spacing: 0.03em;
  font-size: 25px;
  max-width: 400px;
  margin-bottom: 50px;
}

.brands__slider {
  position: relative;
  padding: 10px 0;
  overflow: hidden;

  /* Растворение "в воздух" без границ */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
}

.brands__slide {
  width: 320px; /* одинаковая ширина карточек как на скрине */
}

.brands__card {
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgb(210 210 210);
  display: grid;
  place-items: center;
  border-radius: 16px;
}

.brands__logo {
  height: 54px; /* одинаковая высота логотипов */
  width: auto;
  max-width: 220px;
  object-fit: contain;

  /* Если хочешь "светлые" лого на тёмном фоне — раскомментируй: */
  /* filter: brightness(0) invert(1); */
  opacity: 0.95;
}

.brands__fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 5;
}

.brands__fade--left {
  left: 0;
  background: linear-gradient(to right, #0e0e0e 0%, rgba(14, 14, 14, 0) 100%);
}

.brands__fade--right {
  right: 0;
  background: linear-gradient(to left, #0e0e0e 0%, rgba(14, 14, 14, 0) 100%);
}

/* чуть комфортнее на маленьких экранах */
/* @media (max-width: 520px) {
  .brands__slide {
    width: 260px;
  }
  .brands__card {
    height: 120px;
  }
  .brands__logo {
    height: 38px;
    max-width: 200px;
  }
} */

/* ====== АДАПТИВ ====== */

@media (max-width: 1200px) {
  .welcome__title {
    font-size: 39px;
  }

  .welcome__text {
    max-width: 440px;
  }

  .stats__inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .stats__label {
    text-align: center;
  }
}

@media (max-width: 1000px) {
  .welcome {
    padding: 60px 0 40px;
  }

  .welcome .container {
    max-width: 100%;
    min-height: clamp(540px, 90vh, 720px);
    background-image: url("./images/real_bg_mobile2.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center calc(100% + 150px);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .welcome__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 0 auto 24px;
    max-width: 600px;
  }

  .welcome__title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 16px;
    max-width: 380px;
  }

  .welcome__desc {
    max-width: 380px;
    font-size: 18px;
    line-height: 1.5;
  }

  .welcome__btn {
    margin-top: 32px;
    padding: 14px 32px;
    font-size: 16px;
  }

  .stats .container {
    margin-bottom: 50px;
  }

  .stats__inner {
    flex-direction: column;
    padding-top: 55px;
    gap: 50px;
  }

  .service__text {
    padding-top: 50px;
  }

  .about__us__card {
    gap: 30px;
  }

  .about__us__card__img {
    max-width: 400px;
  }

  .about__us .container {
    padding-top: 100px;
  }
}

@media (max-width: 900px) {
  .welcome .container {
    background-position: center calc(100% + 125px);
  }

  .brands__logo {
    height: 30px;
  }

  .card-bigger {
    height: 60px;
  }

  .card-bigger-merc {
    height: 45px;
  }
}

@media (max-width: 800px) {
  .welcome .container {
    background-position: center calc(100% + 65px);
  }

  /* показываем бургер, скрываем номер с обычным меню */
  .burger {
    display: block;
  }

  .number {
    display: none;
  }

  /* Боковое меню справа */
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background-color: #050505;
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.6);
    transform: translateX(100%);
    transition: transform 0.25s ease;
    z-index: 1001;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 80px 24px 24px;
  }

  .nav__link {
    font-size: 18px;
  }

  body.menu-open .nav {
    transform: translateX(0);
  }

  .brands__logo {
    height: 20px;
  }

  .card-bigger {
    height: 50px;
  }

  .card-bigger-merc {
    height: 40px;
  }

  .about__us__card__title {
    margin-bottom: 10px;
  }

  .about__us__text {
    margin-bottom: 50px;
  }

  .about__us__card {
    flex-direction: column;
    text-align: center;
  }

  .subtitle__reversed,
  .title__reversed {
    text-align: center;
  }

  .about__us__cards__wrapper {
    gap: 70px;
  }
}

@media (max-width: 700px) {
  .welcome .container {
    background-position: center calc(100% + 50px);
  }

  .services__cards__wrapper {
    gap: 20px;
  }

  .service__card {
    padding: 10px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

@media (max-width: 650px) {
  .welcome .container {
    background-position: center calc(100% + 0px);
  }

  .welcome {
    padding-bottom: 0;
  }

  .get__in__touch__form {
    width: 95%;
  }

  #contact-form {
    display: flex;
    justify-content: center;
    max-width: 97%;
  }

  .inputs__wrapper {
    max-width: 100%;
  }

  .name__wrapper input {
    max-width: 100%;
  }

  textarea {
    max-width: 100%;
  }

  .about__us__cards__wrapper {
    padding-bottom: 30px;
  }
}

@media (max-width: 550px) {
  .welcome .container {
    background-position: center calc(100% - 40px);
  }
}

@media (max-width: 500px) {
  .welcome .container {
    background-position: center calc(100% - 40px);
  }

  .welcome__text {
    max-width: 400px;
  }

  .welcome__title {
    font-size: 29px;
    line-height: 1.3;
    margin-bottom: 16px;
    max-width: 340px;
  }

  .logo-best-service {
    max-width: 110px;
  }

  .stats__inner {
    gap: 40px;
  }

  .service__text {
    padding-top: 10px;
  }

  .service__card {
    max-width: 300px;
  }

  .about__us__card__img {
    max-width: 90%;
  }

  .inputs__wrapper {
    flex-direction: column;
  }

  .say__hello .container {
    margin-left: 10px;
    margin-right: 10px;
  }

  .say__hello {
    justify-content: center;
  }

  .get__in__touch__form {
    width: 350px;
  }

  .contact__subtitle {
    max-width: 98%;
  }

  .say__hello .container {
    margin-top: 30px;
  }
}

@media (max-width: 460px) {
  .welcome .container {
    min-height: clamp(527px, 83vh, 650px);
  }

  .contact__subtitle {
    max-width: 75%;
  }

  .brands__card {
    height: 120px;
  }

  .services .service__subtitle {
    max-width: 340px;
  }

  .about__us__title,
  .brands__title,
  .get__in__touch__text,
  .service__title {
    font-size: 22px;
  }

  .about__us__card__title {
    font-size: 19px;
  }

  .about__us__card__subtitle {
    font-size: 16px;
  }

  .get__in__touch__form {
    margin-top: 40px;
  }

  .brands__title {
    max-width: 95%;
  }

  .get__in__touch__form {
    padding-bottom: 10px;
  }

  .welcome__desc {
    max-width: 300px;
  }
}

@media (max-width: 410px) {
  .welcome .container {
    min-height: clamp(527px, 83vh, 585px);
  }

  .welcome__text {
    max-width: 330px;
  }

  .welcome__title {
    font-size: 25px;
    max-width: 280px;
  }

  .welcome {
    padding-top: 40px;
  }

  .get__in__touch__form {
    width: 330px;
  }
}

@media (max-width: 350px) {
  .welcome .container {
    min-height: clamp(527px, 83vh, 600px);
  }

  .welcome__desc {
    font-size: 17px;
  }

  .welcome__text {
    max-width: 290px;
  }
}

@media (max-width: 350px) {
  .welcome .container {
    min-height: clamp(527px, 83vh, 600px);
  }

  .welcome__desc {
    font-size: 17px;
  }
}
