:root {
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --text: #1e293b;
  --muted: #64748b;
  --line: #dce4ee;
  --blue: #1769e0;
  --blue-dark: #0f4fb3;
  --aqua: #0ea5a4;
  --graphite: #172033;
  --shadow: 0 18px 48px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 70px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand,
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--graphite);
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.nav a:hover,
.header-phone:hover {
  color: var(--blue);
}

.hero {
  min-height: 720px;
  display: grid;
  align-items: center;
  padding: 70px clamp(18px, 5vw, 70px);
  background:
    linear-gradient(90deg, rgba(244, 247, 251, 0.98) 0%, rgba(244, 247, 251, 0.92) 42%, rgba(244, 247, 251, 0.35) 64%, rgba(244, 247, 251, 0.1) 100%),
    url("assets/hero-plumber.png") center right / cover no-repeat;
}

.hero-content {
  width: min(700px, 100%);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  color: var(--graphite);
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  color: var(--graphite);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--graphite);
  font-size: 21px;
  line-height: 1.2;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 28px;
  color: #334155;
  font-size: 20px;
}

.hero-actions,
.contact-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(23, 32, 51, 0.16);
}

.btn-primary {
  background: var(--blue);
}

.btn-primary:hover {
  background: var(--blue-dark);
}

.btn-whatsapp {
  background: var(--aqua);
}

.btn-telegram {
  background: #2388d9;
}

.btn-max {
  background: #005ff9;
}

.hero-phone {
  display: inline-block;
  margin: 22px 0;
  color: var(--graphite);
  font-size: 24px;
  font-weight: 900;
}

.benefit-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  max-width: 760px;
}

.benefit-strip span {
  min-height: 64px;
  display: flex;
  align-items: center;
  padding: 12px 14px;
  border: 1px solid rgba(23, 105, 224, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--graphite);
  font-weight: 800;
}

.section {
  padding: 86px clamp(18px, 5vw, 70px);
}

.section-muted {
  background: var(--bg-soft);
}

.section-head {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.align-left {
  margin: 0;
  text-align: left;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.review-card,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 32, 51, 0.06);
}

.service-card {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  padding: 22px;
}

.service-card p {
  color: var(--muted);
}

.service-card a {
  margin-top: auto;
  color: var(--blue);
  font-weight: 900;
}

.accent-card {
  border-color: rgba(14, 165, 164, 0.45);
  background: #f0fdfa;
}

.price-table {
  max-width: 880px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child {
  border-bottom: 0;
}

.price-row strong {
  color: var(--blue);
  text-align: right;
  white-space: nowrap;
}

.note {
  max-width: 880px;
  margin: 18px auto 0;
  color: var(--muted);
  text-align: center;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.3fr);
  gap: 42px;
  align-items: start;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-list div {
  min-height: 72px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  font-weight: 800;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.steps article {
  min-height: 178px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 8px;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.steps p {
  margin: 0;
  color: var(--graphite);
  font-weight: 800;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  padding: 24px;
}

.review-card p {
  color: #334155;
}

.review-card strong {
  color: var(--graphite);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(320px, 1fr);
  gap: 42px;
  align-items: center;
  background: linear-gradient(135deg, var(--graphite), #24324d);
  color: #fff;
}

.contact-section h2,
.contact-section .eyebrow {
  color: #fff;
}

.contact-copy p {
  color: #d7e3f2;
  font-size: 18px;
}

.contact-inline a {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  font-weight: 800;
}

.contact-card {
  display: grid;
  gap: 16px;
  padding: 28px;
  color: var(--graphite);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
}

.contact-name {
  color: var(--graphite);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.contact-phone {
  color: var(--blue);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.15;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 70px);
  color: #d6deeb;
  background: #111827;
}

.footer strong {
  color: #fff;
}

.footer p {
  margin: 5px 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.footer-links a:hover {
  color: #7dd3fc;
}

@media (max-width: 1180px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps,
  .reviews {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    position: static;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero {
    min-height: auto;
    padding-top: 60px;
    background:
      linear-gradient(180deg, rgba(244, 247, 251, 0.98) 0%, rgba(244, 247, 251, 0.95) 52%, rgba(244, 247, 251, 0.68) 100%),
      url("assets/hero-plumber.png") center bottom / cover no-repeat;
  }

  .hero-content {
    padding-bottom: 220px;
  }

  .benefit-strip,
  .service-grid,
  .feature-list,
  .steps,
  .reviews,
  .two-column,
  .contact-section,
  .footer {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (max-width: 560px) {
  .brand {
    white-space: normal;
  }

  .header-phone {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  h1 {
    font-size: 38px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-content {
    padding-bottom: 170px;
  }

  .price-row {
    display: grid;
    gap: 4px;
  }

  .price-row strong {
    text-align: left;
    white-space: normal;
  }

  .service-card,
  .review-card,
  .contact-card {
    padding: 20px;
  }
}
