* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #111111;
  background: #ffffff;
}

.container {
  width: min(1180px, 92%);
  margin: auto;
}

/* ===== ШАПКА ===== */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  color: #111111;
  border-bottom: 1px solid #e5e5e5;
}

.nav {
  min-height: 95px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #111111;
  text-decoration: none;
  min-width: 330px;
}

.logo-image {
  width:150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.logo-text strong {
  display: block;
  font-size: 23px;
  line-height: 1;
}

.logo-text small {
  display: block;
  color: #111111;
  margin-top: 5px;
  font-size: 15px;
}

.menu {
  display: flex;
  gap: 22px;
  flex: 1;
  justify-content: center;
}

.menu a {
  color: #111111;
  text-decoration: none;
  font-weight: 700;
  white-space: nowrap;
}

.menu a:hover {
  color: #f47700;
}

.phone-top {
  white-space: nowrap;
  color: #1565c0;
  text-decoration: none;
  font-weight: 800;
}

/* ===== ГЛАВНЫЙ ЭКРАН ===== */

.hero {
  background: #ffffff;
  color: #111111;
  min-height: 635px;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.hero-text {
  padding: 35px 0;
}

.location-label {
  color: #111111;
  font-weight: 800;
  letter-spacing: 2px;
  font-size: 18px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: 45px;
  line-height: .96;
  margin: 0 0 22px;
}

.hero h1 span {
  color: #111111;
}

.lead {
  font-size: 20px;
  line-height: 1.35;
  max-width: 610px;
}

.checks {
  padding: 0;
  margin: 20px 0;
  list-style: none;
  font-size: 18px;
  line-height: 1.7;
}

.checks li:before {
  content: "✓";
  color: #ff7800;
  font-weight: 900;
  margin-right: 12px;
}

.buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.btn {
  display: inline-block;
  padding: 17px 28px;
  border-radius: 7px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 17px;
  text-align: center;
}

.orange {
  background: #ff7800;
}

.whatsapp {
  background: #1ebc59;
}

.big-phone {
  font-size: 29px;
  font-weight: 800;
  margin-top: 15px;
}

.hero-image {
  width: 100%;
  height: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: #111;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== СЕКЦИИ ===== */

.section {
  padding: 62px 0;
}

.light {
  background: #fff;
}

.alt {
  background: #fafafa;
}

.plumbing {
  background: #f7f7f7;
}

.section h2 {
  text-align: center;
  font-size: 31px;
  margin: 0 0 38px;
}

.section h2:after {
  content: "";
  display: block;
  width: 110px;
  height: 3px;
  background: #ff7800;
  margin: 13px auto;
}

/* ===== КАРТОЧКИ ===== */

.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.cards article {
  text-align: center;
  padding: 20px 10px;
  border-right: 1px solid #ddd;
}

.plumbing .cards article {
  background: #fff;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
}

.icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.cards h3 {
  font-size: 16px;
  margin: 8px 0;
}

.cards p,
.types p {
  font-size: 14px;
  line-height: 1.4;
  color: #555;
}

/* ===== ТЕХНИКА ===== */

.types {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 15px;
}

.types div {
  text-align: center;
  padding: 20px 5px;
}

.types span {
  display: block;
  font-size: 60px;
  height: 75px;
}

/* ===== ПОЧЕМУ МЫ ===== */

.dark {
  background: #ffffff;
  color: #111111;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.benefits {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}

.benefits div {
  padding: 15px;
  border-right: 1px solid #dddddd;
}

.benefits div:last-child {
  border: 0;
}

.benefits strong {
  display: block;
  color: #111111;
  font-size: 35px;
  margin-bottom: 8px;
}

/* ===== SEO ===== */

.seo-text p {
  max-width: 900px;
  margin: 15px auto;
  font-size: 18px;
  line-height: 1.7;
}

.seo-text a {
  color: #e66f00;
}

/* ===== КОНТАКТЫ ===== */

.contacts {
  background: #ffffff;
  color: #111111;
  padding: 55px 0;
  border-top: 1px solid #eeeeee;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.contacts h2 {
  font-size: 32px;
  margin: 0 0 22px;
  color: #111111;
}

.contacts p {
  font-size: 18px;
}

.contacts a {
  color: #111111;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 250px;
}

/* ===== ПОДВАЛ ===== */

footer {
  background: #ffffff;
  color: #111111;
  border-top: 1px solid #eeeeee;
  text-align: center;
  padding: 18px;
  font-size: 13px;
}

/* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */

@media (max-width: 1000px) {
  .logo {
    min-width: 260px;
  }

  .menu {
    gap: 12px;
  }

  .menu a {
    font-size: 14px;
  }

  .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .types {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 800px) {

  .nav {
    min-height: 72px;
  }

  .menu {
    display: none;
  }

  .phone-top {
    margin-left: auto;
    font-size: 14px;
  }

  .hero {
    padding: 45px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-image {
    height: 320px;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-buttons {
    max-width: 400px;
  }
}

@media (max-width: 520px) {

  .logo {
    min-width: 0;
  }

  .logo-image {
    width: 100px;
    height: 100px;
  }

  .logo-text strong {
    font-size: 19px;
  }

  .logo-text small {
    font-size: 11px;
  }

  .phone-top {
    display: none;
  }

  .hero h1 {
    font-size: 39px;
  }

  .location-label {
    font-size: 14px;
  }

  .lead {
    font-size: 18px;
  }

  .btn {
    width: 100%;
  }

  .section {
    padding: 45px 0;
  }

  .section h2 {
    font-size: 25px;
  }

  .big-phone {
    font-size: 24px;
  }

  .hero-image {
    height: 230px;
  }

  .cards,
  .types {
    grid-template-columns: 1fr 1fr;
  }

  .benefits {
    grid-template-columns: 1fr 1fr;
  }
}

/* ===== СВЕТЛАЯ ВЕРСИЯ ===== */
.hero,
.section,
.contacts,
footer {
  background: #ffffff;
  color: #111111;
}

.hero .location-label,
.hero h1,
.hero h1 span,
.lead,
.checks,
.big-phone,
.section h2,
.cards h3,
.cards p,
.types b,
.types p,
.benefits span,
.seo-text,
.seo-text p,
.contacts p,
.contacts h2,
footer {
  color: #111111;
}

.phone-top {
  color: #1565c0 !important;
}

.phone-top:hover {
  color: #0d47a1 !important;
}

.contacts a {
  color: #111111;
}

.contacts .btn {
  color: #ffffff;
}

.btn.orange {
  background: #ff7800;
}

.btn.whatsapp {
  background: #1ebc59;
}

.hero .location-label {
  margin-bottom: 14px;
}

.hero-image {
  background: #f2f2f2;
}
