/*
Theme Name: Быт-Климат
Theme URI: http://bytklimat.ru
Description: Корпоративная тема для компании Быт-Климат — автоматизация отопления
Author: Быт-Климат
Version: 2.0
*/

/* ═══════════════════════════════════════
   VARIABLES & RESET
═══════════════════════════════════════ */
:root {
  --orange:      #e8622a;
  --orange-dark: #c9521f;
  --orange-light:#fff3ee;
  --orange-mid:  rgba(232,98,42,.12);
  --dark:        #0f1923;
  --dark2:       #1c2b3a;
  --gray:        #4a5568;
  --gray-light:  #718096;
  --border:      #e8ecf0;
  --bg:          #f7f9fc;
  --white:       #ffffff;
  --shadow-sm:   0 2px 8px rgba(15,25,35,.06);
  --shadow-md:   0 8px 32px rgba(15,25,35,.10);
  --shadow-lg:   0 20px 60px rgba(15,25,35,.14);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --font:        'Manrope', Arial, sans-serif;
  --transition:  .25s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 72px;
}

a { color: var(--orange); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange-dark); }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-logo-img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

@media (max-width: 480px) {
  .logo-img { height: 30px; }
}

nav { flex: 1; display: flex; justify-content: center; }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  color: var(--gray);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--orange);
  background: var(--orange-light);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -.01em;
}

.nav-phone:hover { color: var(--orange); }

.btn-calc {
  background: linear-gradient(135deg, var(--orange), #ff7540);
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font);
  box-shadow: 0 4px 14px rgba(232,98,42,.35);
  transition: all var(--transition);
}

.btn-calc:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  box-shadow: 0 6px 20px rgba(232,98,42,.45);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero {
  background: linear-gradient(155deg, #0f1923 0%, #1c2b3a 55%, #0f2030 100%);
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 50%, rgba(232,98,42,.12) 0%, transparent 60%),
    radial-gradient(ellipse 400px 400px at 10% 80%, rgba(232,98,42,.07) 0%, transparent 50%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232,98,42,.18);
  border: 1px solid rgba(232,98,42,.35);
  color: #ffaa80;
  padding: 8px 18px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 58px;
  font-weight: 900;
  color: #fff;
  line-height: 1.02;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.hero h1 em {
  color: var(--orange);
  font-style: normal;
  display: inline-block;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.65);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-checks {
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-bottom: 36px;
  list-style: none;
}

.hero-checks li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: rgba(255,255,255,.85);
}

.check-icon {
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--orange), #ff7540);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(232,98,42,.4);
}

.hero-btns {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.btn-main {
  background: linear-gradient(135deg, var(--orange), #ff7540);
  color: #fff;
  border: none;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font);
  box-shadow: 0 6px 20px rgba(232,98,42,.4);
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-main:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  box-shadow: 0 8px 28px rgba(232,98,42,.5);
  transform: translateY(-2px);
}

.btn-link {
  color: rgba(255,255,255,.75);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition);
}

.btn-link:hover { color: #fff; }

.hero-stats {
  display: flex;
  gap: 28px;
  font-size: 13px;
  color: rgba(255,255,255,.45);
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
}

/* Hero right */
.hero-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stat-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
}

.stat-card:hover {
  background: rgba(255,255,255,.11);
  border-color: rgba(232,98,42,.3);
}

.stat-num {
  font-size: 30px;
  font-weight: 900;
  color: var(--orange);
  letter-spacing: -.02em;
}

.stat-txt {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  margin-top: 3px;
}

