/* ==========================================================================
   Фирменная светлая палитра и переменные (красно-белая + ледяной голубой)
   Чтобы изменить цвета сайта, достаточно поменять значения в блоке :root
   ========================================================================== */
:root {
  /* Основные светлые поверхности */
  --bg-primary: #FFFFFF;
  --bg-surface: #F4F7FB;
  --bg-surface-elevated: #EAF0F7;
  --bg-surface-hover: #E0E9F4;

  /* Фирменные акценты логотипа ЗаточкаНФ */
  --accent-red: #E80000;
  --accent-red-hover: #C20000;
  --accent-red-soft: rgba(232, 0, 0, 0.08);

  --accent-ice: #0099DD;
  --accent-ice-hover: #007EB8;
  --accent-ice-soft: rgba(0, 153, 221, 0.10);

  /* Текст и границы */
  --text-primary: #111827;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --border-subtle: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.22);
  --border-ice: rgba(0, 153, 221, 0.38);
  --border-red: rgba(232, 0, 0, 0.45);
  --card-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);

  /* Типографика */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Oswald', 'Inter', sans-serif;

  /* Геометрия и отступы */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --container-max: 1200px;
  --header-height: 76px;
  --transition: 0.2s ease;
}

/* ==========================================================================
   Базовые стили и сброс
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-red);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

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

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ==========================================================================
   Кнопки
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.2;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color var(--transition), border-color var(--transition), transform var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 14px;
}

.btn-lg {
  padding: 15px 28px;
  font-size: 16px;
}

.btn-primary {
  background-color: var(--accent-red);
  color: #FFFFFF;
}

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

.btn-secondary {
  background-color: var(--accent-ice);
  color: #FFFFFF;
}

.btn-secondary:hover {
  background-color: var(--accent-ice-hover);
}

.btn-outline {
  background-color: var(--bg-primary);
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn-outline:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background-color: var(--accent-red-soft);
}

/* ==========================================================================
   Блок 1. Шапка
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--accent-red);
}

.header-inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
  color: var(--text-primary);
}

.brand-tagline {
  font-size: 12px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

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

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--accent-red);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--accent-red);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.nav-link:hover::after {
  transform: scaleX(1);
}

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

.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition), opacity var(--transition);
}

.burger-btn[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger-btn[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger-btn[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  padding-top: 10px;
  padding-bottom: 16px;
}

.mobile-nav-link {
  padding: 12px 4px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-link:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Блок 2. Главный экран (Hero)
   ========================================================================== */
.hero {
  position: relative;
  padding: 64px 0 72px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  background:
    radial-gradient(circle at 82% 35%, rgba(0, 153, 221, 0.10), transparent 46%),
    radial-gradient(circle at 14% 82%, rgba(232, 0, 0, 0.08), transparent 42%),
    var(--bg-surface);
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  align-items: center;
  gap: 48px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-ice);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.dot-ice {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-red);
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.hero-subtitle {
  margin: 0 0 28px;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-secondary);
  max-width: 600px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  box-shadow: var(--card-shadow);
}

.pill-accent {
  font-weight: 700;
  color: var(--accent-red);
  letter-spacing: 0.03em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-showcase {
  position: relative;
  width: min(380px, 85vw);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 52px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
}

.logo-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.logo-ring-outer {
  inset: -10px;
  border: 2px solid var(--border-ice);
  border-top-color: var(--accent-red);
  border-right-color: var(--accent-red);
}

.logo-ring-inner {
  inset: 10px;
  border: 1px dashed rgba(15, 23, 42, 0.14);
}

.hero-logo-img {
  position: relative;
  z-index: 1;
  width: 92%;
  height: 92%;
  object-fit: contain;
}

/* ==========================================================================
   Общие секции
   ========================================================================== */
.section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 36px;
}

.section-kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-red);
  margin-bottom: 8px;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.15;
  color: var(--text-primary);
}

.section-lead {
  margin: 0;
  max-width: 520px;
  color: var(--text-secondary);
  font-size: 15px;
}

.loading-state,
.empty-state {
  padding: 36px 24px;
  text-align: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
}

/* ==========================================================================
   Блок 3. Услуги и Прокат
   ========================================================================== */
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-tab {
  padding: 9px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  transition: background-color var(--transition), color var(--transition), border-color var(--transition);
}

.filter-tab:hover {
  color: var(--text-primary);
  border-color: var(--border-red);
}

.filter-tab.is-active {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #FFFFFF;
}

.services-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.service-category-block {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.category-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--bg-surface-elevated);
}

.category-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.category-title::before {
  content: "";
  width: 4px;
  height: 22px;
  background-color: var(--accent-red);
  border-radius: 2px;
}

.category-subtitle {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.rental-subgroup {
  margin-bottom: 28px;
}

.rental-subgroup:last-child {
  margin-bottom: 0;
}

.rental-subgroup-title {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-ice);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 18px;
}

