/* ==========================================================================
   Бытовки — Корпоративный стиль
   Цвета: #ffffff (фон), #f3f5f7 (серые секции), #182b45 (заголовки/подвал), #f58220 (акценты)
   Шрифт: Ubuntu, sans-serif
   ========================================================================== */

:root {
  --color-white: #ffffff;
  --color-bg-gray: #f5f7fa;
  --color-bg-gray-alt: #e9edf2;
  --color-primary: #12243d;
  --color-primary-light: #1b3558;
  --color-primary-dark: #0a1626;
  --color-accent: #ff6b00;
  --color-accent-hover: #e55c00;
  --color-accent-light: #fff2e6;
  --color-text-main: #172336;
  --color-text-muted: #49596f;
  --color-border: #dbe2ea;
  --color-border-focus: #ff6b00;

  --font-family: 'Ubuntu', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 6px rgba(24, 43, 69, 0.05);
  --shadow-md: 0 8px 24px rgba(24, 43, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(24, 43, 69, 0.12);
  --transition: all 0.25s ease-in-out;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-family);
  background-color: var(--color-white);
  color: var(--color-text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button, input, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   CONTAINERS & LAYOUT
   ========================================================================== */

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

.section {
  padding: 85px 0;
}

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

.section-gray {
  background-color: var(--color-bg-gray);
}

.section-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px;
}

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.section-footer-link {
  text-align: center;
  margin-top: 45px;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 16px;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
}

.link-arrow span {
  color: var(--color-accent);
  transition: transform var(--transition);
}

.link-arrow:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

.link-arrow:hover span {
  transform: translateX(4px);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(245, 130, 32, 0.35);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 6px 20px rgba(245, 130, 32, 0.45);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-white);
  box-shadow: 0 2px 15px rgba(24, 43, 69, 0.08);
  border-bottom: 1px solid var(--color-border);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.header-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
  flex-wrap: nowrap;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: var(--color-accent);
}

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

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

.header-contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  white-space: nowrap;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.phone-number {
  white-space: nowrap;
}

.phone-icon {
  color: var(--color-accent);
}

.phone-link:hover {
  color: var(--color-accent);
}

.header-hours {
  font-size: 12px;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.header-cta-btn {
  padding: 10px 20px;
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
}

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.burger-line {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg-gray) 100%);
  padding: 60px 0 0;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.hero-content {
  padding-right: 15px;
}

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

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

.hero-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.18;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 24px;
}

.hero-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 34px;
}

.hero-bullet {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
}

.bullet-check {
  color: var(--color-accent);
  flex-shrink: 0;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--color-white);
  background-color: var(--color-white);
}

.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(24, 43, 69, 0.92);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-accent);
  max-width: 280px;
}

.badge-num {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 4px;
}

.badge-text {
  font-size: 13px;
  line-height: 1.35;
  color: #e3e9f0;
}

/* Credibility strip */
.credibility-strip {
  margin-top: 60px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 30px 0;
}

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

.cred-num {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 6px;
}

.cred-desc {
  font-size: 15px;
  line-height: 1.4;
  color: #f1f5f9;
}

.credibility-item {
  border-left: 2px solid rgba(245, 130, 32, 0.4);
  padding-left: 18px;
}

.cred-num {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1.1;
  margin-bottom: 4px;
}

.cred-desc {
  font-size: 13px;
  color: #c4d1df;
  line-height: 1.35;
}

/* ==========================================================================
   ADVANTAGES SECTION
   ========================================================================== */

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

.advantage-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(245, 130, 32, 0.4);
}

.advantage-card-wide {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%);
  border-left: 4px solid var(--color-accent);
}

.advantage-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  flex-shrink: 0;
}

.advantage-card-wide .advantage-icon-wrapper {
  margin-bottom: 0;
}

.advantage-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.advantage-text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */

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

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 24px 24px;
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent);
}

.service-number {
  font-size: 32px;
  font-weight: 700;
  color: rgba(24, 43, 69, 0.15);
  margin-bottom: 12px;
  line-height: 1;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 14px;
  line-height: 1.3;
}

.service-description {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.55;
  margin-bottom: 20px;
}

