/*
Theme Name: Музлова Недвижимость
Theme URI: https://muzlova.ru
Author: Лидия Музлова
Description: Профессиональный сайт агента по недвижимости в Казани
Version: 2.0
*/

/* ═══════════════════════════════════════════
   ЦВЕТОВАЯ ПАЛИТРА
   --lm-bg:        #F5F9FB  светло-голубой фон
   --lm-bg2:       #E1EEF3  чуть темнее — карточки, секции
   --lm-bg3:       #B8D8E6  насыщенный голубой — акценты
   --lm-accent:    #2DA8CC  яркий циан — кнопки, ссылки (добавлен)
   --lm-dark:      #1A3A4A  тёмно-синий для текста и хедера
   --lm-text:      #2C4A5A  основной текст
   --lm-gray:      #6B8A96  второстепенный текст
   --lm-white:     #FFFFFF  белый
═══════════════════════════════════════════ */
:root {
  --lm-bg:      #F5F9FB;
  --lm-bg2:     #E1EEF3;
  --lm-bg3:     #B8D8E6;
  --lm-accent:  #2DA8CC;
  --lm-accent2: #1A8BAA;
  --lm-dark:    #1A3A4A;
  --lm-text:    #2C4A5A;
  --lm-gray:    #6B8A96;
  --lm-light:   #A8C8D6;
  --lm-white:   #FFFFFF;
  --lm-border:  #C8DFE8;
  --lm-nav-h:   96px;
  --lm-radius:  8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Helvetica Neue', Arial, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--lm-bg);
  color: var(--lm-text);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.lm-photo-img { height: 100% !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── ТИПОГРАФИКА ── */
h1, h2, h3 { font-family: 'Yeseva One', 'Playfair Display', Georgia, 'Times New Roman', serif; color: var(--lm-dark); line-height: 1.2; }
h1 { font-size: clamp(36px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.5vw, 42px); }
h3 { font-size: clamp(18px, 2vw, 22px); }

/* ── УТИЛИТЫ ── */
.lm-container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.lm-section { padding: 88px 0; }
.lm-section-sm { padding: 64px 0; }
.lm-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--lm-accent); margin-bottom: 16px;
}
.lm-eyebrow::before { content: ''; width: 28px; height: 2px; background: var(--lm-accent); display: block; }

/* ── SCROLL OFFSET для fixed nav ── */
#home, #about, #services, #why, #process, #listings, #contact {
  scroll-margin-top: calc(var(--lm-nav-h) + 8px);
}

