/* ========== Modern Company Page 2026 вЂ” Latest Design Trends ========== */

/* CSS Variables */
:root {
  --primary: #2563eb;
  --primary-dark: #1f4ed4;
  --primary-light: #3b82f6;
  --secondary: #f59e0b;
  --accent: #ec4899;
  --success: #10b981;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-glass: rgba(255, 255, 255, 0.7);
  --text-primary: #0f172a;
  --text-secondary: #64748b;
  --text-tertiary: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-mesh: radial-gradient(at 40% 20%, hsla(220, 15%, 65%, 0.4) 0px, transparent 50%),
                   radial-gradient(at 80% 0%, hsla(215, 10%, 60%, 0.3) 0px, transparent 50%),
                   radial-gradient(at 0% 50%, hsla(210, 12%, 70%, 0.2) 0px, transparent 50%),
                   radial-gradient(at 80% 50%, hsla(215, 10%, 62%, 0.25) 0px, transparent 50%);
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

/* Global Styles */
body.is-company {
  background: var(--surface-alt);
  overflow-x: hidden;
}

body.is-company > main.container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: 0;
  padding-right: 0;
}

html,
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

body {
  overflow-x: hidden;
}

body:has(.hero-section) {
  background: var(--surface-alt);
}

body .container:has(.bento-layout) {
  max-width: 1200px;
  padding: 0 20px;
}

/* ========== Hero Wrapper ========== */
.hero-wrapper {
  position: relative;
  overflow-x: clip;
}

/* ========== Hero Section ========== */
.hero-section {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

@keyframes meshMove {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes buttonPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(249, 115, 22, 0.4);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 16px rgba(249, 115, 22, 0.3);
  }
}

@keyframes buttonRemove {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 2fr 1fr;
  gap: 0 32px;
  align-items: start;
  padding: 40px 20px;
  max-width: 1200px;
}

/* Hero Logo */
.hero-logo-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  gap: 16px;
}

