:root {
  --blue-dark: #0e4f6e;
  --blue-accent: #1aa3d9;
  --white: #ffffff;
  --dark: #1c1c1c;
}

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

body {
  font-family: Arial, sans-serif;
  color: var(--dark);
}

/* HEADER */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  padding: 14px 30px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.header-left {
  justify-self: start;
}

.header-center {
  justify-self: center;
}

.header-center a {
  margin: 0 14px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 600;
}

.header-right {
  justify-self: end;
}

/* LOGO */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 42px;
  height: 42px;
  background: var(--blue-accent);
  color: #fff;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 1px;
}

/* HERO */
.hero {
  position: relative;
  height: 90vh;
  background: url("images/hero-bg.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14,79,110,0.75);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  top: 50%;
  transform: translateY(-50%);
}

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

.hero p {
  font-size: 20px;
  margin: 15px 0 30px;
}

/* BUTTONS */
.btn {
  background: var(--blue-accent);
  color: var(--white);
  padding: 12px 26px;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  display: inline-block;
  transition: 
    background-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.15s ease;
}

/* НАВЕДЕНИЕ */
.btn:hover {
  background: #158fc0;
  box-shadow: 0 10px 24px rgba(26, 163, 217, 0.35);
  transform: translateY(-2px);
}

/* НАЖАТИЕ */
.btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 14px rgba(26, 163, 217, 0.25);
}

/* МАЛЕНЬКИЕ КНОПКИ */
.btn.small {
  padding: 10px 18px;
  font-size: 14px;
}


/* BENEFITS */
.benefits {
  padding: 60px 20px;
  display: flex;
  justify-content: center;
  gap: 40px;
  background: #f4f6f8;
}

.benefit {
  font-weight: 600;
}

/* CATALOG */
.catalog {
  padding: 80px 20px;
  text-align: center;
}

.catalog-title {
  font-size: 32px;
  margin-bottom: 40px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.product {
  border: 1px solid #ddd;
  padding: 24px;
}

.product-img {
  height: 140px;
  background: #eaeaea;
  margin-bottom: 20px;
}

/* BUILDERS */
.builders {
  background: var(--blue-dark);
  color: var(--white);
  padding: 80px 20px;
  text-align: center;
}

/* ABOUT + CONTACTS */
.about,
.contacts {
  padding: 80px 20px;
  text-align: center;
}
