/* ================================================================
   CityHandyman — Полные стили сайта
   Подключать: <link rel="stylesheet" href="/css/cityhandyman.css">
================================================================ */

/* ── БЛОК 1: Font Awesome font-display ───────────────── */
@font-face { font-family:'Font Awesome 6 Free';   font-weight:900; font-display:swap;
  src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-solid-900.woff2') format('woff2'); }
@font-face { font-family:'Font Awesome 6 Free';   font-weight:400; font-display:swap;
  src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-regular-400.woff2') format('woff2'); }
@font-face { font-family:'Font Awesome 6 Brands'; font-weight:400; font-display:swap;
  src:url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/webfonts/fa-brands-400.woff2') format('woff2'); }

/* ── БЛОК 2: Переменные, сброс, базовые теги ─────────── */
:root {
  --menu-color:      #ebc600;
  --menu-hover:      #ec430f;
  --topbar-text:     #909196;
  --header-bg:       #ffffff;
  --dropdown-bg:     #ffffff;
  --text-dark:       #2c3e50;
  --border:          #e2e2e2;
  --green:           #2ecc40;
  --green-h:         #25a035;
  --font-menu:       'Noto Sans', sans-serif;
  --font-body:       -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --topbar-h:        60px;
  --header-h:        50px;
  --total-h:         110px;
  --hero-dark:       rgba(0,0,0,0.50);
  /* Блок преимуществ */
  --ch-dark:         #2c3e50;
  --ch-orange:       #e67e22;
  --ch-green:        #00C853;
  --ch-text:         #333333;
  --ch-text-light:   #6c757d;
  --ch-bg:           #fafafa;
  --ch-white:        #ffffff;
  /* Карточки услуг */
  --primary:         #2c3e50;
  --accent:          #e67e22;
  --text-light:      #6c757d;
  --bg-card:         #ffffff;
  /* Блок «4 причины» */
  --feature-primary:    #e67e22;
  --feature-text:       #2c3e50;
  --feature-secondary:  #6c757d;
  --feature-spacing:    40px;
  --transition-speed:   0.8s;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--font-body); font-size: 16px; color: var(--text-dark); background: #fff; }
a     { text-decoration: none; color: inherit; }
img   { display: block; }

/* ── БЛОК 3: TOPBAR ──────────────────────────────────── */
.site-topbar {
  height: var(--topbar-h);
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.topbar-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-socials {
  display: flex;
  align-items: center;
  gap: 16px;
}
.topbar-soc {
  font-size: 16px;
  color: var(--topbar-text);
  transition: color .18s;
}
/* FIX топбар: вынесен ниже футера чтобы перебить .footer-bottom a[href]:hover */

.site-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.site-logo img { height: 40px; width: auto; }

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar-ct {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.4px;
  color: var(--topbar-text);
  font-family: var(--font-body);
  transition: color .18s;
}
.topbar-ct i { font-size: 13px; }

/* ── БЛОК 4: HEADER / НАВИГАЦИЯ ──────────────────────── */
.site-header {
  height: var(--header-h);
  background: var(--header-bg);
  box-shadow: rgba(0,0,0,0.10) 0 2px 3px 0;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 99;
}
.header-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.main-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0 -10px;
  padding: 0;
}
.main-nav > .ni { position: relative; }
.main-nav > .ni > a,
.main-nav > .ni > span {
  font-family: var(--font-menu);
  font-size: 18px;
  font-weight: 700;
  color: var(--menu-color);
  padding: 0 10px;
  line-height: var(--header-h);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: color .18s;
  white-space: nowrap;
}
.main-nav > .ni > a:hover,
.main-nav > .ni > span:hover { color: var(--menu-hover) !important; }

.chev { font-size: 10px; opacity: 0.8; transition: transform .18s; }
.ni:hover .chev { transform: rotate(180deg); }

.nav-dd {
  display: none;
  position: absolute;
  top: var(--header-h);
  left: 0;
  background: var(--dropdown-bg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.10);
  min-width: 240px;
  padding: 8px 15px 14px;
  z-index: 200;
}
.ni:hover .nav-dd { display: block; }
.nav-dd a {
  font-family: var(--font-menu);
  font-size: 18px;
  font-weight: 700;
  color: var(--menu-color);
  padding: 8px 0;
  line-height: 1.2;
  display: block;
  transition: color .18s;
}
.nav-dd a:hover { color: var(--menu-hover) !important; }

.nav-right {
  position: absolute;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.flags { display: flex; align-items: center; gap: 3px; }
.flag {
  display: flex;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.55;
  transition: opacity .18s;
  cursor: pointer;
}
.flag:hover, .flag.on { opacity: 1; }
.flag img { width: 26px; height: 18px; object-fit: cover; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  gap: 0;
}
.burger span {
  display: block;
  background: var(--menu-color);
  width: 30px;
  height: 4px;
  margin: 4px 0;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── БЛОК 5: STICKY WRAPPER ──────────────────────────── */
.sticky-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
}

/* ── БЛОК 6: МОБИЛЬНОЕ МЕНЮ ──────────────────────────── */
.mob-menu {
  display: none;
  position: fixed;
  left: 0; right: 0;
  background: var(--header-bg);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  z-index: 998;
  padding-bottom: 20px;
  animation: sd .2s ease;
}
.mob-menu.open { display: block; }

@keyframes sd {
  from { opacity:0; transform:translateY(-6px); }
  to   { opacity:1; transform:translateY(0); }
}

.mob-a {
  display: block;
  padding: 12px 20px;
  font-family: var(--font-menu);
  font-size: 16px;
  font-weight: 700;
  color: var(--menu-color);
  border-bottom: 1px solid var(--border);
  transition: color .15s, background .15s;
}
.mob-a:hover { color: var(--menu-hover) !important; background: rgba(235,198,0,.05); }

.mob-cta {
  display: block;
  margin: 16px 20px 4px;
  padding: 13px;
  background: var(--green);
  color: #fff;
  text-align: center;
  font-family: var(--font-menu);
  font-size: 16px;
  font-weight: 700;
  border-radius: 4px;
  transition: background .2s;
}
.mob-cta:hover { background: var(--green-h) !important; color: #fff !important; }

.mob-flags { display: flex; gap: 10px; padding: 14px 20px 0; }

/* ── БЛОК 7: HERO ────────────────────────────────────── */
.site-hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--total-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.hero-ov {
  position: absolute;
  inset: 0;
  background: var(--hero-dark);
  z-index: 1;
}
.hero-body {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 50px 24px 60px;
}
.hero-h1 {
  font-family: var(--font-menu);
  font-size: clamp(30px, 5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.hero-p {
  font-family: var(--font-body);
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.90);
  line-height: 1.72;
  max-width: 780px;
  margin: 0 auto 26px;
}
.hero-soc {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}
.hs {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  transition: transform .2s, box-shadow .2s;
}
.hs:hover { transform: scale(1.1) !important; box-shadow: 0 6px 20px rgba(0,0,0,.3) !important; color: #fff !important; }
.hs-tg { background: #2CA5E0; }
.hs-wa { background: #25D366; }
.hs-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%,#fd5949 45%,#d6249f 60%,#285AEB 90%); }
.hs-fb { background: #1877F2; }

.hero-btn {
  display: inline-block;
  padding: 16px 70px;
  background: var(--green);
  color: #fff;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  border-radius: 4px;
  transition: background .2s, transform .2s, box-shadow .2s;
}
.hero-btn:hover {
  background: var(--green-h) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 28px rgba(37,160,53,.48) !important;
  color: #fff !important;
}

/* ── БЛОК 8: FAQ ─────────────────────────────────────── */
.faq-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: Arial, sans-serif;
}
.faq-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}
.faq-item:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    background: #f8f9fa;
    transition: background 0.3s ease;
    user-select: none;
}
.faq-question:hover { background: #e9ecef; }
.faq-text {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    padding-right: 15px;
}
.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #007bff;
    min-width: 24px;
    text-align: center;
    transition: transform 0.3s ease;
}
.faq-question.active .faq-toggle { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
    background: #fff;
}
.faq-answer.active { max-height: 1000px; padding: 20px; }
.faq-answer p { margin: 0 0 12px 0; line-height: 1.7; color: #555; font-size: 15px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul, .faq-answer ol { margin: 10px 0 12px 20px; line-height: 1.7; color: #555; }
.faq-answer li { margin-bottom: 8px; }
.faq-answer strong { color: #2c3e50; font-weight: 600; }
.faq-answer a:hover { text-decoration: underline !important; color: inherit !important; }

/* ── БЛОК 9: ОТЗЫВЫ ──────────────────────────────────── */
.reviews-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: var(--font-body);
}
.reviews-section h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #2c3e50;
    text-align: center;
}
.user-quotes__grid-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    align-items: start;
}
.user-quote--masonry {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.user-quote--masonry:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.user-quote__header { display: flex; align-items: flex-start; margin-bottom: 16px; gap: 12px; }
.user-quote__avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.user-quote__avatar--initials {
    width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 700; color: #fff;
    background: #e67e22;
}
.user-quote__header-content { flex: 1; }
.user-quote__name { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 4px; }
.user-quote__name a { color: #333 !important; text-decoration: none; }
.user-quote__name a:hover { color: #e67e22 !important; }
.user-quote__header-content img { height: 16px; width: auto; }
.user-quote__link { flex-shrink: 0; }
.user-quote__link img { width: 20px; height: 20px; opacity: 0.8; transition: opacity 0.2s ease; }
.user-quote__link:hover img { opacity: 1; }
.user-quote__text { font-size: 14px; line-height: 1.6; color: #333; }
.user-quotes__read-more { text-align: center; margin-top: 40px; }
.user-quotes__read-more-btn {
    display: inline-block; background: #00C853; color: white !important; padding: 12px 30px;
    border-radius: 25px; text-decoration: none; font-weight: 600; font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer;
}
.user-quotes__read-more-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,200,83,0.4) !important;
    color: white !important;
    background: #00B74A !important;
}

/* ── БЛОК 10: ПРЕИМУЩЕСТВА (БЕНТО-СЕТКА) ────────────── */
.advantages-section {
    padding: 80px 20px;
    background: var(--ch-bg);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.advantages-section .container { max-width: 1200px; margin: 0 auto; }
.advantages-section .section-header { text-align: center; margin-bottom: 60px; }
.advantages-section .section-header h2 {
    font-size: 34px; font-weight: 700; color: var(--ch-dark); margin-bottom: 15px; line-height: 1.3;
}
.advantages-section .section-header p {
    font-size: 18px; color: var(--ch-text-light); max-width: 700px; margin: 0 auto;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 25px;
}
.advantage-card {
    background: var(--ch-white);
    border-radius: 12px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}
.advantage-card:hover { transform: translateY(-4px); box-shadow: 0 4px 20px rgba(0,0,0,0.12); }
.advantage-card::before {
    content: ''; position: absolute; top: 0; left: 0;
    width: 100%; height: 4px; background: var(--ch-orange);
}
.advantage-card.span-7 { grid-column: span 7; }
.advantage-card.span-5 { grid-column: span 5; }
.advantage-card h3 { font-size: 22px; font-weight: 700; margin-bottom: 15px; color: var(--ch-dark); }
.advantage-card p { font-size: 15px; line-height: 1.6; color: var(--ch-text); }
.advantage-card strong { color: var(--ch-dark); font-weight: 700; }
.advantage-number {
    display: inline-block; width: 45px; height: 45px;
    background: var(--ch-orange); color: white; border-radius: 8px;
    text-align: center; line-height: 45px; font-weight: 700; font-size: 18px; margin-bottom: 20px;
}
.advantages-cta { text-align: center; margin-top: 50px; }
.btn-green {
    display: inline-block; background: var(--ch-green); color: white;
    padding: 14px 35px; border-radius: 30px; text-decoration: none;
    font-weight: 600; font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease; border: none; cursor: pointer;
}
.btn-green:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,200,83,0.4) !important;
    background: #00B74A !important;
    color: white !important;
}

/* ── БЛОК 11: 4 ПРИЧИНЫ ──────────────────────────────── */
.features-clean-section {
    padding: 100px 20px;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-feature-settings: 'kern' 1;
    text-rendering: optimizeLegibility;
}
.features-clean-section .container { max-width: 1000px; margin: 0 auto; }
.features-clean-section .section-header { text-align: center; margin-bottom: 70px; }
.features-clean-section .section-header h2 {
    font-size: 34px; color: var(--feature-text); line-height: 1.3; max-width: 850px; margin: 0 auto;
}
.features-list { display: flex; flex-direction: column; gap: var(--feature-spacing); }
.features-list .feature-item {
    display: flex; align-items: flex-start; gap: 30px;
    padding: 20px; margin: -20px; border-radius: 12px;
    opacity: 0; transform: translateY(30px);
    transition: all var(--transition-speed) ease-out;
    will-change: opacity, transform; position: relative;
}
.features-list .feature-item::before {
    content: ''; position: absolute; left: 0; top: 20px; bottom: 20px;
    width: 4px; background: var(--feature-primary);
    transform: scaleY(0); transition: transform 0.4s ease; border-radius: 2px;
}
.features-list .feature-item:hover {
    background: rgba(230,126,34,0.03);
    transform: translateY(0) translateX(8px);
}
.features-list .feature-item:hover::before { transform: scaleY(1); }
.features-list .feature-item:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(230,126,34,0.25);
    background: rgba(230,126,34,0.05);
}
.icon-line-wrap { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.icon-box {
    font-size: 28px; color: var(--feature-primary);
    width: 60px; height: 60px; display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(230,126,34,0.3); border-radius: 50%; transition: all 0.4s ease;
}
.line-grow {
    width: 2px; height: 0px;
    background: linear-gradient(to bottom, rgba(230,126,34,0.4), rgba(230,126,34,0.1));
    margin-top: 15px; transition: height var(--transition-speed) ease-out;
}
.feature-content h3 { font-size: 22px; color: var(--feature-text); margin-bottom: 12px; font-weight: 700; transition: color 0.3s ease; }
.features-list .feature-item:hover .feature-content h3 { color: var(--feature-primary); }
.feature-content p { font-size: 16px; color: var(--feature-secondary); line-height: 1.7; }
.reveal-text.show { opacity: 1; transform: translateY(0); }
.features-list .feature-item.show .line-grow { height: 60px; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.feature-item.show .icon-box { animation: float 3s ease-in-out infinite; }
.feature-item:nth-child(1) .icon-box { animation-delay: 0s; }
.feature-item:nth-child(2) .icon-box { animation-delay: 0.5s; }
.feature-item:nth-child(3) .icon-box { animation-delay: 1s; }

/* ── БЛОК 12: CTA ПАРАЛЛАКС ──────────────────────────── */
.cta-parallax-section {
    position: relative; min-height: 550px;
    display: flex; align-items: center; justify-content: center;
    padding: 100px 20px 200px 20px; overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
}
.cta-parallax-bg {
    position: absolute; top: -25%; left: 0; width: 100%; height: 150%;
    background-image: url('/images/struzka-transformed.webp');
    background-size: cover; background-position: center;
    will-change: transform; z-index: 0;
}
.haze-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 1;
}
.cta-container { max-width: 800px; margin: 0 auto; position: relative; z-index: 5; text-align: center; }
.cta-title {
    font-size: clamp(28px, 6vw, 46px); color: #1a202c; margin-bottom: 20px;
    font-weight: 800; text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}
.cta-description { font-size: clamp(18px, 3vw, 24px); color: #2d3748; line-height: 1.5; margin-bottom: 40px; }
.custom-bottom-shape { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 10; }
.custom-bottom-shape svg { display: block; width: 100%; height: 120px; transform: rotate(180deg); }

/* ── БЛОК 13: ДО/ПОСЛЕ ───────────────────────────────── */
.before-after-gallery.is-hidden { display: none; }
.before-after-gallery { max-width: 1200px; margin: 40px auto; padding: 20px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; }
.gallery-title {
    text-align: center; font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 600; color: #2d3748; margin-bottom: 40px; letter-spacing: -0.025em;
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.comparison-item { background: #fff; border-radius: 12px; padding-bottom: 10px; }
.comparison-slider {
    position: relative; width: 100%; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); aspect-ratio: 4 / 3;
}
.slider-wrapper { position: relative; width: 100%; height: 100%; }
.before-image, .after-image { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.after-image { clip-path: polygon(50% 0%, 100% 0%, 100% 100%, 50% 100%); transition: clip-path 0.1s ease; }
.slider-handle {
    position: absolute; top: 0; left: 50%; width: 4px; height: 100%;
    background: white; cursor: ew-resize; z-index: 10;
    transform: translateX(-50%); box-shadow: 0 0 10px rgba(0,0,0,0.3);
}
.slider-button {
    position: absolute; top: 50%; left: 50%; width: 40px; height: 40px;
    background: white; border-radius: 50%; transform: translate(-50%, -50%);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2); color: #64748b;
}
.slider-button::before { content: '⇄'; font-weight: bold; }
.image-labels {
    position: absolute; bottom: 15px; left: 0; right: 0;
    display: flex; justify-content: space-between; padding: 0 15px; z-index: 5; pointer-events: none;
}
.label { background: rgba(0,0,0,0.7); color: white; padding: 4px 10px; border-radius: 4px; font-size: 11px; text-transform: uppercase; }
.label.before { background: rgba(220,38,38,0.8); }
.label.after { background: rgba(5,150,105,0.8); }
.comparison-title { text-align: center; font-size: 16px; font-weight: 600; color: #4a5568; margin: 15px 0 0 0; }

/* ── БЛОК 14: ТАБЛИЦА ЦЕН ────────────────────────────── */
.price-table-wrap { max-width: 1000px; margin: 40px auto; padding: 0 20px; }
.price-table-1 { width: 100%; border-collapse: collapse; font-family: Arial, sans-serif; }
.price-table-1 th, .price-table-1 td { padding: 12px 16px; border: 1px solid #ccc; text-align: left; vertical-align: top; }
.price-table-1 thead { background-color: #f2f2f2; }
.price-table-1 tbody tr:nth-child(even) { background: #fafafa; }
.price-note-1 { margin-top: 10px; font-size: 0.9em; color: #555; }

/* ── БЛОК 15: ТАЙМЛАЙН ───────────────────────────────── */
.process-section { padding: 80px 20px; background: #ffffff; }
.process-section .container { max-width: 900px; margin: 0 auto; }
.process-header { text-align: left; margin-bottom: 60px; max-width: 700px; }
.process-header h2 { font-size: 48px; font-weight: 700; color: #2c3e50; margin-bottom: 16px; line-height: 1.2; }
.process-header p { font-size: 18px; color: #6c757d; }
.timeline { position: relative; padding: 10px 0; }
.timeline::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: 50%;
    transform: translateX(-50%); width: 3px;
    background: linear-gradient(180deg, #e67e22 0%, #2c3e50 100%); border-radius: 3px;
}
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 48px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row; justify-content: flex-start; }
.timeline-item:nth-child(odd) .timeline-content { margin-right: calc(50% + 36px); text-align: right; }
.timeline-item:nth-child(odd) .timeline-arrow { clip-path: polygon(0 0, calc(100% - 16px) 0, 100% 50%, calc(100% - 16px) 100%, 0 100%); margin-left: auto; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; justify-content: flex-start; }
.timeline-item:nth-child(even) .timeline-content { margin-left: calc(50% + 36px); text-align: left; }
.timeline-item:nth-child(even) .timeline-arrow { clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); margin-right: auto; }
.timeline-content { flex: 1; max-width: calc(50% - 36px); position: relative; }
.timeline-arrow {
    display: flex; align-items: center; gap: 12px;
    background: #2c3e50; color: #fff;
    padding: 12px 24px; min-width: 220px; margin-bottom: 12px;
    transition: background 0.25s ease;
}
.timeline-item:hover .timeline-arrow { background: #e67e22; }
.timeline-arrow__num { font-size: 22px; font-weight: 800; opacity: 0.4; line-height: 1; flex-shrink: 0; }
.timeline-arrow__title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.2; }
.timeline-text { font-size: 14px; color: #6c757d; line-height: 1.6; padding: 0 4px; }
.timeline-dot {
    position: absolute; left: 50%; top: 14px; transform: translateX(-50%);
    width: 16px; height: 16px; background: #e67e22;
    border: 3px solid #fff; border-radius: 50%;
    box-shadow: 0 0 0 2px #e67e22; z-index: 2; flex-shrink: 0;
}
.process-footer {
    display: flex; align-items: center; gap: 14px; margin-top: 20px;
    padding: 20px 28px;
    background: linear-gradient(135deg, rgba(230,126,34,0.07) 0%, rgba(44,62,80,0.04) 100%);
    border-left: 3px solid #e67e22; border-radius: 0 12px 12px 0;
}
.process-footer__icon { font-size: 26px; flex-shrink: 0; }
.process-footer__text { font-size: 15px; color: #2c3e50; line-height: 1.5; }
.process-footer__text strong { color: #e67e22; }

/* ── БЛОК 16: БЕНТО-ПРЕИМУЩЕСТВА ────────────────────── */
.advantages-section {
    padding: 80px 20px;
    background: var(--ch-bg);
    font-family: var(--font-body);
}
.advantages-section .container { max-width: 1200px; margin: 0 auto; }
.advantages-section .section-header { text-align: center; margin-bottom: 60px; }
.advantages-section .section-header h2 {
    font-size: 34px; font-weight: 700;
    color: var(--ch-dark); margin-bottom: 15px; line-height: 1.3;
}
.advantages-section .section-header p {
    font-size: 18px; color: var(--ch-text-light);
    max-width: 700px; margin: 0 auto;
}
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 25px;
}
.advantage-card {
    background: var(--ch-white);
    border-radius: 12px;
    padding: 35px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}
.advantage-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.advantage-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--ch-orange);
}
.advantage-card.span-7 { grid-column: span 7; }
.advantage-card.span-5 { grid-column: span 5; }
.advantage-card h3 {
    font-size: 22px; font-weight: 700;
    margin-bottom: 15px; color: var(--ch-dark);
}
.advantage-card p {
    font-size: 15px; line-height: 1.6; color: var(--ch-text);
}
.advantage-card strong { color: var(--ch-dark); font-weight: 700; }
.advantage-number {
    display: inline-block;
    width: 45px; height: 45px;
    background: var(--ch-orange); color: white;
    border-radius: 8px; text-align: center;
    line-height: 45px; font-weight: 700;
    font-size: 18px; margin-bottom: 20px;
}
.advantages-cta { text-align: center; margin-top: 50px; }
.btn-green {
    display: inline-block;
    background: var(--ch-green); color: white;
    padding: 14px 35px; border-radius: 30px;
    text-decoration: none; font-weight: 600;
    font-size: 16px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none; cursor: pointer;
}
.btn-green:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0,200,83,0.4) !important;
    background: #00B74A !important;
    color: white !important;
}

/* ── БЛОК 17: КАРТОЧКИ УСЛУГ (plumber) ───────────────── */
.services-section { padding: 80px 20px; background: #ffffff; }
.services-section .section-header { text-align: left; margin-bottom: 60px; max-width: 700px; }
.services-section .section-header h2 { font-size: 48px; font-weight: 700; color: var(--primary); margin-bottom: 20px; line-height: 1.2; }

.plumber-types-section { padding: 80px 20px; background: #ffffff; }
.plumber-types-section .container { max-width: 1400px; margin: 0 auto; }
.plumber-types-section .section-header { text-align: left; margin-bottom: 60px; max-width: 700px; }
.plumber-types-section .section-header h2 { font-size: 48px; font-weight: 700; color: var(--primary); margin-bottom: 20px; line-height: 1.2; }
.plumber-types-section .section-header p { font-size: 18px; color: var(--text-light); }
.plumber-types-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; align-items: start; }
.plumber-card { background: #ffffff; position: relative; display: flex; flex-direction: column; }
.plumber-image { width: 100%; height: 300px; position: relative; overflow: hidden; padding: 20px; cursor: pointer; flex-shrink: 0; }
.plumber-image-inner {
    width: 100%; height: 100%; overflow: hidden; position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, #e8f4f8 0%, #c5dde8 100%);
}
.plumber-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); }
.plumber-image:hover .plumber-image-inner { transform: scale(1.05); animation: morph-plumber 8s ease-in-out infinite; }
.plumber-image:hover img { transform: scale(1.15) rotate(2deg); }
.plumber-card:nth-child(1) .plumber-image-inner { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
.plumber-card:nth-child(2) .plumber-image-inner { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
.plumber-card:nth-child(3) .plumber-image-inner { border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; }
.plumber-card:nth-child(4) .plumber-image-inner { border-radius: 70% 30% 30% 70% / 60% 40% 60% 40%; }
.plumber-card:nth-child(5) .plumber-image-inner { border-radius: 50% 50% 30% 70% / 30% 70% 30% 70%; }
.plumber-card:nth-child(6) .plumber-image-inner { border-radius: 40% 60% 70% 30% / 40% 60% 40% 60%; }
.plumber-card:nth-child(7) .plumber-image-inner { border-radius: 60% 40% 60% 40% / 50% 50% 50% 50%; }
.plumber-card:nth-child(8) .plumber-image-inner { border-radius: 30% 70% 40% 60% / 60% 40% 70% 30%; }

@keyframes morph-plumber {
    0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    25%       { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    50%       { border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%; }
    75%       { border-radius: 70% 30% 50% 50% / 30% 60% 40% 70%; }
}

.plumber-card-content { padding: 0 20px 30px; display: flex; flex-direction: column; flex: 1; }
.plumber-card h3 { font-size: 24px; font-weight: 700; color: var(--primary); margin-bottom: 15px; min-height: 58px; display: flex; align-items: flex-start; }
.plumber-card p { font-size: 15px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.plumber-card ul { list-style: none; margin-bottom: 20px; flex: 1; }
.plumber-card ul li { padding: 8px 0 8px 25px; position: relative; font-size: 15px; color: var(--text-light); line-height: 1.6; }
.plumber-card ul li::before { content: "•"; position: absolute; left: 0; color: var(--accent); font-weight: bold; font-size: 20px; }
.plumber-card ul li strong { color: var(--primary); font-weight: 600; }
.plumber-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; gap: 15px; }
.plumber-price { font-size: 20px; font-weight: 700; color: var(--accent); padding: 10px 20px; background: rgba(230,126,34,0.1); border-radius: 12px; white-space: nowrap; }
.plumber-link {
    display: inline-block; padding: 10px 20px; background: var(--primary);
    color: #ffffff !important; text-decoration: none; border-radius: 12px;
    font-size: 15px; font-weight: 600; transition: all 0.3s ease; white-space: nowrap;
}
.plumber-link:hover { background: var(--accent) !important; transform: translateY(-2px) !important; box-shadow: 0 4px 12px rgba(230,126,34,0.3) !important; color: #fff !important; }
.plumber-card.emergency .plumber-image-inner { background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); }
.plumber-card.emergency h3 { color: var(--accent); }

/* ── БЛОК 18: ФУТЕР ──────────────────────────────────── */
.sitemap-link:hover { color: #5dade2 !important; text-shadow: 0 0 8px rgba(52,152,219,0.4); }
#top-ge-counter-container:hover { filter: grayscale(0) !important; }

/* FIX: ограничиваем глобальный hover только нижней строкой футера
   чтобы он не убивал иконки соцсетей в шапке и кнопки по всему сайту */
.footer-bottom a[href]:hover { color: #fff !important; }

/* FIX: топбар — hover иконок оранжевый, чтобы не сливался с белым фоном */
.topbar-soc:hover { color: #e67e22 !important; }

/* ── БЛОК 19: АДАПТИВ ────────────────────────────────── */
@media (max-width: 1024px) {
  .plumber-types-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
}
@media (max-width: 992px) {
  .site-logo img { height: 36px; }
  .main-nav { display: none; }
  .burger   { display: flex; }
  .topbar-contacts { display: none; }
}
@media (max-width: 968px) {
  .advantage-card.span-7, .advantage-card.span-5 { grid-column: span 12; }
}
@media (max-width: 768px) {
  .user-quotes__grid-masonry { grid-template-columns: 1fr; gap: 20px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .features-clean-section { padding: 60px 20px; }
  .features-list .feature-item { flex-direction: column; align-items: center; text-align: center; margin: 0; padding: 20px; }
  .features-list .feature-item::before { display: none; }
  .line-grow { display: none; }
  .features-clean-section .section-header h2 { font-size: 26px; }
  .cta-parallax-section { padding-bottom: 150px; }
  .custom-bottom-shape svg { height: 80px; }
  .plumber-types-section .section-header h2 { font-size: 36px; }
  .plumber-types-grid { grid-template-columns: 1fr; gap: 25px; }
  .plumber-image { height: 260px; }
  .plumber-card-content { padding: 0 20px 25px; }
  .plumber-card h3 { font-size: 22px; min-height: auto; }
  .plumber-footer { flex-direction: column; align-items: stretch; }
  .plumber-link { text-align: center; }
  .faq-section { padding: 0 15px; }
  .faq-section h2 { font-size: 24px; margin-bottom: 20px; }
  .faq-question { padding: 15px; }
  .faq-text { font-size: 15px; }
  .faq-answer.active { padding: 15px; }
  .faq-answer p, .faq-answer ul, .faq-answer ol { font-size: 14px; }
  div[style*="padding: 48px 40px"] { padding: 32px 20px !important; }
  div[style*="padding: 20px 40px"] { padding: 20px !important; flex-direction: column; }
  div[style*="align-items: flex-end"] { align-items: flex-start !important; }
}
@media (max-width: 700px) {
  .process-header h2 { font-size: 32px; }
  .timeline::before { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: column; padding-left: 52px; }
  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content { margin: 0; max-width: 100%; text-align: left; }
  .timeline-item:nth-child(odd) .timeline-arrow { clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%); }
}
@media (max-width: 640px) {
  .price-table-1 thead { display: none; }
  .price-table-1, .price-table-1 tbody { display: block; width: 100%; }
  .price-table-1 tr { display: block; border: 1px solid #ccc; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
  .price-table-1 td { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border: none; border-bottom: 1px solid #eee; padding: 10px 12px; }
  .price-table-1 tr td:last-child { border-bottom: none; }
  .price-table-1 td::before { content: attr(data-label); font-weight: 700; flex-shrink: 0; color: #333; }
}
@media (max-width: 600px) {
  :root { --topbar-h: 50px; --total-h: 100px; }
  .topbar-socials { gap: 12px; }
  .hero-h1  { font-size: 28px; }
  .hero-p   { font-size: 15px; }
  .hero-btn { padding: 14px 36px; font-size: 16px; width: 100%; max-width: 320px; }
  .hs       { width: 46px; height: 46px; font-size: 19px; }
}
@media (max-width: 480px) {
  .advantages-section { padding: 50px 15px; }
  .advantage-card { padding: 25px; }
  .advantages-section .section-header h2 { font-size: 26px; }
  .user-quote--masonry { padding: 20px; }
  .process-section { padding: 50px 16px; }
}
/* ═══════════════════════════════════════════════════════════════
   SOFA-CARD — карточки услуг (сборка мебели, диваны и др.)
   ═══════════════════════════════════════════════════════════════ */

.sborka-mebeli-types-section,
.sofa-types-section,
.remont-divanov-types-section,
.remont-mebeli-types-section,
.remont-karniza-types-section {
  padding: 80px 20px;
  background: #f9f9f9;
}

.sofa-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 35px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

.sofa-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: box-shadow .25s, transform .25s;
}
.sofa-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  transform: translateY(-3px);
}

.sofa-image-wrap {
  width: 100%;
  height: 260px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.sofa-image-wrap img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform .4s ease;
  display: block;
}
.sofa-card:hover .sofa-image-wrap img { transform: scale(1.05); }

.sofa-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--accent, #e67e22);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  z-index: 2;
}

.sofa-content {
  padding: 24px 24px 0;
  flex: 1;
}
.sofa-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary, #2c3e50);
  margin-bottom: 10px;
  line-height: 1.3;
}
.sofa-title a { color: inherit; text-decoration: none; }
.sofa-title a:hover { color: var(--accent, #e67e22); }
.sofa-description {
  font-size: 14px;
  color: var(--text-light, #6c757d);
  line-height: 1.65;
  margin-bottom: 14px;
}
.sofa-specs {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.sofa-specs li {
  padding: 6px 0 6px 20px;
  position: relative;
  font-size: 13px;
  color: var(--text-light, #6c757d);
  line-height: 1.5;
  border-bottom: 1px solid #f0f0f0;
}
.sofa-specs li:last-child { border-bottom: none; }
.sofa-specs li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent, #e67e22);
  font-weight: bold;
  font-size: 18px;
  line-height: 1.2;
}
.sofa-specs li strong { color: var(--primary, #2c3e50); font-weight: 600; }

.sofa-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px 24px;
  margin-top: auto;
  gap: 12px;
  border-top: 1px solid #f5f5f5;
}
.sofa-price {
  font-size: 19px;
  font-weight: 700;
  color: var(--accent, #e67e22);
  white-space: nowrap;
}
.sofa-btn {
  display: inline-block;
  padding: 9px 20px;
  background: var(--primary, #2c3e50);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none !important;
  transition: background .2s, transform .15s;
  white-space: nowrap;
}
.sofa-btn:hover {
  background: var(--accent, #e67e22) !important;
  color: #fff !important;
  transform: translateY(-1px);
}

/* ═══════════════════════════════════════════════════════════════
   PRICING SECTION — секция с прайс-таблицей
   ═══════════════════════════════════════════════════════════════ */

.pricing-section {
  padding: 80px 20px;
  background: #fff;
}
.pricing-section .container { max-width: 1000px; margin: 0 auto; }
.pricing-section h2 {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 700;
  color: var(--primary, #2c3e50);
  margin-bottom: 36px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  font-family: inherit;
}
.price-table th,
.price-table td {
  padding: 12px 16px;
  border: 1px solid #ddd;
  text-align: left;
  vertical-align: top;
  font-size: 15px;
}
.price-table thead th {
  background: #f2f2f2;
  font-weight: 700;
  color: var(--primary, #2c3e50);
}
.price-table tbody tr:nth-child(even) { background: #fafafa; }
.price-table tbody tr:hover { background: #fff8f3; }
.price-table td:last-child {
  font-weight: 700;
  color: var(--accent, #e67e22);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════
   TIMELINE SECTION — обёртка секции таймлайна
   ═══════════════════════════════════════════════════════════════ */

.timeline-section {
  padding: 80px 20px;
  background: #f9f9f9;
}
.timeline-section .container { max-width: 900px; margin: 0 auto; }

.timeline-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--accent, #e67e22);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 3px 10px rgba(230,126,34,.35);
}

/* ═══════════════════════════════════════════════════════════════
   USER-QUOTES-SECTION — обёртка блока отзывов
   ═══════════════════════════════════════════════════════════════ */

.user-quotes-section {
  padding: 80px 20px;
  background: #fff;
}
.user-quotes-section .container { max-width: 1200px; margin: 0 auto; }

/* ═══════════════════════════════════════════════════════════════
   HEADER: nav-cta, lang-switcher
   ═══════════════════════════════════════════════════════════════ */

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent, #e67e22);
  color: #fff !important;
  padding: 7px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background .2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent-h, #cf6d17) !important; color: #fff !important; }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE — адаптив для новых компонентов
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .sofa-types-grid { grid-template-columns: 1fr; gap: 20px; }
  .sofa-image-wrap { height: 200px; }
  .sofa-footer { flex-direction: column; align-items: stretch; }
  .sofa-btn { text-align: center; }
  .price-table thead { display: none; }
  .price-table, .price-table tbody { display: block; width: 100%; }
  .price-table tr { display: block; border: 1px solid #ddd; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
  .price-table td { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border: none; border-bottom: 1px solid #eee; padding: 10px 12px; font-size: 14px; }
  .price-table tr td:last-child { border-bottom: none; }
  .price-table td::before { content: attr(data-label); font-weight: 700; flex-shrink: 0; color: #333; }
  .timeline-icon { width: 44px; height: 44px; font-size: 17px; }
  .pricing-section { padding: 50px 15px; }
  .timeline-section { padding: 50px 15px; }
  .user-quotes-section { padding: 50px 15px; }
  .sborka-mebeli-types-section,
  .sofa-types-section { padding: 50px 15px; }
}
/* ── ГАЛЕРЕЯ ФОТО-ШАГОВ «Как выглядит ремонт» (remont-skolov-na-mebeli) ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

.gallery-section *, .gallery-section *::before, .gallery-section *::after { box-sizing: border-box; margin: 0; padding: 0; }
.gallery-section a { text-decoration: none; color: inherit; }

.gallery-section { max-width: 1160px; margin: 0 auto; font-family: 'Inter', sans-serif; }

.gallery-section .gallery-label {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: #999; margin-bottom: 6px;
}
.gallery-section .gallery-title {
  font-size: clamp(20px, 2.8vw, 30px); font-weight: 600;
  color: #1a1a1a; margin-bottom: 22px; line-height: 1.2;
}
.gallery-section .gallery-title span { color: #e8a020; }

.gallery-section .tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 860px) { .gallery-section .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery-section .tiles { grid-template-columns: 1fr; } }

/* ── ФОТО-ТАЙЛ ── */
.gallery-section .tile {
  display: block; position: relative; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,.08); aspect-ratio: 3 / 4;
  background: #222; opacity: .99; cursor: pointer;
  transition: box-shadow .25s, transform .25s;
}
.gallery-section .tile:hover,
.gallery-section .tile:focus-visible {
  box-shadow: 0 8px 28px rgba(0,0,0,.2); transform: translateY(-3px); outline: none;
}
.gallery-section .tile img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; backface-visibility: hidden; transition: transform .35s ease;
}
.gallery-section .tile:hover img,
.gallery-section .tile:focus-visible img { transform: scale(1.04); }

.gallery-section .tile::before {
  content: ''; background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,.72) 100%);
  width: 100%; height: 55%; opacity: 0; position: absolute;
  top: 100%; left: 0; z-index: 2; transition: top .3s, opacity .3s;
}
.gallery-section .tile:hover::before,
.gallery-section .tile:focus-visible::before { opacity: 1; top: 45%; }

.gallery-section .details {
  position: absolute; bottom: 0; left: 0;
  padding: 18px 16px 20px; z-index: 3; color: #fff;
}
.gallery-section .details span {
  display: block; opacity: 0; position: relative; top: 16px;
  transition: top .3s, opacity .3s;
}
.gallery-section .details .title {
  font-weight: 600; font-size: clamp(13px, 1.1vw, 16px); line-height: 1.25;
}
.gallery-section .details .info {
  font-size: clamp(11px, .9vw, 13px); line-height: 1.4;
  margin-top: 5px; color: rgba(255,255,255,.8);
}
.gallery-section .tile:hover .details .title,
.gallery-section .tile:focus-visible .details .title { opacity: 1; top: 0; transition-delay: .12s; }
.gallery-section .tile:hover .details .info,
.gallery-section .tile:focus-visible .details .info  { opacity: 1; top: 0; transition-delay: .2s; }

/* ── ВИДЕО-ТАЙЛ (нативный плеер) ── */
.gallery-section .tile-video {
  position: relative; border-radius: 3px; overflow: hidden;
  box-shadow: 0 0 20px rgba(0,0,0,.08); aspect-ratio: 3 / 4;
  background: #111;
}
.gallery-section .tile-video video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; border: none;
}
.gallery-section .tile-video .video-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, transparent 100%);
  color: #fff; font-size: 13px; font-weight: 600; pointer-events: none;
}

/* ── КНОПКИ ── */
.gallery-section .gallery-cta { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }

.gallery-section .btn {
  display: inline-flex !important; align-items: center; gap: 7px;
  font-family: 'Inter', sans-serif !important; font-size: 14px !important;
  font-weight: 600 !important; line-height: 1 !important;
  padding: 11px 22px !important; border-radius: 6px !important;
  border: none !important; text-decoration: none !important;
  cursor: pointer; transition: background .2s, transform .15s;
}
.gallery-section .btn--wa { background: #25d366 !important; color: #fff !important; }
.gallery-section .btn--wa:hover { background: #1db954 !important; color: #fff !important; transform: translateY(-1px); }
.gallery-section .btn--tg { background: #229ed9 !important; color: #fff !important; }
.gallery-section .btn--tg:hover { background: #1a86ba !important; color: #fff !important; transform: translateY(-1px); }
.gallery-section .btn svg { flex-shrink: 0; }

/* ── LIGHTBOX ── */
#ch-viewer {
  display: none; position: fixed; inset: 0; z-index: 9999;
  align-items: center; justify-content: center;
}
#ch-viewer.open { display: flex; }
#ch-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,.92);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  animation: ch-fade-in .25s ease;
}
@keyframes ch-fade-in { from { opacity:0 } to { opacity:1 } }
#ch-stage {
  position: relative; z-index: 2;
  max-width: min(90vw, 900px); max-height: 80vh;
  display: flex; align-items: center; justify-content: center;
}
#ch-img {
  max-width: 100%; max-height: 80vh; object-fit: contain;
  border-radius: 6px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: ch-zoom-in .3s cubic-bezier(.22,1,.36,1);
  user-select: none; -webkit-user-drag: none;
}
@keyframes ch-zoom-in { from { opacity:0; transform:scale(.88) } to { opacity:1; transform:scale(1) } }
#ch-close {
  position: absolute; top: 18px; right: 20px; z-index: 3;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  font-size: 22px; width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
#ch-close:hover { background: rgba(255,255,255,.25); }
#ch-prev, #ch-next {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: rgba(255,255,255,.12); border: none; color: #fff;
  font-size: 36px; width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s; line-height: 1;
}
#ch-prev { left: 16px; } #ch-next { right: 16px; }
#ch-prev:hover, #ch-next:hover { background: rgba(255,255,255,.25); }
@media (max-width: 600px) {
  #ch-prev { left: 6px; } #ch-next { right: 6px; }
  #ch-prev, #ch-next { width: 40px; height: 40px; font-size: 28px; }
}
#ch-caption {
  position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.8); font-size: 14px;
  text-align: center; pointer-events: none; white-space: nowrap;
}
#ch-dots {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 7px;
}
.ch-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,.35); cursor: pointer;
  transition: background .2s, transform .2s;
}
.ch-dot.active { background: #fff; transform: scale(1.3); }
/* ── /ГАЛЕРЕЯ ФОТО-ШАГОВ ── */

/* ==========================================================================
   НАЧАЛО СЕКЦИИ: ПРЕИМУЩЕСТВА (CityHandyman)
   Описание: Вертикальный список из 4 причин с отцентрованными иконками 
   в кружочках, соединительными линиями и анимацией появления.
   ========================================================================== */

/* --- 1. Общие настройки секции --- */
.features-clean-section {
  font-family: Arial, sans-serif; /* Шрифт секции (замените при необходимости) */
}

.features-clean-section .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

.features-clean-section .section-header {
  margin-bottom: 40px;
}

/* --- 2. Структура вертикального списка --- */
.features-clean-section .features-list {
  display: flex;
  flex-direction: column;
}

/* Карточка отдельного пункта */
.features-clean-section .feature-item {
  display: flex;
  gap: 30px;
  align-items: stretch; /* Растягиваем элементы, чтобы линия шла до самого низа */
}

/* Убираем "хвостик" (линию) у самого последнего пункта */
.features-clean-section .feature-item:last-child .line-grow {
  display: none;
}

/* Убираем нижний отступ у текста последнего пункта */
.features-clean-section .feature-item:last-child .feature-content {
  padding-bottom: 0;
}

/* --- 3. Иконки и соединительные линии --- */
/* Обертка, которая держит кружок и линию под ним */
.features-clean-section .icon-line-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 60px;
}

/* Кружок с иконкой (с центрированием) */
.features-clean-section .icon-box {
  width: 60px;
  height: 60px;
  border: 2px solid #f6d1b2; /* Цвет обводки */
  border-radius: 50%;
  color: #e57e25; /* Цвет самой иконки */
  font-size: 24px;
  background-color: #fff;
  flex-shrink: 0;
  
  /* Flexbox для идеального центрирования иконки */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Сброс лишних отступов внутри иконки */
.features-clean-section .icon-box i {
  margin: 0;
  padding: 0;
}

/* Вертикальная линия между кружками */
.features-clean-section .line-grow {
  width: 2px;
  background-color: #f6d1b2; /* Цвет линии */
  flex-grow: 1; /* Заставляет линию тянуться на всё доступное пространство */
  margin-top: 15px;
  margin-bottom: 15px;
}

/* --- 4. Текстовый контент --- */
.features-clean-section .feature-content {
  padding-bottom: 40px;
}

.features-clean-section .feature-content h3 {
  font-size: 22px;
  color: #2c3e50; /* Цвет заголовков пунктов */
  margin: 8px 0 15px 0;
}

.features-clean-section .feature-content p {
  font-size: 16px;
  color: #7f8c8d; /* Цвет основного текста */
  line-height: 1.6;
  margin: 0;
}

/* Ссылки (WhatsApp, Telegram) */
.features-clean-section .feature-content a {
  color: #e57e25;
  font-weight: bold;
  text-decoration: none;
}

/* --- 5. Стили для JS-анимации (появление при скролле) --- */
.reveal-text {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* Класс, который добавляет скрипт, когда элемент появляется на экране */
.reveal-text.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   КОНЕЦ СЕКЦИИ: ПРЕИМУЩЕСТВА (CityHandyman)
   ========================================================================== */