.phone-card {
  background: linear-gradient(135deg, var(--orange), #ff7540);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 8px 28px rgba(232,98,42,.4);
}

.phone-icon {
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 22px;
}

.phone-num {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}

.phone-hours {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 2px;
}

/* ═══════════════════════════════════════
   SECTIONS
═══════════════════════════════════════ */
.section {
  padding: 80px 0;
}

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

.section-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 36px;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 10px;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.section-sub {
  font-size: 16px;
  color: var(--gray-light);
  margin-bottom: 48px;
  line-height: 1.6;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.section-header-row .section-title { margin-bottom: 0; }
.section-header-row .section-sub { margin-top: 6px; margin-bottom: 0; }

.btn-link-orange {
  font-size: 14px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: 2px solid var(--orange-mid);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.btn-link-orange:hover {
  background: var(--orange-light);
  border-color: var(--orange);
}

/* ═══════════════════════════════════════
   SERVICES GRID
═══════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.services-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), #ff8c5a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(232,98,42,.25);
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* убираем старый emoji-стиль */
.service-icon { display: none; }

/* SVG иконки для карточек услуг */
.svc-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}
.svc-icon svg { width: 26px; height: 26px; }

.svc-icon--orange { background: linear-gradient(135deg,#fff3ee,#ffe0d0); color: var(--orange); }
.svc-icon--blue   { background: linear-gradient(135deg,#eff6ff,#dbeafe); color: #3b82f6; }
.svc-icon--cyan   { background: linear-gradient(135deg,#ecfeff,#cffafe); color: #06b6d4; }
.svc-icon--yellow { background: linear-gradient(135deg,#fffbeb,#fef3c7); color: #f59e0b; }
.svc-icon--teal   { background: linear-gradient(135deg,#f0fdfa,#ccfbf1); color: #14b8a6; }
.svc-icon--purple { background: linear-gradient(135deg,#faf5ff,#ede9fe); color: #8b5cf6; }

.service-card h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--dark);
  letter-spacing: -.01em;
}

.service-card p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  text-decoration: none;
  margin-top: 18px;
  transition: gap var(--transition);
  letter-spacing: .01em;
}

.service-link:hover { gap: 10px; }

.service-list { margin: 12px 0 0; list-style: none; }
.service-list li {
  padding: 6px 0;
  color: var(--gray);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
}
.service-list li:last-child { border: none; }

/* ═══════════════════════════════════════
   HOW WE WORK
═══════════════════════════════════════ */
.how-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0;
  align-items: start;
  margin-top: 56px;
  position: relative;
}

.how-step {
  text-align: center;
  padding: 0 16px;
}

.how-num {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--orange), #ff7540);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 6px 20px rgba(232,98,42,.35);
  position: relative;
  z-index: 1;
}

.how-step h3 {
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 10px;
  color: var(--dark);
}

.how-step p {
  color: var(--gray-light);
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
}

.how-arrow {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 18px;
  color: var(--orange);
  opacity: .6;
}
.how-arrow svg {
  width: 48px;
  height: 48px;
  margin-top: 8px;
}

/* ═══════════════════════════════════════
   WHY US
═══════════════════════════════════════ */
.adv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.adv-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.adv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(232,98,42,.2);
}

.adv-card:nth-child(even) {
  background: linear-gradient(135deg, #fff8f5, #fff);
  border-color: rgba(232,98,42,.15);
}

.adv-icon-wrap {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, var(--orange), #ff7540);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(232,98,42,.3);
}
.adv-icon-wrap svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.adv-icon { font-size: 28px; flex-shrink: 0; }

.adv-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.adv-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 10px;
  letter-spacing: -.01em;
}

.adv-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

.adv-stat {
  display: inline-block;
  margin-top: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, var(--orange-light), #ffe8de);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  color: var(--orange-dark);
  border: 1px solid rgba(232,98,42,.2);
}

/* ═══════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.port-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all var(--transition);
}

.port-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(232,98,42,.2);
}

.port-slider {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  aspect-ratio: 16/10;
  width: 100%;
  max-width: 100%;
}

.port-slider-track {
  display: flex;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
  height: 100%;
  width: 100%;
}

.port-slider-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15,25,35,.55);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all var(--transition);
  line-height: 1;
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: linear-gradient(135deg, var(--orange), #ff7540);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.slider-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all var(--transition);
}

.slider-dot.active {
  background: #fff;
  transform: scale(1.3);
}

.port-body {
  padding: 22px 24px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.port-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.port-date { font-size: 12px; color: #aaa; }
.port-photo-count { font-size: 12px; color: #bbb; }

.port-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.port-tag {
  background: var(--orange-light);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(232,98,42,.2);
}

.port-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.35;
  margin-bottom: 12px;
}

.port-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
  flex: 1;
}

.port-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.5;
}

.port-bullets li::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--orange-mid);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3 7 5.5 9.5 11 4' stroke='%23e8622a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.port-stats {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-bottom: 14px;
}

.port-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
  border-right: 1px solid var(--border);
}

.port-stat:last-child { border-right: none; }
.port-stat--wide { flex: 2; }

.port-stat-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 3px;
}

.port-stat-lbl {
  font-size: 10px;
  color: var(--gray-light);
  text-transform: uppercase;
  letter-spacing: .5px;
  line-height: 1.3;
}

.port-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

/* port-title */
.port-title { font-size: 17px; font-weight: 700; color: #1a1a1a; margin: 8px 0 6px; line-height: 1.35; }

/* port-bullets */
.port-bullets { list-style: none; padding: 0; margin: 6px 0 10px; }
.port-bullets li { position: relative; padding-left: 18px; font-size: 13.5px; color: #444; line-height: 1.5; margin-bottom: 4px; }
.port-bullets li::before { content: '✓'; position: absolute; left: 0; color: #e8622a; font-weight: 700; }

/* port-stats */
.port-stats { display: flex; gap: 20px; align-items: flex-start; padding: 10px 0 4px; border-top: 1px solid #eee; margin-top: 8px; }
.port-stat { display: flex; flex-direction: column; }
.port-stat-num { font-size: 22px; font-weight: 700; color: #1a1a1a; line-height: 1; }
.port-stat-dev { font-size: 13px; font-weight: 700; color: #1a1a1a; line-height: 1.2; }
.port-stat-label { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

.port-cta a {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, var(--orange), #ff7540);
  color: #fff;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 700;
  transition: all var(--transition);
  box-shadow: 0 4px 14px rgba(232,98,42,.3);
}

.port-cta a:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  box-shadow: 0 6px 20px rgba(232,98,42,.45);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   CTA SECTION
═══════════════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, #0f1923 0%, #1c2b3a 60%, #0f2030 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 700px 400px at 50% 100%, rgba(232,98,42,.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section .container { position: relative; z-index: 1; }

.cta-section h2 {
  font-size: 40px;
  font-weight: 900;
  margin-bottom: 16px;
  letter-spacing: -.02em;
}

.cta-section p {
  font-size: 17px;
  color: rgba(255,255,255,.6);
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.55);
  padding: 60px 0 28px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-about p {
  font-size: 14px;
  line-height: 1.75;
  margin-top: 16px;
  color: rgba(255,255,255,.45);
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  color: rgba(255,255,255,.9);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-col a {
  color: rgba(255,255,255,.5);
  font-size: 14px;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--orange); }

.footer-contacts p { font-size: 14px; margin-bottom: 10px; line-height: 1.5; }
.footer-contacts a { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,.3);
}

.footer-bottom a { color: rgba(255,255,255,.4); font-size: 13px; }
.footer-bottom a:hover { color: var(--orange); }

/* ═══════════════════════════════════════
   POPUP
═══════════════════════════════════════ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10,16,24,.75);
  backdrop-filter: blur(6px);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.popup-overlay.open { display: flex; }

.popup-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  max-width: 460px;
  width: 100%;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,.35);
  animation: popupIn .2s ease;
}

@keyframes popupIn {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  line-height: 1;
}

.popup-close:hover { background: #ffe4d9; color: var(--orange); }

.popup-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 8px;
  color: var(--dark);
  letter-spacing: -.01em;
}

.popup-subtitle {
  font-size: 14px;
  color: var(--gray-light);
  margin-bottom: 28px;
}

.popup-field {
  margin-bottom: 16px;
}

.popup-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--gray);
}

.popup-field input,
.popup-field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
  outline: none;
  background: var(--bg);
  color: var(--dark);
  transition: border-color var(--transition);
}

.popup-field input:focus,
.popup-field select:focus {
  border-color: var(--orange);
  background: #fff;
}

.popup-submit {
  width: 100%;
  background: linear-gradient(135deg, var(--orange), #ff7540);
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 6px;
  font-family: var(--font);
  box-shadow: 0 6px 20px rgba(232,98,42,.35);
  transition: all var(--transition);
}

.popup-submit:hover {
  background: linear-gradient(135deg, var(--orange-dark), var(--orange));
  box-shadow: 0 8px 28px rgba(232,98,42,.45);
  transform: translateY(-1px);
}

.popup-note {
  font-size: 12px;
  color: #bbb;
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.popup-note a { color: var(--orange); }

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about-text p { color: var(--gray); line-height: 1.85; margin-bottom: 18px; font-size: 16px; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ═══════════════════════════════════════
   REVIEWS PAGE
═══════════════════════════════════════ */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition);
}
.review-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.review-stars { color: #f59e0b; font-size: 18px; letter-spacing: 3px; }
.review-text { color: var(--gray); line-height: 1.75; font-size: 15px; flex: 1; margin: 0; font-style: italic; }
.review-name { font-weight: 800; color: var(--dark); font-size: 15px; }
.review-date { font-size: 13px; color: #bbb; margin-top: 2px; }

/* ═══════════════════════════════════════
   STEPS (SERVICES PAGE)
═══════════════════════════════════════ */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.step-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-num {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--orange), #ff7540);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 900;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(232,98,42,.3);
}
.step-card h3 { font-size: 17px; font-weight: 800; margin: 0 0 10px; color: var(--dark); }
.step-card p { color: var(--gray-light); font-size: 14px; line-height: 1.65; margin: 0; }

/* ═══════════════════════════════════════
   CONTACTS PAGE
═══════════════════════════════════════ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 48px; }
.contacts-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon { font-size: 30px; flex-shrink: 0; }
.contact-label { font-size: 11px; color: #bbb; text-transform: uppercase; letter-spacing: .7px; margin-bottom: 5px; }
.contact-val { font-size: 16px; font-weight: 700; color: var(--dark); text-decoration: none; display: block; }
.contact-val:hover { color: var(--orange); }
.contact-hint { font-size: 13px; color: #aaa; margin-top: 3px; }
.contacts-form-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.contacts-form-title { font-size: 22px; font-weight: 900; margin-bottom: 24px; color: var(--dark); }
.contacts-form .popup-field { margin-bottom: 16px; }
.contacts-form textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: 15px;
  resize: vertical;
  box-sizing: border-box;
  background: var(--bg);
  color: var(--dark);
  outline: none;
  transition: border-color var(--transition);
}
.contacts-form textarea:focus { border-color: var(--orange); background: #fff; }
.map-container { margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

/* ── Privacy page ── */
.privacy-wrap { max-width: 780px; margin: 0 auto; }
.privacy-date { font-size: 14px; color: var(--gray-light); margin: 8px 0 40px; }
.privacy-body h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 36px 0 12px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}
.privacy-body h2:first-child { border-top: none; padding-top: 0; margin-top: 0; }
.privacy-body p { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 12px; }
.privacy-body ul { margin: 12px 0 16px 20px; }
.privacy-body ul li { font-size: 15px; color: var(--gray); line-height: 1.8; margin-bottom: 6px; }
.privacy-body a { color: var(--orange); }

/* ═══════════════════════════════════════
   BURGER BUTTON
═══════════════════════════════════════ */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition);
}

.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all var(--transition);
  transform-origin: center;
}

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

/* Mobile nav overlay — скрыт по умолчанию */
.nav-overlay { display: none; }

.nav-overlay.open { display: block; }

.nav-mobile-footer {
  display: none;
}

/* ═══════════════════════════════════════
   RESPONSIVE — 1024px
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr 360px; gap: 40px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid .footer-contacts { grid-column: 1 / -1; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 900px (таблет)
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero h1 { font-size: 44px; }
  .hero { padding: 56px 0 48px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid .footer-contacts { grid-column: auto; }

  .services-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .adv-grid { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr 1fr; gap: 28px; }
  .how-arrow { display: none; }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: box-shadow var(--transition);
}

.team-card:hover {
  box-shadow: var(--shadow-md);
}

.team-card--founder {
  grid-column: span 2;
  background: linear-gradient(135deg, #0f1923 0%, #1c2b3a 100%);
  border-color: transparent;
  color: #fff;
}

.team-card--founder .team-role { color: rgba(255,255,255,.6); }
.team-card--founder .team-desc { color: rgba(255,255,255,.8); }

.team-avatar {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
}

.team-avatar svg { width: 100%; height: 100%; }
.team-avatar--photo { width: 140px; height: 140px; }
.team-avatar--photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.team-card--founder .team-avatar--photo { width: 160px; height: 160px; }

.team-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(232,98,42,.15);
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.team-badge--blue   { background: rgba(74,144,217,.15); color: #4A90D9; }
.team-badge--purple { background: rgba(123,97,255,.15); color: #7B61FF; }
.team-badge--green  { background: rgba(39,174,96,.15);  color: #27AE60; }

.team-name { font-size: 18px; font-weight: 700; margin: 0 0 4px; }
.team-role { font-size: 13px; color: var(--gray); margin-bottom: 10px; }
.team-desc { font-size: 14px; line-height: 1.6; color: var(--text); margin: 0; }

.team-card--founder .team-name { color: #fff; }

/* ═══════════════════════════════════════
   RESPONSIVE — 768px (мобильный)
═══════════════════════════════════════ */
@media (max-width: 768px) {

  /* Nav: скрыть десктопные элементы, показать бургер */
  .site-header { height: 64px; }
  body { padding-top: 64px; }
  .nav-phone { display: none; }
  .btn-calc  { display: none; }
  .burger    { display: flex; }

  /* Мобильное меню — drawer справа */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 85vw);
    height: 100dvh;
    background: #fff;
    z-index: 10000;
    padding: 0;
    box-shadow: -4px 0 24px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform .28s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
  }

  .nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    height: 64px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
  }

  .nav-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
  }

  .nav-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    color: var(--dark);
  }

  .nav-close svg {
    width: 20px;
    height: 20px;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  /* Оверлей */
  body.nav-open .nav-overlay {
    display: block;
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,.5);
    z-index: 9999;
  }

  /* Запрет скролла страницы при открытом меню */
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { touch-action: pan-y; }

  .main-nav .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    list-style: none;
    padding: 16px 20px 0;
    margin: 0;
  }

  .main-nav .nav-links a {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a2e;
    padding: 11px 0;
    border-bottom: 1px solid #eee;
    white-space: normal;
  }

  .main-nav .nav-links a:hover {
    color: var(--orange);
    background: none;
  }

  .nav-mobile-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px 32px;
  }

  .nav-mobile-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    padding: 13px;
    background: #f7f8fa;
    border-radius: 10px;
    border: 1.5px solid #e8e8e8;
    text-decoration: none;
  }

  .nav-mobile-footer .btn-main {
    width: 100%;
    text-align: center;
  }

  /* Team */
  .team-grid { grid-template-columns: 1fr; }
  .team-card--founder { grid-column: span 1; }
  .team-card { flex-direction: column; gap: 14px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 15px; margin-bottom: 32px; }

  /* Hero */
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 36px; letter-spacing: -.02em; }
  .hero-badge { font-size: 12px; padding: 7px 14px; }
  .hero-sub { font-size: 15px; }
  .hero-checks li { font-size: 14px; }
  .hero-btns { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn-main { text-align: center; padding: 15px 24px; }
  .btn-link { justify-content: center; }
  .hero-stats { gap: 16px; font-size: 12px; flex-wrap: wrap; }

  /* CTA */
  .cta-section { padding: 56px 0; }
  .cta-section h2 { font-size: 28px; }
  .cta-section p { font-size: 15px; }

  /* Portfolio */
  .portfolio-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}

/* ═══════════════════════════════════════
   RESPONSIVE — 480px (маленький мобильный)
═══════════════════════════════════════ */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .hero h1 { font-size: 30px; }
  .hero { padding: 36px 0 32px; }
  .hero-stats { padding-top: 16px; }

  .section { padding: 40px 0; }
  .section-title { font-size: 24px; }

  .services-grid-3 { grid-template-columns: 1fr; }
  .how-steps { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .adv-card { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .section-header-row { flex-direction: column; align-items: flex-start; }

  /* Service cards компактнее */
  .service-card { padding: 24px 20px; }
  .how-step { padding: 0; }

  /* Popup */
  .popup-box { padding: 28px 20px; border-radius: var(--radius-md); }
  .popup-title { font-size: 20px; }

  /* Телефон в футере — крупнее для тапа */
  .footer-contacts a { font-size: 16px; }

  /* CTA */
  .cta-section h2 { font-size: 24px; }
  .cta-section p { font-size: 14px; }
}

/* ═══════════════════════════════════════
   О КОМПАНИИ — about hero
═══════════════════════════════════════ */
.about-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #1a3a50 100%);
  padding: 80px 0 72px;
  color: var(--white);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-hero-left .section-label { color: rgba(255,255,255,.55); }

.about-hero-left h1 {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: var(--white);
  margin: 12px 0 20px;
}

.about-hero-left h1 em {
  font-style: normal;
  color: var(--orange);
}

.about-hero-left > p {
  color: rgba(255,255,255,.72);
  font-size: 16px;
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 460px;
}

.about-hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--white);
  border: 2px solid rgba(255,255,255,.35);
  border-radius: 50px;
  background: transparent;
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-outline:hover {
  color: var(--white);
  border-color: var(--white);
  background: rgba(255,255,255,.1);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.about-stat-item {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.about-stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-txt {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   О КОМПАНИИ — история / таймлайн
═══════════════════════════════════════ */
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-story-text p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-story-text p:last-child { margin-bottom: 0; }

.about-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-left: 24px;
  border-left: 2px solid var(--border);
}

.timeline-item {
  position: relative;
  padding: 0 0 28px 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -9px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}

.timeline-year {
  font-size: 13px;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.timeline-text {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   О КОМПАНИИ — сертификаты
═══════════════════════════════════════ */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.cert-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: box-shadow var(--transition), border-color var(--transition);
}

.cert-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.cert-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--orange-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--orange);
}

.cert-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.cert-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.55;
}

/* ═══════════════════════════════════════
   УСЛУГИ — детальные карточки
═══════════════════════════════════════ */
.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-detail-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.sdc-head {
  padding: 28px 24px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sdc-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.sdc-price {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  background: var(--orange-mid);
  border-radius: 20px;
  padding: 5px 12px;
  display: inline-block;
  width: fit-content;
}

.sdc-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sdc-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

.sdc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.sdc-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--gray);
  line-height: 1.5;
}

