:root {
  --bg: #f6f8f7;
  --ink: #10201d;
  --muted: #5b6d68;
  --line: #dce5e1;
  --white: #ffffff;
  --teal: #10a88a;
  --teal-dark: #087563;
  --amber: #f4b63f;
  --blue: #1674c9;
  --dark: #071513;
  --shadow: 0 24px 70px rgba(7, 21, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 64px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-block: 12px;
  background: rgba(7, 21, 19, 0.92);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  overflow: hidden;
  flex: 0 0 44px;
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand > span:last-child {
  min-width: 0;
}

.brand small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
}

.nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: transparent;
  color: var(--white);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  background: #071513;
  color: var(--white);
}

.hero__canvas,
.hero__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(7, 21, 19, 0.96), rgba(7, 21, 19, 0.74) 46%, rgba(7, 21, 19, 0.25)),
    radial-gradient(circle at 75% 30%, rgba(16, 168, 138, 0.28), transparent 34%);
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: center;
  width: min(760px, calc(100% - 36px));
  max-width: 100%;
  min-height: 92vh;
  margin-left: clamp(18px, 7vw, 92px);
  padding: 112px 0 76px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 960px;
  margin-bottom: 22px;
  font-size: clamp(42px, 8vw, 88px);
  line-height: 0.98;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.04;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.2;
}

.hero__lead {
  max-width: 660px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 2vw, 21px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 42px;
}

.button {
  display: inline-flex;
  max-width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 14px 22px;
  cursor: pointer;
  font-weight: 800;
  text-align: center;
  white-space: normal;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--amber);
  color: #1f1704;
  box-shadow: 0 16px 36px rgba(244, 182, 63, 0.26);
}

.button--ghost {
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.button--wide {
  width: 100%;
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  transform: none;
  box-shadow: none;
}

.hero__stats {
  display: grid;
  max-width: 720px;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.hero__stats div {
  padding: 18px;
}

.hero__stats div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.hero__stats strong,
.hero__stats span {
  display: block;
}

.hero__stats strong {
  font-size: 22px;
}

.hero__stats span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 13px;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.trust-strip span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--muted);
  font-size: 14px;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(70px, 9vw, 116px) 0;
}

.section--split {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: start;
  gap: clamp(34px, 6vw, 76px);
}

.section--muted {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #e9f2ef;
}

.section__intro p:not(.eyebrow) {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.section__intro--center {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card,
.step,
.price-panel,
.request-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 32, 29, 0.07);
}

.service-card {
  min-height: 240px;
  padding: 28px;
}

.service-card__icon {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 8px;
  background: #e6f7f3;
  color: var(--teal-dark);
  font-weight: 900;
}

.service-card p,
.step p {
  color: var(--muted);
}

.about-section {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background:
    linear-gradient(135deg, rgba(16, 168, 138, 0.09), rgba(244, 182, 63, 0.1)),
    var(--white);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
  padding: clamp(26px, 5vw, 48px);
}

.about-panel p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.about-video {
  display: grid;
  gap: 12px;
}

.about-video video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 620px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--dark);
  box-shadow: 0 18px 48px rgba(16, 32, 29, 0.16);
  object-fit: cover;
}

.about-video p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.about-panel .check-list--dark {
  grid-column: 1 / -1;
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.object-grid span {
  display: grid;
  min-height: 68px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 26px rgba(16, 32, 29, 0.06);
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

.problem-band {
  display: grid;
  width: 100%;
  grid-template-columns: 1fr 0.9fr;
  gap: 36px;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: var(--dark);
  color: var(--white);
}

.problem-band h2 {
  max-width: 760px;
}

.check-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
  color: rgba(255, 255, 255, 0.78);
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  content: "✓";
  font-size: 13px;
  font-weight: 900;
}

.check-list.check-list--dark li {
  color: var(--ink);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  padding: 24px;
}

.step span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 34px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--white);
  font-weight: 900;
}

.price-panel {
  display: grid;
  gap: 12px;
  padding: 30px;
}

.price-panel label {
  color: var(--muted);
  font-weight: 700;
}

.price-panel select,
.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 14px 16px;
  color: var(--ink);
}

.estimate {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 10px 0;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.estimate span {
  color: var(--muted);
}

.estimate strong {
  font-size: 34px;
}

.faq-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
}

.reviews-section {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: var(--white);
}

.reviews-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 0 auto 22px;
}

.reviews-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f6f8f7;
  padding: 18px;
  text-align: center;
}

.reviews-summary strong,
.reviews-summary span {
  display: block;
}

.reviews-summary strong {
  font-size: 24px;
}

.reviews-summary span {
  color: var(--muted);
  font-size: 13px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-card {
  display: grid;
  align-content: start;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 32, 29, 0.07);
  padding: 24px;
}

.review-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.review-card__source {
  border-radius: 999px;
  background: #e6f7f3;
  color: var(--teal-dark);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
}

