/* ============================================================
   Компьютерный мастер — шаблон городской страницы
   Цвета: синий #2639ED, чёрный #0B0B0C, серый #6B7280,
   карточки #F4F5F7, жёлтый акцент #FFB930
   ============================================================ */

:root {
  --blue: #2639ED;
  --blue-dark: #1c2bc4;
  --black: #0B0B0C;
  --gray: #6B7280;
  --bg-card: #F4F5F7;
  --yellow: #FFB930;
  --white: #ffffff;
  --radius-btn: 10px;
  --radius-card: 14px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; font-weight: 700; }

p { margin: 0 0 1em; }

a { color: inherit; }

img, svg { max-width: 100%; height: auto; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

/* ---------- Кнопки ---------- */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn--lg {
  padding: 18px 36px;
  font-size: 1.1rem;
}

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

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

.btn--secondary {
  background: var(--black);
  color: var(--white);
}

.btn--secondary:hover { background: #2a2a2d; }

.btn--tertiary {
  background: none;
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 14px 8px;
}

.btn--tertiary:hover { color: var(--blue); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.nav { margin-left: auto; }

.nav__list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--gray);
  transition: color 0.2s;
}

.nav__list a:hover { color: var(--blue); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.header__phone-icon { flex: none; color: var(--blue); }

.header__phone:hover { color: var(--blue); }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 88px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__subtitle {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 520px;
}

.accent-underline {
  position: relative;
  white-space: nowrap;
}

.accent-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.05em;
  height: 0.28em;
  background: var(--yellow);
  z-index: -1;
  border-radius: 3px;
}

.hero__buttons {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero__art { display: block; width: 100%; }

/* ---------- Полоса доверия ---------- */
.trust {
  padding: 56px 0;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}

.trust__title {
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  margin-bottom: 40px;
}

.trust__stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
}

.stat { text-align: center; }

.stat__value {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.stat__label {
  color: var(--gray);
  font-size: 0.95rem;
}

.trust__brands {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  color: #b6bac2;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

/* ---------- О сервисе ---------- */
.about { padding: 96px 0; }

.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about__content p { color: var(--gray); }

.about__content .btn { margin-top: 8px; }

/* ---------- Услуги ---------- */
.services { padding: 96px 0; background: var(--white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.service-card__icon { margin-bottom: 20px; }

.service-card h3 { margin-bottom: 8px; }

.service-card p {
  color: var(--gray);
  font-size: 0.95rem;
  flex-grow: 1;
}

.service-card .btn { margin-top: 12px; }

/* ---------- Цены ---------- */
.prices { padding: 96px 0; background: var(--bg-card); }

.prices__table {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 16px 32px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid #eee;
}

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

.price-row__name { font-weight: 600; }

.price-row__dots {
  flex-grow: 1;
  border-bottom: 2px dotted #d4d7dd;
  transform: translateY(-4px);
}

.price-row__value {
  font-weight: 800;
  color: var(--blue);
  white-space: nowrap;
}

.prices__note {
  text-align: center;
  color: var(--gray);
  max-width: 640px;
  margin: 32px auto 0;
}

/* ---------- Этапы ---------- */
.steps { padding: 96px 0; }

.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px;
}

.step-card__num {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.35;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--gray);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Отзывы ---------- */
.reviews { padding: 96px 0; background: var(--bg-card); }

.reviews__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.reviews__quote {
  display: block;
  font-size: 6rem;
  line-height: 0.6;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 24px;
}

.reviews__intro p { color: var(--gray); }

.reviews__nav {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.reviews__arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background 0.2s, color 0.2s;
}

.reviews__arrow:hover {
  background: var(--black);
  color: var(--white);
}

.reviews__slider {
  position: relative;
  min-height: 260px;
}

.review-card {
  display: none;
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 40px;
}

.review-card.is-active {
  display: block;
  animation: reviewFade 0.35s ease;
}

@keyframes reviewFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.review-card__text {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 28px;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.review-card__avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.review-card__name { font-weight: 700; margin: 0; }

.review-card__meta {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; }

.faq__list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  color: var(--black);
}

.faq-item__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--blue);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.25s;
}

.faq-item__icon::before { width: 18px; height: 2.5px; }
.faq-item__icon::after  { width: 2.5px; height: 18px; }

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item__answer p {
  color: var(--gray);
  padding: 0 0 22px;
  margin: 0;
}

/* ---------- CTA-баннер ---------- */
.cta { padding: 0 0 96px; }

.cta__banner {
  background-color: var(--blue);
  background-image: repeating-radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 0.09) 0,
    rgba(255, 255, 255, 0.09) 2px,
    transparent 2px,
    transparent 64px
  );
  border-radius: 24px;
  padding: 88px 32px;
  text-align: center;
}