.sdc-list li svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  stroke: var(--orange);
  margin-top: 2px;
}

.sdc-btn {
  margin: 0 24px 24px;
  display: block;
  width: calc(100% - 48px);
  padding: 13px 20px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.sdc-btn:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════
   АДАПТИВ — О компании / Услуги
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .about-hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-hero-left h1 { font-size: 36px; }
  .about-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .about-stat-num { font-size: 32px; }
  .about-story-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .about-hero { padding: 56px 0 48px; }
  .about-hero-left h1 { font-size: 30px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-stat-item { padding: 20px 16px; }
  .about-stat-num { font-size: 28px; }
  .about-hero-btns { flex-direction: column; }
  .btn-outline { text-align: center; justify-content: center; }
  .services-detail-grid { grid-template-columns: 1fr; }
  .certs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .about-hero-left h1 { font-size: 26px; }
  .about-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .about-stat-num { font-size: 24px; }
  .cert-card { flex-direction: column; gap: 14px; }
}

/* ═══════════════════════════════════════
   УСЛУГИ — полные карточки (svc-full)
═══════════════════════════════════════ */
.svc-badge-label {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.svc-full-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.svc-full-card--reverse { direction: rtl; }
.svc-full-card--reverse > * { direction: ltr; }

.svc-full-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.svc-full-icon svg { width: 30px; height: 30px; }

.svc-full-icon--orange { background: rgba(232,98,42,.12); }
.svc-full-icon--orange svg { stroke: var(--orange); }
.svc-full-icon--blue   { background: rgba(59,130,246,.12); }
.svc-full-icon--blue svg { stroke: #3b82f6; }
.svc-full-icon--teal   { background: rgba(20,184,166,.12); }
.svc-full-icon--teal svg { stroke: #14b8a6; }
.svc-full-icon--cyan   { background: rgba(6,182,212,.12); }
.svc-full-icon--cyan svg { stroke: #06b6d4; }
.svc-full-icon--yellow { background: rgba(234,179,8,.12); }
.svc-full-icon--yellow svg { stroke: #ca8a04; }
.svc-full-icon--purple { background: rgba(139,92,246,.12); }
.svc-full-icon--purple svg { stroke: #8b5cf6; }

.svc-full-left h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: -.02em;
}

.svc-full-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 16px !important;
}

.svc-full-price span {
  font-size: 13px;
  font-weight: 400;
  color: var(--gray-light);
  margin-left: 6px;
}

.svc-full-left > p {
  color: var(--gray);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 24px;
}

.svc-full-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.svc-full-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--dark);
}

.svc-full-list li::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--orange-mid);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='4 9 7 12 14 5' stroke='%23e8622a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.svc-full-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Results / stats side block */
.svc-results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.svc-result-item {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
}

.svc-result-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 6px;
}

.svc-result-txt {
  font-size: 12px;
  color: var(--gray-light);
  line-height: 1.4;
}

/* Steps mini */
.svc-steps { background: var(--bg); border-radius: var(--radius-md); padding: 24px; }

.svc-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--dark);
  font-weight: 500;
}

