/* ==========================================================================
   ФИРМЕННЫЙ СТИЛЬ: ВАСИЛЬЕВА ТАТЬЯНА — ЭКСПЕРТ ПО НЕДВИЖИМОСТИ
   Агентство недвижимости «Монолит», г. Чебоксары
   Палитра: Тёмно-синий, Оранжевый, Белый
   ========================================================================== */

:root {
  /* Фирменная палитра АН «Монолит» */
  --color-navy: #12367d;
  --color-navy-dark: #0a1f49;
  --color-navy-light: #1c4b9e;
  --color-navy-glow: rgba(18, 54, 125, 0.15);

  --color-orange: #eb5a14;
  --color-orange-hover: #d64d0a;
  --color-orange-light: #fff2ec;
  --color-orange-glow: rgba(235, 90, 20, 0.28);

  --color-white: #ffffff;
  --color-bg: #f8fafc;
  --color-bg-alt: #f1f5f9;
  --color-card-bg: #ffffff;

  --color-text: #1e293b;
  --color-text-muted: #53647d;
  --color-border: #e2e8f0;

  /* Типографика и геометрия */
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-cursive: 'Marck Script', cursive;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Тени */
  --shadow-sm: 0 2px 8px rgba(18, 54, 125, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 54, 125, 0.08);
  --shadow-lg: 0 16px 36px rgba(18, 54, 125, 0.12);
  --shadow-orange: 0 10px 24px var(--color-orange-glow);

  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Сброс и базовые настройки */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 15px;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  padding-top: 72px;
}

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

p, h1, h2, h3, h4, h5, h6, span, a, li, button {
  overflow-wrap: break-word;
  word-break: normal;
}

section[id] {
  scroll-margin-top: 74px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* ==========================================================================
   ШАПКА САЙТА (HEADER & NAV)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(18, 54, 125, 0.08);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background 0.25s ease;
  transform: translateY(0);
  will-change: transform;
  pointer-events: auto;
}

.site-header.header-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(18, 54, 125, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  max-width: 1280px;
  gap: 20px;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-logo {
  height: 38px;
  width: auto;
  display: block;
}

.header-city-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-navy);
  background: var(--color-bg-alt);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  white-space: nowrap;
}

.header-city-badge svg {
  width: 13px;
  height: 13px;
  fill: var(--color-orange);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-orange);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  white-space: nowrap;
}

.header-phone-link svg {
  width: 15px;
  height: 15px;
  fill: var(--color-orange);
}

.header-phone-link:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  white-space: nowrap;
}

.header-cta-btn:hover {
  background: var(--color-orange-hover);
  transform: translateY(-1px);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  height: 24px;
  justify-content: center;
}

.mobile-menu-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   ПЕРВЫЙ ЭКРАН (HERO SECTION)
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 48px 0 60px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  overflow: hidden;
}

.hero-bg-accent {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(235, 90, 20, 0.08) 0%, rgba(18, 54, 125, 0.02) 70%, transparent 100%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 16px;
}

.hero-meta-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-orange);
  border-radius: 50%;
}

.hero-meta-badge span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: 0.5px;
}

.hero-name {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-navy);
  margin-bottom: 8px;
  letter-spacing: -0.4px;
}

.hero-role {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.positioning-badge-large {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--color-white);
  padding: 12px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 54, 125, 0.08);
  margin-bottom: 22px;
}

.positioning-badge-large .house-icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.positioning-badge-large span {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-navy);
}

.hero-description {
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  border-left: 3.5px solid var(--color-orange);
  padding-left: 18px;
  margin-bottom: 28px;
  max-width: 550px;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #f56e1b 0%, #eb5a14 100%);
  color: var(--color-white);
  padding: 14px 30px;
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(235, 90, 20, 0.38);
}

.btn-phone-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 14px 26px;
  border-radius: var(--radius-full);
  font-size: 15.5px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(18, 54, 125, 0.22);
  transition: var(--transition);
}

