/* ==========================================
   БУРГАРАНТ — основные стили сайта
   ========================================== */

@font-face {
  font-family: 'Impact';
  src: url('/assets/fonts/Impact.eot');
  src: local('Impact'),
    url('/assets/fonts/Impact.eot?#iefix') format('embedded-opentype'),
    url('/assets/fonts/Impact.woff') format('woff'),
    url('/assets/fonts/Impact.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* CSS Custom Properties */
:root {
  --color-primary: #264d83;
  --color-accent: #ef6833;
  --color-accent-hover: #ff6a24;
  --color-text: #212121;
  --color-text-muted: #5b5d60;
  --color-bg: #ffffff;
  --color-bg-secondary: #ededed;
  --color-bg-dark: #1b3e6e;
  --color-footer-cta: #e86f40;
  --font-main: Verdana, Arial, sans-serif;
  --font-impact: 'Impact', Helvetica, Arial, sans-serif;
  --font-size-base: 14px;
  --line-height-base: 1.6;
  --border-radius: 12px;
  --border-radius-btn: 44px;
  --shadow: 0px 0px 18px 0px rgba(0,0,0,0.24);
  --container-width: 1140px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 32px;
  --spacing-xl: 64px;
}

/* ==========================================
   CRITICAL CSS (above the fold)
   ========================================== */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--color-bg);
  font-family: var(--font-main);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--color-text);
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

h1 {
  font-family: var(--font-impact);
  font-size: 43px;
  line-height: 1.1;
  color: var(--color-primary);
  text-align: center;
}

h2 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 29px;
  line-height: 1.2;
  font-weight: bold;
  color: var(--color-primary);
}

h3 {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: bold;
  color: var(--color-primary);
}

p {
  margin: 0.6em 0 1.2em;
  padding: 0;
}

