:root {
  --bg: #f8fafc;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-alt: #eef2f7;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --accent: #1d4ed8;
  --accent-hover: #2563eb;
  --accent-soft: #dbeafe;
  --accent-muted: #eff6ff;
  --success: #15803d;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.1);
  --font: "Manrope", system-ui, sans-serif;
  --header-h: 72px;
  --mobile-img-max: min(30vh, 200px);
  --call-bar-h: 52px;
  --chip-nav-h: 0px;
  --section-pad-y: 40px;
  --section-header-mb: 16px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}

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

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

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

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

.section--alt {
  background: var(--bg-alt);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  object-fit: contain;
  display: block;
}

.brand-text {
  min-width: 0;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text span {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
}

.nav-desktop {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-desktop a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-desktop a:hover,
.nav-desktop a.is-active {
  color: var(--accent);
  background: var(--accent-muted);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.btn-label-short {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
}

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

.btn-outline {
  border: 1.5px solid var(--border);
  color: var(--text);
  background: var(--bg-elevated);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elevated);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-phone-mobile {
  display: none;
  padding: 10px 12px;
}

.header-phone-desktop {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--bg-elevated);
}

.menu-toggle svg {
  width: 20px;
  height: 20px;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  padding: 20px;
  z-index: 90;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  border-top: 1px solid var(--border);
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav a.is-active,
.nav-desktop a.is-active,
.chip-nav a.is-active {
  background: var(--accent-muted);
  border-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.mobile-nav-backdrop {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 85;
  background: rgba(15, 23, 42, 0.4);
}

.chip-nav {
  display: none;
  position: sticky;
  top: var(--header-h);
  z-index: 80;
  gap: 8px;
  padding: 10px 16px;
  overflow-x: auto;
  scrollbar-width: none;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.chip-nav[hidden] {
  display: none !important;
}

.chip-nav::-webkit-scrollbar {
  display: none;
}

.chip-nav a {
  flex: 0 0 auto;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
}

.sticky-action-bar {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 75;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}

.sticky-action-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
}

.btn-sm {
  padding: 9px 14px;
  font-size: 12px;
}

body.menu-open {
  overflow: hidden;
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 32px) 0 48px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 80% 10%, rgba(29, 78, 216, 0.08), transparent),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(59, 130, 246, 0.06), transparent),
    linear-gradient(180deg, #fff 0%, var(--bg) 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
  min-width: 0;
}

.hero-content,
.hero-side {
  min-width: 0;
}

.hero-photo {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}

.hero-lead {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-meta {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
}

.hero-meta-phones {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 6px;
}

.hero-meta-phones a {
  color: var(--accent);
  font-weight: 700;
  white-space: nowrap;
}

.hero-highlights-more {
  margin-top: 8px;
  padding: 0;
  border: none;
  background: none;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.hero-highlight--extra {
  display: none;
}

.hero-highlights.is-expanded .hero-highlight--extra {
  display: flex;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  max-width: 100%;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-actions .btn {
  min-width: 0;
}

.hero-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  min-width: 0;
}

.hero-highlight-text {
  min-width: 0;
  flex: 1;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.hero-highlight-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  object-fit: contain;
  margin-top: 1px;
}

.hero-highlights li::before {
  content: none;
}

.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-visual {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-card h2 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--text);
}

.hero-card p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 13px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}

.contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 13px;
  color: var(--text);
}

.contact-item span,
.contact-item a {
  font-size: 13px;
  color: var(--text-muted);
}

.contact-item a.phone {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-top: 2px;
}

.contact-item a.phone:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

/* Sections */
.section {
  padding: var(--section-pad-y) 0;
}

.section-header {
  margin-bottom: var(--section-header-mb);
  max-width: none;
}

.section-header h2 {
  margin: 0 0 6px;
  font-size: clamp(26px, 4vw, 32px);
  letter-spacing: -0.02em;
  color: var(--text);
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
  max-width: none;
}

/* Текстовые блоки секций — без искусственного сужения */
.hero-lead,
.conditioner-desc,
.conditioner-note,
.section-note,
.vacancy-note,
.promo-banner p,
.promo-card p,
.guarantee-card p,
.diagnostics-aside-body p,
.contacts-panel .contact-item span {
  max-width: none;
}

.section-note {
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}

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

@media (min-width: 961px) {
  .services-panel {
    grid-template-columns: 1.65fr 1fr;
    gap: 18px;
    align-items: start;
  }
}

.services-panel-main {
  min-width: 0;
}

.services-prices-sidebar {
  display: none;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

@media (min-width: 961px) {
  .services-prices-sidebar {
    display: flex;
    flex-direction: column;
    position: sticky;
    top: calc(var(--header-h) + 16px);
  }
}

.services-prices-title {
  margin: 0 0 12px;
  font-size: 16px;
  color: var(--text);
}

.services-prices-list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.services-prices-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}

.services-prices-list li:last-child {
  border-bottom: none;
}

.services-prices-list .name {
  color: var(--text-muted);
  min-width: 0;
}

.services-prices-list .value {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.services-prices-link {
  margin-top: 14px;
  width: 100%;
  justify-content: center;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.service-card {
  position: relative;
  padding: 14px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  opacity: 0;
  transform: translateY(16px);
}

.service-card--link {
  display: block;
  color: inherit;
  cursor: pointer;
}

.service-card--link:hover {
  transform: translateY(-2px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-lg);
}

.service-card--link.is-visible:hover {
  transform: translateY(-2px);
}

.service-card-action {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s;
}

.service-card--link:hover .service-card-action {
  color: var(--accent);
}

.services-toggle {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.service-card--hidden-mobile {
  display: none;
}

.service-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: var(--shadow-lg);
}

.service-card--featured {
  border-color: var(--accent-soft);
  background: linear-gradient(180deg, var(--accent-muted) 0%, var(--bg-card) 100%);
}

.service-price-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.conditioner-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.conditioner-price-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-muted);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  padding: 6px;
}

.service-icon-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 15px;
  color: var(--text);
}

