@import url("assets/fonts/manrope.css");

:root {
  --white: #ffffff;
  --bg: #f8f9fb;
  --ink: #121417;
  --ink-soft: #2a2f36;
  --muted: #6b7280;
  --line: #e8eaef;
  --gold: #c9a227;
  --gold-light: #f5eed6;
  --orange: #f97316;
  --orange-light: #fb923c;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 8px 32px rgb(18 20 23 / 0.08);
  --container: min(68rem, calc(100% - 2rem));
  --section-y: clamp(2.25rem, 4vw, 3.25rem);
  --font: "Manrope", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container { width: var(--container); margin-inline: auto; }

.section {
  padding-block: var(--section-y);
}

.skip {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  background: var(--ink);
  color: var(--white);
  font-size: 0.8rem;
  border-radius: 8px;
}
.skip:focus { top: 0.75rem; }

[id] { scroll-margin-top: 5rem; }

/* ── Header (dark) ── */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
}

.brand__icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}
.brand__icon img { display: block; width: 100%; height: 100%; }

.brand__name {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--orange);
}

.brand__tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.6);
}

.nav {
  display: none;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
  cursor: pointer;
  transition: color 0.15s;
}
.nav a:hover { color: var(--orange); }

.header__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header__phone-block {
  display: none;
  text-align: right;
}

.header__phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
}
.header__phone svg { color: var(--orange); width: 1rem; height: 1rem; }

.header__hours {
  display: block;
  margin-top: 0.1rem;
  font-size: 0.68rem;
  color: rgb(255 255 255 / 0.55);
}

.header .btn--dark {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 4px 16px rgb(249 115 22 / 0.35);
}
.header .btn--dark:hover { background: var(--orange-light); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.65rem;
  padding: 0 1.15rem;
  border: 0;
  border-radius: 999px;
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.12s, box-shadow 0.15s;
}
.btn:active { transform: scale(0.98); }

.btn--dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 4px 16px rgb(18 20 23 / 0.2);
}
.btn--dark:hover { background: #1e2229; }

.btn--ghost {
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn--ghost:hover { border-color: #cbd0d9; }

.btn--gold {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 4px 16px rgb(249 115 22 / 0.35);
}
.btn--gold:hover { background: var(--orange-light); }

.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 1.5px;
  margin-inline: 7px;
  background: var(--white);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1rem;
}
.mobile-nav.is-open { display: flex; }
.mobile-nav a {
  padding: 0.55rem 0;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
  cursor: pointer;
}
.mobile-nav a:hover { color: var(--orange); }

/* ── Hero (dark) ── */
.hero {
  background: var(--ink);
  color: var(--white);
}

.hero.section {
  padding-top: clamp(0.85rem, 2vw, 1.5rem);
  padding-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.hero.section + .trust.section {
  padding-top: 0;
}

.hero h1 {
  margin: 0;
  max-width: 16ch;
  font-size: clamp(1.65rem, 3.2vw, 2.35rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
  color: var(--orange);
}

.hero__lead {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.92rem;
  line-height: 1.6;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.hero__badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: 0.85rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.hero__badge {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.76rem;
  color: rgb(255 255 255 / 0.75);
  line-height: 1.35;
}

.hero__badge svg {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  color: var(--orange);
  margin-top: 0.12rem;
}

.hero .btn--dark {
  background: var(--orange);
  color: var(--ink);
  box-shadow: 0 4px 20px rgb(249 115 22 / 0.35);
}
.hero .btn--dark:hover {
  background: var(--orange-light);
}

.hero .btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgb(255 255 255 / 0.35);
}
.hero .btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.hero__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
  min-height: 0;
}

.hero__content {
  padding: 0;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr min(22rem, 42%);
    gap: 2rem;
    align-items: center;
  }
}

.hero__visual {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  max-height: 17.5rem;
  background: rgb(255 255 255 / 0.06);
  min-height: 10rem;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__map-card {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgb(18 20 23 / 0.88);
  color: var(--white);
  backdrop-filter: blur(8px);
}

.hero__map-card strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--orange);
}

.hero__map-card span {
  display: block;
  font-size: 0.65rem;
  color: rgb(255 255 255 / 0.65);
  line-height: 1.25;
}

.map-dots {
  width: 2.75rem;
  height: 2rem;
  opacity: 0.85;
}

/* ── Trust (dark) ── */
.trust {
  background: var(--ink);
  color: var(--white);
}

.trust__title {
  margin: 0 0 1.35rem;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--orange);
}

.trust__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
}