.svc-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Suitable for */
.svc-suitable {
  background: var(--bg);
  border-radius: var(--radius-md);
  padding: 28px;
}

.svc-suitable-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-suitable-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: var(--dark);
  line-height: 1.5;
}

.svc-suitable-list li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--orange);
  margin-top: 1px;
}

/* Objects grid */
.svc-objects { background: var(--bg); border-radius: var(--radius-md); padding: 28px; }

.svc-objects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.svc-object-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.svc-object-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--orange);
  flex-shrink: 0;
}

/* Reaction times */
.svc-reaction { background: var(--bg); border-radius: var(--radius-md); padding: 28px; }

.svc-reaction-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.svc-reaction-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.svc-reaction-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  min-width: 64px;
}

.svc-reaction-txt {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.4;
}

/* ═══════════════════════════════════════
   УСЛУГИ — пакеты
═══════════════════════════════════════ */
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pkg-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: box-shadow var(--transition);
}

.pkg-card:hover { box-shadow: var(--shadow-md); }

.pkg-card--featured {
  border-color: var(--orange);
  box-shadow: var(--shadow-md);
}

.pkg-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: 20px;
  white-space: nowrap;
}

.pkg-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 6px;
}
.pkg-desc {
  font-size: 14px;
  color: var(--gray);
  margin-bottom: 12px;
  line-height: 1.4;
}