.btn-phone-call svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.btn-phone-call:hover {
  background: var(--color-navy-light);
  transform: translateY(-2px);
}

.hero-social-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-social-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-muted);
}

.social-pills-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.social-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: var(--color-navy);
  transition: var(--transition);
}

.social-icon-btn.vk:hover {
  background: #0077ff;
  border-color: #0077ff;
}
.social-icon-btn.vk:hover svg {
  fill: #ffffff;
}

.social-icon-btn.instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  border-color: transparent;
}
.social-icon-btn.instagram:hover svg {
  fill: #ffffff;
}

.social-icon-btn.max:hover {
  background: var(--color-navy);
  border-color: var(--color-navy);
}
.social-icon-btn.max:hover svg {
  fill: #ffffff;
}

/* Портретная карточка в Hero */
.hero-portrait-card {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 410px;
  border-radius: 26px;
  padding: 10px;
  background: var(--color-white);
  box-shadow: 0 18px 44px rgba(18, 54, 125, 0.14);
  border: 1px solid rgba(18, 54, 125, 0.08);
  transition: var(--transition);
}

.portrait-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(18, 54, 125, 0.18);
}

.portrait-frame-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 18px;
  overflow: hidden;
  background: #eef2f6;
}

.portrait-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(18, 54, 125, 0.08);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 5;
}

.floating-badge.badge-top {
  top: -14px;
  left: -16px;
}

.floating-badge.badge-bottom {
  bottom: -16px;
  right: -8px;
}

.floating-badge .icon-box {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-badge .icon-box svg {
  width: 18px;
  height: 18px;
  stroke: var(--color-orange);
  fill: none;
}

.floating-badge .badge-text h4 {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--color-navy);
}

.floating-badge .badge-text p {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--color-text-muted);
}

/* ==========================================================================
   СЕКЦИЯ «ОБО МНЕ» (ABOUT SECTION)
   ========================================================================== */
.section {
  padding: 64px 0;
  position: relative;
}

.section-about {
  background: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 36px auto;
}

.section-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: var(--color-orange-light);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 12px;
}

.about-card-box {
  background: var(--color-bg);
  border-radius: 18px;
  padding: 30px 34px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.about-card-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--color-orange);
}

.about-main-text {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--color-text);
  font-weight: 500;
  margin-bottom: 24px;
}

.about-main-text strong {
  color: var(--color-navy);
  font-weight: 700;
}

.about-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.fact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fact-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fact-icon svg {
  width: 19px;
  height: 19px;
  fill: var(--color-navy);
}

.fact-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.fact-content p {
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--color-text-muted);
}

/* ==========================================================================
   СЕКЦИЯ «ИНЖЕНЕРНЫЙ ПОДХОД» (CORE USP SECTION)
   ========================================================================== */
.section-engineering {
  background: linear-gradient(180deg, #0d275e 0%, #0a1f49 100%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.engineering-blueprint-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.section-engineering .section-tag {
  background: rgba(235, 90, 20, 0.2);
  color: #ff8c4a;
}

.section-engineering .section-title {
  color: var(--color-white);
}

.engineering-subtitle {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 580px;
  margin: 0 auto;
}

.engineering-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  z-index: 2;
}

.eng-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.eng-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--color-orange);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.eng-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  height: 48px;
}

.eng-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(235, 90, 20, 0.2) 0%, rgba(235, 90, 20, 0.05) 100%);
  border: 1px solid rgba(235, 90, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.eng-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: #ff7a29;
  fill: none;
}

.eng-step-num {
  font-size: 22px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1;
}

.eng-card-title {
  font-size: 17.5px;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.25;
  margin-bottom: 10px;
  min-height: 44px;
  display: flex;
  align-items: flex-start;
}

.eng-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
  min-height: 58px;
  display: flex;
  align-items: flex-start;
}