/* РЎС‚Р°С‚РёСЃС‚РёРєР° РїРѕРґ Р»РѕРіРѕС‚РёРїРѕРј */
.hero-stats-icons {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.stat-icon:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.stat-icon svg {
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.stat-icon:hover svg {
  color: #ffffff;
}

/* РўСѓР»С‚РёРї РїСЂРё РЅР°РІРµРґРµРЅРёРё */
.stat-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.stat-icon::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.stat-icon:hover::after,
.stat-icon:hover::before {
  opacity: 1;
}

.stat-icon:hover::after {
  transform: translateX(-50%) translateY(-4px);
}

.hero-logo-container {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-logo-container::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: transparent;
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-logo-container:hover::before {
  opacity: 0;
}

.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-lg);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-logo-container:hover .hero-logo {
  transform: scale(1.05) rotate(2deg);
}

.hero-logo-placeholder {
  background: var(--gradient-1);
  color: white;
  font-size: 72px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

/* Hero Info */
.hero-main {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-main .gallery-container {
  margin-top: 12px;
  margin-bottom: 8px;
}

.hero-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-founded {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.hero-founded svg {
  opacity: 0.7;
}

.hero-premium-badge {
  position: absolute;
  top: 0;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  color: #ffffff;
  border-radius: 0 var(--radius-lg) 0 var(--radius);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
  z-index: 10;
}

.hero-premium-badge svg {
  width: 16px;
  height: 16px;
}

.hero-phones {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-phone-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.hero-phone-item:hover {
  transform: translateX(4px);
  color: var(--primary);
}

.hero-phone-item--masked {
  align-items: center;
}

.phone-locked-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.phone-number--masked {
  letter-spacing: 0.4px;
}

.phone-show-link {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.phone-show-link:hover {
  text-decoration: underline;
}

.phone-register-note {
  margin: 2px 0 0 36px;
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.4;
}

.phone-register-note a {
  color: var(--primary);
  text-decoration: none;
}

.phone-register-note a:hover {
  text-decoration: underline;
}

.phone-access-modal {
  position: fixed;
  inset: 0;
  z-index: 5200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.phone-access-modal.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.phone-access-modal__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(15, 23, 42, 0.52);
  cursor: pointer;
}

.phone-access-modal__dialog {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, calc(100vw - 24px));
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 26px 64px rgba(15, 23, 42, 0.28);
  padding: 22px 22px 20px;
}

.phone-access-modal__close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid #dbe3ec;
  background: #ffffff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.phone-access-modal__close:hover {
  color: #0f172a;
  background: #f8fafc;
}

.phone-access-modal__title {
  margin: 0 40px 10px 0;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.phone-access-modal__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
}

.phone-access-modal__actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.phone-access-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.phone-access-modal__btn--primary {
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%);
  color: #ffffff;
}

.phone-access-modal__btn--secondary {
  background: #f8fafc;
  border: 1px solid #dbe3ec;
  color: #334155;
}

.phone-access-modal__btn--secondary:hover {
  background: #f1f5f9;
}

@media (max-width: 768px) {
  .phone-access-modal__dialog {
    padding: 18px 16px 16px;
  }

  .phone-access-modal__title {
    font-size: 20px;
  }
}

.phone-icon-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.phone-icon-label svg {
  opacity: 0.7;
}

.phone-number {
  font-size: 20px;
  font-weight: 600;
}

.hero-phone-item span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.phone-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-tertiary);
  opacity: 0.7;
  text-align: center;
  line-height: 1.2;
}

/* Contact Items (email, website, address) */
.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.hero-contact-item:hover {
  transform: translateX(4px);
  color: var(--primary);
}

.hero-contact-item svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.hero-contact-item .external-icon {
  margin-left: auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.hero-contact-item:hover .external-icon {
  opacity: 1;
}

/* Messengers */
.hero-messengers {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.hero-messenger-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.hero-messenger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-messenger-btn:nth-child(1) {
  background: #0088cc;
  color: white;
}

.hero-messenger-btn:nth-child(1):hover {
  background: #006da3;
}

.hero-messenger-btn:nth-child(2) {
  background: #25D366;
  color: white;
}

.hero-messenger-btn:nth-child(2):hover {
  background: #1da851;
}

.hero-messenger-btn:nth-child(3) {
  background: #7360f2;
  color: white;
}

.hero-messenger-btn:nth-child(3):hover {
  background: #5a4bc7;
}

/* Tooltip РґР»СЏ РјРµСЃСЃРµРЅРґР¶РµСЂРѕРІ */
.hero-messenger-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.hero-messenger-btn:hover::after {
  opacity: 1;
}

/* Socials */
.hero-socials {
  display: flex;
  gap: 8px;
  padding: 12px 16px;
  flex-wrap: wrap;
}

.hero-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  color: #6b7280;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.hero-social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-social-btn:nth-child(1) {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.hero-social-btn:nth-child(2) {
  background: #1877f2;
  color: white;
}

.hero-social-btn:nth-child(2):hover {
  background: #145dbf;
}

.hero-social-btn:nth-child(3) {
  background: #0077ff;
  color: white;
}

.hero-social-btn:nth-child(3):hover {
  background: #0066dd;
}

.hero-social-btn:nth-child(4) {
  background: #ff0000;
  color: white;
}

.hero-social-btn:nth-child(4):hover {
  background: #cc0000;
}

/* Tooltip РґР»СЏ СЃРѕС†СЃРµС‚РµР№ */
.hero-social-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.hero-social-btn:hover::after {
  opacity: 1;
}

/* РљРѕРјРїР°РєС‚РЅС‹Рµ РєРѕРЅС‚Р°РєС‚С‹ */
.hero-contacts-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 12px;
  background: var(--surface-alt);
  border-radius: 12px;
  margin-bottom: 8px;
}

.hero-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.hero-contact-link:hover {
  color: var(--primary);
}

.hero-contact-link svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* РљРѕРјРїР°РєС‚РЅР°СЏ СЃРµС‚РєР° СЃРѕС†СЃРµС‚РµР№ */

.locked-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.locked-field:last-child {
  border-bottom: none;
}

.locked-field h5 {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.locked-field__row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.locked-field__mask {
  font-size: 14px;
  letter-spacing: 1.5px;
  color: var(--text-tertiary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.locked-field__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  text-decoration: none;
  position: relative;
  border-radius: 8px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.locked-field__link:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
}

.locked-field__link:focus-visible {
  outline: 2px solid rgba(37, 99, 235, 0.45);
  outline-offset: 2px;
}

.locked-field__link::before,
.locked-field__link::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 60;
}

.locked-field__link::before {
  content: attr(data-lock-tooltip);
  bottom: calc(100% + 12px);
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

.locked-field__link::after {
  content: "";
  bottom: calc(100% + 6px);
  width: 10px;
  height: 10px;
  background: #0f172a;
  transform: translate(-50%, 6px) rotate(45deg);
}

.locked-field__link:hover::before,
.locked-field__link:hover::after,
.locked-field__link:focus-visible::before,
.locked-field__link:focus-visible::after {
  opacity: 1;
}

.locked-field__link:hover::before,
.locked-field__link:focus-visible::before {
  transform: translate(-50%, 0);
}

.locked-field__link:hover::after,
.locked-field__link:focus-visible::after {
  transform: translate(-50%, 0) rotate(45deg);
}

.locked-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 4px;
}

.hero-social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(36px, 1fr));
  gap: 6px;
  padding: 8px 12px;
}

.hero-social-grid .hero-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: #e5e7eb;
  color: #6b7280;
  transition: all 0.3s ease;
}

/* Р‘СЂРµРЅРґРѕРІС‹Рµ С†РІРµС‚Р° РїСЂРё РЅР°РІРµРґРµРЅРёРё */
.hero-social-telegram:hover {
  background: #0088cc;
  color: white;
}

.hero-social-whatsapp:hover {
  background: #25D366;
  color: white;
}

.hero-social-viber:hover {
  background: #7360f2;
  color: white;
}

.hero-social-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
  color: white;
}

.hero-social-facebook:hover {
  background: #1877f2;
  color: white;
}

.hero-social-vk:hover {
  background: #0077ff;
  color: white;
}