@media (min-width: 900px) {
  .trust__grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.trust-card {
  padding: 0.25rem 0;
}

.trust-card__icon {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border-radius: 50%;
  background: rgb(255 255 255 / 0.08);
  color: var(--orange);
  margin-bottom: 0.85rem;
}
.trust-card__icon svg { width: 1.25rem; height: 1.25rem; }

.trust-card h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--orange);
}

.trust-card p {
  margin: 0.35rem 0 0;
  font-size: 0.8rem;
  color: rgb(255 255 255 / 0.72);
  line-height: 1.5;
}

/* ── Services dark bar ── */
.services-bar {
  background: var(--white);
}

.services-bar__inner {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

.services-bar__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.services-bar__head h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.services-bar__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.65);
  cursor: pointer;
  transition: color 0.15s;
}
.services-bar__link:hover { color: var(--gold); }

.services-bar__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem 0.5rem;
}

@media (min-width: 640px) {
  .services-bar__grid { grid-template-columns: repeat(6, 1fr); }
}

.service-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem;
  border-radius: var(--radius);
  text-align: center;
  cursor: pointer;
  transition: background 0.15s;
}
.service-icon:hover { background: rgb(255 255 255 / 0.06); }

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--white);
}

.service-icon span {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.85);
}

/* ── Pricing ── */
.pricing {
  background: var(--white);
}

.pricing__lead {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-table-wrap {
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--white);
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.pricing-table thead {
  background: var(--ink);
  color: var(--white);
}

.pricing-table th {
  padding: 0.85rem 1.15rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
}

.pricing-table th:last-child {
  width: 8.5rem;
  text-align: right;
}

.pricing-table td {
  padding: 0.8rem 1.15rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

.pricing-table td:last-child {
  text-align: right;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}

.pricing-table tbody tr:nth-child(even) {
  background: var(--bg);
}

.pricing-table tbody tr:first-child td {
  border-top: 0;
}

@media (max-width: 540px) {
  .pricing-table th,
  .pricing-table td {
    padding: 0.7rem 0.85rem;
    font-size: 0.82rem;
  }

  .pricing-table th:last-child,
  .pricing-table td:last-child {
    width: 6.5rem;
  }
}

/* ── About ── */
.about {
  background: var(--bg);
}

.about__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: min(16rem, 38%) 1fr;
    gap: 2rem;
  }
}

.about__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  max-height: 14rem;
  background: var(--ink);
}

.about__photo img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.about h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.about p {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.about__list {
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}

.about__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}

.about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

/* ── Reviews ── */
.reviews {
  background: var(--bg);
  position: relative;
  overflow: visible;
}

.reviews::before {
  content: "";
  position: absolute;
  left: -8%;
  top: 10%;
  width: min(28rem, 55vw);
  height: min(28rem, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(249 115 22 / 0.12) 0%, transparent 68%);
  pointer-events: none;
}

.reviews__layout {
  position: relative;
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 900px) {
  .reviews__layout {
    grid-template-columns: min(18rem, 34%) 1fr;
    gap: 2.25rem;
    align-items: center;
  }
}

.reviews__intro {
  padding-top: 0.25rem;
}

.reviews__eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
}

.reviews__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.reviews__lead {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--muted);
}

.reviews__count {
  font-weight: 700;
  color: var(--ink-soft);
}

.reviews__showcase {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}

/* Блок площадок — как на референсе */
.reviews-hero {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(125deg, #08090b 0%, #15181d 48%, #0f1114 100%);
  border: 1px solid rgb(255 255 255 / 0.08);
  box-shadow: var(--shadow);
}

.reviews-hero::before {
  content: "";
  position: absolute;
  left: -5%;
  bottom: -20%;
  width: 45%;
  height: 90%;
  border: 2px solid rgb(249 115 22 / 0.45);
  border-radius: 50%;
  pointer-events: none;
}

@media (min-width: 768px) {
  .reviews-hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 0.75rem;
    padding: 1.15rem 1.15rem 1.15rem 1rem;
    min-height: 15rem;
  }
}

.reviews-hero__photo {
  position: relative;
  z-index: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 4 / 3;
  max-height: 13.5rem;
}

@media (min-width: 768px) {
  .reviews-hero__photo {
    max-height: 14.5rem;
  }
}

.reviews-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.reviews-hero__badge {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: rgb(18 20 23 / 0.82);
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
}

.reviews-hero__cards {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  width: 100%;
  padding: 0.15rem 0;
}

@media (min-width: 768px) {
  .reviews-hero__cards {
    padding-right: 0.35rem;
  }
}

.platform-card {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  min-height: 4.75rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 10px 28px rgb(18 20 23 / 0.18);
}