.service-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition), background-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--border-ice);
  background-color: var(--bg-primary);
}

.service-card.is-highlighted {
  border-color: var(--accent-red);
  background:
    linear-gradient(145deg, rgba(232, 0, 0, 0.04), rgba(0, 153, 221, 0.05)),
    var(--bg-primary);
  box-shadow: 0 6px 22px rgba(232, 0, 0, 0.08);
}

.service-card-top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-badge {
  align-self: flex-start;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 4px;
  background-color: var(--accent-ice-soft);
  color: var(--accent-ice);
  border: 1px solid var(--border-ice);
}

.service-card.is-highlighted .service-badge {
  background-color: var(--accent-red);
  color: #FFFFFF;
  border-color: var(--accent-red);
}

.service-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
}

.service-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.service-price {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--text-primary);
  white-space: pre-line;
}

.service-price.is-clarify {
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ice);
}

.service-action {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
  margin-left: auto;
  flex-shrink: 0;
}

.service-action:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #FFFFFF;
}

/* ==========================================================================
   Блок 4. О мастерской
   ========================================================================== */
.about-section {
  background-color: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 48px;
  align-items: start;
}

.about-description {
  margin: 18px 0 26px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.7;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.pillar-card {
  padding: 22px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-red);
  margin-bottom: 10px;
}

.pillar-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.pillar-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ==========================================================================
   Блок 5. Фотогалерея
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--card-shadow);
  transition: border-color var(--transition), transform var(--transition);
}

.gallery-item:hover {
  border-color: var(--accent-red);
  transform: translateY(-2px);
}

.gallery-thumb-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: var(--bg-surface-elevated);
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover .gallery-thumb {
  transform: scale(1.04);
}

.gallery-caption {
  padding: 12px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  border-top: 1px solid var(--border-subtle);
}

/* Лайтбокс */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.90);
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 100%;
}

.lightbox-figure img {
  max-height: 78vh;
  max-width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.18);
  object-fit: contain;
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 15px;
  text-align: center;
}

.lightbox-counter {
  color: #CBD5E1;
  font-size: 13px;
}

.lightbox-close,
.lightbox-nav {
  background-color: #FFFFFF;
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  font-size: 18px;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background-color: var(--accent-red);
  border-color: var(--accent-red);
  color: #FFFFFF;
}

/* ==========================================================================
   Блок 6. Контакты
   ========================================================================== */
.contacts-section {
  background-color: var(--bg-surface);
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.contact-details-card,
.messengers-card {
  padding: 28px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--card-shadow);
}

.contact-list {
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

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

.contact-row dt {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-row dd {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: pre-line;
}

.contact-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.messengers-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.messengers-note {
  margin: 0 0 20px;
  font-size: 14px;
  color: var(--text-secondary);
}

.messengers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.messenger-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: border-color var(--transition), background-color var(--transition);
}

.messenger-link:hover {
  border-color: var(--accent-red);
  background-color: var(--bg-primary);
}

.messenger-badge {
  font-size: 12px;
  color: var(--accent-red);
}

/* ==========================================================================
   Блок 7. Подвал
   ========================================================================== */
.site-footer {
  padding: 48px 0 28px;
  background-color: var(--bg-primary);
  border-top: 3px solid var(--accent-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-directions {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--text-secondary);
  max-width: 380px;
}

.footer-col h4 {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(90px, 1fr));
  gap: 8px 16px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-secondary);
}

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

.footer-phone-wrap {
  margin: 0 0 8px;
}

.footer-phone {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.footer-address,
.footer-schedule {
  margin: 4px 0;
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-bottom p {
  margin: 0;
}

/* ==========================================================================
   Фиксированная мобильная панель быстрой связи
   ========================================================================== */
.mobile-quick-bar {
  display: none;
}

/* ==========================================================================
   Адаптивность (Планшеты и Смартфоны)
   ========================================================================== */
@media (max-width: 992px) {
  .main-nav {
    display: none;
  }

  .burger-btn {
    display: flex;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta,
  .hero-highlights {
    justify-content: center;
  }

  .about-grid,
  .contacts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 68px;
  }

  .header-actions .btn-sm span {
    display: none;
  }

  .header-actions .btn-sm {
    padding: 10px;
  }

  .hero {
    padding: 40px 0 48px;
  }

  .section {
    padding: 48px 0;
  }

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

  .contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .lightbox-nav {
    position: fixed;
    bottom: 24px;
  }

  .lightbox-prev {
    left: 24px;
  }

  .lightbox-next {
    right: 24px;
  }

  .mobile-quick-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -4px 16px rgba(15, 23, 42, 0.08);
  }

  .quick-bar-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    border-right: 1px solid var(--border-subtle);
  }

  .quick-bar-btn:last-child {
    border-right: none;
  }

  .quick-bar-call {
    background-color: var(--accent-red);
    color: #FFFFFF;
  }
}