.hero-social-youtube:hover {
  background: #ff0000;
  color: white;
}

.hero-social-tiktok:hover {
  background: #000000;
  color: white;
}


.hero-title {
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--text-primary);
  margin: 0;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
  max-width: 600px;
}

/* Company Stats */
.company-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 24px;
  margin-bottom: 16px;
  justify-content: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 24px;
  background: var(--surface-alt);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  min-width: 140px;
}

.stat-item:hover {
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.stat-value {
  font-size: 32px;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  text-align: center;
  line-height: 1.3;
}

.stat-premium .stat-value {
  color: #f59e0b;
}

/* Benefits */
.benefits-card {
  grid-column: 1 / -1;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.benefit-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px;
  background: var(--surface-alt);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: var(--surface);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%);
  color: white;
  border-radius: 16px;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.benefit-icon.premium {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.benefit-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.benefit-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-appearance: none;
  appearance: none;
}

.hero-btn::before {
  display: none;
}

.hero-btn:hover::before {
  transform: none;
}

.hero-btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%);
  background-color: #2563eb;
  color: white;
  border-color: transparent;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.hero-btn.hero-btn-primary,
.hero-btn.hero-btn-primary:focus,
.hero-btn.hero-btn-primary:focus-visible,
.hero-btn.hero-btn-primary:active {
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%) !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: none;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.hero-btn-primary:hover {
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%) !important;
  background-color: #2563eb !important;
  color: #ffffff !important;
  border-color: transparent !important;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.hero-btn-secondary {
  background: var(--surface);
  color: var(--text-primary);
  border: 2px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-btn-secondary:hover {
  background: var(--surface-alt);
  transform: none;
  box-shadow: var(--shadow);
}

.hero-btn-secondary.is-favorite {
  background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
  color: #991b1b;
  border-color: #fca5a5;
}

.hero-btn:disabled,
.hero-btn.is-busy {
  opacity: 0.7;
  cursor: not-allowed;
}

.company-alert {
  margin: 16px auto 0;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
}

.company-alert--success {
  background: #ecfdf3;
  color: #065f46;
  border-color: #a7f3d0;
}

.company-alert--error {
  background: #fef2f2;
  color: #991b1b;
  border-color: #fecaca;
}

.hero-icon-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.hero-icon-btn:hover {
  background: var(--surface-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.hero-icon-btn.is-active {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

/* РўСѓР»С‚РёРї РґР»СЏ hero-icon-btn */
.hero-icon-btn::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.hero-icon-btn::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.hero-icon-btn:hover::after,
.hero-icon-btn:hover::before {
  opacity: 1;
}

.hero-icon-btn:hover::after {
  transform: translateX(-50%) translateY(-4px);
}

/* ========== Bento Grid Layout ========== */
.bento-layout {
  padding: 40px 0 20px;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  grid-auto-flow: dense;
}

/* Bento Cards */
.bento-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.bento-card:hover::before {
  transform: scaleX(1);
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.bento-card-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.bento-card-header svg {
  color: var(--primary);
  opacity: 0.6;
}

/* Grid Sizes */
.bento-contact {
  grid-column: span 4;
  grid-row: span 2;
}

.bento-legal {
  grid-column: span 8;
}

.bento-gallery {
  grid-column: span 8;
  grid-row: span 2;
}

.bento-map {
  grid-column: span 6;
  grid-row: span 2;
}

.bento-address {
  grid-column: span 6;
}

.bento-bank {
  grid-column: span 6;
}

/* Contact Card */
.contact-quick {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.contact-item:hover {
  background: var(--primary-light);
  color: white;
  transform: translateX(4px);
}

.contact-item svg {
  flex-shrink: 0;
  min-width: 20px;
  color: var(--primary);
  transition: color 0.3s ease;
}

.contact-item:hover svg {
  color: white;
}

.contact-item a,
.contact-item span {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
  word-break: break-word;
  line-height: 1.5;
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.info-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--surface-alt);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info-item:hover {
  background: var(--primary-light);
  transform: translateX(2px);
}

.info-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-tertiary);
}

.info-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

/* Gallery Container */
.gallery-container {
  margin-top: 0;
  padding: 0;
  max-width: none;
  grid-column: 1 / -1;
}

.gallery-container .gallery-grid {
  padding-left: 0;
  padding-right: 0;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-top: 0;
}

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(99, 102, 241, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay svg {
  color: white;
}

.badge-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--gradient-1);
  color: white;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

/* Map */
.map-wrapper {
  height: 350px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 20px;
  box-shadow: var(--shadow);
}

/* Address */
.address-text {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  margin: 0;
  padding: 0;
}

/* Requisite Item */
.requisite-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  background: transparent;
}

.requisite-item:last-child {
  border-bottom: none;
}

.requisite-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--primary);
}

.requisite-item p,
.requisite-item a {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  text-decoration: none;
  word-break: break-word;
}

.requisite-item a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Terms Grid */
.terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.term-item {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.term-item:hover {
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.term-item.term-placeholder {
  opacity: 0.7;
}

.term-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  border-radius: 12px;
}

.term-content h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.term-content p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.document-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--primary);
  color: white;
  border-radius: 8px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.document-link:hover {
  background: #1e40af;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.document-link svg {
  flex-shrink: 0;
}

/* Documents Grid */
.documents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.document-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.document-item:hover {
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--primary);
}