.platform-card__logo {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 10px;
  overflow: hidden;
}

.platform-card__logo--avito {
  background: var(--white);
}

.platform-card__logo svg {
  width: 2.35rem;
  height: 2.35rem;
}

.platform-card__logo--profi {
  background: linear-gradient(145deg, #ff6b8a, #e91e63);
  color: var(--white);
  font-size: 0.54rem;
  font-weight: 800;
  line-height: 1.05;
  text-align: center;
  letter-spacing: -0.02em;
}

.platform-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.platform-card__stars {
  color: #f5b301;
  font-size: 0.82rem;
  letter-spacing: 1px;
  line-height: 1;
}

.platform-card__stat {
  margin: 0.35rem 0 0;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.3;
}

.platform-card__stat strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.platform-card__meta {
  margin: 0.15rem 0 0;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.reviews-carousel {
  display: flex;
  align-items: stretch;
  gap: 0.65rem;
  width: 100%;
  min-width: 0;
}

.reviews-carousel__track {
  display: flex;
  flex: 1;
  min-width: 0;
  gap: 0.85rem;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.35rem 0.15rem;
  scroll-padding-inline: 0.15rem;
  outline: none;
}
.reviews-carousel__track::-webkit-scrollbar { display: none; }

.reviews-carousel__btn {
  flex-shrink: 0;
  align-self: center;
  display: grid;
  place-items: center;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, transform 0.12s;
}
.reviews-carousel__btn svg { width: 1.15rem; height: 1.15rem; }
.reviews-carousel__btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.reviews-carousel__btn:active { transform: scale(0.96); }

.review-card {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  padding: 1.15rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  box-sizing: border-box;
}

@media (min-width: 640px) {
  .review-card {
    flex: 0 0 calc(50% - 0.425rem);
  }
}

@media (min-width: 960px) {
  .review-card {
    flex: 0 0 calc(33.333% - 0.57rem);
  }
}

.reviews-carousel__spacer {
  flex: 0 0 1px;
  scroll-snap-align: end;
}

.review-card__stars {
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.review-card p {
  margin: 0.65rem 0 0;
  font-size: 0.86rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

.review-card cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

.section-title {
  margin: 0 0 1.15rem;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ── Cities (dark) ── */
.cities {
  background: var(--ink);
  color: var(--white);
}

.cities .section-title {
  color: var(--orange);
}

.cities__head {
  margin-bottom: 1.15rem;
}

.cities__lead {
  margin: 0.45rem 0 0;
  max-width: 36rem;
  font-size: 0.9rem;
  color: rgb(255 255 255 / 0.72);
}

.city-panel {
  padding: 1.35rem 1.25rem;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.city-panel label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

.city-panel input {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
}
.city-panel input:focus { border-color: var(--orange); }
.city-panel input::placeholder { color: rgb(255 255 255 / 0.35); }

.cities .hint {
  color: rgb(255 255 255 / 0.45);
}
.cities .hint.is-ok { color: #8fd98f; }
.cities .hint.is-warn { color: #f0b86a; }

.cities #city-search-results:not(.sr-only) {
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.cities .city-hit {
  color: rgb(255 255 255 / 0.85);
}
.cities .city-hit:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--orange);
}

.cities .city-chip {
  border-color: rgb(255 255 255 / 0.15);
  color: rgb(255 255 255 / 0.75);
}
.cities .city-chip:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.cities details.city-all {
  color: rgb(255 255 255 / 0.5);
}

.cities .city-all-list {
  color: rgb(255 255 255 / 0.72);
}

.hero__map-card-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  cursor: pointer;
  transition: opacity 0.15s;
}
.hero__map-card-link:hover { opacity: 0.85; }

/* ── Contact ── */
.contact {
  background: var(--bg);
}

.contact__grid {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--white);
}

@media (min-width: 768px) {
  .contact__grid {
    grid-template-columns: 0.95fr 1.05fr;
    padding: 1.75rem;
    align-items: start;
  }
}

.contact__info h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.contact__info p {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: rgb(255 255 255 / 0.6);
}

.contact__phone {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 1.5rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: color 0.15s;
}
.contact__phone:hover { color: var(--gold); }

.contact__hours {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: rgb(255 255 255 / 0.55);
}

.city-field {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
}

.city-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

.city-field input {
  width: 100%;
  padding: 0.65rem 0;
  border: 0;
  border-bottom: 1px solid rgb(255 255 255 / 0.2);
  background: transparent;
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
}
.city-field input:focus { border-color: var(--gold); }
.city-field input::placeholder { color: rgb(255 255 255 / 0.35); }

.hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.45);
}
.hint.is-ok { color: #8fd98f; }
.hint.is-warn { color: #f0b86a; }

#city-search-results:not(.sr-only) {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  border-radius: 8px;
  overflow: hidden;
  background: rgb(255 255 255 / 0.08);
}

.city-hit {
  padding: 0.45rem 0.65rem;
  font-size: 0.84rem;
  cursor: pointer;
}
.city-hit:hover { background: rgb(255 255 255 / 0.08); }

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.city-chip {
  padding: 0.25rem 0.55rem;
  border: 1px solid rgb(255 255 255 / 0.15);
  border-radius: 999px;
  background: transparent;
  color: rgb(255 255 255 / 0.65);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}
.city-chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

details.city-all {
  margin-top: 0.65rem;
  font-size: 0.75rem;
  color: rgb(255 255 255 / 0.45);
}
details.city-all summary { cursor: pointer; }

.city-all-list {
  columns: 2;
  margin-top: 0.5rem;
  line-height: 1.7;
}
@media (min-width: 600px) { .city-all-list { columns: 3; } }
.city-all-list span::after { content: " · "; opacity: 0.4; }

.form {
  display: grid;
  gap: 0.85rem;
}

.form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.5);
}

.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 2.65rem;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.06);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.15s;
}