/* ── REVEAL ANIMATION ── */
.lm-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.lm-reveal.lm-visible { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   НАВИГАЦИЯ
═══════════════════════════════════════════ */
.lm-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: var(--lm-nav-h);
  background: rgba(245,249,251,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--lm-border);
  display: flex; align-items: center; padding: 0 48px;
  transition: box-shadow 0.3s;
}
.lm-nav.scrolled { box-shadow: 0 2px 20px rgba(45,168,204,0.12); }
.lm-nav-logo { flex-shrink: 0; }
.lm-nav-logo img { height: 80px; width: auto; object-fit: contain; }
.lm-nav-links {
  display: flex; gap: 2px; margin: 0 auto;
}
.lm-nav-links a {
  padding: 8px 16px; font-size: 14px; font-weight: 500; color: var(--lm-text);
  border-radius: var(--lm-radius); transition: background 0.2s, color 0.2s;
}
.lm-nav-links a:hover { background: var(--lm-bg2); color: var(--lm-accent); }
.lm-nav-cta {
  background: var(--lm-accent); color: #fff;
  padding: 10px 24px; border-radius: var(--lm-radius);
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
}
.lm-nav-cta:hover { background: var(--lm-accent2); transform: translateY(-1px); color: #fff; }

/* ── Гамбургер ── */
.lm-burger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; width: 42px; height: 42px;
  background: transparent; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.lm-burger span {
  display: block; width: 24px; height: 2px;
  background: var(--lm-dark); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.lm-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lm-burger.open span:nth-child(2) { opacity: 0; }
.lm-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Мобильное меню ── */
.lm-mobile-overlay {
  position: fixed; inset: 0; background: rgba(26,58,74,0.4);
  z-index: 8997; opacity: 0; visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}
.lm-mobile-overlay.open { opacity: 1; visibility: visible; }
.lm-mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(320px, 85vw);
  background: var(--lm-white); z-index: 8999;
  padding: 88px 28px 40px;
  transform: translateX(100%); transition: transform 0.35s ease;
  display: flex; flex-direction: column; gap: 24px;
  overflow-y: auto;
}
.lm-mobile-menu.open { transform: translateX(0); }
.lm-mobile-menu ul { display: flex; flex-direction: column; gap: 2px; }
.lm-mobile-menu ul a {
  display: block; padding: 13px 16px; font-size: 16px; font-weight: 600;
  color: var(--lm-dark); border-bottom: 1px solid var(--lm-border);
  transition: color 0.2s;
}
.lm-mobile-menu ul a:hover { color: var(--lm-accent); }
.lm-mobile-cta {
  display: block; text-align: center; background: var(--lm-accent); color: #fff;
  padding: 15px; border-radius: var(--lm-radius); font-weight: 700;
  font-size: 14px; letter-spacing: 0.05em; text-transform: uppercase;
  transition: background 0.2s;
}
.lm-mobile-contacts { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--lm-border); }
.lm-mobile-contacts a { display: block; font-size: 14px; color: var(--lm-gray); padding: 4px 0; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.lm-hero {
  min-height: 100svh; background: var(--lm-bg);
  display: flex; align-items: center;
  padding-top: var(--lm-nav-h);
  position: relative; overflow: clip;
}
.lm-hero::before {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: min(600px, 80vw); height: min(600px, 80vw); border-radius: 50%;
  background: radial-gradient(circle, rgba(184,216,230,0.4) 0%, rgba(225,238,243,0.15) 60%, transparent 100%);
  pointer-events: none; z-index: 0;
}
.lm-hero-inner { position: relative; z-index: 1; }
.lm-hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 64px;
  max-width: 1280px; margin: 0 auto; padding: 0 48px;
  width: 100%; position: relative; z-index: 1;
}
.lm-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--lm-bg2); border: 1px solid var(--lm-border);
  color: var(--lm-accent2); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 99px; margin-bottom: 24px;
}
.lm-hero-title { margin-bottom: 20px; }
.lm-hero-title em { color: var(--lm-accent); font-style: normal; }
.lm-hero-subtitle {
  font-size: clamp(18px, 2.2vw, 24px); font-weight: 300;
  color: var(--lm-gray); margin-bottom: 12px;
}
.lm-hero-desc { font-size: 16px; color: var(--lm-gray); max-width: 520px; margin-bottom: 36px; }
.lm-hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lm-btn-primary {
  background: var(--lm-accent); color: #fff;
  padding: 16px 32px; border-radius: var(--lm-radius);
  font-weight: 700; font-size: 14px; letter-spacing: 0.06em;
  text-transform: uppercase; transition: background 0.2s, transform 0.2s;
  display: inline-block;
}
.lm-btn-primary:hover { background: var(--lm-accent2); transform: translateY(-2px); color: #fff; }
.lm-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--lm-accent); font-weight: 600; font-size: 15px;
  transition: gap 0.2s;
}
.lm-btn-ghost:hover { gap: 12px; }
.lm-btn-ghost svg { transition: transform 0.2s; }
.lm-btn-ghost:hover svg { transform: translateX(4px); }

/* Hero stats */
.lm-hero-stats {
  display: flex; gap: 0; margin-top: 48px;
  border-top: 1px solid var(--lm-border); padding-top: 32px;
}
.lm-stat { flex: 1; padding-right: 24px; }
.lm-stat:not(:last-child) { border-right: 1px solid var(--lm-border); margin-right: 24px; }
.lm-stat-num { font-size: 32px; font-weight: 700; color: var(--lm-accent); font-family: 'Yeseva One', serif; }
.lm-stat-label { font-size: 12px; color: var(--lm-gray); margin-top: 4px; line-height: 1.4; }