.document-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #1e40af 100%);
  color: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.document-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.document-info h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.document-type {
  display: inline-block;
  padding: 4px 10px;
  background: var(--surface);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  border-radius: 6px;
  text-transform: uppercase;
}

.empty-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-tertiary);
  text-align: center;
}

.empty-state svg {
  opacity: 0.3;
  margin-bottom: 16px;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.news-item {
  display: flex;
  flex-direction: column;
  background: var(--surface-alt);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
}

.news-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--primary);
}

.news-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: var(--surface);
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: white;
  backdrop-filter: blur(4px);
}

.news-badge.promo {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.news-badge.announcement {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.news-date {
  font-size: 13px;
  color: var(--text-tertiary);
  font-weight: 500;
}

.news-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}

.news-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-secondary);
}
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.document-link:hover {
  background: #1e40af;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.document-link svg {
  width: 18px;
  height: 18px;
}
  border-left: 4px solid var(--primary);
}

/* Bank */
.bank-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.bank-item {
  padding: 20px;
  background: linear-gradient(135deg, var(--surface-alt) 0%, #f9fafb 100%);
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.bank-item:hover {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
}

.bank-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.bank-name::before {
  content: 'рџЏ¦';
  font-size: 20px;
}

.bank-item:hover .bank-name {
  color: white;
}

.bank-address {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 14px;
  line-height: 1.6;
  padding-left: 28px;
}

.bank-item:hover .bank-address {
  color: rgba(255, 255, 255, 0.9);
}

.bank-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
}

.bank-detail {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  background: white;
  border-radius: 8px;
  border-left: 3px solid var(--primary);
  font-size: 13px;
}

.bank-detail > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bank-item:hover .bank-detail {
  background: rgba(255, 255, 255, 0.15);
  border-left-color: white;
}

.bank-detail-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
}

.bank-item:hover .bank-detail-label {
  color: rgba(255, 255, 255, 0.7);
}

.bank-detail-value {
  font-size: 13px;
  font-weight: 700;
  color: #1f2937;
  font-family: 'Courier New', monospace;
  word-break: break-all;
  line-height: 1.5;
}

.bank-item:hover .bank-detail-value {
  color: white;
}
}