.form input:not([type="checkbox"]):focus,
.form select:focus,
.form textarea:focus {
  border-color: var(--gold);
}

.form select option { color: var(--ink); background: var(--white); }

.form textarea { min-height: 5rem; resize: vertical; }

.form-error {
  margin: 0;
  font-size: 0.82rem;
  color: #f0b86a;
}

.form-loading .btn-label { opacity: 0; }
.form-loading .btn-spinner { display: inline; }
.btn-spinner { display: none; }

/* Footer */
.footer {
  padding: 1.75rem 0 1.25rem;
  background: var(--ink);
  color: rgb(255 255 255 / 0.75);
}

.footer__grid {
  display: grid;
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 1rem;
  }
}

.footer-card {
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.05);
  border: 1px solid rgb(255 255 255 / 0.1);
}

.footer-card__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white);
}

.footer-card__phone {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 1.15rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s;
}
.footer-card__phone:hover { color: var(--orange-light); }

.footer-card__meta {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  color: rgb(255 255 255 / 0.5);
}

.footer-card__legal {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgb(255 255 255 / 0.55);
}

.footer-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.footer-doc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.35rem;
  padding: 0 0.85rem;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 999px;
  background: transparent;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.footer-doc-btn:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.footer-doc-btn[aria-current="page"] {
  border-color: rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.06);
}

.footer__bottom {
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgb(255 255 255 / 0.08);
  font-size: 0.72rem;
  color: rgb(255 255 255 / 0.4);
}

/* Legal / policy pages */
.doc-page {
  background: var(--bg);
}

.header--doc .header__inner {
  min-height: 4rem;
}

.doc-back {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgb(255 255 255 / 0.8);
  transition: color 0.15s;
}
.doc-back:hover { color: var(--orange); }

.doc-main {
  padding-bottom: 2.5rem;
}

.doc {
  max-width: 42rem;
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.doc__label {
  margin: 0 0 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

.doc h1 {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
}

.doc__intro {
  margin: 0.85rem 0 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.doc h2 {
  margin: 1.35rem 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink);
}

.doc p,
.doc li {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.doc ul,
.doc ol {
  margin: 0.35rem 0 0;
  padding-left: 1.25rem;
}

.doc a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.doc__requisites {
  padding: 0.75rem 0.9rem;
  border-radius: 10px;
  background: var(--bg);
  border: 1px dashed var(--line);
}

.doc__back {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  font-weight: 600;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0.1rem 0 0;
}

.form-consent label {
  display: block;
  margin: 0;
  flex: 1;
  min-width: 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.65);
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  width: 1.05rem;
  height: 1.05rem;
  min-height: 0;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 0.2rem;
  border-radius: 4px;
  border: 1px solid rgb(255 255 255 / 0.35);
  background: rgb(255 255 255 / 0.08);
  appearance: none;
  -webkit-appearance: none;
  display: grid;
  place-content: center;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.form-consent input[type="checkbox"]:checked {
  background: var(--orange);
  border-color: var(--orange);
}

.form-consent input[type="checkbox"]:checked::after {
  content: "";
  width: 0.32rem;
  height: 0.58rem;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.form-consent a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 200;
  transform: translateX(-50%) translateY(0.5rem);
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: 0.84rem;
  font-weight: 600;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
}
.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

form:tool-form-active {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
  border-radius: var(--radius);
}

@media (max-width: 767px) {
  .hero__visual {
    max-height: 12rem;
  }

  .hero__grid {
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero__visual {
    max-height: 17.5rem;
  }
}

@media (min-width: 960px) {
  .nav { display: flex; }
  .header__phone-block { display: block; }
  .menu-btn { display: none; }
  .header__right .btn--dark { display: inline-flex; }
}

@media (max-width: 959px) {
  .header__right .btn--dark { display: none; }
}

/* ── Promo popup ── */
body.promo-open { overflow: hidden; }

.promo-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgb(18 20 23 / 0.62);
  backdrop-filter: blur(4px);
  animation: promo-fade-in 0.25s ease;
}

.promo-overlay[hidden] { display: none; }

@keyframes promo-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.promo-modal {
  position: relative;
  width: min(22rem, 100%);
  padding: 1.75rem 1.5rem 1.35rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 24px 60px rgb(18 20 23 / 0.28);
  text-align: center;
  animation: promo-slide-up 0.3s ease;
}

@keyframes promo-slide-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.promo-modal__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
}
.promo-modal__close svg { width: 1rem; height: 1rem; }
.promo-modal__close:hover { color: var(--ink); background: var(--line); }

.promo-modal__badge {
  margin: 0;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
}

.promo-modal__title {
  margin: 0.35rem 0 0;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--ink);
}

.promo-modal__text {
  margin: 0.65rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--ink-soft);
}

