.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 120;
  border-bottom: 1px solid transparent;
  transition: 0.2s ease;
}
.header.is-scrolled {
  background: rgba(6, 10, 18, 0.65);
  backdrop-filter: blur(8px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
}
.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; }
.logo__mark {
  width: 18px; height: 18px; border-radius: 4px;
  background: linear-gradient(140deg, #00d1ff, #1b3fff 48%, #e900a5 100%);
  box-shadow: 0 0 18px rgba(0, 170, 255, 0.5);
}
.nav { display: inline-flex; gap: 20px; color: var(--text-muted); }
.nav a:hover { color: #fff; }
.hero {
  min-height: 100vh;
  padding-top: 140px;
  position: relative;
  --hero-image: url('/cleaning-hero-krasnodar-optimized.webp');
  background:
    linear-gradient(100deg, rgba(2, 5, 11, 0.86) 20%, rgba(2, 5, 11, 0.45) 65%),
    var(--hero-image) center/cover no-repeat;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 35%, rgba(4, 64, 163, 0.35), transparent 45%);
}
.hero__content { position: relative; z-index: 1; max-width: 860px; }
.hero__kicker { text-transform: uppercase; letter-spacing: 0.12em; color: #9db4e9; font-weight: 700; }
.hero__subtitle { max-width: 650px; color: var(--text-muted); font-size: clamp(18px, 2.2vw, 24px); }
.hero__actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.hero__badges { margin: 28px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero__badges li {
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 23, 0.54);
  color: var(--text-muted);
  font-size: 14px;
}
.services-grid, .benefits-grid, .reviews-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-card, .benefit-card, .review-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: var(--card-strong);
}
.service-card h3 { font-size: 22px; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); margin: 0; }
.price-tag { color: #9eb9f8; font-weight: 800; margin: 12px 0 8px; }
.before-after-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.before-after-card { overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card-strong); }
.before-after-card__media { display: grid; grid-template-columns: 1fr 1fr; }
.before-after-card__media img { width: 100%; height: 170px; object-fit: cover; }
.before-after-card h3 { margin: 12px 14px 14px; font-size: 18px; }
.steps-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.step-card {
  border-radius: var(--radius);
  padding: 16px;
  background: var(--card-strong);
  border: 1px solid var(--line);
}
.step-num {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-bottom: 10px;
}
.lead-form { display: grid; gap: 12px; }
.lead-form label { display: grid; gap: 8px; font-weight: 600; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(4, 8, 14, 0.8);
  color: #fff;
  padding: 11px 12px;
  font: inherit;
}
.form-msg { min-height: 22px; margin: 0; color: #9ed9c2; font-weight: 600; }

.quick-quiz {
  padding: clamp(18px, 3vw, 34px);
}
.quick-quiz__header {
  max-width: 760px;
  margin-bottom: 18px;
}
.quick-quiz__eyebrow {
  margin: 0 0 8px;
  color: #8ba4db;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}
.quick-quiz__header h2 {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.1;
}
.quick-quiz__header p {
  margin: 0;
  color: var(--text-muted);
}
.quick-quiz__progress {
  margin-bottom: 18px;
}
.quick-quiz__progress > span {
  display: inline-block;
  font-size: 14px;
  color: #c2ccec;
  margin-bottom: 7px;
}
.quick-quiz__progress-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.quick-quiz__progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #1256be 0%, #2e87ff 100%);
  transition: width 0.22s ease;
}
.quick-quiz__step h3 {
  margin: 0 0 12px;
  font-size: clamp(20px, 2.8vw, 30px);
}
.quick-quiz__options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.quick-quiz__option {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(9, 15, 25, 0.86);
  color: #edf2ff;
  font: inherit;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.quick-quiz__option:hover {
  transform: translateY(-2px);
  border-color: #5f75aa;
  background: rgba(14, 23, 40, 0.95);
}
.quick-quiz__actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.quick-quiz__ghost {
  min-height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: #dbe2f7;
  background: rgba(255, 255, 255, 0.03);
  padding: 0 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.quick-quiz__ghost:hover {
  border-color: #5f75aa;
}
.quick-quiz__contact {
  margin-top: 4px;
  max-width: 560px;
}
.quick-quiz__summary {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--text-muted);
}
.quick-quiz__summary li + li {
  margin-top: 4px;
}
.review-card p { margin: 0 0 10px; color: var(--text-muted); }
.review-meta { font-size: 14px; color: #99a7c7; }
.faq { display: grid; gap: 10px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-strong);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  border: 0;
  background: transparent;
  color: #fff;
  text-align: left;
  font: inherit;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  color: var(--text-muted);
  padding: 0 16px;
}
.faq-item.open .faq-a { max-height: 180px; padding-bottom: 14px; }
.map-card { min-height: 280px; padding: 20px; }
.map-placeholder {
  min-height: 240px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--text-muted);
}
.service-localities__head {
  max-width: 900px;
  margin-bottom: 22px;
}
.service-localities__eyebrow {
  margin: 0 0 8px;
  color: #8ba4db;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 800;
}
.service-localities__head h2 {
  margin: 0 0 10px;
  font-family: var(--font-head);
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.12;
}
.service-localities__head p {
  margin: 0;
  color: var(--text-muted);
}
.service-localities__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.service-localities__list li a {
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card-strong);
  padding: 14px 16px;
  display: grid;
  gap: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}