.bank-account {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.bank-label {
  display: inline-flex;
  padding: 4px 12px;
  background: var(--primary);
  color: white;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.bank-item:hover .bank-label {
  background: white;
  color: var(--primary);
}

.bank-iban {
  font-family: 'Courier New', monospace;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.bank-item:hover .bank-iban {
  color: white;
}

/* ========== Categories & Brands ========== */
.bento-categories {
  grid-column: span 12;
}

.categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.category-card {
  background: var(--surface-alt);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.category-card:hover {
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.brand-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.brand-logo {
  width: 80px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 8px;
}

.brand-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.category-section {
  margin-bottom: 12px;
}

.parent-category {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 8px;
}

.parent-category:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.subcategories {
  margin-top: 12px;
}

.subcategory-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.subcategory-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.subcategory-title a:hover {
  color: var(--primary);
}

.subcategory-mark {
  width: 6px;
  height: 6px;
  background: var(--success);
  border-radius: 50%;
}

.child-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.child-category {
  display: inline-flex;
  padding: 6px 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.child-category:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

/* ========== Floating Action Button ========== */
.fab {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-1);
  color: white;
  border: none;
  box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
  cursor: pointer;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.fab-chat-form {
  margin: 0;
  padding: 0;
}

.fab:hover {
  transform: scale(1.1) rotate(90deg);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.6);
}

.fab:active {
  transform: scale(0.95);
}

/* ========== Lightbox ========== */
.cmp-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 1000;
  backdrop-filter: blur(40px);
  animation: fadeIn 0.3s ease;
}

.cmp-lightbox[aria-hidden="false"] {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.cmp-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
}

.cmp-lightbox__dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  margin: 0;
}

.cmp-lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.cmp-lightbox__close {
  position: absolute;
  top: -60px;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.cmp-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

/* ========== Responsive ========== */
@media (max-width: 1200px) {
  .bento-grid {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .bento-contact {
    grid-column: span 8;
    grid-row: span 1;
  }
  
  .bento-legal,
  .bento-gallery,
  .bento-map,
  .bento-categories {
    grid-column: span 8;
  }
  
  .bento-address,
  .bento-bank {
    grid-column: span 8;
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 40vh;
  }
  
  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px;
  }
  
  .hero-logo-container {
    width: 140px;
    height: 140px;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .bento-layout {
    padding: 32px 0 60px;
  }
  
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .bento-contact,
  .bento-legal,
  .bento-gallery,
  .bento-map,
  .bento-address,
  .bento-bank,
  .bento-categories {
    grid-column: span 1;
  }
  
  .bento-card {
    padding: 20px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories-list {
    grid-template-columns: 1fr;
  }
  
  .fab {
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
  }
}

/* ========== Contact Modal ========== */
.contact-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.contact-modal[data-modal-open] {
  display: flex !important;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.contact-modal__dialog {
  position: relative;
  z-index: 2;
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.contact-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  z-index: 3;
}

.contact-modal__close:hover {
  background: var(--border);
  color: var(--text-primary);
}

.contact-modal__content {
  padding: 40px;
}

.contact-modal__title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 8px;
}

.contact-modal__subtitle {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0 0 32px;
}

/* Form Styles */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  font-size: 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface-alt);
  color: var(--text-primary);
  transition: all 0.2s ease;
  font-family: inherit;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-input:read-only {
  background: var(--surface-alt);
  color: var(--text-secondary);
  cursor: not-allowed;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.contact-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
}

.contact-btn-submit:active {
  transform: translateY(0);
}

.contact-btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* ========== Breadcrumb Navigation ========== */
.breadcrumb-container {
  /* background and sticky removed */
}

.breadcrumb-nav {
  display: flex;
  align-items: center;
  padding: 12px 0;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
}

.breadcrumb-item:not(:last-child)::after {
  content: "\203A";
  color: var(--text-tertiary);
  font-size: 16px;
  margin-left: 8px;
}

.breadcrumb-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: none;
}

.breadcrumb-item a:hover {
  color: var(--primary-dark);
  text-decoration: none;
}

.breadcrumb-item:last-child {
  color: var(--text-primary);
  font-weight: 600;
}

/* ========== Tabs Navigation ========== */
.bento-tabs {
  grid-column: 1 / -1;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr;
}

.tabs-header {
  display: flex;
  gap: 4px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px;
  position: relative;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.tab-button {
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: fit-content;
  padding: 14px 20px;
  background: transparent;
  border: none;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  white-space: nowrap;
  outline: none;
}

.tab-button:hover {
  color: var(--primary);
  background: rgba(37, 99, 235, 0.08);
  transform: translateY(-1px);
}

.tab-button.active {
  color: var(--primary);
  background: transparent;
  font-weight: 700;
  transform: translateY(-1px);
}

.tab-button.is-locked {
  color: #94a3b8;
  cursor: not-allowed;
  position: relative;
}

.tab-button.is-locked:hover {
  color: #94a3b8;
  background: rgba(148, 163, 184, 0.12);
  transform: none;
}

.tab-button.is-locked::before,
.tab-button.is-locked::after {
  position: absolute;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 40;
}

.tab-button.is-locked::before {
  content: attr(data-lock-tooltip);
  bottom: calc(100% + 12px);
  background: #0f172a;
  color: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.35;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

.tab-button.is-locked::after {
  content: "";
  bottom: calc(100% + 6px);
  width: 10px;
  height: 10px;
  background: #0f172a;
  transform: translate(-50%, 6px) rotate(45deg);
}

.tab-button.is-locked:hover::before,
.tab-button.is-locked:hover::after,
.tab-button.is-locked:focus-visible::before,
.tab-button.is-locked:focus-visible::after {
  opacity: 1;
}

.tab-button.is-locked:hover::before,
.tab-button.is-locked:focus-visible::before {
  transform: translate(-50%, 0);
}

.tab-button.is-locked:hover::after,
.tab-button.is-locked:focus-visible::after {
  transform: translate(-50%, 0) rotate(45deg);
}

.tab-button.is-locked svg {
  opacity: 0.75;
}

.tab-lock-icon {
  color: #9ca3af;
  font-size: 13px;
}

.tab-button svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.tab-button.active svg {
  transform: scale(1.1);
}

.tabs-indicator {
  position: absolute;
  height: 100%;
  border-radius: 10px;
  background: transparent;
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Tab Content */
.tab-content {
  grid-column: 1 / -1;
  display: none;
  gap: 24px;
  grid-template-columns: inherit;
}

.tab-content.active {
  display: grid;
  animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ensure tab content inherits bento grid structure */
.tab-content .bento-card {
  grid-column: 1 / -1;
}

/* Tablet: 8-column layout for tab content */
@media (max-width: 1200px) {
  .tab-content {
    grid-template-columns: repeat(8, 1fr);
  }
  
  .tab-content .bento-card {
    grid-column: 1 / -1;
  }
  
  .breadcrumb-list {
    font-size: 13px;
  }
}

/* Mobile: Single column for tab content */
@media (max-width: 768px) {
  .contact-modal__dialog {
    width: 95%;
    max-height: 95vh;
    border-radius: var(--radius);
  }
  
  .contact-modal__content {
    padding: 24px 20px;
  }
  
  .contact-modal__title {
    font-size: 22px;
  }
  
  .form-group {
    gap: 6px;
  }
  
  .contact-btn-submit {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .breadcrumb-container {
    margin-bottom: 16px;
  }
  
  .breadcrumb-nav {
    padding: 8px 0;
  }
  
  .breadcrumb-list {
    font-size: 12px;
    gap: 6px;
  }
  
  .breadcrumb-item:not(:last-child)::after {
    font-size: 14px;
    margin-left: 6px;
  }
  
  .bento-tabs {
    margin-bottom: 16px;
  }
  
  .tabs-header {
    gap: 4px;
    padding: 4px;
  }
  
  .tab-button {
    padding: 10px 12px;
    font-size: 13px;
    gap: 6px;
  }
  
  .tab-button svg {
    width: 16px;
    height: 16px;
  }
  
  .tab-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .tab-content .bento-card {
    grid-column: 1;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
  
  .gallery-item {
    max-height: 180px;
  }
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
  }
  
  .gallery-item {
    max-height: 220px;
  }


  .hero-section {
    min-height: 35vh;
  }
  
  .hero-title {
    font-size: 28px;
  }
  
  .hero-logo-container {
    width: 120px;
    height: 120px;
  }
  
  .hero-logo-placeholder {
    font-size: 48px;
  }
  
  .bento-card {
    padding: 16px;
  }
  
  .bento-card-header h3 {
    font-size: 18px;
  }
  
  .contact-item {
    padding: 10px 12px;
    gap: 8px;
    font-size: 13px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .gallery-item {
    max-height: 150px;
  }
}

/* Price Lists Section - Account UI Style */
.cmp-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  margin-bottom: 24px;
  width: 100%;
  grid-column: 1 / -1;
}

.cmp-section-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #1f2937;
}

.table-responsive {
  overflow-x: auto;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
  background: #ffffff;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
}

.cmp-table thead {
  background: #f9fafb;
}

.cmp-table thead th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 13px;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  border-bottom: 1px solid #e5e7eb;
}

.cmp-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid #e5e7eb;
  font-size: 14px;
  color: #1f2937;
}

.cmp-table tbody tr:last-child td {
  border-bottom: none;
}

.cmp-table tbody tr:hover {
  background: #f9fafb;
}

/* Price List Buttons - Account UI Style */
.cmp-table .btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cmp-table .btn-soft:hover {
  background: #1f4ed4;
}

.cmp-table .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: #2563eb;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cmp-table .btn-primary:hover {
  background: #1f4ed4;
}

.cmp-table .btn-sm {
  padding: 6px 12px;
  font-size: 12px;
}

.cmp-table .badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.cmp-table .badge.bg-secondary {
  background: #fef3c7;
  color: #92400e;
}

/* Responsive */
@media (max-width: 768px) {
  .cmp-table thead th {
    padding: 10px 12px;
    font-size: 12px;
  }
  
  .cmp-table tbody td {
    padding: 12px 12px;
    font-size: 13px;
  }
  
  .cmp-card {
    padding: 16px;
  }
  
  .cmp-section-title {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .table-responsive {
    overflow-x: scroll;
  }
  
  .cmp-table {
    min-width: 100%;
  }
}

/* Location Section (Map + Address at bottom) */
.location-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}

.location-map {
  grid-column: 1;
}

.location-address {
  grid-column: 2;
}

.bento-map .map-wrapper {
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.address-text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-primary);
  margin: 0;
}

@media (max-width: 768px) {
  .location-section {
    grid-template-columns: 1fr;
  }
  
  .location-map,
  .location-address {
    grid-column: 1;
  }
  
  .bento-map .map-wrapper {
    height: 300px;
  }
}

/* Supply Volume Badges */
.supply-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.supply-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: #eff6ff;
  color: var(--primary);
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.supply-badge:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

/* ========== Sticky Company Bar ========== */
.sticky-company-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  z-index: 900;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

.sticky-company-bar.is-visible {
  transform: translateY(0);
  height: auto;
}

.sticky-company-bar__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 20px;
}

.sticky-company-bar__info {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.sticky-company-bar__logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: contain;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
  padding: 4px;
  background: #ffffff;
}

.sticky-company-bar__logo-container {
  width: 48px;
  height: 48px;
  padding: 0;
  background: #ffffff;
  box-shadow: none;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
}

.sticky-company-bar__logo-container .hero-logo {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border: none;
  transition: transform 0.2s ease;
  object-fit: contain;
  padding: 4px;
  background: #ffffff;
  box-sizing: border-box;
}

.sticky-company-bar__logo-container:hover .hero-logo {
  transform: scale(1.05);
}

.sticky-company-bar__logo-container::before {
  display: none;
}

.sticky-company-bar__logo-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.sticky-company-bar__text {
  min-width: 0;
  flex: 1;
}

.sticky-company-bar__name {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-company-bar__phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #6b7280;
  text-decoration: none;
  margin-top: 2px;
}

.sticky-company-bar__phone:hover {
  color: #2563eb;
}

.sticky-company-bar__phone--locked {
  color: #6b7280;
}

.sticky-company-bar__phone--locked:hover {
  color: #1d4ed8;
}

.sticky-company-bar__phone svg {
  flex-shrink: 0;
}

.sticky-company-bar__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.sticky-company-bar__call {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eaf2ff;
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  text-decoration: none;
}

.sticky-company-bar__call:hover {
  background: #dbeafe;
  color: #1e40af;
  border-color: #93c5fd;
}

.sticky-company-bar__fav {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  position: relative;
}

.sticky-company-bar__fav:hover {
  background: #e5e7eb;
  color: #374151;
}

.sticky-company-bar__fav.is-active {
  background: #fee2e2;
  color: #b91c1c;
  border-color: #fecaca;
}

.sticky-company-bar__fav.is-active:hover {
  background: #fecaca;
}

/* Tooltip РґР»СЏ РёРєРѕРЅРєРё - РїРѕР·РёС†РёРѕРЅРёСЂСѓРµРј РІРЅРёР· */
.sticky-company-bar__fav::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}

.sticky-company-bar__fav::before {
  content: '';
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 100;
}

.sticky-company-bar__fav:hover::after,
.sticky-company-bar__fav:hover::before {
  opacity: 1;
}

.sticky-company-bar__fav:hover::after {
  transform: translateX(-50%) translateY(4px);
}


.sticky-company-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  background: linear-gradient(135deg, #2563eb 0%, #1f4ed4 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.sticky-company-bar__btn svg {
  display: none;
  flex-shrink: 0;
}

.sticky-company-bar__btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.4);
}