.promo-modal__text strong {
  font-variant-numeric: tabular-nums;
  color: var(--orange);
}

.promo-modal__cta {
  width: 100%;
  min-height: 2.85rem;
  margin-top: 1.15rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.promo-modal__later {
  display: block;
  width: 100%;
  margin-top: 0.55rem;
  padding: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.82rem;
  cursor: pointer;
  transition: color 0.15s;
}
.promo-modal__later:hover { color: var(--ink); }

/* ── Callback widget ── */
.callback-widget {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right, 0px));
  bottom: max(1.1rem, env(safe-area-inset-bottom, 0px));
  z-index: 99999;
  pointer-events: none;
}

.callback-widget__fab,
.callback-widget__panel {
  pointer-events: auto;
}

@media (min-width: 768px) {
  .callback-widget {
    right: max(1.35rem, env(safe-area-inset-right, 0px));
    bottom: max(1.35rem, env(safe-area-inset-bottom, 0px));
  }
}

.callback-widget__fab {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3.65rem;
  height: 3.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 28px rgb(249 115 22 / 0.45);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}

.callback-widget__fab:hover {
  background: var(--orange-light);
  transform: scale(1.04);
}

.callback-widget__fab::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgb(249 115 22 / 0.35);
  animation: callback-pulse 2.2s ease-out infinite;
  pointer-events: none;
}

.callback-widget__fab.is-open::before {
  animation: none;
  opacity: 0;
}

@keyframes callback-pulse {
  0% { transform: scale(0.92); opacity: 0.75; }
  70% { transform: scale(1.18); opacity: 0; }
  100% { transform: scale(1.18); opacity: 0; }
}

.callback-widget__icon {
  width: 1.45rem;
  height: 1.45rem;
  transition: opacity 0.15s, transform 0.15s;
}

.callback-widget__icon--phone {
  opacity: 1;
}

.callback-widget__icon--close {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg) scale(0.7);
}

.callback-widget__fab.is-open .callback-widget__icon--phone {
  opacity: 0;
  transform: rotate(90deg) scale(0.7);
}

.callback-widget__fab.is-open .callback-widget__icon--close {
  opacity: 1;
  transform: none;
}

.callback-widget__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(18rem, calc(100vw - 2rem));
  padding: 1.15rem 1.1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 18px 48px rgb(18 20 23 / 0.22);
  animation: callback-panel-in 0.22s ease;
}

.callback-widget__panel[hidden] { display: none; }

@keyframes callback-panel-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.callback-widget__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  display: grid;
  place-items: center;
  width: 1.85rem;
  height: 1.85rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted);
  cursor: pointer;
}

.callback-widget__close svg { width: 0.9rem; height: 0.9rem; }

.callback-widget__title {
  margin: 0;
  padding-right: 1.5rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
}

.callback-widget__lead {
  margin: 0.4rem 0 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--ink-soft);
}

.callback-widget__form {
  display: grid;
  gap: 0.55rem;
}

.callback-widget__form input {
  width: 100%;
  min-height: 2.55rem;
  padding: 0.55rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s;
}

.callback-widget__form input:focus {
  border-color: var(--orange);
}

.callback-widget__submit {
  width: 100%;
  min-height: 2.65rem;
  margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