.cta__banner h2 {
  color: var(--white);
  max-width: 720px;
  margin: 0 auto 32px;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 64px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.logo--footer { margin-bottom: 20px; }

.footer__address {
  font-style: normal;
  color: #9ca3af;
  margin-bottom: 16px;
}

.footer__phone,
.footer__email {
  display: block;
  text-decoration: none;
  margin-bottom: 8px;
}

.footer__phone { font-weight: 700; font-size: 1.15rem; }
.footer__phone:hover,
.footer__email:hover { color: var(--yellow); }

.footer__heading {
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__col li { margin-bottom: 10px; }

.footer__col a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.footer__col a:hover { color: var(--white); }

.footer__bottom {
  border-top: 1px solid #26262a;
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer__bottom p {
  color: #9ca3af;
  font-size: 0.9rem;
  margin: 0;
}

/* ============================================================
   Адаптив
   ============================================================ */

/* Tablet: <= 1024px — услуги и этапы в 2 колонки */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .steps__list { grid-template-columns: repeat(2, 1fr); }
  .trust__stats { grid-template-columns: repeat(2, 1fr); }

  .header__phone {
    font-size: 0;
    gap: 0;
    width: 40px;
    height: 40px;
    justify-content: center;
  }

  .header__phone-icon {
    width: 20px;
    height: 20px;
    padding: 10px;
    box-sizing: content-box;
    color: #fff;
    background: #34c759;
    border-radius: 50%;
  }
}

/* Mobile: <= 768px — одна колонка */
@media (max-width: 768px) {
  .hero { padding: 48px 0 64px; }

  /* Шапка: только телефон и бургер */
  .header .logo { display: none; }
  .header__inner { justify-content: space-between; }
  .header__actions {
    position: relative;
    flex: 1;
    justify-content: flex-end;
    min-height: 40px;
  }
  .header__phone {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.05rem;
    font-weight: 700;
    width: auto;
    height: auto;
    gap: 0;
    z-index: 1;
  }
  .header__phone-icon {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
  }

  .hero__inner,
  .about__inner,
  .reviews__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero__visual { order: -1; width: 100%; max-width: 420px; margin: 0 auto; height: 360px; }
  .hero__photo { max-height: 360px; }
  .about__visual { max-width: 420px; margin: 0 auto; }

  .services__grid,
  .steps__list,
  .footer__inner {
    grid-template-columns: 1fr;
  }

  .about, .services, .prices, .steps, .reviews, .faq { padding: 64px 0; }
  .cta { padding-bottom: 64px; }
  .cta__banner { padding: 64px 24px; }

  /* Бургер-меню */
  .burger {
    display: flex;
    position: relative;
    z-index: 2;
    margin-left: auto;
  }
  .header__cta { display: none; }

  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-left: 0;
  }

  .nav.is-open { max-height: 320px; }

  .nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
  }

  .nav__list li { border-bottom: 1px solid #f0f0f2; }
  .nav__list li:last-child { border-bottom: none; }

  .nav__list a {
    display: block;
    padding: 14px 0;
    font-size: 1.05rem;
    color: var(--black);
  }

  .header__inner { position: relative; }
}

@media (max-width: 480px) {
  .trust__stats { grid-template-columns: 1fr 1fr; gap: 28px 16px; }
  .hero__buttons .btn--lg { width: 100%; }
}

/* ============================================================
   Блоки v2: хлебные крошки, компактный hero, бейдж города,
   неисправности, мастера, примеры работ, карта
   ============================================================ */

/* ---------- Хлебные крошки ---------- */
.breadcrumbs { padding-top: 24px; }

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--gray);
}

.breadcrumbs__list li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: #c3c7cf;
}

.breadcrumbs__list a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumbs__list a:hover { color: var(--blue); }

.breadcrumbs__list [aria-current] {
  color: var(--black);
  font-weight: 600;
}

/* ---------- Компактный hero (страницы услуг) ---------- */
.hero--compact { padding: 48px 0 72px; }

.hero--compact .hero__subtitle { max-width: 640px; }

/* ---------- Бейдж города с гербом ---------- */
.hero__city-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin-top: 32px;
  padding: 10px 18px 10px 10px;
  background: var(--bg-card);
  border-radius: 12px;
}

.hero__city-badge img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.hero__city-badge span {
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--gray);
  max-width: 240px;
}

/* ---------- Частые неисправности ---------- */
.faults { padding: 96px 0; }

.faults__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fault-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
}

.fault-card__icon { margin-bottom: 14px; }

.fault-card h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.fault-card p {
  color: var(--gray);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Наши мастера ---------- */
.masters { padding: 96px 0; }

.masters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.master-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 28px;
}

.master-card__avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.master-card h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.master-card__spec {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 8px;
}

.master-card__exp {
  color: var(--gray);
  font-size: 0.9rem;
  margin: 0 0 14px;
}