.sticky-call-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sticky-call-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.sticky-call-modal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.45);
  cursor: pointer;
}

.sticky-call-modal__sheet {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, 16px);
  width: min(560px, calc(100vw - 24px));
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.28);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.sticky-call-modal.is-open .sticky-call-modal__sheet {
  transform: translate(-50%, 0);
}

.sticky-call-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #eef1f4;
}

.sticky-call-modal__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

.sticky-call-modal__close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sticky-call-modal__close:hover {
  background: #f8fafc;
  color: #334155;
}

.sticky-call-modal__list {
  display: grid;
  gap: 8px;
  padding: 12px 14px 14px;
  max-height: min(56vh, 360px);
  overflow-y: auto;
}

.sticky-call-modal__item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #ffffff;
  color: #0f172a;
  text-decoration: none;
}

.sticky-call-modal__item:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.sticky-call-modal__item-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.sticky-call-modal__item-number {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
}

/* ========== Popup Company Chat ========== */
.company-chat-popup {
  position: fixed;
  inset: 0;
  z-index: 5200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.company-chat-popup[hidden] {
  display: none !important;
}

.company-chat-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.company-chat-popup__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  margin: 0;
  padding: 0;
  background: rgba(15, 23, 42, 0.5);
}

.company-chat-popup__panel {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: min(480px, calc(100vw - 24px));
  height: min(760px, calc(100vh - 24px));
  background: #ffffff;
  border: 1px solid #dbe2ea;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.company-chat-popup__head {
  min-height: 52px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef1f4;
}