.service-features {
  list-style: none;
  margin-bottom: 28px;
  border-top: 1px dashed var(--color-border);
  padding-top: 16px;
}

.service-features li {
  font-size: 13px;
  color: var(--color-primary);
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.service-features li::before {
  content: '•';
  color: var(--color-accent);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: -2px;
}

.service-card-footer {
  margin-top: auto;
}

.service-card-footer .btn {
  font-size: 14px;
  padding: 12px 16px;
}

/* ==========================================================================
   PRODUCTS SECTION
   ========================================================================== */

.products-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 460px 1fr;
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 130, 32, 0.3);
}

.product-image-col {
  position: relative;
  background-color: #eaeff4;
}

.product-img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  background-color: var(--color-accent);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.product-badge-sand {
  background-color: var(--color-primary);
}

.product-info-col {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-header {
  margin-bottom: 24px;
}

.product-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.25;
}

.product-lead {
  font-size: 15px;
  color: var(--color-text-muted);
}

.specs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  background-color: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 28px;
}

.spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  font-size: 14px;
  line-height: 1.45;
  border-bottom: 1px solid #e4eaf0;
  padding-bottom: 8px;
}

.spec-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.spec-label {
  font-weight: 700;
  color: var(--color-primary);
}

.spec-value {
  color: var(--color-text-main);
}

.product-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   CONSTRUCTION SCHEME SECTION
   ========================================================================== */