.pkg-price {
  font-size: 28px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 4px;
}

.pkg-note {
  font-size: 12px;
  color: var(--gray-light);
  margin-bottom: 24px;
}

.pkg-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pkg-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--dark);
}

.pkg-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--orange-mid);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='3 8 6 11 13 4' stroke='%23e8622a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.pkg-btn {
  width: 100%;
  padding: 14px;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--white);
  background: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition);
}

.pkg-btn:hover { background: var(--orange-dark); border-color: var(--orange-dark); }

.pkg-btn--outline {
  color: var(--orange);
  background: transparent;
}

.pkg-btn--outline:hover { background: var(--orange); color: var(--white); }

/* ═══════════════════════════════════════
   FAQ
═══════════════════════════════════════ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-q:hover { color: var(--orange); }

.faq-q svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  stroke: var(--gray-light);
  transition: transform var(--transition);
}

.faq-q.open { color: var(--orange); }
.faq-q.open svg { transform: rotate(180deg); stroke: var(--orange); }

.faq-a {
  display: none;
  padding: 0 0 20px 0;
  font-size: 15px;
  color: var(--gray);
  line-height: 1.7;
}

.faq-a.open { display: block; }

/* ═══════════════════════════════════════
   КАТАЛОГ
═══════════════════════════════════════ */
.catalog-hero {
  background: var(--bg);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--border);
}