/* Hero photo */
.lm-hero-visual { display: flex; justify-content: center; position: relative; overflow: visible; padding-bottom: 28px; }
.lm-photo-wrap {
  position: relative;
  width: min(380px, 90%); aspect-ratio: 360/460;
  overflow: visible;
}
.lm-photo-frame {
  position: absolute; inset: 0;
  border: 2px solid var(--lm-bg3); border-radius: 12px;
  transform: translate(14px, 14px);
}
.lm-photo-img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 12px; position: relative; z-index: 1;
}
.lm-contact-card {
  position: absolute; bottom: -20px; left: -20px; z-index: 2;
  background: var(--lm-white); border: 1px solid var(--lm-border);
  border-radius: 12px; padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(45,168,204,0.14);
  min-width: 190px; max-width: 240px;
  backdrop-filter: blur(8px);
}
.lm-cc-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lm-accent); margin-bottom: 6px; }
.lm-cc-phone { font-size: 17px; font-weight: 700; color: var(--lm-dark); }
.lm-cc-divider { height: 1px; background: var(--lm-border); margin: 10px 0; }
.lm-cc-email { font-size: 13px; color: var(--lm-gray); }

/* ═══════════════════════════════════════════
   ОБО МНЕ
═══════════════════════════════════════════ */
.lm-about { background: var(--lm-white); }
.lm-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.lm-about-text { margin-top: 24px; }
.lm-about-text p { color: var(--lm-gray); margin-bottom: 18px; font-size: 16px; line-height: 1.85; }
.lm-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.lm-badge {
  padding: 7px 16px; border: 1px solid var(--lm-border);
  border-radius: 99px; font-size: 12px; font-weight: 600;
  color: var(--lm-accent2); background: var(--lm-bg2);
}
.lm-quote-block {
  background: var(--lm-bg2); border-left: 4px solid var(--lm-accent);
  border-radius: 0 12px 12px 0; padding: 32px;
}
.lm-quote-text { font-size: 19px; font-family: 'Yeseva One', serif; color: var(--lm-dark); line-height: 1.5; margin-bottom: 16px; }
.lm-quote-author { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lm-accent); }

/* ═══════════════════════════════════════════
   УСЛУГИ
═══════════════════════════════════════════ */
.lm-services { background: var(--lm-bg); }
.lm-services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 48px; align-items: end; margin-bottom: 56px;
}
.lm-services-desc { font-size: 16px; color: var(--lm-gray); line-height: 1.75; }
.lm-services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.lm-service-card {
  background: var(--lm-white); border: 1px solid var(--lm-border);
  border-radius: 12px; padding: 36px 28px; transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.lm-service-card:hover {
  border-color: var(--lm-accent); transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(45,168,204,0.1);
}
.lm-service-icon {
  width: 52px; height: 52px; background: var(--lm-bg2); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--lm-accent);
}
.lm-service-icon svg { width: 26px; height: 26px; stroke: var(--lm-accent); fill: none; stroke-width: 1.6; }
.lm-service-title { font-size: 17px; font-weight: 700; color: var(--lm-dark); margin-bottom: 10px; }
.lm-service-desc { font-size: 14px; color: var(--lm-gray); line-height: 1.7; }