.eng-card-list {
  list-style: none;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.eng-card-list li {
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 8px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-height: 34px;
}

.eng-card-list li:last-child {
  margin-bottom: 0;
}

.eng-card-list li svg {
  width: 14px;
  height: 14px;
  fill: var(--color-orange);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   СЕКЦИЯ «ЧЕМ МОГУ ПОМОЧЬ» (SERVICES SECTION)
   ========================================================================== */
.section-services {
  background: var(--color-bg);
}

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

.service-card {
  background: var(--color-white);
  border-radius: 16px;
  padding: 24px 20px;
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.service-card:hover,
.service-card.active-service {
  transform: translateY(-4px);
  border-color: var(--color-orange);
  box-shadow: 0 10px 24px rgba(235, 90, 20, 0.2);
}

.service-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-orange-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  flex-shrink: 0;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.service-card.active-service .service-icon-box {
  background: rgba(235, 90, 20, 0.16);
  transform: scale(1.05);
}

.service-icon-box svg {
  width: 22px;
  height: 22px;
  stroke: var(--color-orange);
  fill: none;
}

.service-card-title {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.25;
  margin-bottom: 8px;
  min-height: 42px;
  display: flex;
  align-items: flex-start;
}

.service-card-desc {
  font-size: 13.5px;
  color: var(--color-text-muted);
  line-height: 1.55;
  min-height: 58px;
}

/* 5-я карточка на планшетах/десктопе занимает акцентную позицию */
.service-card.highlight {
  background: linear-gradient(145deg, #ffffff 0%, #fdf8f4 100%);
  border-color: rgba(235, 90, 20, 0.3);
}

/* ==========================================================================
   СЕКЦИЯ «ПОЧЕМУ СТОИТ ОБРАТИТЬСЯ» (ADVANTAGES)
   ========================================================================== */
.section-advantages {
  background: var(--color-white);
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.advantage-card {
  background: var(--color-bg);
  border-radius: 14px;
  padding: 20px 14px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.advantage-card:hover {
  border-color: var(--color-navy);
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.adv-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 8px;
  line-height: 1;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.adv-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.35;
  margin-bottom: 8px;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.adv-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.45;
  min-height: 52px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
  width: 100%;
}

/* ==========================================================================
   СЕКЦИЯ ОБРАТНОЙ СВЯЗИ (LEAD FORM SECTION)
   ========================================================================== */
.section-lead-form {
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f9 100%);
  position: relative;
}

.form-wrapper-box {
  background: var(--color-white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(18, 54, 125, 0.08);
  overflow: hidden;
  max-width: 780px;
  margin: 0 auto;
}

.form-header-banner {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-dark) 100%);
  color: var(--color-white);
  padding: 28px 30px;
  text-align: center;
  position: relative;
}

.form-header-banner h3 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.form-header-banner p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 540px;
  margin: 0 auto;
}

.lead-form-content {
  padding: 28px 36px;
}

.form-group-type {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.type-pills-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.type-pill-btn {
  padding: 9px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--color-text);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.type-pill-btn.active, .type-pill-btn:hover {
  background: var(--color-orange-light);
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.form-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-input, .form-textarea {
  width: 100%;
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-text);
  background: var(--color-bg);
  transition: var(--transition);
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 3px var(--color-orange-glow);
}

.form-input.input-error {
  border-color: #ef4444 !important;
  background-color: #fef2f2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
}

.form-textarea {
  min-height: 85px;
  resize: vertical;
}

.form-policy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--color-text-muted);
  transition: var(--transition);
}

.form-policy-check:last-of-type {
  margin-bottom: 22px;
}

.form-policy-check input {
  margin-top: 2px;
  accent-color: var(--color-orange);
  cursor: pointer;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.form-policy-check label {
  cursor: pointer;
  transition: var(--transition);
}

.form-policy-check a {
  color: var(--color-navy);
  text-decoration: underline;
  transition: var(--transition);
  font-weight: 500;
}

.form-policy-check a:hover {
  color: var(--color-orange);
}

.required-star {
  color: #ef4444;
  font-weight: 700;
  font-size: 14px;
}

.meta-star {
  position: absolute;
  top: 1px;
  right: 2px;
  color: #ffffff !important;
  font-weight: 800;
  font-size: 11px;
  line-height: 1;
  pointer-events: none;
}

.social-icon-btn .meta-star {
  color: #475569 !important;
}

.social-icon-btn:hover .meta-star {
  color: #ffffff !important;
}

.footer-social-btn .meta-star {
  color: #ffffff !important;
}

.form-policy-check.input-error label {
  color: #ef4444 !important;
}

.form-policy-check.input-error input {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

.btn-submit-lead {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #f56e1b 0%, #eb5a14 100%);
  color: var(--color-white);
  border-radius: var(--radius-full);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: var(--shadow-orange);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-lead:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(235, 90, 20, 0.4);
}

.btn-submit-lead:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.direct-connect-options {
  text-align: center;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
}

.direct-connect-options p {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.direct-buttons-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.direct-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: var(--transition);
}

.direct-btn svg {
  width: 16px;
  height: 16px;
}

.direct-btn:hover {
  border-color: var(--color-navy);
  color: var(--color-navy);
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   СЕКЦИЯ «ЦИФРОВАЯ ВИЗИТКА ДЛЯ СКАЧИВАНИЯ»
   ========================================================================== */
.section-business-card-download {
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.cards-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.card-preview-container {
  background: var(--color-bg);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.card-preview-container img {
  border-radius: 10px;
  box-shadow: var(--shadow-md);
  margin: 0 auto 14px auto;
  max-height: 220px;
  object-fit: contain;
}

.card-preview-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.card-preview-info p {
  font-size: 12.5px;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.card-download-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.btn-download-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: var(--radius-full);
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-navy);
  transition: var(--transition);
}

.btn-download-sm:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

/* ==========================================================================
   ПОДВАЛ САЙТА (FOOTER)
   ========================================================================== */
.site-footer {
  background: #091733;
  color: #a0aec0;
  padding: 42px 0 24px 0;
  border-top: 4px solid var(--color-orange);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 28px;
}

.footer-brand h4 {
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 4px;
}

.footer-brand p {
  font-size: 13px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.footer-slogan {
  font-family: var(--font-cursive);
  font-size: 21px;
  color: #ff914d;
}

.footer-contacts-col h5, .footer-social-col h5 {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.footer-phone-big {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 6px;
}

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

.footer-city-info {
  font-size: 12.5px;
  color: #94a3b8;
}

.footer-social-links {
  display: flex;
  gap: 10px;
}

.footer-social-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: var(--transition);
}

.footer-social-btn svg {
  width: 17px;
  height: 17px;
  fill: #ffffff;
}

.footer-social-btn:hover {
  background: var(--color-orange);
  border-color: var(--color-orange);
}

.footer-email-link {
  display: block;
  font-size: 13.5px;
  color: #ff914d;
  font-weight: 600;
  text-decoration: underline;
  margin-top: 4px;
  margin-bottom: 8px;
  transition: var(--transition);
}

.footer-email-link:hover {
  color: #ffffff;
}

.footer-legal-block {
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 1.65;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-operator-info {
  margin-bottom: 8px;
  color: #ffffff;
}

.footer-operator-info strong {
  color: #ffffff;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.footer-legal-links .sep {
  color: rgba(255, 255, 255, 0.6);
}

.footer-policy-link {
  color: #ffffff;
  text-decoration: underline;
  transition: var(--transition);
}

.footer-policy-link:hover {
  color: #ffffff;
  opacity: 0.8;
}

.footer-meta-disclaimer {
  font-size: 11.5px;
  color: #ffffff !important;
  font-weight: 500;
  margin: 8px 0;
}

.footer-disclaimer-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 4px;
}

.footer-bottom-bar {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   МОБИЛЬНАЯ ПЛАВАЮЩАЯ ПАНЕЛЬ СВЯЗИ (FLOATING ACTION BAR)
   ========================================================================== */
.floating-mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 16px;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  z-index: 999;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
  will-change: transform, opacity;
}

.floating-mobile-bar.bar-hidden {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}

.mobile-bar-call-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-orange);
  color: var(--color-white);
  padding: 12px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 14.5px;
  box-shadow: var(--shadow-orange);
}

.mobile-bar-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.mobile-bar-social-btn svg {
  width: 20px;
  height: 20px;
  fill: var(--color-navy);
}

/* ==========================================================================
   МОДАЛЬНОЕ ОКНО УСПЕШНОЙ ОТПРАВКИ
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 31, 73, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--color-white);
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: var(--transition);
}

.modal-backdrop.active .modal-box {
  transform: translateY(0);
}

.modal-icon-success {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #e6f9ed;
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.modal-icon-success svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.modal-box h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 12px;
}

.modal-box p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
   АДАПТИВНОСТЬ (RESPONSIVE MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 1200px) {
  .header-container {
    gap: 14px;
    padding: 0 20px;
  }

  .header-phone-link {
    display: none;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 13.5px;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
    border-left: none;
    border-top: 3px solid var(--color-orange);
    padding-left: 0;
    padding-top: 14px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-social-row {
    justify-content: center;
  }

  .about-facts-grid {
    grid-template-columns: 1fr;
  }

  .engineering-cards-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 960px) {
  .main-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  /* Базовый ритм секций */
  .section-padding {
    padding: 50px 0;
  }

  .container {
    padding: 0 16px;
    width: 100%;
    box-sizing: border-box;
  }

  /* Шапка сайта */
  .header-container {
    height: 64px;
    padding: 0 16px;
  }

  .main-nav {
    display: none;
  }

  .header-phone-link {
    display: none;
  }

  .header-logo {
    height: 34px;
  }

  .header-city-badge {
    padding: 4px 8px;
    font-size: 11.5px;
    gap: 4px;
  }

  .header-city-badge svg {
    width: 12px;
    height: 12px;
  }

  .header-cta-btn {
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: var(--radius-full);
    white-space: nowrap;
  }

  /* Первый экран (Hero) */
  .hero-section {
    padding: 30px 0 45px 0;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .hero-content-col {
    display: contents; /* Позволяет детям участвовать в едином flex-порядке с фото! */
  }

  .hero-meta-badge {
    order: 1;
    margin: 0 auto 14px auto;
    padding: 6px 14px;
    font-size: 12px;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-name {
    order: 2;
    font-size: clamp(28px, 7.5vw, 36px);
    line-height: 1.15;
    margin-bottom: 8px;
    word-break: normal;
    overflow-wrap: break-word;
    text-align: center;
  }

  .hero-role {
    order: 3;
    font-size: 14.5px;
    letter-spacing: 1.2px;
    margin-bottom: 16px;
    text-align: center;
  }

  /* Бейдж позиционирования */
  .positioning-badge-large {
    order: 4;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-bottom: 18px;
    text-align: left;
    border-radius: 14px;
  }

  .positioning-badge-large .house-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
  }

  .positioning-badge-large span {
    font-size: clamp(14px, 4vw, 16px);
    line-height: 1.35;
  }

  .hero-description {
    order: 5;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 22px;
    max-width: 100%;
    padding: 12px 14px;
    text-align: center;
  }

  /* 6. ФОТОГРАФИЯ РИЕЛТОРА — НАД КНОПКАМИ ДЕЙСТВИЯ! */
  .hero-image-col {
    order: 6;
    width: 100%;
    margin-bottom: 22px;
  }

  .hero-portrait-card {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 18px;
  }

  .hero-portrait-img {
    height: 330px;
    object-position: center top;
  }

  /* 7. Кнопки «Оставить заявку» и «Позвонить» — прямо под фото! */
  .hero-actions {
    order: 7;
    flex-direction: column;
    width: 100%;
    gap: 12px;
    margin-bottom: 20px;
  }

  .btn-primary,
  .btn-phone-call {
    width: 100%;
    padding: 15px 18px;
    font-size: 15px;
    box-sizing: border-box;
    justify-content: center;
  }

  /* 8. Соцсети под кнопками */
  .hero-social-row {
    order: 8;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    align-items: center;
  }

  .hero-social-label {
    font-size: 13px;
  }

  .social-pills-group {
    justify-content: center;
  }

  /* Типографика секций */
  .section-tag {
    font-size: 11.5px;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: clamp(21px, 5.5vw, 26px);
    line-height: 1.25;
    margin-bottom: 12px;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .section-subtitle {
    font-size: 14px;
    line-height: 1.5;
  }

  .section-header {
    margin-bottom: 26px;
  }

  /* Секция «Обо мне» — компактные горизонтальные плашки фактов */
  .about-card-box {
    padding: 22px 16px;
    border-radius: 16px;
  }

  .about-main-text {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 18px;
  }

  .about-facts-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 14px;
  }

  .fact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    text-align: left;
  }

  .fact-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
  }

  .fact-content h4 {
    font-size: 14.5px;
    margin-bottom: 2px;
  }

  .fact-content p {
    font-size: 12.5px;
    line-height: 1.4;
  }

  /* Секция «Инженерный подход» — горизонтальный свайп-слайдер (snap-scroll) */
  .engineering-cards-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 6px 16px 16px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }

  .engineering-cards-grid::-webkit-scrollbar {
    display: none;
  }

  .eng-card {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    padding: 20px 18px;
    border-radius: 18px;
  }

  /* Сброс min-height на мобильном */
  .eng-card-title,
  .eng-card-desc,
  .eng-card-list li {
    min-height: auto;
  }

  .eng-card-title {
    font-size: 17.5px;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .eng-card-desc {
    font-size: 13.5px;
    line-height: 1.5;
    margin-bottom: 14px;
  }

  .eng-card-list {
    padding-top: 12px;
  }

  .eng-card-list li {
    font-size: 12.5px;
    line-height: 1.4;
    margin-bottom: 8px;
    gap: 8px;
  }

  /* Карточки «Инженерный подход» — активное состояние при свайпе на тёмном фоне */
  .eng-card.active-eng {
    border-color: var(--color-orange) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 24px rgba(235, 90, 20, 0.35) !important;
    background: rgba(255, 255, 255, 0.12) !important;
  }

  /* Секция «Услуги» — горизонтальный свайп-слайдер (snap-scroll) */
  .services-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding: 6px 16px 18px 16px;
    margin: 0 -16px;
    scrollbar-width: none;
  }

  .services-grid::-webkit-scrollbar {
    display: none;
  }

  .service-card {
    flex: 0 0 80%;
    max-width: 80%;
    scroll-snap-align: center;
    padding: 18px 16px;
    border-radius: 16px;
    border: 1.5px solid var(--color-border);
    transition: border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, transform 0.22s ease;
  }

  /* Автоматическая оранжевая рамка и свечение при перелистывании карточки в центр */
  .service-card.active-service {
    border-color: var(--color-orange) !important;
    box-shadow: 0 10px 24px rgba(235, 90, 20, 0.24) !important;
    background: linear-gradient(145deg, #ffffff 0%, #fff7f2 100%) !important;
    transform: translateY(-2px);
  }

  .service-card.active-service .service-icon-box {
    background: rgba(235, 90, 20, 0.16);
    transform: scale(1.05);
  }

  .service-card.highlight:not(.active-service) {
    border-color: var(--color-border);
    background: var(--color-white);
  }

  .service-card-title,
  .service-card-desc {
    min-height: auto;
  }

  .service-card-title {
    font-size: 16.5px;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .service-card-desc {
    font-size: 13px;
    line-height: 1.5;
  }

  /* Секция «Преимущества» — компактная сетка 2 колонки */
  .advantages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .advantage-card {
    padding: 14px 12px;
    border-radius: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .advantage-card:last-child {
    grid-column: span 2;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ffffff 0%, #fff6f0 100%);
    border-color: rgba(235, 90, 20, 0.25);
  }

  .advantage-card:last-child .adv-num {
    margin: 0;
  }

  .adv-num {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--color-orange);
    margin-bottom: 4px;
  }

  .adv-title,
  .adv-desc {
    min-height: auto;
    text-align: left;
    justify-content: flex-start;
  }

  .adv-title {
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 3px;
  }

  .adv-desc {
    font-size: 11.5px;
    line-height: 1.35;
  }

  /* Компактная форма заявки */
  .form-wrapper-box {
    border-radius: 18px;
    margin: 0;
  }

  .form-header-banner {
    padding: 16px 14px;
  }

  .form-header-banner h3 {
    font-size: 17.5px;
    line-height: 1.25;
    margin-bottom: 4px;
  }

  .form-header-banner p {
    font-size: 12px;
    line-height: 1.35;
  }

  .lead-form-content {
    padding: 16px 14px;
  }

  .form-group-type {
    margin-bottom: 12px;
  }

  .type-pills-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .type-pill-btn {
    padding: 8px 4px;
    font-size: 12.5px;
    text-align: center;
    border-radius: 10px;
    flex: none;
  }

  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 8px;
  }

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

  .form-label {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .form-input {
    padding: 10px 12px;
    font-size: 13.5px;
    border-radius: 10px;
  }

  .form-policy-check {
    font-size: 11px;
    line-height: 1.35;
    margin-bottom: 14px;
    gap: 6px;
  }

  .form-policy-check input {
    margin-top: 1px;
  }

  .btn-submit-lead {
    padding: 13px 18px;
    font-size: 14.5px;
    border-radius: 12px;
  }

  .direct-connect-options {
    margin-top: 14px;
    padding-top: 12px;
  }

  .direct-connect-options p {
    font-size: 11.5px;
    margin-bottom: 8px;
  }

  .direct-buttons-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }

  .direct-btn {
    padding: 8px 4px;
    font-size: 11px;
    justify-content: center;
    border-radius: 8px;
    gap: 4px;
    white-space: nowrap;
  }

  .direct-btn svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }

  /* Подвал — уменьшенный компактный размер шрифтов и отступов */
  .site-footer {
    padding: 24px 0 14px 0;
    border-top-width: 3px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 16px;
    text-align: left;
  }

  .footer-brand h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 3px;
    letter-spacing: 0.2px;
  }

  .footer-brand p {
    font-size: 11.5px;
    line-height: 1.4;
    color: #94a3b8;
    margin-bottom: 6px;
  }

  .footer-slogan {
    font-size: 16.5px;
    margin-bottom: 0;
    color: #ff914d;
  }

  .footer-contacts-col h5,
  .footer-social-col h5 {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    color: #cbd5e1;
  }

  .footer-phone-big {
    font-size: 15.5px;
    font-weight: 700;
    margin-bottom: 3px;
  }

  .footer-city-info {
    font-size: 10.5px;
    line-height: 1.35;
    color: #94a3b8;
  }

  .footer-social-links {
    gap: 8px;
  }

  .footer-social-btn {
    width: 34px;
    height: 34px;
  }

  .footer-social-btn svg {
    width: 15px;
    height: 15px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding-top: 12px;
    font-size: 10px;
    color: #64748b;
  }

  /* Плавающая нижняя панель на мобильных */
  .floating-mobile-bar {
    display: flex;
    padding: 8px 12px;
    padding-bottom: max(8px, env(safe-area-inset-bottom));
  }

  body {
    padding-top: 64px;
    padding-bottom: 74px;
  }
}

/* Сверхкомпактные экраны (iPhone SE, 320px–360px) */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .hero-name {
    font-size: 25px;
  }

  .positioning-badge-large {
    padding: 10px 12px;
    gap: 8px;
  }

  .positioning-badge-large span {
    font-size: 13.5px;
  }

  .type-pill-btn {
    flex: 1 1 100%;
  }

  .header-city-badge {
    display: none;
  }
}