.company-chat-popup__back {
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #dbe2ea;
  background: #ffffff;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.company-chat-popup__back:hover {
  background: #f8fafc;
  border-color: #cdd5df;
}

.company-chat-popup__title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.company-chat-popup__head-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-chat-popup__open-full {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #dbe2ea;
  color: #1d4ed8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.company-chat-popup__open-full:hover {
  background: #f8fbff;
  border-color: #bfdbfe;
}

.company-chat-popup__close {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid #dbe2ea;
  background: #fff;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.company-chat-popup__close:hover {
  background: #f8fafc;
  color: #334155;
}

.company-chat-popup__frame {
  width: 100%;
  flex: 1 1 auto;
  border: 0;
  background: #fff;
}

.company-chat-popup__loading {
  position: absolute;
  left: 0;
  right: 0;
  top: 53px;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  z-index: 2;
}

.company-chat-popup.is-loading .company-chat-popup__loading {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.company-chat-popup.is-loading .company-chat-popup__frame {
  pointer-events: none;
}

.company-chat-popup__spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #dbeafe;
  border-top-color: #2563eb;
  animation: companyChatSpin 0.75s linear infinite;
}

.company-chat-popup__loading-text {
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}

@keyframes companyChatSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 768px) {
  .sticky-company-bar__content {
    gap: 6px;
    padding: 6px 0;
  }

  .sticky-company-bar__logo-container,
  .sticky-company-bar__logo,
  .sticky-company-bar__logo-placeholder {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .sticky-company-bar__name {
    font-size: 13px;
    line-height: 1.2;
  }

  .sticky-company-bar__name {
    font-size: 14px;
  }
  
  .sticky-company-bar__phone {
    font-size: 13px;
  }
  
  .sticky-company-bar__btn {
    padding: 7px 10px;
    font-size: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.28);
  }
  
  .sticky-company-bar__call,
  .sticky-company-bar__fav {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }

  .sticky-call-modal__sheet {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    transform: translateY(16px);
  }

  .sticky-call-modal.is-open .sticky-call-modal__sheet {
    transform: translateY(0);
  }

  .sticky-call-modal__title {
    font-size: 15px;
  }

  .sticky-call-modal__item-number {
    font-size: 15px;
  }

  .company-chat-popup__panel {
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
  }

  .company-chat-popup__head {
    padding-top: calc(10px + env(safe-area-inset-top, 0px));
  }

  .company-chat-popup__title {
    font-size: 15px;
  }

  .company-chat-popup__open-full {
    display: none;
  }

  .company-chat-popup__loading {
    top: calc(53px + env(safe-area-inset-top, 0px));
  }
}