.master-card__rating {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stars {
  color: var(--yellow);
  letter-spacing: 2px;
  font-size: 1.05rem;
  line-height: 1;
}

.master-card__score {
  color: var(--gray);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ---------- Примеры работ ---------- */
.works {
  padding: 96px 0;
  background: var(--bg-card);
}

.works__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.work-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 16px;
}

.work-card__visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  aspect-ratio: 8 / 3;
  border-radius: 10px;
  overflow: hidden;
}

.work-card__half {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.work-card__half--before {
  background: #dde0e7;
  color: var(--gray);
}

.work-card__half--after {
  background: var(--blue);
  color: var(--white);
}

.work-card__caption {
  font-weight: 600;
  font-size: 0.95rem;
  margin: 14px 0 2px;
}

.work-card__city {
  color: var(--gray);
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Карта ---------- */
.map { padding: 96px 0; }

.map__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.map__gerb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 16px;
  display: block;
}

.map__content p { color: var(--gray); }

.map__districts {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  columns: 2;
  column-gap: 32px;
  color: var(--gray);
}

.map__districts li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.map__districts li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  margin-right: 10px;
  vertical-align: 1px;
}

.map__frame {
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 420px;
  background: var(--bg-card);
}

.map__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---------- Адаптив для новых блоков ---------- */
@media (max-width: 1024px) {
  .faults__grid,
  .masters__grid,
  .works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .faults__grid,
  .masters__grid,
  .works__grid,
  .map__inner {
    grid-template-columns: 1fr;
  }

  .faults, .masters, .works, .map { padding: 64px 0; }

  .map__frame { height: 320px; }

  .map__districts { columns: 1; }

  .hero--compact { padding: 32px 0 56px; }
}

/* ============================================================
   Реальные изображения (v3): hero-фото, «О сервисе»,
   фото мастеров, фото «до/после»
   ============================================================ */

/* ---------- Hero: фото мастера поверх декоративных фигур ---------- */
.hero__visual {
  position: relative;
  height: 540px;
}

.hero__shapes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 88%;
  max-height: 520px;
  width: auto;
  max-width: 90%;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(11, 11, 12, 0.18);
}

/* ---------- О сервисе: фото ---------- */
.about__visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-card);
  box-shadow: 24px 24px 0 #E9ECFF;
}

/* ---------- Мастера: круглые фото ---------- */
.master-card__photo {
  width: 84px;
  height: 84px;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 16px;
}

/* ---------- Примеры работ: фото «до/после» ---------- */
.work-card__half {
  display: block;
  position: relative;
  overflow: hidden;
}

.work-card__half img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card__half span {
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 1;
  padding: 2px 10px;
  border-radius: 6px;
  background: rgba(11, 11, 12, 0.65);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .hero__visual { height: 360px; }
  .hero__photo { max-height: 320px; }
  .about__visual img { box-shadow: 14px 14px 0 #E9ECFF; }
}

/* ============================================================
   Блоки генератора: локальный текст, ссылки на соседей, хаб
   ============================================================ */
.local { padding: 80px 0; }
.local__text { max-width: 820px; color: #374151; font-size: 1.05rem; }
.local__text p:last-child { margin-bottom: 0; }

.map__list-title { font-weight: 700; margin: 16px 0 8px; }

.nearby { padding: 64px 0; background: var(--bg-card); }
.nearby + .nearby { padding-top: 0; }
.nearby__list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px;
}
.nearby__list a { color: var(--blue); text-decoration: none; font-weight: 600; }
.nearby__list a:hover { text-decoration: underline; }
.nearby__list span { color: var(--gray); font-size: 0.9rem; }

.hub { background: none; padding: 32px 0; }
.hub__list { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

@media (max-width: 640px) {
  .local, .nearby { padding: 48px 0; }
}

/* Логотип Advanced-Service: знак «AS» + название текстом */
.logo__icon { width: auto; height: 32px; display: block; }
.logo__text { text-transform: uppercase; letter-spacing: 0.02em; font-weight: 800; }
.logo__accent { color: var(--blue); }
.logo--footer .logo__accent { color: #7d8bff; }
@media (max-width: 420px) { .logo__text { font-size: 0.95rem; } }

/* Каталог районов на главной */
.directory { padding: 64px 0; background: var(--bg-card); }
.directory__title { margin: 32px 0 12px; font-size: 1.1rem; }
.directory .nearby__list a { color: var(--blue); text-decoration: none; font-weight: 600; }

/* Страница 404 */
.notfound__code { font-size: clamp(4rem, 12vw, 8rem); font-weight: 800; color: var(--blue); line-height: 1; margin: 0 0 8px; }

/* Список всех услуг на главной */
.services__more-title { margin: 40px 0 12px; font-size: 1.15rem; }
.services__more a { color: var(--blue); text-decoration: none; font-weight: 600; }
.services__more a:hover { text-decoration: underline; }