/* ═══════════════════════════════════════════
   ПОЧЕМУ Я
═══════════════════════════════════════════ */
.lm-why { background: var(--lm-dark); }
.lm-why h2 { color: #fff; }
.lm-why h3 { color: #fff; }
.lm-why .lm-section-title { color: #fff; }
.lm-why-eyebrow { color: var(--lm-bg3) !important; }
.lm-why-eyebrow::before { background: var(--lm-bg3) !important; }
.lm-why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lm-why-desc { color: var(--lm-bg3); margin-bottom: 32px; font-size: 16px; }
.lm-contact-links { display: flex; flex-direction: column; gap: 12px; }
.lm-contact-link {
  display: flex; align-items: center; gap: 14px; padding: 14px 20px;
  background: rgba(245,249,251,0.06); border: 1px solid rgba(184,216,230,0.2);
  border-radius: var(--lm-radius); transition: background 0.25s, border-color 0.25s;
  text-decoration: none;
}
.lm-contact-link:hover { background: rgba(184,216,230,0.12); border-color: rgba(184,216,230,0.4); }
.lm-contact-link-icon {
  width: 38px; height: 38px; background: rgba(45,168,204,0.2); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lm-contact-link-icon svg { width: 18px; height: 18px; stroke: var(--lm-bg3); fill: none; stroke-width: 1.5; }
.lm-cl-hint { font-size: 10px; color: var(--lm-bg3); opacity: 0.7; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.lm-cl-value { font-size: 15px; color: #fff; font-weight: 600; }
.lm-reasons { display: flex; flex-direction: column; gap: 28px; }
.lm-reason { display: grid; grid-template-columns: 48px 1fr; gap: 16px; align-items: start; }
.lm-reason-num { font-size: 36px; font-family: 'Yeseva One', serif; color: rgba(184,216,230,0.25); line-height: 1; }
.lm-reason-title { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.lm-reason-text { font-size: 14px; color: var(--lm-bg3); line-height: 1.65; }

/* ═══════════════════════════════════════════
   КАК РАБОТАЮ
═══════════════════════════════════════════ */
.lm-process { background: var(--lm-bg2); }
.lm-process-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.lm-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.lm-steps-line {
  position: absolute; top: 32px; left: 10%; right: 10%; height: 1px;
  background: var(--lm-border); z-index: 0;
}
.lm-step { position: relative; z-index: 1; text-align: center; }
.lm-step-dot {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--lm-white); border: 2px solid var(--lm-accent);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; font-size: 20px; font-weight: 700;
  color: var(--lm-accent); font-family: 'Yeseva One', serif;
  box-shadow: 0 4px 16px rgba(45,168,204,0.15);
}
.lm-step-name { font-size: 15px; font-weight: 700; color: var(--lm-dark); margin-bottom: 8px; }
.lm-step-desc { font-size: 13px; color: var(--lm-gray); line-height: 1.65; }

/* ═══════════════════════════════════════════
   ОБЪЕКТЫ
═══════════════════════════════════════════ */
.lm-listings { background: var(--lm-white); }
.lm-listings-header { margin-bottom: 48px; }
.lm-listings-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.lm-prop-card {
  background: var(--lm-bg); border: 1px solid var(--lm-border);
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.lm-prop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(45,168,204,0.15);
  border-color: var(--lm-accent);
}
.lm-prop-img {
  position: relative; overflow: hidden;
  display: block; text-decoration: none; cursor: pointer; flex-shrink: 0;
  aspect-ratio: 4 / 3;
  background: var(--lm-bg2);
}
.lm-prop-img-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--lm-bg2), var(--lm-bg3));
  display: flex; align-items: center; justify-content: center;
}
.lm-prop-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block; transition: transform 0.4s;
  z-index: 1;
}
.lm-prop-img img[style*="display: none"] ~ .lm-prop-img-bg,
.lm-prop-img img.error ~ .lm-prop-img-bg { opacity: 1; }
.lm-prop-card:hover .lm-prop-img img { transform: scale(1.04); }
.lm-prop-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(26,58,74,0.45) 100%);
  z-index: 1;
}
.lm-prop-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: var(--lm-accent); color: #fff;
  font-size: 10px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 99px;
}
.lm-prop-price {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  background: rgba(245,249,251,0.95); color: var(--lm-accent2);
  font-size: 14px; font-weight: 700; padding: 6px 14px; border-radius: 8px;
}
.lm-prop-body { padding: 20px 22px; flex: 1; display: flex; flex-direction: column; }
.lm-prop-type { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lm-accent); margin-bottom: 6px; }
.lm-prop-title { font-size: 17px; font-weight: 700; color: var(--lm-dark); margin-bottom: 8px; }
.lm-prop-address { font-size: 13px; color: var(--lm-gray); display: flex; align-items: center; gap: 5px; margin-bottom: 16px; }
.lm-prop-address svg { width: 12px; height: 12px; stroke: var(--lm-gray); fill: none; flex-shrink: 0; }
.lm-prop-divider { height: 1px; background: var(--lm-border); margin-bottom: 14px; }
.lm-prop-specs { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.lm-prop-spec { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--lm-gray); }
.lm-prop-spec svg { width: 13px; height: 13px; stroke: var(--lm-accent); fill: none; stroke-width: 1.8; flex-shrink: 0; }
/* ═══════════════════════════════════════════
   КНОПКИ КАРТОЧЕК ОБЪЕКТОВ
   Строка 1: ЦИАН + Суточно.ру + Домклик
   Строка 2: Авито + Островок + Телефон
═══════════════════════════════════════════ */
.lm-prop-footer {
  display: flex; flex-direction: column;
  gap: 6px; margin-top: auto;
}
.lm-prop-footer-row {
  display: flex; gap: 5px;
}