.service-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Conditioner */
.conditioner-panel {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
  align-items: stretch;
}

.conditioner-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

.conditioner-visual {
  flex-shrink: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.conditioner-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.conditioner-main {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.conditioner-desc {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 15px;
}

.conditioner-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}

.conditioner-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
}

.conditioner-features li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.conditioner-price-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 16px;
  margin-bottom: 10px;
}

.conditioner-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
}

.conditioner-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

.conditioner-aside {
  padding: 16px 18px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--accent), #1e40af);
  color: #fff;
  box-shadow: var(--shadow);
  flex-shrink: 0;
}

.conditioner-aside-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  margin-bottom: 10px;
}

.conditioner-aside h3 {
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.25;
}

.conditioner-aside p {
  margin: 0;
  font-size: 13px;
  opacity: 0.92;
  line-height: 1.45;
}

/* Diagnostics */
.diagnostics-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.diagnostics-groups {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.diagnostics-main {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
}

.diagnostics-offer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  padding: 14px 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-muted), #fff);
  border: 1px solid var(--accent-soft);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.45;
  box-shadow: var(--shadow);
}

.diagnostics-offer::before {
  content: "";
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  border-radius: 8px;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2'%3E%3Cpath d='M12 2l2.4 7.4H22l-6 4.6 2.3 7-6.3-4.6L6 21l2.3-7-6-4.6h7.6z'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.diagnostics-group-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.diagnostics-group--collapsed {
  display: none;
}

.diagnostics-groups.is-expanded .diagnostics-group--collapsed {
  display: block;
}

.diagnostics-toggle {
  width: 100%;
  justify-content: center;
}

.diagnostics-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 1100px) {
  .diagnostics-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

.diagnostics-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s, transform 0.4s;
}