.construction-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.scheme-visual {
  background-color: var(--color-primary);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

.scheme-blueprint {
  border: 2px dashed rgba(245, 130, 32, 0.4);
  border-radius: var(--radius-md);
  padding: 20px;
  background-color: #122135;
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blueprint-roof {
  border: 2px solid var(--color-accent);
  background: rgba(245, 130, 32, 0.1);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.bp-tag {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.bp-roof-layers span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin: 2px;
}

.blueprint-body {
  display: grid;
  grid-template-columns: 32px 1fr 32px;
  gap: 12px;
  min-height: 180px;
}

.blueprint-wall {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-vert-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  color: #b7c8dc;
  letter-spacing: 0.5px;
}

.blueprint-interior {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  padding: 16px;
  border-radius: 4px;
}

.bp-window {
  align-self: flex-start;
  background: rgba(48, 186, 154, 0.2);
  border: 1px solid #30BA9A;
  color: #8cebd5;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.bp-room-info {
  text-align: center;
  padding: 10px 0;
}

.bp-room-title {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-white);
}

.bp-room-sub {
  font-size: 12px;
  color: var(--color-accent);
}

.bp-door {
  align-self: flex-end;
  background: rgba(245, 130, 32, 0.2);
  border: 1px solid var(--color-accent);
  color: #ffbc85;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
}

.blueprint-floor {
  border: 2px solid #30BA9A;
  background: rgba(48, 186, 154, 0.1);
  padding: 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.blueprint-floor .bp-tag {
  color: #4ce7c2;
}

.bp-floor-layers span {
  font-size: 12px;
  color: #e2eaf2;
}

.scheme-details-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.scheme-steps-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.scheme-step-item {
  display: flex;
  gap: 18px;
}

.scheme-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid var(--color-accent);
}

.scheme-step-text strong {
  display: block;
  font-size: 17px;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.scheme-step-text p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   DELIVERY SECTION
   ========================================================================== */

.delivery-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
}

.delivery-media {
  position: relative;
  background-color: #101c2c;
}

.delivery-img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.delivery-tag {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background-color: rgba(24, 43, 69, 0.9);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  border-left: 3px solid var(--color-accent);
}

.delivery-content {
  padding: 44px 40px;
}

.delivery-lead {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

.delivery-regions {
  background-color: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 24px;
}

.regions-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.regions-list {
  list-style: none;
}

.regions-list li {
  font-size: 14px;
  color: var(--color-text-main);
  margin-bottom: 8px;
  line-height: 1.45;
  position: relative;
  padding-left: 18px;
}

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

.regions-list li::before {
  content: '✓';
  color: var(--color-accent);
  position: absolute;
  left: 0;
  font-weight: 700;
}

.delivery-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}

.perk-box {
  border-left: 3px solid var(--color-accent);
  padding-left: 12px;
}

.perk-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.perk-desc {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.delivery-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.delivery-phone-link {
  font-size: 14px;
  color: var(--color-primary);
}

.delivery-phone-link strong {
  color: var(--color-accent);
}

/* ==========================================================================
   PROCESS STEPS SECTION
   ========================================================================== */

.steps-flow {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  position: relative;
}

.flow-step {
  background-color: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 24px 18px;
  border: 1px solid var(--color-border);
  position: relative;
  transition: var(--transition);
}

.flow-step:hover {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.step-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.flow-step:hover .step-badge {
  background-color: var(--color-accent);
  color: var(--color-white);
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.step-desc {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.flow-divider {
  display: none;
}

/* ==========================================================================
   CONSULTATION FORM SECTION
   ========================================================================== */

.consultation-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  padding: 50px 60px;
  max-width: 960px;
  margin: 0 auto;
}

.consultation-header {
  text-align: center;
  margin-bottom: 36px;
}

.consultation-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.consultation-subtitle {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group-full {
  grid-column: span 2;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-gray);
  color: var(--color-primary);
  transition: var(--transition);
  font-size: 15px;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  background-color: var(--color-white);
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.15);
}

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

/* CUSTOM CHECKBOX */
.form-agreement-wrap {
  margin: 6px 0 10px;
}

.custom-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.custom-checkbox-box {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-sm);
  border: 2px solid #b7c5d3;
  background-color: var(--color-white);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: var(--transition);
}

.custom-checkbox-box::after {
  content: '';
  width: 6px;
  height: 10px;
  border: solid var(--color-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  opacity: 0;
  transition: var(--transition);
  margin-top: -2px;
}

.custom-checkbox-input:checked + .custom-checkbox-box {
  background-color: var(--color-accent);
  border-color: var(--color-accent);
}

.custom-checkbox-input:checked + .custom-checkbox-box::after {
  opacity: 1;
}

.custom-checkbox-input:focus + .custom-checkbox-box {
  box-shadow: 0 0 0 3px rgba(245, 130, 32, 0.2);
}

.checkbox-text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
}

.btn-submit {
  min-width: 280px;
}

.form-security-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==========================================================================
   CONTACTS SECTION
   ========================================================================== */

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.contact-card {
  background-color: var(--color-bg-gray);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--color-border);
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  background-color: var(--color-white);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-4px);
}

.contact-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-accent-light);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.contact-card-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.contact-card-value {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

.contact-person {
  color: var(--color-accent);
  font-size: 22px;
}

.contact-link:hover {
  color: var(--color-accent);
}

.contact-card-note {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.contacts-detail-link {
  text-align: center;
  margin-top: 45px;
}

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

.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 60px 0 30px;
  border-top: 4px solid var(--color-accent);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 16px;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-tagline {
  font-size: 14px;
  color: #a4b7cc;
  line-height: 1.6;
  max-width: 320px;
}

.footer-col-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-accent);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-menu a {
  font-size: 14px;
  color: #c4d4e5;
}

.footer-menu a:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-item {
  margin-bottom: 10px;
  font-size: 14px;
}

.f-contact-label {
  display: block;
  font-size: 12px;
  color: #8fa5bd;
}

.f-contact-val {
  color: var(--color-white);
  font-weight: 500;
}

.f-contact-link {
  color: var(--color-accent);
  font-weight: 700;
}

.f-contact-link:hover {
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  font-size: 13px;
  color: #8fa5bd;
}

.privacy-link {
  color: #a4b7cc;
  text-decoration: underline;
}

.privacy-link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   FIXED "BACK TO TOP" BUTTON (Размер 50х50px, 100px снизу и справа)
   ========================================================================== */

.back-to-top {
  position: relative;
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(245, 130, 32, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 130, 32, 0.55);
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(24, 43, 69, 0.96);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: 16px 24px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  display: none;
  animation: slideUp 0.35s ease;
}

.cookie-banner.show {
  display: block;
}

.cookie-content {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cookie-text {
  font-size: 14px;
  line-height: 1.5;
  color: #d1dde9;
}

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

.cookie-text a:hover {
  color: #ffa552;
}

.cookie-btn {
  padding: 10px 24px;
  font-size: 14px;
  flex-shrink: 0;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* ==========================================================================
   MODAL WINDOW
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(15, 29, 48, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-window {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(30px);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-window {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.45;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


/* ==========================================================================
   CLIENT EDITS: NEW COMPONENT STYLES
   ========================================================================== */

/* Advantages Section: box-modul24.ru inspiration */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
}

.advantage-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 20px 28px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(255, 107, 0, 0.16);
  border-color: rgba(255, 107, 0, 0.4);
}

.advantage-icon-wrapper {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 107, 0, 0.14), rgba(255, 107, 0, 0.05));
  border: 1.5px solid rgba(255, 107, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: 18px;
  transition: all 0.25s ease;
}

.advantage-card:hover .advantage-icon-wrapper {
  background: var(--color-accent);
  color: #ffffff;
  border-color: var(--color-accent);
  transform: scale(1.06);
}

.advantage-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.advantage-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
}

.service-card {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius-lg);
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.35;
  margin-bottom: 18px;
  min-height: 52px;
}

.service-features li {
  font-size: 14.5px;
  color: var(--color-text-main);
}

/* Products Section: Stacked Images & 2-Col Visual Specs */
.product-card {
  display: grid;
  grid-template-columns: 440px 1fr !important;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  margin-bottom: 40px;
}

.product-images-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  background-color: #f6f8fb;
}