.review-card__rating {
  color: #b97900;
  font-weight: 900;
}

.review-card h3 {
  margin-bottom: 4px;
}

.review-card time {
  color: var(--muted);
  font-size: 13px;
}

.review-card p {
  color: var(--muted);
}

.review-card__link {
  margin-top: auto;
  color: var(--teal-dark);
  font-weight: 900;
}

.review-card--empty {
  min-height: auto;
  grid-column: 1 / -1;
}

.reviews-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.reviews-pagination button {
  display: inline-grid;
  min-width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.reviews-pagination button:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal-dark);
}

.reviews-pagination button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: var(--white);
}

.reviews-pagination button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.reviews-pagination__gap {
  display: inline-grid;
  min-width: 28px;
  height: 42px;
  place-items: center;
  color: var(--muted);
  font-weight: 900;
}

.faq {
  border-top: 1px solid var(--line);
}

.faq button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.faq button span {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
}

.faq div {
  display: none;
  color: var(--muted);
}

.faq div.is-open {
  display: block;
  padding: 0 0 20px;
}

.request-section {
  width: 100%;
  padding-inline: max(18px, calc((100vw - 1180px) / 2));
  background: #d8ebe6;
}

.request-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
  padding: clamp(24px, 5vw, 48px);
}

.request-card > div p:not(.eyebrow) {
  color: var(--muted);
}

.request-form {
  display: grid;
  gap: 14px;
}

.request-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-weight: 700;
}

.request-form .form-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  margin-top: -2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.35;
}

.form-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--teal);
}

.form-consent a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.footer {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  padding: 42px clamp(18px, 5vw, 64px);
  background: var(--dark);
  color: var(--white);
}

.footer p,
.footer span {
  color: rgba(255, 255, 255, 0.66);
}

.footer a,
.footer span {
  display: block;
  margin-bottom: 8px;
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.footer .messenger-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 11px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.footer__legal {
  grid-column: 1 / -1;
  display: grid;
  gap: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 22px;
}

.footer__legal p {
  max-width: 980px;
  margin: 0;
  font-size: 13px;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 8px;
}

.footer__bottom span,
.footer__bottom a {
  margin: 0;
}

.footer__bottom a {
  color: var(--white);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-header--static {
  position: sticky;
}

.policy-page {
  background: #eef5f2;
}

.policy-main {
  padding-top: 40px;
}

.policy-section h1 {
  max-width: 100%;
  color: var(--ink);
  font-size: clamp(30px, 9vw, 68px);
  overflow-wrap: anywhere;
  word-break: normal;
}

.policy-content {
  display: grid;
  gap: 14px;
  max-width: 860px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 14px 38px rgba(16, 32, 29, 0.07);
  padding: clamp(22px, 4vw, 38px);
}

.policy-content h2 {
  margin: 18px 0 0;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.18;
}

.policy-content p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 18px;
}

.policy-content a {
  color: var(--teal-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-dock {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 15;
  display: grid;
  gap: 10px;
}

.contact-button {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  box-shadow: var(--shadow);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contact-button:hover {
  transform: translateY(-2px);
}

.contact-button svg {
  width: 23px;
  height: 23px;
  fill: currentColor;
}

.contact-button--call {
  background: var(--amber);
  color: #1f1704;
}

.contact-button--wa {
  background: #17a86b;
}

.contact-button--tg {
  background: #229ed9;
}

.contact-button--max {
  background: #14213d;
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    top: 74px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    background: rgba(7, 21, 19, 0.96);
    padding: 14px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 12px;
  }

  .phone-link {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .hero__shade {
    background: linear-gradient(180deg, rgba(7, 21, 19, 0.94), rgba(7, 21, 19, 0.78));
  }

  .hero__content {
    width: 100%;
    margin: 0;
    padding: 112px 18px 76px;
  }

  .hero h1,
  .hero__lead,
  .hero .eyebrow {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .hero__stats,
  .section--split,
  .about-panel,
  .problem-band,
  .steps,
  .reviews-summary,
  .reviews-grid,
  .faq-section,
  .request-card,
  .footer {
    grid-template-columns: 1fr;
  }

  .hero__stats div + div {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .object-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 14px;
  }

  .brand {
    max-width: calc(100% - 58px);
  }

  .brand small {
    display: none;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    min-height: 100svh;
    padding: 104px 14px 64px;
  }

  .hero h1 {
    font-size: clamp(34px, 11vw, 46px);
    line-height: 1.03;
  }

  .hero__lead {
    font-size: 16px;
  }

  .service-card {
    min-height: auto;
  }

  .estimate {
    display: block;
  }

  .object-grid {
    grid-template-columns: 1fr;
  }

  .contact-dock {
    right: 12px;
    bottom: 12px;
    gap: 8px;
  }

  .contact-button {
    width: 48px;
    height: 48px;
  }
}