.catalog-hero h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--dark);
  margin: 10px 0 12px;
  letter-spacing: -.03em;
}

.catalog-hero p {
  font-size: 17px;
  color: var(--gray);
}

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

.catalog-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.catalog-img-wrap {
  position: relative;
  background: #f8f9fa;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.catalog-img-wrap img {
  max-width: 85%;
  max-height: 85%;
  width: auto;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: contrast(1.02);
}

.catalog-img-placeholder {
  width: 80px;
  height: 80px;
  color: var(--gray-light);
}

.catalog-img-placeholder svg { width: 80px; height: 80px; }

.catalog-brand {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 4px 10px;
  border-radius: 12px;
}

.catalog-brand--myheat {
  background: rgba(59,130,246,.12);
  color: #3b82f6;
}

.catalog-brand--zont {
  background: var(--orange-mid);
  color: var(--orange);
}

.catalog-body {
  padding: 20px 20px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.catalog-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.catalog-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
  flex: 1;
  margin-bottom: 16px;
}

.catalog-price {
  font-size: 22px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.catalog-btn {
  width: 100%;
  padding: 13px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--white);
  background: var(--orange);
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--transition);
}

.catalog-btn:hover { background: var(--orange-dark); }

/* Catalog more banner */
.catalog-more-banner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

.catalog-more-banner h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.catalog-more-banner p {
  font-size: 15px;
  color: rgba(255,255,255,.7);
  line-height: 1.65;
  max-width: 540px;
}

.catalog-more-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: center;
  min-width: 220px;
}

.catalog-more-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

.catalog-more-phone:hover { color: var(--orange); }

.catalog-more-phone svg { width: 20px; height: 20px; stroke: var(--orange); flex-shrink: 0; }