/* ===== Mobile polish for company page ===== */
@media (max-width: 768px) {
  body.is-company > main.container {
    overflow-x: hidden;
  }

  body:has(.hero-section) {
    overflow-x: hidden;
  }

  .hero-wrapper,
  .hero-section,
  .hero-section .container,
  .breadcrumb-container .container,
  .sticky-company-bar .container,
  main.container.bento-layout,
  .bento-layout,
  .bento-grid,
  .bento-tabs,
  .tabs-header,
  .tab-content,
  .bento-card,
  .categories-list,
  .category-card,
  .cmp-card,
  .contact-modal__dialog,
  .news-modal-container {
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .hero-content {
    gap: 20px;
    padding: 20px 16px 24px;
  }

  .hero-logo-wrapper,
  .hero-main,
  .hero-sidebar,
  .location-section,
  .location-map,
  .location-address,
  .requisite-item,
  .requisite-item p,
  .requisite-item a,
  .contact-item,
  .contact-item a,
  .contact-item span,
  .hero-contact-link,
  .hero-contact-link span,
  .info-item,
  .info-value,
  .bank-item,
  .bank-detail,
  .bank-detail-value {
    min-width: 0;
  }

  .hero-title {
    font-size: 26px;
    line-height: 1.25;
  }

  .hero-description {
    font-size: 14px;
    line-height: 1.6;
    max-width: none;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-phone-item {
    gap: 10px;
    padding: 8px 0;
    font-size: 16px;
    align-items: flex-start;
  }

  .phone-number {
    font-size: 17px;
    line-height: 1.3;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-contact-link {
    font-size: 14px;
    line-height: 1.35;
    align-items: flex-start;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .contact-item {
    white-space: normal;
    align-items: flex-start;
  }

  .contact-item a,
  .contact-item span,
  .requisite-item p,
  .requisite-item a,
  .address-text {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero-actions {
    width: 100%;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-btn {
    flex: 1 1 auto;
    min-width: 0;
    padding: 10px 14px;
    justify-content: center;
  }

  .hero-icon-btn {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .bento-layout {
    padding: 20px 16px 72px;
  }

  .breadcrumb-container .container,
  .sticky-company-bar .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .bento-grid,
  .tab-content {
    gap: 12px;
  }

  .bento-card,
  .cmp-card {
    padding: 14px;
  }

  .bento-card-header {
    gap: 8px;
    align-items: flex-start;
  }

  .bento-card-header h3 {
    font-size: 17px;
    line-height: 1.3;
  }

  .bento-card-header svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .benefits-grid,
  .info-grid,
  .terms-grid,
  .categories-list,
  .bank-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .benefit-item,
  .bank-item,
  .category-card {
    padding: 14px;
  }

  .info-value,
  .term-content p,
  .bank-detail-value {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .tabs-header {
    padding: 4px;
    gap: 4px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    max-width: 100%;
  }

  .tabs-header::-webkit-scrollbar {
    display: none;
  }

  .tab-button {
    flex: 0 0 auto;
    min-width: max-content;
    scroll-snap-align: start;
  }

  .cmp-card {
    overflow: hidden;
  }

  .table-responsive {
    -webkit-overflow-scrolling: touch;
  }

  .sticky-company-bar__content {
    gap: 8px;
    padding: 8px 0;
  }

  .sticky-company-bar__actions {
    gap: 6px;
  }

  .sticky-company-bar__phone {
    display: none;
  }

  .sticky-company-bar__btn {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 8px;
    font-size: 0;
  }

  .sticky-company-bar__btn svg {
    display: block;
    width: 18px;
    height: 18px;
  }

  .sticky-company-bar__btn span {
    display: none;
  }

  .sticky-company-bar__fav {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .sticky-company-bar__call {
    width: 36px;
    height: 36px;
    border-radius: 8px;
  }

  .fab {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }

  .contact-modal {
    padding: 12px;
  }

  .contact-modal__dialog {
    width: 100%;
    max-width: none;
  }

  .contact-modal__content {
    padding: 20px 16px;
  }

  .form-input,
  .form-textarea {
    font-size: 16px;
  }

  .news-modal-overlay {
    padding: 12px;
  }

  .news-modal-body {
    padding: 16px;
  }

  .news-modal-title {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 23px;
  }

  .sticky-company-bar.is-visible .sticky-company-bar__logo-container,
  .sticky-company-bar.is-visible .sticky-company-bar__logo {
    width: 104px;
    height: auto;
  }

  .sticky-company-bar.is-visible .sticky-company-bar__logo-placeholder {
    width: 104px;
    height: 104px;
  }

  .hero-logo-container {
    width: 104px;
    height: 104px;
  }

  .hero-logo-placeholder {
    font-size: 40px;
  }

  .sticky-company-bar__btn span {
    max-width: 88px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}
