
/* ----------------------------------
   БАЗОВЫЕ НАСТРОЙКИ (шрифты, reset)
---------------------------------- */
@font-face {
    src: url('SuisseIntl-Book.woff') format('woff');
    font-family: 'Suisse';
    font-weight: normal;
}

@font-face {
    src: url('SuisseIntl-Bold.woff') format('woff');
    font-family: 'Suisse';
    font-weight: bold;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
    height: 100%;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: #e5780e;
    color: white;
    position: relative;
    font-family: 'Suisse';
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


/* ----------------------------------
   ОБЩИЕ СТИЛИ
---------------------------------- */
.footer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 50px;
    font-size: 16px;
}

.phone {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.3em 6em;
  white-space: nowrap;
}


/* ----------------------------------
   HEADER / ШАПКА САЙТА
---------------------------------- */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  padding-right: 2vw;
  gap: 2vw;
}

.header-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 0 2vw;
}

.logo-and-text {
  display: flex;
  align-items: center;
}

.logo {
  width: 7rem;
  margin-right: 1rem;
}

.text-block .company-name {
  font-size: 2.5rem;
  margin: 0;
}

.text-block .subtitle {
  font-size: 1.2rem;
  color: #fff;
  margin: 5px 0;
}

.text-block .legal {
  font-size: 0.9rem;
  color: #ffd180;
  margin: 0;
}

.contact-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 0.7rem;
  margin-right: 1rem;
}


/* ----------------------------------
   КОВЁР СПРАВА
---------------------------------- */
.carpet-strip {
  width: 2vw;
  height: 100%;
  min-width: 50px;
  min-height: 150px;
  background: url('cover.png') repeat-y;
  background-size: cover;
  flex-shrink: 0;
  margin: 0;
  padding: 0;
}


/* ----------------------------------
   СЕКЦИЯ: ЗАПЧАСТИ
---------------------------------- */
.parts-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f4f4f4;
  flex-wrap: wrap;
  margin: 0 auto;
  gap: 2vw;
}

.parts-text {
    padding-left: 8%;
    flex: 1;
    color: #222;
    font-family: 'Suisse', sans-serif;
}

.parts-text h2 {
  font-size: 2.5vw;
  line-height: 1.2;
  font-weight: bold;
  margin-bottom: 2vh;
}

.parts-text p {
  font-size: 1.2vw;
  line-height: 1.5;
}

.parts-image {
  flex: 1;
  text-align: right;
}

.parts-image img {
  width: 100%;
  height: auto;
}


/* ----------------------------------
   СЕКЦИЯ: ЗАЯВКА
---------------------------------- */
.request-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  background-color: #fff3e0;
  padding: 5vh 5vw;
  gap: 4vw;
  flex-wrap: wrap;
}

.request-form {
  flex: 1 1 45%;
}

.request-form h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #e65100;
}

.request-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.request-form input {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.request-form button {
  padding: 0.9rem;
  background-color: #e65100;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.request-form button:hover {
  background-color: #bf360c;
}

.request-text {
  flex: 1 1 45%;
  color: #333;
}

.request-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #e65100;
}

.request-text p {
  font-size: 1.1rem;
  line-height: 1.5;
}


/* ----------------------------------
   СЕКЦИЯ: МЕСТОПОЛОЖЕНИЕ
---------------------------------- */
.location-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 5vh 5vw;
  gap: 2vw;
  background-color: #fff3e0;
  color: #333;
}

.location-text {
  flex: 1 1 40%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1.6;
}

.location-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e65100;
}

.location-map {
  height: auto;
  flex: 1 1 45%;
  min-height: 300px;
  min-width: 300px;
  max-height: 100%;
  border: 2px solid #e65100;
  border-radius: 8px;
  overflow: hidden;
}


@media (max-width: 1024px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2vh 2vw;
  }

  .logo-and-text {
    flex-direction: column;
    align-items: center;
  }

  .contact-block {
    align-items: center;
    margin: 0;
    gap: 0.1rem; 
  }

  .parts-section,
  .request-section,
  .location-section {
    flex-direction: column;
    align-items: center;
    padding: 5vw;
    gap: 2rem;
  }

  .parts-text,
  .parts-image,
  .request-form,
  .request-text,
  .location-text {
    flex: 1 1 100%;
    text-align: center;
    padding: 0;
  }
  .location-map {
    width: 100%;
    min-width: unset;
    min-height: 150px;
    height: 150px; /* фиксированная высота, чтобы iframe точно отрисовался */
  }

  .location-map iframe {
    width: 100%;
    height: 100%;
  }

  .carpet-strip {
    display: none; /* Ковер можно скрыть на мобилке */
  }

  .footer {
    text-align: center;
    font-size: 14px;
    padding: 1rem;
  }

  .phone {
   /* padding: 0.3em 0.7em;*/
  }

  .logo {
    width: 6rem;
  }

  .parts-text h2 {
    font-size: 6vw;
  }

  .parts-text p {
    font-size: 3.5vw;
  }
}