/* ═══════════════════════════════════════
   АДАПТИВ — Услуги / Каталог
═══════════════════════════════════════ */
@media (max-width: 900px) {
  .svc-full-card,
  .svc-full-card--reverse { grid-template-columns: 1fr; gap: 32px; direction: ltr; }
  .svc-full-left h2 { font-size: 26px; }
  .pkg-grid { grid-template-columns: 1fr; max-width: 480px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-more-banner { grid-template-columns: 1fr; gap: 28px; padding: 32px 28px; }
  .catalog-more-right { align-items: flex-start; }
  .svc-objects-grid { grid-template-columns: 1fr; }
  .svc-results-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
  .svc-full-left h2 { font-size: 22px; }
  .catalog-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .catalog-hero h1 { font-size: 30px; }
  .pkg-grid { grid-template-columns: 1fr; }
  .svc-results-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .catalog-grid { grid-template-columns: 1fr; }
  .catalog-more-banner { padding: 24px 20px; }
  .catalog-hero h1 { font-size: 26px; }
  .svc-full-price { font-size: 18px; }
  .pkg-price { font-size: 24px; }
}

/* ═══════════════════════════════════════
   MOBILE FIXES — общие
═══════════════════════════════════════ */

/* Запрет горизонтального скролла */
body { overflow-x: hidden; }

/* Слайдер портфолио */
.port-card { overflow: hidden; }
.port-slider img { max-width: 100%; }

/* Каталог — меню не выезжает */
@media (max-width: 768px) {
  /* Header фиксируем высоту */
  .site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .logo { min-width: 0; flex-shrink: 1; }
  .logo-img { height: 30px; max-width: 160px; }

  /* Убираем оверфлоу на секциях */
  .section, .about-hero, .catalog-hero { overflow: hidden; }

  /* svc-full — одна колонка без direction rtl */
  .svc-full-card--reverse { direction: ltr; }

  /* Пакеты — по центру */
  .pkg-grid { margin: 0 auto; max-width: 100%; }

  /* Каталог more banner — стек */
  .catalog-more-banner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .catalog-more-right { align-items: center; }

  /* Footer одна колонка */
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Портфолио карточки */
  .port-stats { flex-wrap: wrap; }
  .port-stat { min-width: 0; }
  .port-stat--wide { flex: 1 1 100%; border-right: none; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; }

  /* Popup на мобильном — полный экран снизу */
  .popup-box {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 90vh;
    overflow-y: auto;
  }
  .popup-overlay { align-items: flex-end; }

  /* Реакция на услугах */
  .svc-reaction-items { gap: 10px; }
  .svc-objects-grid { grid-template-columns: 1fr 1fr; }

  /* Результаты ZONT */
  .svc-results-grid { grid-template-columns: 1fr 1fr; }

  /* FAQ */
  .faq-q { font-size: 15px; }
}

/* ── Фотолента на главной ── */
.home-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 8px; }
.home-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; cursor: pointer; transition: transform .25s, box-shadow .25s; }
.home-gallery img:hover { transform: scale(1.03); box-shadow: 0 8px 24px rgba(15,25,35,.18); }
@media (max-width: 900px) { .home-gallery { grid-template-columns: repeat(3, 1fr); gap: 8px; } }
@media (max-width: 600px) { .home-gallery { grid-template-columns: repeat(2, 1fr); } }

/* ── География: города ── */
.geo-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.geo-city { background: var(--white); border: 1px solid var(--border); border-radius: 999px; padding: 10px 18px; font-size: 15px; font-weight: 600; color: var(--dark); }
.geo-city--more { background: transparent; border-style: dashed; color: var(--gray-light); font-weight: 500; }
.geo-note { margin-top: 20px; font-size: 15px; color: var(--gray); }
.geo-note a { color: var(--orange); font-weight: 600; text-decoration: none; }