/* Общий стиль всех кнопок платформ */
.lm-prop-btn-main,
.lm-prop-btn-sutochno,
.lm-prop-btn-domclick,
.lm-prop-btn-avito,
.lm-prop-btn-ostrovok {
  flex: 1 1 0;
  min-width: 0;
  display: flex; align-items: center; justify-content: center;
  height: 36px;
  padding: 0 2px;
  border-radius: 7px;
  border: 1.5px solid transparent;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0em;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.lm-prop-btn-main:hover,
.lm-prop-btn-sutochno:hover,
.lm-prop-btn-domclick:hover,
.lm-prop-btn-avito:hover,
.lm-prop-btn-ostrovok:hover { opacity: 0.85; transform: translateY(-1px); }

/* ЦИАН */
.lm-prop-btn-main     { background: #2DA8CC; color: #fff; border-color: #2DA8CC; }
/* Суточно.ру */
.lm-prop-btn-sutochno { background: #E1EEF3; color: #1A8BAA; border-color: #C8DFE8; }
/* Домклик */
.lm-prop-btn-domclick { background: #2B7CC2; color: #fff; border-color: #2B7CC2; }
/* Авито */
.lm-prop-btn-avito    { background: #00A046; color: #fff; border-color: #00A046; }
/* Островок */
.lm-prop-btn-ostrovok { background: #FF6600; color: #fff; border-color: #FF6600; }

/* Кнопка телефона — фиксированная ширина в строке 2 */
.lm-prop-btn-phone {
  flex: 0 0 36px; width: 36px; height: 36px;
  background: var(--lm-bg2);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; flex-shrink: 0;
  text-decoration: none;
}
.lm-prop-btn-phone:hover { background: var(--lm-bg3); }
.lm-prop-btn-phone svg { width: 16px; height: 16px; stroke: var(--lm-accent2); fill: none; stroke-width: 1.6; }

/* ═══════════════════════════════════════════
   КОНТАКТЫ
═══════════════════════════════════════════ */
.lm-contact { background: var(--lm-bg2); }
.lm-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.lm-contact-lead { font-size: 16px; color: var(--lm-gray); margin-bottom: 32px; line-height: 1.75; }
.lm-contact-rows { display: flex; flex-direction: column; gap: 16px; }
.lm-contact-row {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 16px; border-bottom: 1px solid var(--lm-border);
}
.lm-contact-row:last-child { border-bottom: none; padding-bottom: 0; }
.lm-ci-icon {
  width: 42px; height: 42px; background: var(--lm-white); border: 1px solid var(--lm-border);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.lm-ci-icon svg { width: 20px; height: 20px; stroke: var(--lm-accent); fill: none; stroke-width: 1.5; }
.lm-ci-label { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lm-gray); margin-bottom: 3px; }
.lm-ci-value { font-size: 15px; font-weight: 600; color: var(--lm-dark); word-break: break-word; }
.lm-ci-value a { color: var(--lm-accent); }
.lm-ci-value-sm { font-size: 14px; }

/* ══════════════════════════════════════════
   ИКОНКИ СОЦСЕТЕЙ В КОНТАКТАХ
══════════════════════════════════════════ */

/* Строка соцсетей — иконки выровнены по центру */
.lm-contact-row-socials { align-items: center; }

.lm-ci-social-btns {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

/* Ссылка-иконка */
.lm-round-social {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-decoration: none;
  border-radius: 50%;
  /* Анимация появления при загрузке */
  animation: lm-social-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.lm-rs-vk { animation-delay: 0.05s; }
.lm-rs-ok  { animation-delay: 0.15s; }

@keyframes lm-social-in {
  from { opacity: 0; transform: scale(0.6); }
  to   { opacity: 1; transform: scale(1); }
}

/* Картинка */
.lm-round-social img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 50%;
  object-fit: contain;
  transition:
    transform  0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.25s ease,
    filter     0.2s ease;
  will-change: transform;
}

/* Ripple-кольцо при hover */
.lm-round-social::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(45,168,204,0);
  transition: border-color 0.25s ease, inset 0.25s ease;
  pointer-events: none;
}

/* ── Hover: подпрыгивание + тень + кольцо ── */
.lm-round-social:hover img {
  transform: translateY(-5px) scale(1.12);
  box-shadow: 0 8px 24px rgba(45,168,204,0.45);
  filter: brightness(1.1);
}
.lm-round-social:hover::after {
  border-color: rgba(45,168,204,0.5);
  inset: -6px;
}

/* ── Нажатие — вдавливание ── */
.lm-round-social:active img {
  transform: scale(0.9);
  box-shadow: 0 2px 6px rgba(45,168,204,0.2);
  transition-duration: 0.08s;
}
.lm-round-social:active::after {
  border-color: rgba(45,168,204,0);
  transition-duration: 0.08s;
}

/* Отступ между меткой и иконками соцсетей */
.lm-ci-social-btns { margin-top: 6px; }


/* Форма */
.lm-form-box {
  background: var(--lm-white); border: 1px solid var(--lm-border);
  border-radius: 16px; padding: 36px;
}
.lm-form-title { font-size: 22px; font-weight: 700; color: var(--lm-dark); margin-bottom: 6px; }
.lm-form-sub { font-size: 14px; color: var(--lm-gray); margin-bottom: 28px; }
.lm-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lm-form-group { margin-bottom: 18px; }
.lm-form-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--lm-text); margin-bottom: 8px; }
.lm-form-input {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--lm-border);
  border-radius: var(--lm-radius); font-size: 15px; font-family: inherit;
  color: var(--lm-dark); background: var(--lm-bg); outline: none;
  transition: border-color 0.2s, box-shadow 0.2s; box-sizing: border-box;
}
.lm-form-input:focus { border-color: var(--lm-accent); box-shadow: 0 0 0 3px rgba(45,168,204,0.12); }
.lm-form-input::placeholder { color: var(--lm-light); }
textarea.lm-form-input { resize: vertical; min-height: 100px; }
select.lm-form-input {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' viewBox='0 0 24 24' stroke='%236B8A96' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.lm-form-submit {
  width: 100%; padding: 16px; background: var(--lm-accent); color: #fff;
  border: none; border-radius: var(--lm-radius); font-family: inherit;
  font-size: 14px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; cursor: pointer; transition: background 0.2s;
  margin-top: 4px;
}
.lm-form-submit:hover { background: var(--lm-accent2); }

/* ═══════════════════════════════════════════
   ПОДВАЛ
═══════════════════════════════════════════ */
.lm-footer {
  background: var(--lm-dark); padding: 40px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
}
.lm-footer-logo img { height: 68px; width: auto; filter: brightness(0) invert(1) opacity(0.9); }
.lm-footer-copy { font-size: 13px; color: rgba(184,216,230,0.6); }
.lm-footer-links { display: flex; gap: 20px; }
.lm-footer-links a { font-size: 13px; color: rgba(184,216,230,0.7); transition: color 0.2s; }
.lm-footer-links a:hover { color: var(--lm-bg3); }

/* ═══════════════════════════════════════════
   АДАПТИВ — 1200px
═══════════════════════════════════════════ */
@media (max-width: 1200px) {
  .lm-container { padding: 0 32px; }
  .lm-nav { padding: 0 32px; }
  .lm-hero-inner { padding: 0 32px; gap: 48px; }
  .lm-listings-grid { grid-template-columns: repeat(2, 1fr); }
  .lm-services-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════
   АДАПТИВ — 960px (гамбургер)
═══════════════════════════════════════════ */
@media (max-width: 960px) {
  .lm-nav-links, .lm-nav-cta { display: none; }
  .lm-burger { display: flex; }
  .lm-nav { padding: 0 24px; --lm-nav-h: 78px; height: 78px; overflow: visible; }

  .lm-hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 40px 24px 64px; }
  .lm-hero { min-height: auto; padding-top: 78px; }
  .lm-hero-content { text-align: left; }
  .lm-hero-visual { justify-content: center; padding-bottom: 56px; overflow: visible; }
  .lm-photo-wrap { width: min(320px, 78vw); }
  .lm-contact-card { left: 50%; transform: translateX(-50%); bottom: -16px; width: max-content; max-width: 90vw; }
  .lm-hero-stats { flex-wrap: wrap; gap: 16px; }
  .lm-stat { flex: 1 1 calc(50% - 10px); }
  .lm-stat:not(:last-child) { border-right: none; margin-right: 0; }
  .lm-hero-stats { border-top: 1px solid var(--lm-border); padding-top: 24px; }

  .lm-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .lm-services-header { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .lm-why-grid { grid-template-columns: 1fr; gap: 48px; }
  .lm-contact-grid { grid-template-columns: 1fr; gap: 40px; }

  .lm-footer { padding: 32px 24px; flex-direction: column; text-align: center; }
  .lm-footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ═══════════════════════════════════════════
   АДАПТИВ — 768px
═══════════════════════════════════════════ */
@media (max-width: 768px) {
  .lm-section { padding: 64px 0; }
  .lm-container { padding: 0 20px; }
  .lm-hero-inner { padding: 32px 20px 56px; }

  .lm-hero-stats { flex-direction: column; gap: 14px; padding-top: 24px; margin-top: 32px; }
  .lm-stat { flex: 1 1 100%; }

  .lm-services-grid { grid-template-columns: 1fr; }
  .lm-steps { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .lm-steps-line { display: none; }

  .lm-listings-header { margin-bottom: 32px; }
  .lm-listings-grid { grid-template-columns: 1fr; }
  .lm-prop-footer { flex-direction: column; }
  .lm-prop-footer-row { flex-wrap: nowrap; gap: 4px; }
  .lm-prop-btn-main,
  .lm-prop-btn-sutochno,
  .lm-prop-btn-domclick,
  .lm-prop-btn-avito,
  .lm-prop-btn-ostrovok { height: 34px; font-size: 9px; }
  .lm-prop-btn-phone { flex: 0 0 34px; width: 34px; height: 34px; }

  .lm-form-row { grid-template-columns: 1fr; }
  .lm-form-box { padding: 24px 20px; }

  .lm-contact-row { gap: 12px; }
  .lm-contact-grid { gap: 32px; }
}

/* ═══════════════════════════════════════════
   АДАПТИВ — 480px
═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .lm-nav { padding: 0 16px; }
  .lm-nav-logo img { height: 58px; }
  .lm-container { padding: 0 16px; }
  .lm-section { padding: 52px 0; }
  .lm-hero-inner { padding: 28px 16px 48px; }
  .lm-photo-wrap { width: min(280px, 82vw); }
  .lm-contact-card { left: 50%; transform: translateX(-50%); bottom: -14px; min-width: 0; width: 90vw; max-width: 300px; padding: 12px 16px; }
  .lm-cc-phone { font-size: 15px; }

  .lm-steps { grid-template-columns: 1fr; gap: 16px; }
  .lm-step { display: flex; gap: 16px; text-align: left; align-items: flex-start; justify-content: flex-start; }
  .lm-step-dot { width: 48px; height: 48px; font-size: 16px; flex-shrink: 0; margin: 0; }

  .lm-ci-icon { width: 36px; height: 36px; }
  .lm-ci-value { font-size: 14px; }

  .lm-footer { padding: 28px 16px; }
  .lm-mobile-menu { width: 100vw; }
}

/* ═══════════════════════════════════════════
   ELEMENTOR COMPATIBILITY
═══════════════════════════════════════════ */
.elementor-section-wrap > .elementor-section:first-of-type { margin-top: 0 !important; }
.elementor-kit-1 body { background-color: var(--lm-bg) !important; }
body.elementor-page { padding-top: 0 !important; }
.elementor-page .lm-hero { margin-top: 0; }
/* Elementor editor — не ломаем preview */
.elementor-editor-active .lm-hero { padding-top: 120px; }