.diagnostics-list li.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.diagnostics-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.diagnostics-aside {
  padding: 0;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.diagnostics-aside .section-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

.diagnostics-aside-body {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.diagnostics-aside-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: var(--text);
}

.diagnostics-aside-body p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted);
}

.diagnostics-aside-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

.diagnostics-aside h3,
.diagnostics-aside p,
.diagnostics-aside .btn {
  margin-left: 0;
  margin-right: 0;
}

.diagnostics-aside h3 {
  margin-top: 0;
}

.diagnostics-aside .btn {
  margin-bottom: 0;
}

.section-photo {
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  display: block;
}

/* Promo banner */
.promo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: center;
  padding: 20px;
  margin-top: 0;
  margin-bottom: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--accent-muted), #fff);
  border: 1px solid var(--accent-soft);
  box-shadow: var(--shadow);
}

.promo-banner-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.promo-banner h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.promo-banner p {
  margin: 0 0 16px;
  color: var(--text-muted);
  font-size: 14px;
}

.promo-banner-img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  box-shadow: var(--shadow);
}

/* Prices */
.prices-tabs {
  display: none;
  gap: 8px;
  margin-bottom: 16px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.prices-tabs::-webkit-scrollbar {
  display: none;
}

.prices-tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.prices-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.prices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.price-category {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s, transform 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.price-category.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.price-category:first-child {
  border-color: var(--accent-soft);
}

.price-category:first-child h3 {
  background: var(--accent-muted);
  color: var(--accent);
}

.price-category h3 {
  margin: 0;
  padding: 12px 14px;
  font-size: 15px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.price-rows {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  flex: 1;
}

.price-rows li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
}

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

.price-rows .name {
  color: var(--text-muted);
}

.price-hint {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  color: var(--success);
  line-height: 1.35;
}

.price-rows .value {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.price-rows li:not(:has(.value)) .name {
  flex: 1;
}

/* Promotions */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.promo-card {
  position: relative;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.promo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #3b82f6);
}

.promo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.promo-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-muted);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.promo-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  color: var(--text);
}

.promo-card p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-muted);
}

.promo-highlight {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
  line-height: 1.45;
  white-space: pre-line;
}

/* Vacancies */
.vacancy-list {
  display: grid;
  gap: 12px;
}

.vacancy-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 24px;
  align-items: start;
}

.vacancy-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--text);
}

.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.vacancy-tag {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.vacancy-salary {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
  text-align: right;
}

.vacancy-reqs {
  grid-column: 1 / -1;
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.vacancy-reqs li {
  margin-bottom: 4px;
}

.vacancy-note {
  margin-top: 20px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

/* Guarantee */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  align-items: stretch;
}

.guarantee-card {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.guarantee-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  color: var(--accent);
}

.guarantee-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  flex: 1;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contacts-panel {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contacts-panel h3 {
  margin: 0 0 14px;
  font-size: 22px;
  color: var(--text);
}

.map-placeholder {
  position: relative;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  min-height: 220px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-photo {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.map-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 20px;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.82));
  color: #fff;
  text-align: left;
}

.map-overlay strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: #fff;
}

.map-overlay span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  display: block;
}

.map-overlay .map-link {
  color: #93c5fd;
  margin-top: 10px;
}

/* Footer */
.contacts-route-btn {
  width: 100%;
  margin-top: 16px;
  justify-content: center;
}

.map-route-link {
  display: inline-block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
}

.site-footer {
  padding: 24px 0 calc(var(--call-bar-h) + 28px);
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 13px;
}

.footer-nav a:hover {
  color: var(--accent);
}