/* ── Telegram ── */
.nav-tg { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: #229ed9; flex-shrink: 0; }
.nav-tg svg { width: 20px; height: 20px; fill: #fff; }
.nav-tg:hover { background: #1b8dc4; }
.nav-mobile-tg { display: block; text-align: center; padding: 12px; margin: 10px 0; border-radius: 10px; background: #229ed9; color: #fff; font-weight: 600; text-decoration: none; }
.float-tg { position: fixed; right: 20px; bottom: 20px; z-index: 9990; width: 56px; height: 56px; border-radius: 50%; background: #229ed9; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 20px rgba(34,158,217,.45); transition: transform .2s; }
.float-tg:hover { transform: scale(1.08); }
.float-tg svg { width: 30px; height: 30px; fill: #fff; }
@media (max-width: 600px) { .float-tg { right: 14px; bottom: 14px; width: 52px; height: 52px; } }

/* ── CTA: кнопки в ряд ── */
.cta-btns { display: flex; gap: 14px; justify-content: center; align-items: center; flex-wrap: wrap; }
.btn-tg { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border-radius: 10px; background: #229ed9; color: #fff; font-weight: 700; font-size: 16px; text-decoration: none; transition: background .2s; }
.btn-tg:hover { background: #1b8dc4; }
.btn-tg svg { width: 22px; height: 22px; fill: #fff; }

/* ── Hero: фото-карточка реального объекта ── */
.hero-right { min-width: 0; }
.hero-photo-card { position: relative; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,.45); min-width: 0; }
.hero-photo-card img { width: 100%; height: 400px; object-fit: cover; display: block; min-width: 0; max-width: 100%; }
.hpc-badge { position: absolute; top: 14px; left: 14px; background: var(--orange); color: #fff; font-weight: 700; font-size: 13px; padding: 7px 14px; border-radius: 999px; }
.hpc-stats { position: absolute; left: 0; right: 0; bottom: 0; display: flex; gap: 8px; padding: 14px; background: linear-gradient(transparent, rgba(15,25,35,.92)); color: #fff; font-size: 13px; }
.hpc-stats span { background: rgba(255,255,255,.12); backdrop-filter: blur(4px); border-radius: 10px; padding: 8px 10px; flex: 1; text-align: center; }
.hpc-stats b { display: block; font-size: 17px; color: #ffb08a; }
@media (max-width: 900px) {
  .hero-right { display: flex; margin-top: 28px; }
  .hero-photo-card img { height: 260px; }
}

/* ── Hero: анимированный виджет приложения ── */
.hero-app-demo { position: relative; background: linear-gradient(160deg, #1c2b3a, #16222f); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 26px 24px 22px; box-shadow: 0 20px 50px rgba(0,0,0,.45); overflow: hidden; }
.had-head { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); font-size: 14px; font-weight: 600; }
.had-brand { margin-left: auto; font-size: 11px; letter-spacing: .12em; color: var(--orange); border: 1px solid rgba(232,98,42,.5); border-radius: 6px; padding: 3px 8px; }
.had-dot { width: 9px; height: 9px; border-radius: 50%; background: #4ade80; animation: had-pulse 2s infinite; }
@keyframes had-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(74,222,128,.5); } 50% { box-shadow: 0 0 0 6px rgba(74,222,128,0); } }
.had-temp { color: #fff; font-size: 72px; font-weight: 800; line-height: 1.1; margin-top: 14px; }
.had-deg { font-size: 30px; font-weight: 700; color: rgba(255,255,255,.55); margin-left: 4px; }
.had-target { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.65); font-size: 14px; margin-top: 2px; }
.had-flame { width: 18px; height: 18px; color: var(--orange); animation: had-flicker 1.6s infinite; }
@keyframes had-flicker { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .65; transform: scale(.92); } }
.had-zones { margin-top: 20px; display: flex; flex-direction: column; gap: 12px; }
.had-zone { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.had-zone span { color: rgba(255,255,255,.7); width: 108px; flex-shrink: 0; }
.had-zone b { color: #fff; width: 46px; text-align: right; flex-shrink: 0; }
.had-bar { flex: 1; height: 6px; border-radius: 999px; background: rgba(255,255,255,.12); overflow: hidden; }
.had-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--orange), #ffb08a); animation: had-bar 3s ease-in-out infinite alternate; }
@keyframes had-bar { from { transform: translateX(0); } to { transform: translateX(-6%); } }
.had-note { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.55); font-size: 13px; }
.had-notif { position: absolute; top: 14px; left: 14px; right: 14px; background: rgba(15,25,35,.92); border: 1px solid rgba(74,222,128,.4); color: #d7ffe6; font-size: 12.5px; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 8px; opacity: 0; transform: translateY(-16px); animation: had-notif 9s infinite; z-index: 2; backdrop-filter: blur(4px); }
.had-notif-ico { width: 18px; height: 18px; border-radius: 50%; background: #4ade80; color: #0f1923; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
@keyframes had-notif { 0%, 55% { opacity: 0; transform: translateY(-16px); } 60%, 88% { opacity: 1; transform: translateY(0); } 93%, 100% { opacity: 0; transform: translateY(-16px); } }
@media (max-width: 900px) { .had-temp { font-size: 56px; } }
@media (prefers-reduced-motion: reduce) { .had-dot, .had-flame, .had-bar i, .had-notif { animation: none; } .had-notif { opacity: 1; transform: none; } }

/* ── Мобильная панель действий (всегда видна) ── */
.mobile-cta { display: none; }
@media (max-width: 900px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 9995;
    background: rgba(15,25,35,.97); backdrop-filter: blur(10px); padding: 10px 12px;
    gap: 8px; box-shadow: 0 -6px 24px rgba(0,0,0,.28); }
  .mobile-cta a, .mobile-cta button { flex: 1; display: flex; align-items: center; justify-content: center;
    gap: 7px; border: none; border-radius: 12px; padding: 14px 8px; font-size: 15px; font-weight: 700;
    text-decoration: none; font-family: inherit; cursor: pointer; }
  .mc-call { background: linear-gradient(180deg,#ff7d42,#e8622a); color: #fff; }
  .mc-tg { background: #229ed9; color: #fff; flex: 0 0 54px; }
  .mc-form { background: rgba(255,255,255,.14); color: #fff; }
  .mobile-cta svg { width: 19px; height: 19px; fill: currentColor; }
  body { padding-bottom: 74px; }
  .float-tg { bottom: 86px; }
}

/* ── Цена в карточке услуги ── */
.svc-price { display: inline-block; background: var(--orange-light); color: var(--orange-dark);
  font-weight: 800; font-size: 15px; padding: 5px 12px; border-radius: 8px; margin: 6px 0 10px; }

/* ── Отзывы на главной ── */
.home-reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.hr-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.hr-stars { color: #f5a623; font-size: 17px; letter-spacing: 2px; margin-bottom: 12px; }
.hr-text { font-size: 15px; line-height: 1.6; color: var(--gray); flex: 1; }
.hr-name { font-weight: 700; color: var(--dark); margin-top: 16px; }
.hr-date { font-size: 13px; color: var(--gray-light); margin-top: 2px; }
@media (max-width: 900px) { .home-reviews { grid-template-columns: 1fr; gap: 14px; } }

/* ── FAQ на главной ── */
.home-faq { max-width: 820px; margin: 8px auto 0; }
.hf-item { border-bottom: 1px solid var(--border); }
.hf-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; font-size: 17px; font-weight: 700; color: var(--dark);
  padding: 20px 40px 20px 0; position: relative; }
.hf-q::after { content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-size: 24px; color: var(--orange); font-weight: 400; transition: transform .2s; }
.hf-q.open::after { transform: translateY(-50%) rotate(45deg); }
.hf-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; }
.hf-a.open { max-height: 320px; }
.hf-a p { font-size: 15.5px; line-height: 1.65; color: var(--gray); padding: 0 0 20px; }
@media (max-width: 600px) { .hf-q { font-size: 16px; padding: 16px 36px 16px 0; } }

.home-reviews + div .btn-link-orange { display: inline-block; width: auto; padding: 12px 26px;
  border: 1px solid var(--border); border-radius: 10px; background: var(--white); }

/* якоря услуг для рекламы: не прятать заголовок под фиксированной шапкой */
.svc-full-card[id], .service-card[id] { scroll-margin-top: 88px; }
