:root {
  --ink: #1f2b2d;
  --ink-2: #314244;
  --muted: #64706f;
  --paper: #f6f7f2;
  --white: #ffffff;
  --line: #d8dedb;
  --orange: #ffb73d;
  --red: #e75638;
  --teal: #21b0aa;
  --green: #4e9d6d;
  --yellow: #ffd25a;
  --shadow: 0 18px 45px rgba(31, 43, 45, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

.page {
  min-height: 100vh;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.header-inner {
  width: min(var(--container), calc(100% - 24px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--orange), var(--teal));
  border: 2px solid var(--ink);
  border-radius: 8px;
  font-weight: 900;
}

.brand-name {
  display: block;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.05;
}

.brand-city {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.main-nav a {
  padding: 10px 11px;
  color: var(--ink-2);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a.active {
  background: #edf3f1;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 22px rgba(231, 86, 56, 0.22);
}

.btn-primary:hover {
  background: #d84a2f;
}

.btn-secondary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--ink);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--ink);
}

.button-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 20px;
}

.button-icon svg {
  width: 20px;
  height: 20px;
}

.hero {
  min-height: calc(88svh - 72px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(246, 247, 242, 0.98) 0%, rgba(246, 247, 242, 0.92) 36%, rgba(246, 247, 242, 0.26) 68%, rgba(246, 247, 242, 0.08) 100%),
   url("images/hero-renovation.png?v=2");
  background-position: center, center right;
  background-size: cover, cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 96px;
  background: linear-gradient(180deg, rgba(246, 247, 242, 0), var(--paper));
  pointer-events: none;
}

.hero-content {
  width: min(720px, calc(100% - 32px));
  margin-left: max(16px, calc((100vw - var(--container)) / 2));
  padding: 58px 0 86px;
  position: relative;
  z-index: 1;
}

.hero h1,
.page-hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.92;
  font-weight: 900;
}

.hero-lead {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: 23px;
  line-height: 1.28;
  font-weight: 700;
}

.hero-copy {
  max-width: 610px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 660px;
  margin-top: 34px;
}

.proof-item {
  min-height: 92px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-left: 6px solid var(--orange);
  border-radius: var(--radius);
}

.proof-item strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.proof-item span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: 86px 0;
}

.section-tight {
  padding: 58px 0;
}

.section-dark {
  color: var(--white);
  background: var(--ink);
}

.section-teal {
  background: #dff5f2;
}

.section-white {
  background: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2,
.stack-head h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1;
}

.section-head p,
.stack-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.section-dark .section-head p,
.section-dark .stack-head p {
  color: rgba(255, 255, 255, 0.76);
}

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

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

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

.service-card,
.work-card,
.review-card,
.price-card,
.contact-card,
.value-card,
.step-card,
.faq-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(31, 43, 45, 0.08);
  overflow: hidden;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card img,
.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #e8eeeb;
}

.service-body,
.work-body,
.review-card,
.price-card,
.contact-card,
.value-card,
.step-card,
.faq-card {
  padding: 22px;
}

.service-body h3,
.work-body h3,
.review-card h3,
.price-card h3,
.contact-card h3,
.value-card h3,
.step-card h3,
.faq-card h3 {
  margin: 0 0 10px;
  font-size: 23px;
  line-height: 1.1;
}

.service-body p,
.work-body p,
.review-card p,
.price-card p,
.contact-card p,
.value-card p,
.step-card p,
.faq-card p {
  margin: 0;
  color: var(--muted);
}

.service-list,
.check-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.service-list li,
.check-list li {
  display: flex;
  gap: 10px;
  color: var(--ink-2);
}

.service-list li::before,
.check-list li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  flex: 0 0 9px;
  border-radius: 50%;
  background: var(--teal);
}

.wide-band {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
  padding: 42px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
}

.wide-band h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1;
}

.wide-band p {
  max-width: 620px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.band-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.band-facts {
  display: grid;
  gap: 12px;
}

.band-fact {
  padding: 18px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
}

.band-fact strong {
  display: block;
  font-size: 31px;
  line-height: 1;
  color: var(--yellow);
}

.band-fact span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.76);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.step-card {
  position: relative;
  min-height: 190px;
  border-top: 6px solid var(--orange);
}

.step-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.calculator {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 26px;
  align-items: start;
}

.calc-panel,
.lead-panel,
.table-wrap,
.map-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}

