:root {
  /* Дружелюбная палитра: синий + бирюзовый */
  --red: #0D6EFD;           /* основной акцент — синий (бывший красный) */
  --red-dark: #0a58ca;
  --red-light: #3d8bfd;
  --accent: #10B981;        /* зелёный акцент для "успех/доверие" */
  --accent-dark: #059669;
  --dark: #0F2847;          /* глубокий синий (бывший почти чёрный) */
  --dark2: #1B3A6B;
  --mid: #2E5BA3;
  --gray: #6b7c93;
  --light: #f0f6ff;
  --white: #ffffff;
  --text: #1a2535;
  --text-light: #6b7c93;
  --border: #d8e4f0;
  --shadow: 0 4px 20px rgba(13, 110, 253, 0.08);
  --shadow-lg: 0 12px 40px rgba(13, 110, 253, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.65; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--red-dark); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 600; line-height: 1.2; color: var(--dark); }
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -0.5px; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.25rem; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: var(--radius); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); color: var(--white); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(13,110,253,0.35); }
.btn-outline { background: transparent; color: var(--red); border-color: var(--red); }
.btn-outline:hover { background: var(--red); color: var(--white); }
.btn-white { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn-white:hover { background: var(--light); color: var(--dark); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); color: var(--white); }
.btn-lg { padding: 15px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* HEADER */
.site-header { position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.12); }
.header-top { background: var(--dark); padding: 8px 0; }
.header-top-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.header-contacts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.header-phone { display: flex; align-items: center; gap: 6px; color: var(--white); font-weight: 700; font-size: 1.1rem; font-family: var(--font-head); }
.header-phone:hover { color: var(--red-light); }
.header-hours { color: rgba(255,255,255,0.55); font-size: 0.8rem; }
.header-social { display: flex; align-items: center; gap: 8px; }
.social-btn { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; transition: all var(--transition); }
.social-btn.telegram { background: #2CA5E0; color: white; }
.social-btn.telegram:hover { background: #229bd0; color: white; }
.social-btn.whatsapp { background: #25D366; color: white; }
.social-btn.whatsapp:hover { background: #1cb857; color: white; }
.social-btn.vk { background: #4a76a8; color: white; }
.social-btn.vk:hover { background: #3d6492; color: white; }

.header-main { background: var(--white); border-bottom: 3px solid var(--red); overflow: hidden; }
.header-main-inner { display: flex; align-items: center; gap: 20px; padding: 12px 0; max-width: 100%; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; }
.logo-name { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--dark); line-height: 1.2; }
.logo-region { font-size: 0.7rem; color: var(--gray); letter-spacing: 0.5px; }
.main-nav { flex: 1; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.main-nav > ul > li { position: relative; }
.main-nav a { display: flex; align-items: center; gap: 4px; padding: 8px 14px; font-weight: 600; font-size: 0.88rem; color: var(--text); border-radius: var(--radius); transition: all var(--transition); text-transform: uppercase; letter-spacing: 0.3px; }
.main-nav a:hover, .main-nav a.active { color: var(--red); background: rgba(13,110,253,0.06); }
.dropdown { display: none !important; position: absolute; top: calc(100% + 12px); left: 0; background: var(--white); border-radius: var(--radius); box-shadow: 0 16px 48px rgba(0,0,0,0.18); border: 1px solid var(--border); border-top: 3px solid var(--red); min-width: 220px; padding: 6px 0; z-index: 100; list-style: none; animation: dropdownFade 0.18s ease; }
@keyframes dropdownFade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.dropdown li { border-bottom: 1px solid var(--border); }
.dropdown li:last-child { border-bottom: none; }
.dropdown li a { padding: 12px 20px; border-radius: 0; text-transform: none; letter-spacing: 0; font-size: 0.9rem; display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 500; transition: all 0.15s; }
.dropdown li a::before { content: ''; display: inline-block; width: 4px; height: 4px; background: var(--red); border-radius: 50%; flex-shrink: 0; opacity: 0; transition: opacity 0.15s; }
.dropdown li a:hover { background: rgba(13,110,253,0.06); color: var(--red); padding-left: 24px; }
.dropdown li a:hover::before { opacity: 1; }
.has-dropdown.open > .dropdown,
.has-dropdown:hover > .dropdown { display: block !important; }
.header-cta { margin-left: auto; flex-shrink: 0; font-size: 0.85rem; padding: 10px 20px; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; margin-left: auto; }
.burger span { width: 26px; height: 2px; background: var(--dark); display: block; transition: all var(--transition); }
.burger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* HERO */
.hero { position: relative; background: var(--dark); color: var(--white); padding: 80px 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(135deg, #0f1923 0%, #1a2535 40%, #2d1010 100%); }
.hero-bg::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(ellipse at 70% 50%, rgba(13,110,253,0.2) 0%, transparent 60%); }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: center; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(13,110,253,0.2); border: 1px solid rgba(13,110,253,0.4); color: #ff8060; padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.5px; }
.hero h1 { color: var(--white); margin-bottom: 16px; }
.hero-sub { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 24px; max-width: 560px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 32px; }
.hero-feature { display: flex; align-items: center; gap: 6px; color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-card { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12); border-radius: var(--radius-lg); padding: 20px; text-align: center; display: flex; flex-direction: column; gap: 4px; backdrop-filter: blur(10px); }
.stat-num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); text-transform: uppercase; letter-spacing: 0.5px; }

/* SECTIONS */
section { padding: 72px 0; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* SERVICES */
.services-section { background: var(--light); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; transition: all var(--transition); border: 1px solid var(--border); }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.service-card-icon { width: 72px; height: 72px; background: rgba(13,110,253,0.08); border-radius: var(--radius-lg); display: flex; align-items: center; justify-content: center; color: var(--red); margin-bottom: 4px; }
.service-card h3 { margin-bottom: 4px; }
.service-card p { color: var(--text-light); font-size: 0.9rem; flex: 1; }
.service-card-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.service-card-list li { font-size: 0.85rem; padding-left: 16px; position: relative; color: var(--text-light); }
.service-card-list li::before { content: '\2713'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
.service-btn { margin-top: auto; }

/* WHY US */
.why-us { background: var(--white); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.why-item { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--border); }
.why-icon { font-size: 2.2rem; margin-bottom: 12px; }
.why-item h3 { margin-bottom: 8px; }
.why-item p { color: var(--text-light); font-size: 0.9rem; margin: 0; }

/* CTA */
.cta-section { background: var(--dark); padding: 60px 0; }
.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-content h2 { color: var(--white); }
.cta-content p { color: rgba(255,255,255,0.7); margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* REVIEWS */
.reviews-section { background: var(--light); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review-card { background: var(--white); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review-stars { color: #f59e0b; font-size: 1.2rem; letter-spacing: 2px; }
.review-card p { color: var(--text-light); font-size: 0.9rem; font-style: italic; flex: 1; }
.review-author { font-size: 0.85rem; }
.review-author strong { color: var(--dark); }

/* FAQ */
.faq-section { background: var(--white); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 18px 0; background: none; border: none; cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--dark); text-align: left; gap: 16px; }
.faq-question:hover { color: var(--red); }
.faq-icon { flex-shrink: 0; transition: transform var(--transition); }
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(180deg); }
.faq-answer { padding-bottom: 16px; }
.faq-answer p { color: var(--text-light); margin: 0; }

/* GEOGRAPHY */
.geography-section { background: var(--light); }
.cities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.city-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px 16px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border); transition: all var(--transition); }
.city-card:hover { border-color: var(--red); transform: translateY(-3px); }
.city-icon { font-size: 2rem; margin-bottom: 8px; }
.city-card h3 { font-size: 1rem; margin-bottom: 4px; }
.city-card p { font-size: 0.8rem; color: var(--text-light); margin: 0; }

/* PAGE HERO */
.page-hero { padding: 60px 0; color: var(--white); }
.page-hero--red { background: linear-gradient(135deg, #c42b0e, #0D6EFD); }
.page-hero--blue { background: linear-gradient(135deg, #0d47a1, #1565C0); }
.page-hero--green { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.page-hero--dark { background: linear-gradient(135deg, #0f1923, #1a2535); }
.page-hero--gray { background: linear-gradient(135deg, #2d3e50, #3d5166); }
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero-sub { color: rgba(255,255,255,0.8); font-size: 1.05rem; margin-bottom: 28px; max-width: 600px; }
.page-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.55); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.7); }
.breadcrumb a:hover { color: var(--white); }

/* SERVICE DETAIL */
.service-detail { padding: 72px 0; }
.service-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; }
.service-detail-content h2 { margin: 40px 0 16px; }
.service-detail-content h2:first-child { margin-top: 0; }
.service-detail-content h3 { margin: 28px 0 12px; color: var(--mid); }
.detail-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.detail-list li { padding-left: 24px; position: relative; color: var(--text-light); }
.detail-list li::before { content: '\2192'; position: absolute; left: 0; color: var(--red); font-weight: 700; }
ol.detail-list { counter-reset: li; }
ol.detail-list li { counter-increment: li; }
ol.detail-list li::before { content: counter(li) '.'; }
.info-box { background: rgba(13,110,253,0.06); border-left: 4px solid var(--red); border-radius: 0 var(--radius) var(--radius) 0; padding: 20px 24px; margin: 24px 0; font-size: 0.95rem; }

/* SIDEBAR */
.service-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-cta { background: var(--dark); color: var(--white); border-radius: var(--radius-lg); padding: 28px; }
.sidebar-cta h3 { color: var(--white); margin-bottom: 8px; }
.sidebar-cta p { color: rgba(255,255,255,0.65); font-size: 0.9rem; margin-bottom: 16px; }
.sidebar-cities { background: var(--light); border-radius: var(--radius-lg); padding: 20px; border: 1px solid var(--border); }
.sidebar-cities h4 { margin-bottom: 12px; font-size: 0.95rem; }
.sidebar-cities ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sidebar-cities li { font-size: 0.85rem; color: var(--text-light); }
.sidebar-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.sidebar-feature { background: var(--light); border-radius: var(--radius); padding: 12px 8px; text-align: center; border: 1px solid var(--border); }
.sidebar-feature strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--red); }
.sidebar-feature span { font-size: 0.7rem; color: var(--text-light); }

/* CONTACTS */
.contacts-section { padding: 72px 0; }
.contacts-grid { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.contacts-info h2, .contacts-info h3 { margin-bottom: 20px; margin-top: 36px; }
.contacts-info h2:first-child { margin-top: 0; }
.contact-block { display: flex; flex-direction: column; gap: 16px; margin-bottom: 8px; }
.contact-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-icon { width: 40px; height: 40px; background: rgba(13,110,253,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--red); flex-shrink: 0; }
.contact-label { display: block; font-size: 0.78rem; color: var(--text-light); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 2px; }
.contact-value { display: block; font-weight: 600; font-size: 1.05rem; color: var(--dark); }
a.contact-value:hover { color: var(--red); }
.messenger-links { display: flex; flex-direction: column; gap: 10px; }
.messenger-link { display: flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; color: white; transition: all var(--transition); }
.messenger-link.telegram { background: #2CA5E0; }
.messenger-link.telegram:hover { background: #229bd0; color: white; }
.messenger-link.whatsapp { background: #25D366; }
.messenger-link.whatsapp:hover { background: #1cb857; color: white; }
.offices-list { display: flex; flex-direction: column; gap: 12px; }
.office-item { padding: 16px; background: var(--light); border-radius: var(--radius); border-left: 3px solid var(--red); }
.office-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.office-item p { font-size: 0.9rem; color: var(--text-light); margin: 0; }
.contacts-form-box { background: var(--white); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); border: 1px solid var(--border); position: sticky; top: 100px; }
.contacts-form-box h2 { margin-bottom: 8px; }
.contacts-form-box > p { color: var(--text-light); margin-bottom: 24px; }

/* ABOUT */
.about-section { padding: 72px 0; }
.about-intro { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.about-intro h2 { margin-bottom: 20px; }
.about-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; text-align: center; }
.about-num { padding: 28px; background: var(--light); border-radius: var(--radius-lg); border: 1px solid var(--border); }
.about-num span { display: block; font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: var(--red); margin-bottom: 8px; }
.about-num p { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 56px; }
.value-item { padding: 28px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow); }
.value-item h3 { margin-bottom: 10px; color: var(--red); }
.value-item p { color: var(--text-light); margin: 0; }
.about-cta { text-align: center; background: var(--light); border-radius: var(--radius-lg); padding: 48px; }
.about-cta h2 { margin-bottom: 12px; }
.about-cta p { color: var(--text-light); margin-bottom: 24px; }
.about-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* FORMS */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--dark); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--radius); font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white); transition: border-color var(--transition), box-shadow var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(13,110,253,0.12); }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #ef4444; }
.form-note { font-size: 0.75rem; color: var(--text-light); text-align: center; margin-top: 12px; margin-bottom: 0; }
.form-success { text-align: center; padding: 20px; }
.form-success h3 { margin: 12px 0 8px; }
.form-success p { color: var(--text-light); }

/* MODAL */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 9000; align-items: center; justify-content: center; padding: 20px; backdrop-filter: blur(4px); }
.modal-overlay.active { display: flex; }
.modal { background: var(--white); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 520px; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,0.3); animation: modal-in 0.3s ease; max-height: 90vh; overflow-y: auto; }
@keyframes modal-in { from { opacity: 0; transform: scale(0.95) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.modal h2 { margin-bottom: 8px; }
.modal > p { color: var(--text-light); margin-bottom: 24px; }
.modal-close { position: absolute; top: 16px; right: 16px; background: var(--light); border: none; width: 36px; height: 36px; border-radius: 50%; font-size: 1.4rem; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--gray); transition: all var(--transition); }
.modal-close:hover { background: var(--red); color: white; }

/* FLOAT */
.float-call { position: fixed; bottom: 28px; right: 28px; width: 58px; height: 58px; background: var(--red); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(13,110,253,0.5); z-index: 500; transition: all var(--transition); animation: pulse-ring 2.5s infinite; }
.float-call:hover { transform: scale(1.1); color: white; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(13,110,253,0.5); } 70% { box-shadow: 0 0 0 16px rgba(13,110,253,0); } 100% { box-shadow: 0 0 0 0 rgba(13,110,253,0); } }

/* FOOTER */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding-top: 64px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-col h3 { font-family: var(--font-head); font-size: 1rem; color: var(--white); margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-about .logo { margin-bottom: 16px; }
.footer-about .logo-name { color: var(--white); }
.footer-about p { font-size: 0.88rem; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-icon { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: all var(--transition); }
.social-icon:hover { background: var(--red); color: white; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 0.88rem; }
.footer-contact-item svg { color: var(--red); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.8); }
.footer-contact-item a:hover { color: var(--white); }
.footer-work-hours { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: #22c55e; font-weight: 600; margin-top: 8px; }
.footer-work-hours svg { color: #22c55e; flex-shrink: 0; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px 0; font-size: 0.8rem; color: rgba(255,255,255,0.35); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); max-width: 500px; }
  .cities-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .header-top { display: none; }
  .header-main { padding: 8px 0; overflow: hidden; }
  .header-main-inner { gap: 8px; flex-wrap: nowrap; padding: 8px 0; }
  .logo { gap: 8px; min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .logo-icon img { width: 32px !important; height: 32px !important; }
  .logo-text { min-width: 0; overflow: hidden; }
  .logo-name { font-size: 0.78rem; line-height: 1.15; white-space: normal; overflow: visible; }
  .logo-region { display: none; }
  .header-mobile-msgs { flex-shrink: 0; gap: 5px; margin-left: 0; }
  .hmm-btn { width: 34px; height: 34px; }
  .hmm-btn svg { width: 17px; height: 17px; }
  .burger { flex-shrink: 0; }
  .main-nav { display: none; position: fixed; inset: 0; top: 70px; background: var(--white); padding: 20px; z-index: 999; overflow-y: auto; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav > ul > li > a { padding: 14px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .dropdown { display: none; position: static; box-shadow: none; border: none; padding: 0 0 0 16px; }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown li a { padding: 10px 0; border-bottom: 1px solid var(--border); border-radius: 0; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .hero { padding: 48px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 0; }
  .section-header { margin-bottom: 36px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .cities-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail-grid { grid-template-columns: 1fr; }
  .service-sidebar { position: static; }
  .contacts-grid { grid-template-columns: 1fr; }
  .contacts-form-box { position: static; }
  .about-numbers { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-box { flex-direction: column; text-align: center; }
  .modal { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cities-grid { grid-template-columns: 1fr 1fr; }
  .about-numbers { grid-template-columns: 1fr 1fr; }
  .logo-name { font-size: 0.7rem; }
  .logo-icon img { width: 28px !important; height: 28px !important; }
  .hmm-btn { width: 30px; height: 30px; }
  .hmm-btn svg { width: 15px; height: 15px; }
  .header-main-inner { gap: 6px; }
}

/* ========== ЮРИДИЧЕСКИЕ СТРАНИЦЫ ========== */
.legal-section { padding: 60px 0 80px; background: #fff; }
.legal-content { max-width: 820px; }
.legal-content h2 { font-family: var(--font-head); color: var(--dark); font-size: 1.5rem; margin: 32px 0 16px; padding-top: 8px; border-top: 2px solid var(--border); }
.legal-content h2:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.legal-content p { margin: 0 0 14px; line-height: 1.7; color: var(--text); }
.legal-content ul { margin: 0 0 18px; padding-left: 22px; }
.legal-content ul li { margin-bottom: 8px; line-height: 1.65; color: var(--text); }
.legal-content a { color: var(--red); text-decoration: underline; }
.legal-content a:hover { text-decoration: none; }
.legal-content strong { color: var(--dark); }
.legal-date { padding: 12px 18px; background: rgba(13,110,253,0.06); border-left: 3px solid var(--red); border-radius: 4px; margin-bottom: 28px !important; }
.legal-copyright { margin-top: 32px !important; padding-top: 18px; border-top: 1px solid var(--border); font-size: 0.92rem; color: var(--text-light); text-align: center; }

/* ========== COOKIE-БАННЕР ========== */
.cookie-banner { position: fixed; bottom: 20px; left: 20px; right: 20px; max-width: 560px; margin: 0 auto; background: var(--dark); color: #fff; padding: 18px 22px; border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.25); z-index: 9999; display: none; align-items: center; gap: 16px; font-size: 0.9rem; line-height: 1.5; border: 1px solid rgba(255,255,255,0.08); }
.cookie-banner.show { display: flex; animation: slideUp 0.35s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.cookie-banner-text { flex: 1; }
.cookie-banner-text a { color: #ffb199; text-decoration: underline; }
.cookie-banner-text a:hover { color: #fff; }
.cookie-banner button { flex-shrink: 0; background: var(--red); color: #fff; border: none; padding: 10px 20px; border-radius: var(--radius); font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: all var(--transition); }
.cookie-banner button:hover { background: #c72909; }
@media (max-width: 560px) { .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; left: 10px; right: 10px; bottom: 10px; } }

/* ========== ЧЕКБОКС СОГЛАСИЯ ========== */
.form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 10px; font-size: 0.85rem; line-height: 1.45; color: var(--text-light); }
.form-consent input[type=checkbox] { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--red); cursor: pointer; }
.form-consent label { cursor: pointer; }
.form-consent a { color: var(--red); text-decoration: underline; }
.form-consent a:hover { text-decoration: none; }

/* ========== ФУТЕР — ЮР. ССЫЛКИ ========== */
.footer-legal { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.82rem; }
.footer-legal a { color: rgba(255,255,255,0.65); text-decoration: none; transition: color var(--transition); }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

/* ========== MAX MESSENGER BUTTON ========== */
.social-btn.max { background: #FF6E14; color: #fff; }
.social-btn.max:hover { background: #e55c0a; }

/* ========== MOBILE HEADER MESSENGERS ========== */
.header-mobile-msgs { display: none; gap: 6px; align-items: center; margin-left: auto; }
.hmm-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; color: #fff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  flex-shrink: 0;
}
.hmm-btn:hover { transform: scale(1.05); box-shadow: 0 4px 12px rgba(0,0,0,0.18); }
.hmm-btn--telegram { background: #229ED9; }
.hmm-btn--whatsapp { background: #25D366; }
.hmm-btn--max { background: linear-gradient(135deg, #FF8C42 0%, #FF6E14 100%); }

@media (max-width: 768px) {
  .header-mobile-msgs { display: inline-flex; }
}
@media (max-width: 380px) {
  .hmm-btn { width: 34px; height: 34px; }
  .hmm-btn svg { width: 17px; height: 17px; }
}

.main-nav a { white-space: nowrap; }