a:link,
a:visited {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

img {
  border: none;
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0.5em 0 1em;
  padding: 0 0 0 1.5em;
}

/* ==========================================
   HEADER / ШАПКА
   ========================================== */

.site-header {
  position: relative;
}

.shapka {
  max-width: var(--container-width);
  margin: 0 auto;
  height: 90px;
  display: flex;
  align-items: center;
  width: 100%;
  position: relative;
  padding: 0 20px;
}

.logo {
  display: block;
  width: 238px;
  height: 50px;
  background-image: url('/assets/img/logo.svg');
  background-size: contain;
  background-repeat: no-repeat;
  flex-shrink: 0;
  text-indent: -9999px;
}

.topicons {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 30px;
}

.topicons a img {
  width: 32px;
  height: 32px;
  display: block;
}

.obr-btn {
  display: block;
  line-height: 39px;
  margin-left: auto;
  margin-right: 16px;
  background-color: var(--color-accent);
  padding: 0 20px;
  border-radius: var(--border-radius-btn);
  color: #fff !important;
  font-weight: bold;
  text-decoration: none !important;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.obr-btn:hover {
  background-color: var(--color-primary) !important;
  text-decoration: none !important;
}

.tel-top {
  font-family: var(--font-impact);
  font-size: 33px;
  color: var(--color-primary) !important;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
  margin-right: 22px;
}

.tel-top span {
  color: var(--color-accent) !important;
}

.tel-top:hover {
  color: var(--color-accent) !important;
  text-decoration: none;
}

.tel-top:hover span {
  color: var(--color-primary) !important;
}

/* ==========================================
   NAVIGATION / НАВИГАЦИЯ
   ========================================== */

.region-menu-osn {
  background-color: var(--color-primary);
}

.main-nav {
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  justify-content: center;
}

.main-nav ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav > ul > li {
  display: inline-block;
  margin: 0;
  padding: 26px 22px;
  letter-spacing: normal;
  position: relative;
  border-left: 1px solid #263c5c;
}

.main-nav > ul > li:last-child {
  border-right: 1px solid #263c5c;
}

.main-nav > ul > li > a {
  font-family: Arial, sans-serif;
  color: #ffffff;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active {
  color: var(--color-accent-hover);
  text-decoration: none;
}

/* Dropdown стрелка */
.main-nav > ul > li.has-children > a::after {
  content: '';
  display: inline-block;
  width: 12px;
  height: 9px;
  background: url('/assets/img/str.svg') no-repeat center;
  background-size: contain;
  margin-left: 6px;
  vertical-align: middle;
  transition: transform 0.2s ease;
}

.main-nav > ul > li.has-children:hover > a::after {
  background-image: url('/assets/img/str_.svg');
}

/* Dropdown submenu */
.main-nav > ul > li > ul {
  display: none;
  list-style: none;
  position: absolute;
  left: 0;
  top: 70px;
  background: rgba(255,255,255,1);
  min-width: 260px;
  z-index: 999;
  padding: 5px 0 0;
  box-shadow: 0 10px 10px rgba(0,0,0,0.5);
  background-clip: padding-box;
}

.main-nav > ul > li:hover > ul {
  display: block;
}

.main-nav > ul > li > ul > li {
  border-bottom: 1px solid var(--color-bg-secondary);
  padding: 0;
  margin: 0;
  white-space: nowrap;
}

.main-nav > ul > li > ul > li:last-child {
  border-bottom: none;
}

.main-nav > ul > li > ul > li > a {
  display: block;
  color: var(--color-primary);
  font-size: 14px;
  padding: 8px 25px;
  text-decoration: none;
  transition: color 0.3s ease;
  line-height: 1.4;
}

.main-nav > ul > li > ul > li > a:hover {
  color: var(--color-accent-hover);
  text-decoration: none;
}

/* Мобильное меню (hamburger) */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  gap: 5px;
  position: absolute;
  right: 20px;
  top: 30px;
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================
   HERO BANNER
   ========================================== */

.banner-glav {
  display: block;
  width: 100%;
  height: 500px;
  background-image: url('/assets/img/banner_glav.webp');
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.slogan {
  font-size: 45px;
  line-height: 1.1;
  color: var(--color-primary);
  font-family: var(--font-impact);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-left: -150px;
  top: 130px;
  max-width: 790px;
  width: 100%;
}

.slogan h1 {
  text-align: left;
  font-size: 45px;
  margin: 0;
}

.slogan .subtext {
  font-size: 18px;
  display: table;
  padding-top: 20px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  color: var(--color-text);
  line-height: 1.5;
}

.slogan .cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
  line-height: 50px;
  background-color: var(--color-accent);
  padding: 0 20px;
  border-radius: var(--border-radius-btn);
  color: #fff !important;
  font-weight: bold;
  text-decoration: none !important;
  font-family: Arial, sans-serif;
  font-size: 18px;
  height: 50px;
  width: 300px;
  text-align: center;
  transition: background-color 0.3s ease;
}

.slogan .cta-btn:hover {
  background-color: var(--color-primary);
}

.slogan .cta-btn--secondary {
  background-color: #fff;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
}

.slogan .cta-btn--secondary:hover {
  background-color: var(--color-primary);
  color: #fff !important;
}

/* ==========================================
   BREADCRUMBS
   ========================================== */

.breadcrumb {
  padding: 20px 0 10px;
  text-align: center;
}

.breadcrumb a {
  font-size: 12px;
  color: #000 !important;
  text-decoration: underline !important;
}

.breadcrumb a:hover {
  text-decoration: none !important;
  color: var(--color-accent) !important;
}

.breadcrumb span {
  font-size: 12px;
  color: var(--color-text-muted);
}

.breadcrumb span + span::before {
  content: ' → ';
}

/* ==========================================
   MAIN CONTENT AREA
   ========================================== */

.page-title-area {
  padding: 20px 20px 10px;
  text-align: center;
}

.content-osn {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 50px;
}

.content-osn h2 {
  margin: 30px 0 15px;
}

.content-osn p,
.content-osn ul,
.content-osn ol {
  text-align: justify;
}

/* ==========================================
   SECTION HEADINGS (zag style)
   ========================================== */

.section-title {
  font-family: var(--font-impact);
  font-size: 35px;
  line-height: 1.1;
  color: var(--color-primary);
  text-align: center;
  padding: 15px 0;
}

/* ==========================================
   PRICING TABLES
   ========================================== */

.price-table {
  width: 100%;
  margin: 10px 0 30px;
  border-collapse: collapse;
}

.price-table th {
  background-color: var(--color-primary);
  color: #fff;
  padding: 15px 10px;
  text-align: center;
  border: 5px solid #fff;
  line-height: 1.3;
}

.price-table tr {
  background-color: #f1f1f1;
  border: 5px solid #fff;
  transition: background-color 0.2s ease;
}

.price-table tr:hover {
  background-color: #e0e0e0;
}

.price-table td {
  padding: 8px 10px;
  text-align: center;
  font-size: 14px;
  border: 2px solid #fff;
}

.price-table td:hover {
  background-color: #b1b1b1;
  color: #fff;
}

/* ==========================================
   SERVICE CARDS / КАРТОЧКИ УСЛУГ
   ========================================== */

.services-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 10px -15px;
  gap: 0;
}

.service-col {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 0 15px;
  margin-bottom: 30px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 100%;
}

.card img.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.card-body {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  padding: 10px 0 5px;
  margin: 0;
}

.card-price {
  color: var(--color-primary);
  font-size: 21px;
  font-weight: 700;
  text-align: center;
  padding-bottom: 10px;
}

.card-text {
  font-size: 14px;
  line-height: 1.6;
  text-align: justify;
  padding: 0 15px;
  margin: 0;
  flex: 1;
}

.card-buttons {
  padding: 10px 15px 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-buttons .btn-primary,
.card-buttons .btn-default {
  width: 100%;
  box-sizing: border-box;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff !important;
  line-height: 46px;
  font-size: 14px;
  border-radius: 30px;
  padding: 0 20px;
  text-decoration: none !important;
  font-weight: bold;
  display: inline-block;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn-primary:hover {
  background-color: var(--color-primary);
}

.btn-default {
  background-color: transparent;
  color: var(--color-primary) !important;
  border: 2px solid var(--color-primary);
  line-height: 42px;
  font-size: 14px;
  border-radius: 30px;
  padding: 0 20px;
  text-decoration: none !important;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
  text-align: center;
}

.btn-default:hover {
  background-color: var(--color-primary);
  color: #fff !important;
}

/* ==========================================
   WHY CHOOSE US / ПОЧЕМУ ВЫБИРАЮТ НАС
   ========================================== */

.why-us-section {
  background-color: var(--color-bg-secondary);
  padding: 20px 0 50px;
}

.why-us-grid {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px 16px;
  list-style: none;
}

.why-us-item {
  text-align: center;
  position: relative;
  list-style: none;
}

.why-us-item::before {
  content: '';
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  background-repeat: no-repeat;
  background-position: center;
  background-image: radial-gradient(ellipse at center, rgba(255,255,255,1) 0%, rgba(204,204,204,1) 100%);
  position: relative;
  z-index: 2;
}

.why-us-item:nth-child(1)::before { background-image: url('/assets/img/p_1.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 102px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(2)::before { background-image: url('/assets/img/p_2.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 84px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(3)::before { background-image: url('/assets/img/p_3.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 86px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(4)::before { background-image: url('/assets/img/p_4.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 94px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(5)::before { background-image: url('/assets/img/p_5.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 92px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(6)::before { background-image: url('/assets/img/p_6.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 75px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(7)::before { background-image: url('/assets/img/p_7.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 84px, cover; background-repeat: no-repeat, no-repeat; }
.why-us-item:nth-child(8)::before { background-image: url('/assets/img/p_8.svg'), radial-gradient(ellipse at center, #fff 0%, #ccc 100%); background-size: 118px, cover; background-repeat: no-repeat, no-repeat; }

.why-us-item strong {
  display: block;
  color: var(--color-primary);
  font-size: 14px;
  padding: 10px 5px;
}

/* ==========================================
   КАК МЫ РАБОТАЕМ
   ========================================== */

.how-we-work-section {
  padding: 30px 0 10px;
  background-color: var(--color-bg);
}

.how-we-work-text {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
  line-height: 1.8;
  text-align: justify;
  color: var(--color-text);
}

/* ==========================================
   WORK STAGES / ЭТАПЫ РАБОТЫ
   ========================================== */

.stages-section {
  background-color: var(--color-bg);
  padding: 30px 0 50px;
}

.stages-container {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 25px;
}

/* --- Tab nav --- */
.stage-tab-nav {
  display: flex;
  border-bottom: none;
  margin-bottom: 0;
}

.stage-tab-btn {
  flex: 1;
  padding: 14px 10px;
  font-family: var(--font-impact);
  font-size: 18px;
  color: var(--color-primary);
  background: #d6d6d6;
  border: 1px solid #bbb;
  border-bottom: none;
  cursor: pointer;
  outline: none;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}

.stage-tab-btn:not(:last-child) {
  border-right: none;
}

.stage-tab-btn.active {
  background: #fff;
  border-top: 2px solid var(--color-primary);
  border-left: 1px solid #bbb;
  border-right: 1px solid #bbb;
  position: relative;
  z-index: 2;
}

.stage-tab-btn:hover:not(.active) {
  background: #c8c8c8;
}

/* --- Panels --- */
.stage-panels {
  border: 1px solid #bbb;
  background: #fff;
  position: relative;
  z-index: 1;
}

.stage-panel {
  display: none;
  padding: 30px 30px 30px;
}

.stage-panel.active {
  display: block;
}

.step-tabs-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.step-tab-text {
  flex: 1 1 50%;
}

.step-tab-text h3 {
  font-family: var(--font-impact);
  font-size: 22px;
  color: var(--color-primary);
  margin: 0 0 15px;
}

.step-tab-text p, .step-tab-text li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 8px;
}

.step-tab-text ul {
  padding-left: 20px;
}

.step-tab-img {
  flex: 0 0 45%;
}

.step-tab-img img {
  width: 100%;
  height: auto;
  min-height: 200px;
  border-radius: 6px;
  display: block;
  background: #e0e8f4;
}

.step-tab-img img[src=""] ,
.step-tab-img img:not([src]) {
  min-height: 220px;
}

/* ==========================================
   GEO PAGE — INTRO & SETTLEMENTS
   ========================================== */

.geo-intro {
  text-align: justify;
  line-height: 1.8;
}
.geo-intro p, .geo-intro br + br {
  margin-bottom: 12px;
}

.settlements-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.settlements-list li {
  position: relative;
  padding-left: 18px;
  color: #333;
  line-height: 1.6;
}
.settlements-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #1565C0;
}

/* ==========================================
   FAQ ACCORDION
   ========================================== */

.faq-section {
  max-width: 1090px;
  margin: 0 auto 80px;
  padding: 0 25px;
}

.faq-item {
  margin-bottom: 8px;
}

.faq-question {
  background: var(--color-primary);
  color: #fff;
  padding: 15px 50px 15px 20px;
  border-radius: 15px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.4;
  position: relative;
  transition: opacity 0.2s ease;
  list-style: none;
  user-select: none;
}

.faq-question:hover {
  opacity: 0.85;
}

.faq-question::after {
  content: '';
  display: block;
  width: 17px;
  height: 17px;
  background: url('/assets/img/kr.png') center no-repeat;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.faq-item.open .faq-question::after {
  background-image: url('/assets/img/mn.png');
}

.faq-answer {
  display: none;
  border-left: 11px solid var(--color-primary);
  padding: 15px 20px 15px 25px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
  background: transparent;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ==========================================
   CTA BANNER (orange strip)
   ========================================== */

.cta-strip {
  background-color: var(--color-footer-cta);
  text-align: center;
  color: #fff;
  padding: 33px 50px;
  font-size: 21px;
  line-height: 1.6;
}

.cta-strip .phone-bottom {
  font-size: 31px;
  font-weight: bold;
  color: #fff;
  display: block;
  margin-top: 10px;
  text-decoration: none;
}

.cta-strip .phone-bottom:hover {
  text-decoration: none;
}

.cta-strip .cta-strip-btn {
  display: inline-block;
  padding: 0 40px;
  border-radius: var(--border-radius-btn);
  background-color: var(--color-primary);
  font-weight: bold;
  text-decoration: none;
  line-height: 60px;
  color: #fff;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 18px;
  font-family: inherit;
}

.cta-strip .cta-strip-btn:hover {
  background-color: #fff;
  color: var(--color-primary);
}

.cta-strip-form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.cta-strip-form .cta-strip-btn {
  margin-top: 0;
}

.cta-strip-input {
  height: 60px;
  padding: 0 20px;
  font-size: 18px;
  border: 2px solid transparent;
  border-radius: var(--border-radius-btn);
  outline: none;
  width: 260px;
  background: #fff;
  color: #222;
  transition: border-color 0.2s;
  font-family: inherit;
}

.cta-strip-input::placeholder {
  color: #999;
}

.cta-strip-input:focus {
  border-color: var(--color-primary);
}

.cta-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
  font-size: 12px;
  color: rgba(255,255,255,.8);
  line-height: 1.4;
  width: 100%;
  max-width: 440px;
  margin-top: 4px;
  text-align: left;
}

.cta-consent-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: #ef6833;
  width: 15px;
  height: 15px;
}

.cta-consent-label a {
  color: rgba(255,255,255,.9);
  text-decoration: underline;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
  background-color: var(--color-primary);
  clear: both;
}

.footer-content {
  display: flex;
  max-width: 1080px;
  padding: 50px 25px;
  margin: 0 auto;
  width: 100%;
  gap: 20px;
}

.footer-col {
  flex: 1;
  min-width: 0;
}

.footer-col-right {
  flex: 0 0 25%;
  text-align: right;
}

.footer-heading {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 15px;
}

.footer nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer nav ul li {
  margin: 12px 0;
  padding: 0;
}

.footer nav ul li a {
  color: #fff;
  text-decoration: none;
  padding-left: 14px;
  position: relative;
  font-size: 14px;
  line-height: 1.4;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer nav ul li a::before {
  content: '';
  display: block;
  width: 6px;
  height: 2px;
  position: absolute;
  top: 10px;
  left: 0;
  background-color: #fff;
  transition: background-color 0.3s ease;
}

.footer nav ul li a:hover {
  color: var(--color-accent-hover);
  text-decoration: none;
}

.footer nav ul li a:hover::before {
  background-color: var(--color-accent-hover);
}

.footer-contacts {
  color: #fff;
}

.footer-contacts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contacts ul li {
  margin: 12px 0;
  color: #fff;
  font-size: 14px;
}

.footer-contacts .footer-logo img {
  width: 200px;
  margin-bottom: 10px;
}

.footer-contacts a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: bold;
  transition: color 0.3s ease;
}

.footer-contacts a:hover {
  color: var(--color-accent);
}

.footer-icons {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-top: 10px;
}

.footer-icons a img {
  width: 32px;
  height: 32px;
}

.footer-bottom {
  background-color: var(--color-bg-dark);
  text-align: center;
  padding: 15px 20px;
}

.footer-bottom ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
}

.footer-bottom ul li {
  color: #d6d6d6;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-bottom ul li a {
  color: #d6d6d6;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom ul li a:hover {
  color: var(--color-accent);
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

.contacts-grid {
  display: flex;
  gap: 30px;
  margin: 30px 0;
}

.contacts-info {
  flex: 1;
  background: #fff;
}

.contacts-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacts-info ul li {
  margin: 20px 0;
  padding-left: 80px;
  position: relative;
  min-height: 60px;
  line-height: 1.5;
}

.contacts-info ul li::before {
  content: '';
  display: block;
  width: 55px;
  height: 55px;
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.contacts-info ul li:nth-child(1)::before { background-image: url('/assets/img/tel.svg'); }
.contacts-info ul li:nth-child(2)::before { background-image: url('/assets/img/office.svg'); }
.contacts-info ul li:nth-child(3)::before { background-image: url('/assets/img/grafik.svg'); }
.contacts-info ul li:nth-child(4)::before { background-image: url('/assets/img/manager.svg'); }

.contacts-map {
  flex: 1;
  background: var(--color-bg-secondary);
  padding: 20px 30px 30px;
}

.contacts-map h2 {
  font-size: 22px;
  text-align: center;
  padding-top: 20px;
  color: var(--color-primary);
}

/* ==========================================
   OUR WORKS / НАШИ РАБОТЫ
   ========================================== */

.works-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px 0;
}

.works-gallery-item {
  flex: 0 0 calc(50% - 10px);
}

.works-gallery-item img {
  display: block;
  width: 100%;
  height: auto;
  border: 5px solid var(--color-primary);
  transition: border-color 0.3s ease;
}

.works-gallery-item img:hover {
  border-color: var(--color-accent);
}

/* ==========================================
   COMPARISON TABLE (МГБУ vs УРБ)
   ========================================== */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.comparison-table th {
  background-color: var(--color-primary);
  color: #fff;
  padding: 15px 10px;
  text-align: center;
  font-size: 16px;
}

.comparison-table td {
  padding: 12px 15px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.comparison-table tr:nth-child(even) {
  background-color: #f9f9f9;
}

.comparison-table tr:hover {
  background-color: #f0f0f0;
}

/* ==========================================
   REGION DISTRICT LINKS
   ========================================== */

.district-section {
  background-color: var(--color-bg-secondary);
  padding: 30px 0 50px;
}

.district-links {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 25px 0;
}

.district-links ul {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 14px;
}

.district-links ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #fff;
  padding: 18px 16px;
  border-radius: 44px;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.25s ease;
  text-align: center;
  line-height: 1.2;
  min-height: 62px;
}

.district-links ul li a:hover {
  background-color: var(--color-accent);
  text-decoration: none;
}

/* ==========================================
   CONTACT FORM (in pages)
   ========================================== */

.contact-form-section {
  background: #fff;
  border-radius: 50px;
  padding: 50px;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  background-color: #dedede;
  border: none;
  border-radius: 10px;
  font-family: Helvetica, sans-serif;
  font-size: 16px;
  color: var(--color-text);
  text-align: center;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--color-primary);
  background-color: #f0f0f0;
}

.form-submit-btn {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 20px auto 0;
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0;
  line-height: 55px;
  height: 55px;
  font-family: var(--font-impact);
  font-size: 20px;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

.form-submit-btn:hover {
  background-color: var(--color-primary);
}

.form-privacy {
  font-size: 11px;
  color: var(--color-text-muted);
  text-align: center;
  margin-top: 10px;
}

.honeypot-field {
  display: none !important;
  position: absolute;
  left: -9999px;
}

/* ==========================================
   SCHDULED CONTACT CTA IN CONTENT PAGES
   ========================================== */

.inline-cta {
  background: var(--color-bg-secondary);
  border-radius: var(--border-radius);
  padding: 30px;
  margin: 30px 0;
  text-align: center;
}

.inline-cta h3 {
  margin-bottom: 15px;
}

.inline-cta .phone-link {
  font-family: var(--font-impact);
  font-size: 32px;
  color: var(--color-primary);
  display: block;
  margin: 10px 0;
}

/* ==========================================
   UTILITY
   ========================================== */

.container {
  max-width: var(--container-width);
  width: 100%;
  padding: 0 15px;
  margin: 0 auto;
}

.section-wrap {
  max-width: 1090px;
  margin: 0 auto;
  padding: 0 25px;
}

.text-center { text-align: center; }
.text-justify { text-align: justify; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================
   RESPONSIVE — TABLET (max 1150px)
   ========================================== */

@media screen and (max-width: 1150px) {
  .shapka {
    height: auto;
    min-height: 90px;
    flex-wrap: wrap;
    padding: 15px 20px 60px;
  }

  .logo {
    margin: 5px auto;
    display: block;
  }

  .topicons {
    display: none;
  }

  .tel-top {
    position: absolute;
    right: 0;
    left: 0;
    bottom: 10px;
    top: auto;
    text-align: center;
  }

  .obr-btn {
    position: absolute;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    bottom: 10px;
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .main-nav > ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .main-nav > ul.open {
    display: flex;
  }

  .main-nav > ul > li {
    display: block;
    width: 100%;
    border: 1px solid #263c5c;
    border-left: none;
    border-right: none;
    padding: 12px 20px;
    float: none;
    height: auto;
  }

  .main-nav > ul > li > ul {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(255,255,255,0.1);
    top: auto;
    padding: 0;
  }

  .main-nav > ul > li.open > ul {
    display: block;
  }

  .main-nav > ul > li > ul > li > a {
    color: #fff;
    padding: 8px 15px 8px 30px;
  }

  .main-nav > ul > li > ul > li > a:hover {
    color: var(--color-accent);
  }

  .slogan {
    font-size: 30px;
    margin-left: 0;
    left: 5%;
    transform: none;
    top: 30px;
    max-width: 60%;
  }

  .slogan h1 {
    font-size: 30px;
  }

  .banner-glav {
    height: 350px;
  }

  .service-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .content-osn {
    padding: 0 25px;
  }

  .footer-content {
    flex-wrap: wrap;
  }

  .footer-col {
    flex: 0 0 48%;
  }

  .footer-col-right {
    flex: 0 0 100%;
    text-align: center;
  }

  .footer-icons {
    justify-content: center;
  }

  .contacts-grid {
    flex-direction: column;
  }

  .works-gallery-item {
    flex: 0 0 100%;
  }

  h1 { font-size: 30px; }
  h2 { font-size: 24px; }
  .section-title { font-size: 28px; }
}

/* ==========================================
   RESPONSIVE — MOBILE (max 768px)
   ========================================== */

@media screen and (max-width: 768px) {
  .slogan {
    font-size: 22px;
    max-width: 90%;
    left: 5%;
    top: 20px;
  }

  .slogan h1 {
    font-size: 22px;
  }

  .slogan .cta-btn {
    width: 220px;
    font-size: 15px;
  }

  .banner-glav {
    height: 280px;
  }

  .step-tabs-inner {
    flex-direction: column;
  }

  .step-tab-img {
    flex: 0 0 100%;
  }

  .stage-tab-btn {
    font-size: 15px;
    padding: 12px 6px;
  }

  .district-links ul {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-strip {
    padding: 20px;
    font-size: 16px;
  }

  .cta-strip .phone-bottom {
    font-size: 24px;
  }

  .cta-strip-form {
    flex-direction: column;
    gap: 8px;
  }

  .cta-strip-input {
    width: 100%;
    max-width: 320px;
  }

  .faq-question {
    font-size: 15px;
    padding: 12px 45px 12px 15px;
  }

  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
}

/* ==========================================
   RESPONSIVE — MOBILE (max 480px)
   ========================================== */

@media screen and (max-width: 480px) {
  .shapka {
    padding: 10px 15px 50px;
  }

  .slogan {
    font-size: 18px;
  }

  .slogan h1 {
    font-size: 18px;
  }

  .banner-glav {
    height: 220px;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .district-links ul {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .district-links ul li a {
    padding: 14px 10px;
    font-size: 14px;
    min-height: 50px;
  }

  .contact-form-section {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .footer-col {
    flex: 0 0 100%;
  }
}

/* ==========================================
   Попап «Обратный звонок»
   ========================================== */
.cb-modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  box-sizing: border-box;
}

.cb-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #888;
  cursor: pointer;
  padding: 0 4px;
}
.cb-modal-close:hover { color: #333; }

.cb-modal-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: #1a2e4a;
}

.cb-modal-sub {
  margin: 0 0 20px;
  font-size: 14px;
  color: #666;
}

.cb-modal-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  margin-bottom: 12px;
  border: 1.5px solid #ccd3dc;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color .2s;
}
.cb-modal-input:focus { border-color: #264d83; }

.cb-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: #555;
  margin-bottom: 16px;
  cursor: pointer;
}
.cb-consent-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}
.cb-consent-label a { color: #264d83; }

.cb-modal-btn {
  display: block;
  width: 100%;
  padding: 14px;
  background: #e8311a;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .3px;
  transition: background .2s;
}
.cb-modal-btn:hover:not(:disabled) { background: #c4240e; }
.cb-modal-btn:disabled { opacity: .6; cursor: default; }

@media (max-width: 480px) {
  .cb-modal-box {
    padding: 32px 20px 28px;
    border-radius: 12px;
    margin: 0 12px;
  }
}

/* ── Sticky mobile CTA bar ── */
.mob-cta-bar {
  display: none;
}
@media (max-width: 768px) {
  .mob-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 8000;
    background: #fff;
    border-top: 1px solid #dde3ee;
    box-shadow: 0 -2px 10px rgba(0,0,0,.12);
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    gap: 10px;
    transform: translateY(0);
    transition: transform .25s ease;
  }
  .mob-cta-bar.mob-cta-bar--hidden {
    transform: translateY(110%);
  }
  .mob-cta-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 13px 8px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    line-height: 1.1;
    letter-spacing: .2px;
  }
  .mob-cta-btn--call {
    background: #e8311a;
    color: #fff;
  }
  .mob-cta-btn--calc {
    background: #264d83;
    color: #fff;
  }
}