.calc-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 900;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fbfcfb;
  border: 1px solid #cfd8d4;
  border-radius: 8px;
  outline: none;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(33, 176, 170, 0.13);
}

.option-row {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
  font-weight: 700;
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.calc-result {
  display: grid;
  gap: 18px;
  min-height: 100%;
  padding: 28px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(231, 86, 56, 0.95), rgba(33, 176, 170, 0.94)),
    var(--ink);
  border-radius: var(--radius);
}

.calc-number {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1;
  font-weight: 900;
}

.calc-result p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
}

.price-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

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

.price-line strong {
  font-size: 18px;
}

.price-line span {
  color: var(--red);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 42px;
  padding: 9px 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.filter-btn.active {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.work-meta span {
  padding: 6px 9px;
  color: var(--ink);
  background: #edf3f1;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 800;
}

.review-card {
  min-height: 250px;
}

.stars {
  color: var(--red);
  font-size: 22px;
  line-height: 1;
  margin-bottom: 18px;
}

.review-author {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
}

.page-hero {
  padding: 78px 0 54px;
  background:
    linear-gradient(135deg, rgba(255, 183, 61, 0.32), rgba(33, 176, 170, 0.18)),
    var(--paper);
}

.page-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--ink-2);
  font-size: 21px;
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: center;
}

.split-media {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.stack-head {
  margin-bottom: 28px;
}

.lead-form {
  display: grid;
  gap: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.form-status {
  display: none;
  padding: 13px 14px;
  background: #e3f6ea;
  border: 1px solid #a7d8b9;
  border-radius: 8px;
  color: #24543a;
  font-weight: 800;
}

.form-status.show {
  display: block;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.contact-link span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.map-panel {
  min-height: 360px;
  display: grid;
  align-content: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(31, 43, 45, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(31, 43, 45, 0.08) 1px, transparent 1px),
    #edf3f1;
  background-size: 52px 52px;
}

.map-pin {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  color: var(--white);
  background: var(--red);
  border: 5px solid var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow);
  font-size: 34px;
  font-weight: 900;
}

.map-panel h2 {
  max-width: 440px;
  margin: 0;
  font-size: 42px;
  line-height: 1;
}

.map-panel p {
  max-width: 460px;
  margin: 16px 0 0;
  color: var(--muted);
}

.site-footer {
  color: var(--white);
  background: var(--ink);
  padding: 50px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.8fr 0.9fr;
  gap: 30px;
}

.footer-title {
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 18px;
  font-weight: 900;
}

.footer-grid p,
.footer-grid a {
  color: rgba(255, 255, 255, 0.76);
}

.footer-links {
  display: grid;
  gap: 9px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

@media (max-width: 980px) {
  .header-inner {
    min-height: 66px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 12px;
    right: 12px;
    top: 78px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a {
    padding: 14px;
  }

  .header-actions .btn {
    display: none;
  }

  .hero {
    min-height: auto;
    background-image:
      linear-gradient(180deg, rgba(246, 247, 242, 0.98) 0%, rgba(246, 247, 242, 0.9) 46%, rgba(246, 247, 242, 0.16) 100%),
      url("images/hero-renovation.png");
    background-position: center, center bottom;
  }

  .hero-content {
    width: min(720px, calc(100% - 32px));
    margin: 0 auto;
    padding: 52px 0 320px;
  }

  .proof-row,
  .grid-3,
  .grid-4,
  .process-line,
  .calculator,
  .wide-band,
  .split,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    min-width: auto;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-city {
    font-size: 11px;
  }

  .hero-content {
    padding: 42px 0 54px;
  }

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

  .hero-lead,
  .page-hero p {
    font-size: 19px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .hero-actions,
  .band-actions {
    display: grid;
  }

  .proof-row,
  .grid-2,
  .grid-3,
  .grid-4,
  .process-line,
  .calculator,
  .wide-band,
  .split,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 62px 0;
  }

  .wide-band,
  .calc-panel,
  .lead-panel,
  .table-wrap,
  .map-panel {
    padding: 22px;
  }

  .price-line {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }

  .proof-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 24px;
  }

  .proof-item {
    min-height: 86px;
    padding: 10px;
    border-left-width: 4px;
  }

  .proof-item strong {
    font-size: 14px;
  }

  .proof-item span {
    font-size: 11px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
