: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;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

.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: 20px;
}

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

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #1e40af);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 18px;
  color: #fff;
  flex-shrink: 0;
}

.brand-text strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--text);
}

.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 11px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s, background 0.2s;
}

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

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

.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);
}

.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);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 48px) 0 72px;
  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: 40px;
  align-items: start;
}

.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: 18px;
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4.5vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-lead {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 16px;
  max-width: 52ch;
}

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

.hero-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

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

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

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

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

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

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  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: 72px 0;
}

.section-header {
  margin-bottom: 36px;
  max-width: 640px;
}

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

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

.section-note {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--accent-muted);
  border: 1px solid var(--accent-soft);
  font-size: 13px;
  color: var(--accent);
}

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

.service-card {
  padding: 20px;
  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.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-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-muted);
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  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.85fr 1.15fr;
  gap: 24px;
  align-items: start;
}

.conditioner-visual {
  grid-row: 1 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.conditioner-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}

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

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

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

.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-bottom: 14px;
}

.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: 28px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--accent), #1e40af);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

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

.conditioner-aside h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.conditioner-aside p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.55;
}

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

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

.diagnostics-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  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;
}

.diagnostics-aside .section-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

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

.diagnostics-aside h3 {
  margin-top: 20px;
}

.diagnostics-aside .btn {
  margin-bottom: 28px;
}

.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: 24px;
  align-items: center;
  padding: 28px;
  margin-bottom: 36px;
  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-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.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;
}

.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: 16px 18px;
  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;
}

.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-rows .value {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

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

.promo-card {
  position: relative;
  padding: 24px;
  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 {
  font-size: 12px;
  font-weight: 600;
  color: var(--success);
}

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

.vacancy-card {
  padding: 24px;
  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: 18px;
}

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

.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);
}

/* Contacts */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.contacts-panel h3 {
  margin: 0 0 20px;
  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: 280px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-photo {
  width: 100%;
  height: 100%;
  min-height: 280px;
  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 */
.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-card);
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
}

.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);
}

/* 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) {
  .nav-desktop,
  .header-cta .btn-ghost {
    display: none;
  }

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

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

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

  .conditioner-visual img {
    min-height: 220px;
  }

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

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

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

@media (max-width: 600px) {
  .hero {
    padding-bottom: 48px;
  }

  .section {
    padding: 52px 0;
  }

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

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