/* Лендинг «Венодор» (index.html).
   Раньше эти стили лежали инлайновым <style> в HTML: теперь отдельный файл —
   его кеш браузер отдельно от страницы, и HTML остаётся читаемым.

   Bootstrap с CDN убран: лендинг не использовал из него ни одного класса,
   весь вид страницы описан здесь. */

* { padding: 0; margin: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 500;
  font-size: 18px;
  color: #000000;
  background: #FFFFFF;
}

/* ------------------------------------------------------------- шапка */

.page-header {
  width: 100%;
  min-height: 900px;
  background-image: linear-gradient(180deg, #778899 47.5%, rgba(237, 164, 24, 0) 100%);
  position: relative;
}

.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  height: 60px;
  object-fit: contain;
  padding-top: 10px;
}

.list-navigation {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.title {
  text-decoration: none;
  color: #000000;
  font-weight: 700;
  font-size: 20px;
  padding-right: 20px;
}

.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 колонки */
  gap: 40px;
  align-items: center;
}

.hero-lead {
  font-weight: 800;
  font-size: 32px;
  line-height: 1.2;
  padding-top: 40px;
}

.hero-sub {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  margin-top: 20px;
}

.page-hero img {
  width: 100%;
  height: auto;
}

/* --------------------------------------------------------- каталог */

.page-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

.name {
  font-size: 42px;
  line-height: 1.1;
  text-align: center;
  margin-bottom: 40px;
}

.all-floors-wrap {
  text-align: center;
  margin: -20px 0 40px;
}

.all-floors {
  display: inline-block;
  text-decoration: none;
  color: #FFFFFF;
  background: #778899;
  font-weight: 700;
  font-size: 20px;
  padding: 14px 34px;
  border-radius: 33px;
  transition: background 0.3s ease;
}
.all-floors:hover { background: #5b6b7a; }
.all-floors:focus-visible { outline: 3px solid #4a5568; outline-offset: 3px; }

.cards {
  display: grid;
  /* адаптивная сетка карточек: авто-колонки, минимум 280px */
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-link {
  display: inline-block;
  text-decoration: none;
  border: none;
  padding: 0;
  margin: 0;
  border-radius: 33px;
  background: transparent;
  overflow: hidden;
}
.card-link img {
  display: block;
  width: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;   /* плавность анимации */
}
.card-link:hover img { transform: scale(1.1); }
.card-link:focus-visible { outline: 3px solid #4a5568; outline-offset: 3px; }

.card-img {
  width: 100%;
  border-radius: 50px;
  object-fit: cover;
  margin-bottom: 15px;
}

.card-text {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.3;
}

/* ------------------------------------------------------------- подвал */

.page-footer {
  width: 100%;
  padding: 60px 0;
  text-align: center;
  background-image: linear-gradient(0deg, #778899, rgba(237, 164, 24, 0) 100%);
}

.footer-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.footer-link {
  text-decoration: none;
  color: #000000;
  font-weight: 400;
  font-size: 16px;
}
.footer-link:hover { text-decoration: underline; }

.footer-name {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-note {
  color: #000000;
  font-weight: 500;
  font-size: 16px;
}

.footer-way {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  list-style: none;
  padding: 0;
}

.icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .page-hero { grid-template-columns: 1fr; }
  .name { font-size: 34px; }
  .cards { grid-template-columns: 1fr; }   /* на мобильном — по одной карточке */
}