.product-image-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 270px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.03);
}

.product-info-col {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.product-lead {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin-bottom: 22px;
}

.specs-grid-visual {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
  background-color: #f8fafc;
  border: 1px solid #e8eff6;
  border-radius: var(--radius-md);
  padding: 22px;
  margin-bottom: 26px;
}

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

.spec-visual-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e8f7f5;
  color: #0d9488;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(13, 148, 136, 0.12);
}

.spec-visual-text {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  line-height: 1.4;
}

.spec-visual-label {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 2px;
}

.spec-visual-desc {
  color: #334155;
}

/* Steps Section: 2 rows x 3 items */
.steps-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 24px;
}

.flow-step {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  padding: 30px 18px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.flow-step:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  box-shadow: 0 10px 24px rgba(255, 107, 0, 0.15);
}

.step-badge {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

.step-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.step-desc {
  font-size: 15px;
  line-height: 1.5;
  color: #334155;
}

.flow-divider {
  display: none;
}

/* Contacts Section & Messengers & Map */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  border: 1px solid #e2e8f0;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.3);
}

.contact-icon {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: rgba(255, 107, 0, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.contact-card-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.contact-card-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
  display: block;
}

.contact-card-note {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.4;
}

.contacts-messengers-card {
  background: linear-gradient(135deg, #12243d, #1b3558);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  color: #ffffff;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(18, 36, 61, 0.2);
}

.messengers-title {
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 6px;
}

.messengers-sub {
  font-size: 15px;
  color: #cbd5e1;
}

.contacts-messengers-grid {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.messenger-icon-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease;
}

.messenger-icon-link:hover {
  transform: translateY(-3px) scale(1.08);
}

.messenger-icon-link img {
  display: block;
}

/* Contacts Map Card */
.contacts-map-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.contacts-map-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  border-bottom: 1px solid #e2e8f0;
}

.contacts-map-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.contacts-map-address {
  font-size: 15px;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.pin-icon {
  color: var(--color-accent);
}

.contacts-map-frame-wrap iframe {
  display: block;
  width: 100%;
  border: none;
}

/* Footer Messengers */
.footer-messengers {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-messenger-link {
  display: inline-block;
  line-height: 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-messenger-link:hover {
  transform: translateY(-2px) scale(1.08);
}

.footer-messenger-link img {
  display: block;
}

/* Fixed Action Column (Floating Messengers + Back to Top) */
.fixed-action-column {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 990;
  pointer-events: none;
}

.floating-messengers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.floating-messenger-link {
  display: block;
  line-height: 0;
  transition: transform 0.2s ease;
  pointer-events: auto;
}

.floating-messenger-link:hover {
  transform: translateY(-2px) scale(1.08);
}

.floating-messenger-link img {
  display: block;
  width: 50px;
  height: 50px;
}

/* ==========================================================================
   RESPONSIVE DESIGN / MEDIA QUERIES
   Key breakpoints:
   - @media screen and (max-width: 1200px)
   - @media screen and (max-width: 991px)
   - @media screen and (max-width: 768px)
   - @media screen and (max-width: 576px)
   ========================================================================== */

/* 1. Large screens & small desktops (<= 1200px) */
@media screen and (max-width: 1200px) {
  .header-container {
    padding: 0 16px;
    gap: 10px;
    height: 76px;
  }

  .header-logo {
    flex-shrink: 0;
  }

  .logo-image {
    height: 40px;
  }

  .site-nav {
    flex-shrink: 1;
    min-width: 0;
  }

  .nav-menu {
    gap: 12px;
    flex-wrap: nowrap;
  }

  .nav-link {
    font-size: 14px;
    white-space: nowrap;
    padding: 4px 0;
  }

  .header-actions {
    gap: 10px;
    flex-shrink: 0;
  }

  .header-contacts {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .phone-link {
    font-size: 14.5px;
    gap: 4px;
    white-space: nowrap;
  }

  .phone-number {
    white-space: nowrap;
  }

  .header-hours {
    font-size: 11px;
    white-space: nowrap;
  }

  .header-cta-btn {
    padding: 6px 10px;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .hero-container {
    gap: 30px;
  }

  .product-card {
    grid-template-columns: 380px 1fr !important;
  }

  .product-info-col {
    padding: 28px 30px;
  }

  .specs-grid-visual {
    gap: 14px 18px;
    padding: 18px;
  }

  .footer-top {
    gap: 28px;
  }
}

/* Fine-tuning for compact range 991px - 1080px */
@media screen and (max-width: 1080px) and (min-width: 992px) {
  .header-container {
    padding: 0 12px;
    gap: 8px;
  }

  .logo-image {
    height: 36px;
  }

  .nav-menu {
    gap: 8px;
    flex-wrap: nowrap;
  }

  .nav-link {
    font-size: 13px;
    white-space: nowrap;
  }

  .header-actions {
    gap: 8px;
  }

  .phone-link {
    font-size: 14px;
    white-space: nowrap;
  }

  .header-hours {
    font-size: 10px;
    white-space: nowrap;
  }

  .header-cta-btn {
    padding: 5px 8px;
    font-size: 11.5px;
    white-space: nowrap;
  }
}

/* 2. Tablets & small laptops (<= 991px) */
@media screen and (max-width: 991px) {
  /* Header & Navigation: switch to mobile drawer */
  .burger-btn {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 84px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    padding: 24px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    border-top: 1px solid var(--color-border);
    z-index: 100;
  }

  .site-nav.mobile-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }

  .nav-link {
    font-size: 17px;
    width: 100%;
    display: block;
    padding: 8px 0;
  }

  .header-cta-btn {
    display: none;
  }

  /* Hero Section */
  .hero-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-content {
    padding-right: 0;
  }

  .hero-img {
    height: 340px;
  }

  .hero-title {
    font-size: 32px;
  }

  /* Advantages & Services Grids */
  .advantages-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  .contacts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px;
  }

  /* Product Catalog: single card layout with horizontal image row */
  .product-card {
    grid-template-columns: 1fr !important;
  }

  .product-images-col {
    flex-direction: row;
    gap: 14px;
  }

  .product-image-wrap {
    flex: 1;
    height: 240px;
    padding: 6px;
  }

  .product-info-col {
    padding: 28px 24px;
  }

  .specs-grid-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 20px;
  }

  /* Delivery Section */
  .delivery-card {
    grid-template-columns: 1fr;
  }

  .delivery-img {
    height: 280px;
    min-height: auto;
  }

  .delivery-content {
    padding: 36px 28px;
  }

  /* Steps Flow: 2 rows of 3 steps */
  .steps-flow {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 18px;
  }

  /* Consultation Form */
  .consultation-card {
    padding: 40px 32px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-group-full {
    grid-column: span 1;
  }

  .form-submit-row {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .btn-submit {
    width: 100%;
    min-width: 0;
  }

  /* Contacts & Messengers */
  .contacts-messengers-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}

/* 3. Tablets portrait & large phones (<= 768px) */
@media screen and (max-width: 768px) {
  .hero-title {
    font-size: 30px;
  }

  .credibility-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .credibility-item {
    border-left: 3px solid var(--color-accent);
    padding-left: 16px;
  }

  .steps-flow {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px;
  }

  .product-image-wrap {
    height: 220px;
  }

  .contacts-map-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .map-external-link {
    width: 100%;
    text-align: center;
  }

  .contacts-map-frame-wrap iframe {
    height: 360px;
  }

  .fixed-action-column {
    bottom: 22px;
    right: 20px;
    gap: 10px;
  }

  .floating-messenger-link img,
  .back-to-top {
    width: 46px;
    height: 46px;
  }

  .modal-window {
    padding: 32px 24px;
    max-width: 480px;
  }
}

/* 4. Mobile phones (<= 576px) */
@media screen and (max-width: 576px) {
  /* Logo on mobile: strict max-width 135px */
  .logo-image,
  #iyyh {
    width: auto;
    max-width: 135px;
    height: auto;
    object-fit: contain;
  }

  .header-actions {
    gap: 12px;
  }

  .header-contacts .phone-number {
    font-size: 15px;
  }

  .header-hours {
    font-size: 11px;
    white-space: nowrap;
  }

  .section {
    padding: 50px 0;
  }

  .section-head {
    margin-bottom: 35px;
  }

  .section-title {
    font-size: 24px;
  }

  .section-tag {
    font-size: 11px;
    padding: 5px 12px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-subtitle {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-img {
    height: 240px;
  }

  .hero-floating-badge {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
    max-width: 240px;
  }

  .badge-num {
    font-size: 20px;
  }

  .badge-text {
    font-size: 12px;
  }

  .advantages-grid,
  .services-grid,
  .contacts-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .advantage-card,
  .service-card,
  .contact-card {
    padding: 24px 18px;
  }

  .steps-flow {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .flow-step {
    padding: 22px 16px;
  }

  /* Product cards */
  .product-card {
    margin-bottom: 30px;
  }

  .product-images-col {
    flex-direction: column;
    gap: 10px;
    padding: 12px;
  }

  .product-image-wrap {
    height: 220px;
    padding: 6px;
  }

  .product-info-col {
    padding: 22px 16px;
  }

  .product-title {
    font-size: 20px;
  }

  .specs-grid-visual {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .product-actions {
    flex-direction: column;
    gap: 10px;
  }

  .product-actions .btn {
    width: 100%;
  }

  /* Delivery */
  .delivery-img {
    height: 220px;
  }

  .delivery-content {
    padding: 24px 16px;
  }

  .delivery-perks {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .delivery-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .delivery-actions .btn {
    width: 100%;
  }

  /* Consultation */
  .consultation-card {
    padding: 28px 16px;
  }

  .consultation-title {
    font-size: 22px;
  }

  .form-input,
  .form-textarea {
    padding: 12px 14px;
    font-size: 15px;
  }

  /* Contacts & Map */
  .contacts-messengers-card {
    padding: 22px 18px;
  }

  .contacts-messengers-grid {
    gap: 12px;
  }

  .messenger-icon-link img {
    width: 48px;
    height: 48px;
  }

  .contacts-map-card {
    padding: 20px 16px;
  }

  .contacts-map-frame-wrap iframe {
    height: 320px;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-bottom: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Fixed action column */
  .fixed-action-column {
    bottom: 16px;
    right: 14px;
    gap: 8px;
  }

  .floating-messenger-link img,
  .back-to-top {
    width: 42px;
    height: 42px;
  }

  /* Cookie banner */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cookie-btn {
    width: 100%;
  }

  /* Modal */
  .modal-window {
    padding: 26px 16px;
    margin: 12px;
  }

  .modal-title {
    font-size: 20px;
  }
}

/* 5. Extra small phones (<= 380px) */
@media screen and (max-width: 380px) {
  .header-contacts .phone-number {
    font-size: 14px;
  }

  .header-hours {
    display: none;
  }
}