.site-footer .phones {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

.site-footer .phones a {
  color: var(--accent);
  font-weight: 600;
}

.site-footer .phones a:hover {
  color: var(--accent-hover);
}

.mobile-call-bar {
  display: none;
  position: fixed;
  inset: auto 16px 16px;
  z-index: 95;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(29, 78, 216, 0.4);
  transition: background 0.2s, transform 0.2s;
}

.mobile-call-bar:hover {
  background: var(--accent-hover);
}

.mobile-call-bar:active {
  transform: scale(0.98);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  :root {
    --header-h: 64px;
    --call-bar-h: 56px;
    --section-pad-y: 24px;
    --section-header-mb: 14px;
  }

  body {
    padding-bottom: calc(var(--call-bar-h) + 32px);
  }

  .chip-nav {
    display: flex;
  }

  .prices-tabs {
    display: flex;
  }

  .price-category:not(.is-active-tab) {
    display: none;
  }

  .services-grid.is-expanded .service-card--hidden-mobile {
    display: block;
  }

  .btn-section-cta {
    background: transparent;
    color: var(--accent);
    box-shadow: none;
    padding: 0;
    font-size: 14px;
    font-weight: 600;
    justify-content: flex-start;
    text-decoration: underline;
    text-underline-offset: 3px;
  }

  .btn-section-cta:hover {
    background: transparent;
    color: var(--accent-hover);
  }

  .hero-highlights li {
    font-size: 15px;
  }

  .section-header p,
  .section-note {
    color: #475569;
  }

  .section-header h2 {
    font-size: 24px;
    margin-bottom: 6px;
  }

  .section-header p {
    font-size: 14px;
    max-width: none;
  }

  .services-grid {
    gap: 8px;
  }

  .service-card {
    display: grid;
    grid-template-columns: 44px 1fr 20px;
    grid-template-rows: auto auto;
    gap: 2px 10px;
    padding: 11px 12px;
    align-items: center;
    box-shadow: none;
  }

  .service-card--featured {
    background: var(--accent-muted);
  }

  .service-icon {
    grid-row: 1 / span 2;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    padding: 5px;
    border-radius: 10px;
  }

  .service-icon-img {
    width: 30px;
    height: 30px;
  }

  .service-card h3 {
    grid-column: 2;
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .service-card p {
    grid-column: 2;
    margin: 0;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .service-card-action {
    display: none;
  }

  .service-card--link::after {
    content: "›";
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    font-size: 22px;
    line-height: 1;
    color: var(--accent);
    font-weight: 600;
  }

  .service-price-badge {
    top: 8px;
    right: 28px;
    padding: 2px 7px;
    font-size: 10px;
  }

  .services-toggle {
    margin-top: 10px;
    padding: 10px 14px;
  }

  .chip-nav {
    padding: 6px 12px;
    gap: 6px;
  }

  .chip-nav a {
    padding: 6px 11px;
    font-size: 11px;
  }

  .sticky-action-bar {
    padding: 6px 12px;
    gap: 8px;
  }

  .sticky-action-phone {
    font-size: 14px;
  }

  .sticky-action-bar .btn-sm {
    padding: 8px 12px;
    font-size: 11px;
  }

  .diagnostics-list li {
    padding: 9px 11px;
    font-size: 12px;
  }

  .diagnostics-group-title {
    margin-bottom: 6px;
    font-size: 13px;
  }

  .diagnostics-groups {
    gap: 10px;
  }

  .promo-card,
  .vacancy-card,
  .guarantee-card {
    padding: 16px;
  }

  .conditioner-main,
  .conditioner-aside {
    padding: 18px;
  }

  .promo-banner {
    padding: 16px;
    margin-bottom: 16px;
  }

  .price-category h3 {
    padding: 12px 14px;
    font-size: 14px;
  }

  .price-rows li {
    padding: 8px 14px;
    font-size: 12px;
  }

  .prices-tab {
    padding: 8px 12px;
    font-size: 11px;
  }

  .container {
    width: min(1160px, calc(100% - 24px));
  }

  .nav-desktop,
  .header-phone-desktop,
  .header-book-btn {
    display: none;
  }

  .header-phone-mobile {
    display: inline-flex;
  }

  .mobile-call-bar {
    display: flex;
    left: 16px;
    right: 16px;
    inset: auto 16px 16px;
  }

  .menu-toggle {
    display: grid;
    place-items: center;
  }

  .hero {
    padding-top: calc(var(--header-h) + 16px);
    padding-bottom: 20px;
  }

  .hero-grid,
  .conditioner-panel,
  .diagnostics-panel,
  .guarantee-grid,
  .contacts-grid,
  .promo-banner {
    grid-template-columns: 1fr;
  }

  .conditioner-left {
    order: 0;
  }

  .conditioner-main {
    order: 1;
    min-height: 0;
  }

  .hero-lead {
    max-width: none;
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-side {
    order: 0;
  }

  .hero-visual {
    max-height: var(--mobile-img-max);
  }

  .hero-photo {
    aspect-ratio: 2.2 / 1;
    max-height: var(--mobile-img-max);
  }

  .hero-card {
    display: none;
  }

  .conditioner-visual {
    grid-row: auto;
  }

  .conditioner-visual img {
    min-height: 0;
    max-height: var(--mobile-img-max);
    aspect-ratio: 2.2 / 1;
  }

  .diagnostics-aside .section-photo {
    aspect-ratio: 2.2 / 1;
    max-height: var(--mobile-img-max);
  }

  .promo-banner-img {
    aspect-ratio: 2.2 / 1;
    max-height: 168px;
  }

  .map-placeholder {
    min-height: 0;
  }

  .map-photo {
    min-height: 0;
    max-height: 200px;
    aspect-ratio: 2.2 / 1;
  }

  .diagnostics-list,
  .conditioner-features {
    grid-template-columns: 1fr;
  }

  .vacancy-card {
    grid-template-columns: 1fr;
  }

  .vacancy-salary {
    text-align: left;
  }
}

@media (max-width: 480px) {
  :root {
    --header-h: 56px;
    --section-pad-y: 18px;
    --section-header-mb: 12px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
  }

  .brand-text span {
    display: none;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .header-phone-mobile {
    padding: 8px 10px;
    display: inline-flex;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .btn {
    padding: 12px 16px;
    font-size: 14px;
  }

  .btn-label-long {
    display: none;
  }

  .btn-label-short {
    display: inline;
  }

  .hero h1 {
    font-size: clamp(24px, 7vw, 32px);
  }

  .hero-badge {
    font-size: 11px;
    padding: 5px 10px;
  }

  .mobile-call-bar {
    font-size: 13px;
    padding: 12px 16px;
    bottom: 12px;
  }

  body {
    padding-bottom: 76px;
  }

  .section-header h2 {
    font-size: 22px;
  }

  .service-card {
    padding: 10px 11px;
    grid-template-columns: 40px 1fr 18px;
  }

  .service-icon {
    width: 40px;
    height: 40px;
  }

  .hero-visual {
    display: none;
  }

  .promo-banner-img {
    max-height: 152px;
  }

  .map-photo {
    max-height: 180px;
  }

  .guarantee-grid {
    grid-template-columns: 1fr;
  }

  .conditioner-price {
    font-size: 24px;
  }

  .promo-banner {
    padding: 20px;
  }

  .service-price-badge {
    font-size: 10px;
    padding: 3px 8px;
  }
}

@media (min-width: 961px) {
  .service-card--hidden-mobile,
  .diagnostics-group--collapsed {
    display: block;
  }

  .services-toggle,
  .diagnostics-toggle,
  .chip-nav,
  .sticky-action-bar,
  .hero-highlights-more {
    display: none !important;
  }

  .hero-highlight--extra {
    display: flex;
  }

  .price-category {
    display: block !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal,
  .service-card,
  .price-category,
  .diagnostics-list li {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn:active,
  .mobile-call-bar:active {
    transform: none;
  }
}