.service-localities__list li a:hover {
  border-color: #5f75aa;
  transform: translateY(-1px);
  background: rgba(12, 20, 36, 0.95);
}
.service-localities__list li a span:first-child {
  font-weight: 700;
}
.service-localities__tag {
  color: #c0cae5;
  font-size: 13px;
}
.service-localities__seo {
  margin: 14px 0 0;
  color: #9eb0d6;
  font-size: 14px;
}
.float-widget {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 13px 18px;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 150;
  background: rgba(14, 18, 27, 0.95);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cookie.is-hidden {
  display: none !important;
}
.popup {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 200;
}
.popup.is-open { display: block; }
.popup__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.75); }
.popup__dialog {
  position: relative;
  margin: min(8vh, 70px) auto;
  width: min(560px, calc(100vw - 24px));
  padding: 22px;
}
.popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  color: #fff;
  cursor: pointer;
}
.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-actions { margin-top: 16px; display: flex; gap: 10px; }

.scroll-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(8, 13, 23, 0.82);
  color: #eaf0ff;
  box-shadow: var(--shadow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 140;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  transition: opacity 0.36s ease, transform 0.36s ease, visibility 0.36s ease, border-color 0.22s ease, background 0.22s ease;
}
.scroll-top:hover {
  border-color: #5d77af;
  background: rgba(16, 25, 42, 0.95);
}
.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.scroll-top__icon {
  font-size: 24px;
  line-height: 1;
  transform: translateY(-1px);
}

body.popup-open {
  overflow: hidden;
}

.callback-widget {
  position: fixed;
  left: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #003468, #001d42);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 16, 39, 0.48);
  cursor: pointer;
  z-index: 145;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.callback-widget:hover {
  transform: translateY(-2px);
  background: linear-gradient(145deg, #002b56, #001633);
  box-shadow: 0 18px 38px rgba(0, 15, 36, 0.58);
}
.callback-widget .t651__icon {
  fill: #fff;
}

.popup__dialog--callback {
  width: min(640px, calc(100vw - 24px));
  padding: clamp(20px, 2.8vw, 30px);
}
.t651__wrapper {
  display: grid;
  gap: 18px;
}
.t651__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.16;
}
.t651__form {
  margin: 0;
}
.t651__input-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.t651__input {
  width: 100%;
  min-height: 46px;
  border: 1px solid #d1d1d1;
  border-radius: 12px;
  background: #fff;
  color: #081227;
  padding: 0 14px;
  font: inherit;
  font-weight: 600;
}
.t651__input::placeholder {
  color: #75809a;
}
.t651__submit {
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: #002553;
  color: #fff;
  font: inherit;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0 20px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.t651__submit:hover {
  background: #001939;
}
.t651__msg {
  margin-top: 10px;
}
.t651__additional-info {
  display: grid;
  gap: 4px;
  color: #d0d7e7;
}
.t651__phone a {
  color: #fff;
  font-weight: 700;
}
.t651__bottom-text {
  margin-top: 4px;
  color: #a9b3cb;
  font-size: 13px;
}
