/* ==============================================================================
   CvetMetLom 2.0 - Modern Industrial Scrap Metal Design System
   ============================================================================== */

[v-cloak] {
  display: none !important;
}

:root {
  --bg-main: #0a0e14;
  --bg-surface: #111721;
  --bg-card: #161f2d;
  --bg-card-hover: #1c2738;
  --bg-glass: rgba(22, 31, 45, 0.75);
  
  --primary: #ffb800;
  --primary-hover: #e5a500;
  --primary-glow: rgba(255, 184, 0, 0.25);
  --primary-dim: rgba(255, 184, 0, 0.1);
  
  --accent-blue: #3b82f6;
  --accent-green: #10b981;
  --accent-green-dim: rgba(16, 185, 129, 0.15);
  --danger: #ef4444;
  
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(255, 184, 0, 0.5);
  --border-card: rgba(255, 255, 255, 0.05);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 25px rgba(255, 184, 0, 0.25);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #151f2e 0%, var(--bg-main) 60%);
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

img, picture, video, canvas {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--text-muted);
}

/* Gradient Text Utilities */
.text-gradient-gold {
  background: linear-gradient(135deg, #FFE082 0%, #FFB800 50%, #FF8F00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #93C5FD 0%, #38BDF8 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #6EE7B7 0%, #10B981 50%, #059669 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Unified Vector SVG Icon System */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.ui-icon-gold {
  color: var(--primary);
  filter: drop-shadow(0 0 8px rgba(255, 184, 0, 0.35));
}

.ui-icon-cyan {
  color: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.35));
}

.ui-icon-emerald {
  color: #10b981;
  filter: drop-shadow(0 0 8px rgba(16, 185, 129, 0.35));
}

.ui-icon-lg {
  width: 24px;
  height: 24px;
  font-size: 24px;
}

.ui-icon-xl {
  width: 32px;
  height: 32px;
  font-size: 32px;
}

.hero-badge-icon svg,
.fleet-icon svg,
.contact-icon svg,
.warning-icon svg {
  width: 100%;
  height: 100%;
  max-width: 32px;
  max-height: 32px;
}

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 14px;
  }
}

/* UI Elements & Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-primary {
  background: linear-gradient(135deg, #ffc72c, var(--primary));
  color: #0f172a;
  box-shadow: 0 4px 18px var(--primary-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(255, 184, 0, 0.4);
  background: linear-gradient(135deg, #ffd34d, #ffb800);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-main);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.88rem;
  border-radius: var(--radius-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-full);
}

.badge-live {
  background: var(--accent-green-dim);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-live .pulse-dot {
  width: 7px;
  height: 7px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.badge-gold {
  background: var(--primary-dim);
  color: var(--primary);
  border: 1px solid rgba(255, 184, 0, 0.3);
}

/* ==============================================================================
   Top Bar
   ============================================================================== */
.top-bar {
  background: rgba(10, 14, 20, 0.95);
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  padding: 8px 0;
  backdrop-filter: blur(10px);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

.top-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.top-item-address {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 440px;
  flex-shrink: 1;
}

.top-item strong {
  color: var(--text-main);
}

/* ==============================================================================
   Header / Navigation
   ============================================================================== */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 23, 33, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: clamp(8px, 1.2vw, 20px);
  width: 100%;
  min-width: 0;
  flex-wrap: nowrap;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand-emblem-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 1.5px rgba(255, 255, 255, 0.45)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
  transition: transform 0.25s ease;
}

.brand-logo:hover .brand-emblem-img {
  transform: scale(1.05);
}

.brand-text {
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-text h1, .brand-text .logo-title {
  font-size: clamp(1.15rem, 1.35vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-text .logo-sub {
  font-size: 0.65rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap !important;
  gap: clamp(6px, 1vw, 14px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  font-size: clamp(0.8rem, 0.88vw, 0.9rem);
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: var(--transition);
}

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

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 14px);
  flex-shrink: 0;
  white-space: nowrap;
  margin-left: auto;
}

.header-phone-box {
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
}

.header-phone {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.2vw, 1.25rem);
  font-weight: 800;
  color: var(--primary);
  display: block;
  white-space: nowrap;
  letter-spacing: 0.01em;
  line-height: 1.1;
  text-decoration: none;
}

.header-phone:hover {
  color: #ffd34d;
}

.header-phone-sub {
  font-size: 0.72rem;
  color: var(--text-dim);
  white-space: nowrap;
  margin-top: 2px;
}

.header-cta-btn {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 9px 16px;
  font-size: 0.86rem;
}

/* ==============================================================================
   Mobile Drawer & Overlay
   ============================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(340px, 86vw);
  height: 100vh;
  height: 100dvh;
  background: #0f172a;
  border-left: 1px solid var(--border);
  box-shadow: -15px 0 40px rgba(0, 0, 0, 0.85);
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
}

.drawer-close {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition);
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 0.18);
}

.drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.drawer-nav li a {
  display: block;
  padding: 11px 14px;
  border-radius: 8px;
  color: #cbd5e1;
  font-weight: 600;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid transparent;
  text-decoration: none;
  transition: var(--transition);
}

.drawer-nav li a:hover,
.drawer-nav li a.active {
  background: rgba(255, 184, 0, 0.12);
  color: var(--primary);
  border-color: rgba(255, 184, 0, 0.3);
  transform: translateX(4px);
}

.drawer-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.drawer-phone {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  display: block;
  margin-bottom: 4px;
  text-decoration: none;
}

.drawer-schedule {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.hamburger-btn,
.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  flex-shrink: 0;
  transition: var(--transition);
}

.hamburger-btn:hover,
.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--primary);
}

.hamburger-btn span,
.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

@media (max-width: 1300px) {
  .desktop-nav {
    display: none !important;
  }
  .mobile-menu-btn,
  .hamburger-btn {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 62px;
  }
  .brand-emblem-img {
    height: 38px;
  }
  .logo-title {
    font-size: 1.1rem !important;
  }
  .logo-sub {
    font-size: 0.62rem !important;
  }
  .header-phone-sub {
    display: none !important;
  }
  .header-cta-btn {
    display: none !important;
  }
  .header-phone {
    font-size: 0.98rem;
  }
  .top-item-delivery,
  .top-item-email {
    display: none !important;
  }
  .top-bar-inner {
    justify-content: space-between;
  }
}

/* ==============================================================================
   Hero Section
   ============================================================================== */
.hero {
  padding: 60px 0 80px;
  position: relative;
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-headline {
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  word-break: break-word;
  overflow-wrap: break-word;
}

.hero-headline .highlight {
  background: linear-gradient(135deg, #ffd34d, var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 580px;
}

.hero-badges-row,
.hero-badges-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 10px;
}

.hero-badge-card {
  background: rgba(22, 31, 45, 0.65);
  border: 1px solid var(--border);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.hero-badge-card:nth-child(1) {
  border-color: rgba(255, 184, 0, 0.25);
  background: linear-gradient(145deg, rgba(255, 184, 0, 0.08) 0%, rgba(22, 31, 45, 0.7) 100%);
}
.hero-badge-card:nth-child(1):hover {
  border-color: rgba(255, 184, 0, 0.5);
  box-shadow: 0 8px 24px rgba(255, 184, 0, 0.15);
  transform: translateY(-4px);
}

.hero-badge-card:nth-child(2) {
  border-color: rgba(59, 130, 246, 0.25);
  background: linear-gradient(145deg, rgba(59, 130, 246, 0.08) 0%, rgba(22, 31, 45, 0.7) 100%);
}
.hero-badge-card:nth-child(2):hover {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.15);
  transform: translateY(-4px);
}

.hero-badge-card:nth-child(3) {
  border-color: rgba(16, 185, 129, 0.25);
  background: linear-gradient(145deg, rgba(16, 185, 129, 0.08) 0%, rgba(22, 31, 45, 0.7) 100%);
}
.hero-badge-card:nth-child(3):hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

.hero-badge-icon {
  font-size: 1.5rem;
  margin-bottom: 2px;
}

.hero-badge-title {
  font-weight: 800;
  font-size: 1rem;
  color: #fff;
  font-family: var(--font-display);
}

.hero-badge-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Hero Lead Card (Right Column) */
.hero-card {
  background: linear-gradient(180deg, rgba(22, 31, 45, 0.9) 0%, rgba(17, 23, 33, 0.95) 100%);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  position: relative;
  backdrop-filter: blur(14px);
}

.hero-card-badge {
  position: absolute;
  top: -14px;
  right: 28px;
}

.hero-card-title {
  font-size: 1.55rem;
  margin-bottom: 6px;
}

.hero-card-subtitle {
  font-size: 0.92rem;
  margin-bottom: 24px;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.form-input, .form-select, .form-textarea, textarea {
  width: 100%;
  padding: 13px 16px;
  background: rgba(10, 14, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: #fff;
  font-family: inherit;
  font-size: 0.98rem;
  transition: var(--transition);
}

.form-textarea, textarea {
  resize: none !important;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(10, 14, 20, 0.95);
}

.form-select option {
  background: #111721;
  color: #fff;
}

.form-agree {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 10px;
  text-align: center;
}

/* ==============================================================================
   Popular Metals Cards / Ticker
   ============================================================================== */
.section-popular {
  padding: 40px 0 70px;
}

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

.section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.3rem);
}

.section-subtitle {
  margin-top: 6px;
  font-size: 1.05rem;
}

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

@media (max-width: 1080px) {
  .metals-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .metals-grid {
    grid-template-columns: 1fr;
  }
}

.metal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: var(--transition);
  min-width: 0;
}

.metal-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 184, 0, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.metal-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.metal-card-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
  word-break: break-word;
}

.metal-card-cat {
  font-size: 0.76rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}

.metal-card-prices {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(10, 14, 20, 0.5);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mp-single-price-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(255, 184, 0, 0.08);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 14px;
}

.mp-single-price-lbl {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-right: 6px;
}

.wholesale-call-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 184, 0, 0.09) 0%, rgba(20, 26, 38, 0.8) 100%);
  border: 1px solid rgba(255, 184, 0, 0.28);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  margin-bottom: 20px;
}

.wholesale-call-content {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.wholesale-call-badge {
  background: var(--primary);
  color: #000;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.wholesale-call-text {
  font-size: 0.92rem;
  color: #e2e8f0;
  font-weight: 500;
}

.wholesale-call-btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .wholesale-call-card {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .wholesale-call-btn {
    width: 100%;
    justify-content: center;
  }
}

.metal-card-footer {
  display: flex;
  gap: 10px;
}

/* ==============================================================================
   Calculator Section
   ============================================================================== */
.section-calculator {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, transparent 0%, rgba(22, 31, 45, 0.5) 50%, transparent 100%);
}

.calc-wrapper {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  margin-top: 30px;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.slider-container {
  margin-top: 10px;
}

.range-slider {
  width: 100%;
  height: 8px;
  background: #253141;
  border-radius: 4px;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  cursor: pointer;
  transition: transform 0.1s;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.quick-weight-tags {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.weight-tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  cursor: pointer;
  transition: var(--transition);
}

.weight-tag:hover, .weight-tag.active {
  background: var(--primary-dim);
  color: var(--primary);
  border-color: var(--primary);
}

/* Calculator Result Card */
.calc-result-card {
  background: linear-gradient(135deg, #1c2637 0%, #121924 100%);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.calc-result-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), #10b981);
}

.calc-payout-label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-payout-amount {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin: 10px 0;
}

.calc-breakdown {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 20px 0 24px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.breakdown-val {
  font-weight: 600;
  color: #fff;
}

/* ==============================================================================
   Full Dynamic Price Table
   ============================================================================== */
.section-prices {
  padding: 70px 0;
}

.price-table-header-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  min-width: 280px;
  flex: 1;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: #fff;
  font-size: 0.95rem;
}

.search-box .search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-dim);
}

.category-tabs-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  width: 100%;
  gap: 8px;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 184, 0, 0.4) transparent;
  padding: 6px 4px 12px 4px;
  width: 100%;
  flex: 1;
}

.category-tabs::-webkit-scrollbar {
  height: 6px;
  display: block !important;
}

.category-tabs::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.category-tabs::-webkit-scrollbar-thumb {
  background: rgba(255, 184, 0, 0.35);
  border-radius: 4px;
}

.category-tabs::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.tabs-scroll-arrow {
  background: rgba(17, 24, 39, 0.9);
  border: 1px solid var(--border);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 5;
  backdrop-filter: blur(8px);
  transition: var(--transition);
  line-height: 1;
  user-select: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tabs-scroll-arrow:hover {
  background: var(--primary);
  color: #0f172a;
  border-color: var(--primary);
  transform: scale(1.08);
}

.tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  user-select: none;
  flex-shrink: 0;
}

.tab-btn:hover {
  background: var(--bg-card-hover);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: var(--primary);
  color: #0f172a;
  font-weight: 700;
  border-color: var(--primary);
  box-shadow: 0 2px 10px var(--primary-glow);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th, .price-table td {
  padding: 16px 20px;
}

.price-table th {
  background: #0d121b;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  font-weight: 600;
  border-bottom: 1px solid var(--border);
}

.price-table th.th-max {
  color: var(--primary);
  background: rgba(255, 184, 0, 0.05);
  white-space: nowrap !important;
  min-width: 175px;
}

.price-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s;
}

.price-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.price-table td.td-name {
  font-weight: 600;
  color: #fff;
  min-width: 220px;
}

.price-table td.td-name .desc-text {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-dim);
  margin-top: 3px;
}

.price-table td.td-max {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.05rem;
  background: rgba(255, 184, 0, 0.03);
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  min-width: 175px;
}

.price-table td.td-max strong,
.price-table td.td-max small,
.price-table td.td-max span {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
}

.category-divider-row td {
  background: #141b26;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  padding: 12px 20px;
}

/* ==============================================================================
   Mobile Responsive Price Tables & Cards (OWASP & Premium UX)
   ============================================================================== */
@media (max-width: 768px) {
  .price-table-wrapper,
  .table-responsive {
    overflow-x: visible !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
  }

  .price-table {
    display: block !important;
    width: 100% !important;
    border: none !important;
  }

  .price-table thead {
    display: none !important;
  }

  .price-table tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
  }

  .price-table tbody tr {
    display: flex !important;
    flex-direction: column !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    padding: 16px !important;
    gap: 8px !important;
    box-shadow: var(--shadow-sm) !important;
    transition: var(--transition) !important;
  }

  .price-table td {
    padding: 4px 0 !important;
    border: none !important;
    font-size: 0.92rem !important;
    width: 100% !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  /* Первый столбец — Название металла в карточке */
  .price-table td:first-child {
    display: block !important;
    font-size: 1.12rem !important;
    font-weight: 800 !important;
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 10px !important;
    margin-bottom: 4px !important;
    min-width: 0 !important;
  }

  .price-table td:first-child strong {
    color: #fff !important;
    font-size: 1.12rem !important;
  }

  /* Второй столбец — Описание/Характеристики */
  .price-table tr td:nth-child(2):not(.td-name):not(:has(.btn)) {
    display: block !important;
    font-size: 0.85rem !important;
    color: var(--text-muted) !important;
    line-height: 1.4 !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    margin-bottom: 4px !important;
  }

  /* Столбец с единой ценой */
  .price-table tr td.td-max::before,
  .price-table tr td:nth-last-child(2)::before {
    content: "Цена приема:";
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 700;
  }

  /* Последний столбец — Кнопка действия на всю ширину карточки */
  .price-table td:last-child {
    display: block !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-top: 12px !important;
    margin-top: 6px !important;
    text-align: center !important;
  }

  .price-table td:last-child .btn,
  .price-table td:last-child button {
    width: 100% !important;
    padding: 12px !important;
    font-size: 0.95rem !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }

  /* Скрытие десктопной таблицы на главной */
  .desktop-only-table {
    display: none !important;
  }

  .mobile-price-cards-list {
    display: flex !important;
    flex-direction: column;
    gap: 14px;
    width: 100%;
  }

  .mobile-price-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
  }

  .mp-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 8px;
  }

  .mp-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
  }

  .mp-desc {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-bottom: 12px;
    line-height: 1.4;
  }

  .mp-single-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 184, 0, 0.08);
    border: 1px solid rgba(255, 184, 0, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    margin-bottom: 14px;
  }

  .mp-single-price-lbl {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
  }

  .mp-single-price-val {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
  }
}

@media (min-width: 769px) {
  .mobile-price-cards-list {
    display: none !important;
  }
}

/* ==============================================================================
   Steps & How It Works (4 шага к быстрой оплате)
   ============================================================================== */
.section-steps {
  padding: 85px 0;
  background: radial-gradient(circle at 50% 100%, rgba(59, 130, 246, 0.06) 0%, var(--bg-surface) 60%);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 44px;
  position: relative;
}

.step-card {
  background: linear-gradient(180deg, rgba(22, 31, 45, 0.9) 0%, rgba(15, 23, 35, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.step-card:hover {
  border-color: rgba(255, 184, 0, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.1);
}

.step-card:hover::before {
  opacity: 1;
}

.step-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 16px;
  width: 52px;
  height: 52px;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.15);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ==============================================================================
   Fleet / Vehicles
   ============================================================================== */
.section-fleet {
  padding: 85px 0;
  background: radial-gradient(circle at 0% 50%, rgba(255, 184, 0, 0.04) 0%, var(--bg-main) 60%);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 40px;
}

.fleet-card {
  background: linear-gradient(180deg, rgba(22, 31, 45, 0.85) 0%, rgba(14, 20, 30, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.fleet-card:hover {
  border-color: rgba(255, 184, 0, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}

.fleet-icon {
  width: 56px;
  height: 56px;
  background: rgba(255, 184, 0, 0.12);
  color: var(--primary);
  border: 1px solid rgba(255, 184, 0, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 0 16px rgba(255, 184, 0, 0.12);
}

.fleet-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}

.fleet-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 6px 0;
}

.fleet-spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  padding: 4px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.fleet-spec-lbl {
  color: var(--text-dim);
}

.fleet-spec-val {
  font-weight: 600;
  color: #fff;
}

.fleet-capacity {
  display: inline-block;
  background: rgba(255, 184, 0, 0.1);
  border: 1px solid rgba(255, 184, 0, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  width: fit-content;
}

/* ==============================================================================
   Licenses & Certificates
   ============================================================================== */
.section-licenses {
  padding: 70px 0;
  background: var(--bg-surface);
}

.real-license-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 36px;
  padding: 32px;
  align-items: center;
  margin-top: 36px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  box-sizing: border-box;
  max-width: 100%;
}

.real-license-card:hover {
  border-color: rgba(250, 204, 21, 0.35);
}

.license-pages-showcase {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.license-pages-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.license-page-card {
  position: relative;
  cursor: pointer;
  background: #0b1017;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
}

.license-page-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
}

.page-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(250, 204, 21, 0.4);
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}

.license-page-wrap {
  position: relative;
  width: 100%;
  height: 250px;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.license-page-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.3s ease;
}

.license-page-card:hover .license-page-img {
  transform: scale(1.04);
}

.license-hover-zoom {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 20, 0.7);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-weight: 600;
  font-size: 0.85rem;
}

.license-page-card:hover .license-hover-zoom {
  opacity: 1;
}

.license-page-caption {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 8px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.license-showcase-hint {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.real-license-details {
  display: flex;
  flex-direction: column;
}

.license-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  align-self: flex-start;
  margin-bottom: 16px;
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.real-license-heading {
  font-size: 1.45rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 10px;
}

.real-license-authority {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.real-license-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-size: 0.92rem;
}

.spec-label {
  color: var(--text-dim);
  flex-shrink: 0;
}

.spec-val {
  color: #fff;
  font-weight: 600;
  text-align: right;
}

.spec-val.highlight-val {
  color: var(--primary);
  font-family: monospace;
  font-size: 1rem;
}

.spec-val.verified-val {
  color: #4ade80;
}

.real-license-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 960px) {
  .real-license-card {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 18px;
    gap: 22px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }
  .license-pages-showcase,
  .real-license-details {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .license-pages-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    min-width: 0;
  }
  .license-page-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .license-page-wrap {
    width: 100%;
    max-width: 100%;
    height: 220px;
  }
  .license-page-caption {
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 0.76rem;
    line-height: 1.25;
  }
  .spec-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .spec-val {
    text-align: left;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .real-license-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .real-license-card {
    padding: 16px 12px;
    margin-top: 18px;
    border-radius: var(--radius-md);
  }
  .license-pages-grid {
    gap: 8px;
  }
  .license-page-card {
    padding: 6px;
  }
  .license-page-wrap {
    height: 160px;
  }
  .license-page-caption {
    font-size: 0.7rem;
    line-height: 1.2;
    margin-top: 6px;
  }
  .page-badge {
    top: 6px;
    left: 6px;
    font-size: 0.65rem;
    padding: 2px 5px;
  }
  .real-license-heading {
    font-size: 1.15rem;
    line-height: 1.3;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .real-license-authority {
    font-size: 0.85rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .spec-row {
    font-size: 0.88rem;
  }
}

/* Lightbox Modal for Real Certificates */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-card {
  position: relative;
  max-width: 820px;
  width: 100%;
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px 20px 16px 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9);
}

.lightbox-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.lightbox-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lightbox-page-tabs {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.lightbox-tab-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-tab-btn.active {
  background: var(--primary);
  color: #0f172a;
  border-color: var(--primary);
}

.lightbox-viewer-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px;
  overflow: hidden;
  max-height: 70vh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-xs);
  transition: opacity 0.2s ease;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 5;
}

.lightbox-nav-btn:hover {
  background: var(--primary);
  color: #0f172a;
  border-color: var(--primary);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-nav-btn.prev-btn {
  left: 16px;
}

.lightbox-nav-btn.next-btn {
  right: 16px;
}

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #000;
  border: none;
  font-size: 1.4rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
  z-index: 10;
}

.lightbox-close:hover {
  background: #fff;
  transform: scale(1.08);
}

@media (max-width: 640px) {
  .lightbox-card {
    padding: 14px 12px;
    max-height: 98vh;
  }
  .lightbox-close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 1.2rem;
  }
  .lightbox-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-right: 36px;
  }
  .lightbox-title {
    font-size: 0.88rem;
    white-space: normal;
  }
  .lightbox-viewer-area {
    padding: 6px;
    max-height: 60vh;
  }
  .lightbox-img {
    max-height: 58vh;
  }
  .lightbox-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }
  .lightbox-nav-btn.prev-btn {
    left: 6px;
  }
  .lightbox-nav-btn.next-btn {
    right: 6px;
  }
  .lightbox-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .lightbox-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==============================================================================
   Bottom Contact & Urgent Notice
   ============================================================================== */
.section-contacts {
  padding: 80px 0 60px;
}

.warning-callout {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(245, 158, 11, 0.15));
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.warning-icon {
  font-size: 2.2rem;
  flex-shrink: 0;
}

.warning-text h4 {
  color: #fca5a5;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.contacts-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  width: 46px;
  height: 46px;
  background: var(--primary-dim);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

/* ==============================================================================
   Footer
   ============================================================================== */
.main-footer {
  background: #070a0e;
  border-top: 1px solid var(--border);
  padding: 40px 0 24px;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* ==============================================================================
   Floating Action Buttons & Toast
   ============================================================================== */
.floating-actions {
  position: fixed;
  bottom: 26px;
  right: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
}

.float-btn-phone {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 20px var(--primary-glow);
  animation: pulse 2.5s infinite;
}

.float-btn-phone:hover {
  transform: scale(1.1);
}

/* Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(255, 184, 0, 0.3);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 34px;
  position: relative;
  transform: scale(0.95);
  transition: transform 0.2s ease;
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-close:hover {
  color: #fff;
}

/* ==============================================================================
   Mobile Navigation Drawer & Bottom Bar
   ============================================================================== */
.mobile-call-icon-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: #000;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px var(--primary-glow);
  flex-shrink: 0;
}

.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  max-width: 85vw;
  height: 100vh;
  background: var(--bg-surface);
  border-left: 1px solid var(--border);
  z-index: 999;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.6);
  padding: 24px 20px;
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.drawer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 20px 0;
}

.drawer-nav a {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  transition: var(--transition);
}

.drawer-nav a:hover {
  background: var(--primary-dim);
  color: var(--primary);
}

.drawer-contacts {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.drawer-phone {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  margin-top: 4px;
}

/* Mobile Fixed Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 990;
  background: rgba(17, 23, 33, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  gap: 12px;
  box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.6);
}

.mobile-bar-call {
  flex: 1;
  padding: 12px 10px;
  font-size: 0.92rem;
  border: 1px solid rgba(255, 184, 0, 0.35);
  color: var(--primary);
  background: rgba(255, 184, 0, 0.08);
}

.mobile-bar-order {
  flex: 1.3;
  padding: 12px 10px;
  font-size: 0.92rem;
}

/* Mobile Price Cards (Clean view on smartphones instead of wide table) */
.mobile-price-cards-list {
  display: none;
  flex-direction: column;
  gap: 14px;
}

.mobile-price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: var(--transition);
}

.mp-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.mp-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.mp-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
  line-height: 1.4;
}

.mp-rates-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  background: rgba(10, 14, 20, 0.6);
  border-radius: var(--radius-sm);
  padding: 10px 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.mp-rate-box {
  text-align: center;
}

.mp-rate-lbl {
  font-size: 0.68rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.mp-rate-val {
  font-size: 0.88rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.mp-rate-max .mp-rate-val {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.mp-actions {
  display: flex;
  gap: 10px;
}

.empty-notice {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-dim);
  background: var(--bg-card);
  border-radius: var(--radius-md);
}

/* ==============================================================================
   Responsive Queries
   ============================================================================== */
@media (max-width: 1200px) {
  .nav-links {
    gap: 14px;
  }
  .header-actions {
    gap: 12px;
  }
  .top-item-address {
    max-width: 260px;
  }
}

@media (max-width: 992px) {
  .top-item-delivery {
    display: none;
  }
  .desktop-nav {
    display: none;
  }
  .header-actions .header-cta-btn {
    display: none;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .header-phone-sub {
    display: none;
  }
  .hero-grid, .calc-grid, .contacts-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid, .licenses-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .fleet-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px; /* Отступ под нижнюю фиксированную планку */
  }

  .top-bar {
    display: none;
  }

  .header-inner {
    height: 64px;
  }

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

  .mobile-call-icon-btn {
    display: flex;
  }

  .desktop-only-table {
    display: none !important;
  }

  .mobile-price-cards-list {
    display: flex !important;
  }

  .mobile-bottom-bar {
    display: flex !important;
  }

  .floating-actions {
    bottom: 84px;
    right: 16px;
  }

  .float-btn {
    width: 48px;
    height: 48px;
  }

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

  .hero-headline {
    font-size: clamp(1.55rem, 7vw, 1.85rem);
    line-height: 1.22;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-desc {
    font-size: 0.97rem;
    line-height: 1.55;
  }

  /* На мобиле — 2 колонки, не вертикальный стек */
  .hero-badges-row,
  .hero-badges-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-badge-card {
    padding: 12px 14px;
  }

  .hero-badge-title {
    font-size: 0.9rem;
  }

  .hero-badge-sub {
    font-size: 0.74rem;
  }

  /* Форма на всю ширину */
  .hero-card {
    padding: 22px 16px;
  }

  .hero-card-title {
    font-size: 1.3rem;
  }

  .hero-actions-row {
    flex-direction: column;
  }

  .hero-actions-row .btn {
    width: 100%;
    padding: 14px 20px;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
  }

  .calc-wrapper {
    padding: 20px 14px;
  }

  .calc-payout-amount {
    font-size: 2.1rem;
  }

  .quick-weight-tags {
    gap: 6px;
    flex-wrap: wrap;
  }

  .weight-tag {
    padding: 6px 10px;
    font-size: 0.76rem;
  }

  .steps-grid, .licenses-grid {
    grid-template-columns: 1fr;
  }

  .contacts-info-card {
    padding: 24px 18px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }

  .footer-copyright-box {
    text-align: center !important;
  }

  /* Секция «Самые востребованные» на мобиле */
  .metals-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .metal-card {
    padding: 16px;
  }

  /* Форма-2-колонки → 1 колонка */
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Таблица прайс-листа */
  .price-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ==============================================================================
   Multiple Reception Points & Booking Notice
   ============================================================================== */
.points-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 14px;
}

.point-item {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: var(--transition);
}

.point-item:hover {
  border-color: rgba(250, 204, 21, 0.4);
}

.point-item.primary-point {
  border-color: rgba(250, 204, 21, 0.5);
  background: rgba(250, 204, 21, 0.04);
}

.point-badge {
  background: var(--primary);
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.point-badge.alt-badge {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.point-details-box {
  flex: 1;
}

.point-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.point-address-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.point-note {
  font-size: 0.78rem;
  color: var(--primary);
  margin-top: 4px;
  font-weight: 600;
}

.strict-booking-callout {
  margin-top: 20px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.strict-booking-callout .callout-text {
  font-size: 0.84rem;
  color: #fca5a5;
  line-height: 1.45;
}

.strict-booking-callout strong {
  color: #fff;
}

/* ==============================================================================
   Live Chat Widget (Онлайн-чат с оценщиком)
   ============================================================================== */
.chat-fab-btn {
  position: fixed;
  bottom: 84px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #facc15 0%, #eab308 100%);
  color: #0f172a;
  padding: 12px 20px;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(250, 204, 21, 0.4), 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: var(--transition);
}

.chat-fab-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 34px rgba(250, 204, 21, 0.55);
}

.chat-fab-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0f172a;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7);
  animation: pulse-green 2s infinite;
}

.chat-window {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 32px);
  height: 480px;
  max-height: calc(100vh - 120px);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: none;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  z-index: 995;
  overflow: hidden;
  animation: chatSlideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.chat-window.open,
.chat-window:not([style*="display: none"]):not([style*="display:none"]) {
  display: flex;
}

@keyframes chatSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
  background: #0f172a;
  border-bottom: 1px solid var(--border);
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chat-header-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.chat-header-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.chat-header-status {
  font-size: 0.75rem;
  color: #4ade80;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
}

.chat-close-btn:hover {
  color: #fff;
}

.chat-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #080c14;
}

.chat-bubble {
  max-width: 82%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.88rem;
  line-height: 1.4;
  word-break: break-word;
}

.chat-bubble.client {
  align-self: flex-end;
  background: var(--primary);
  color: #0f172a;
  border-bottom-right-radius: 4px;
  font-weight: 500;
}

.chat-bubble.admin {
  align-self: flex-start;
  background: #1e293b;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom-left-radius: 4px;
}

.chat-bubble-time {
  font-size: 0.68rem;
  opacity: 0.65;
  margin-top: 4px;
  text-align: right;
}

.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  gap: 8px;
  padding: 20px;
}

.chat-footer {
  padding: 10px 12px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input {
  flex: 1;
  background: #080c14;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  color: #fff;
  font-size: 0.88rem;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
}

.chat-send-btn {
  background: var(--primary);
  color: #0f172a;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chat-send-btn:hover {
  background: #fff;
}

@media (max-width: 600px) {
  .chat-fab-btn {
    bottom: 74px;
    right: 14px;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }
  .chat-fab-btn span:not(.chat-fab-pulse) {
    display: none;
  }
  .chat-window {
    bottom: 74px;
    right: 12px;
    left: 12px;
    width: auto;
    max-width: none;
    height: 420px;
  }
}

/* ==============================================================================
   Footer SEO Directory & Internal Cross-Linking
   ============================================================================== */
.footer-seo-directory {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 24px;
}

.footer-seo-col-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.footer-seo-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-seo-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.86rem;
  transition: var(--transition);
}

.footer-seo-links a:hover {
  color: var(--primary);
  padding-left: 4px;
}

/* ==============================================================================
   Modern Floating Toast Notifications (Glassmorphism & Glow)
   ============================================================================== */
.toast,
.toast-notification {
  position: fixed !important;
  top: 24px !important;
  right: 24px !important;
  bottom: auto !important;
  left: auto !important;
  width: auto !important;
  height: auto !important;
  max-height: fit-content !important;
  max-width: 440px !important;
  min-width: 320px !important;
  z-index: 999999 !important;
  background: rgba(15, 23, 42, 0.96) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(16, 185, 129, 0.45) !important;
  border-radius: var(--radius-md) !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #fff !important;
  font-size: 0.92rem !important;
  line-height: 1.4 !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(16, 185, 129, 0.25) !important;
  transform: translateY(-40px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.toast.show,
.toast-notification.show {
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.toast.error,
.toast-notification.error {
  border-color: rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 24px rgba(239, 68, 68, 0.25) !important;
}

.toast span:first-child,
.toast-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.toast.error span:first-child {
  background: rgba(239, 68, 68, 0.15);
}

@media (max-width: 640px) {
  .toast,
  .toast-notification {
    top: 16px !important;
    left: 16px !important;
    right: 16px !important;
    max-width: none !important;
    min-width: 0 !important;
  }
}

/* Contacts & Yandex Map Styling */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.contacts-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.contacts-map-card {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  background: #141b26;
  height: 480px;
  min-height: 480px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.contacts-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  border: 0;
}

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

@media (max-width: 992px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
  .contacts-map-card {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .contacts-info-card {
    padding: 20px 16px;
  }
  .form-row-2col {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contacts-map-card {
    min-height: 320px;
  }
}

/* ==============================================================================
   Extra Small Phones (< 400px)
   ============================================================================== */
@media (max-width: 400px) {
  .hero-headline {
    font-size: 1.45rem;
  }

  .hero-badges-row,
  .hero-badges-list {
    grid-template-columns: 1fr;
  }

  .hero-badge-card {
    padding: 10px 12px;
    flex-direction: row;
    align-items: center;
    gap: 10px;
  }

  .hero-badge-icon {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .btn {
    font-size: 0.92rem;
    padding: 12px 16px;
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
  }

  .metal-card {
    padding: 14px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==============================================================================
   Requisites Table (Responsive Modern Card Layout on Mobile)
   ============================================================================== */
.requisites-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}

.requisites-table th, 
.requisites-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-size: 0.92rem;
  vertical-align: top;
}

.requisites-table th {
  width: 32%;
  color: var(--text-dim);
  background: rgba(15, 23, 42, 0.6);
  font-weight: 600;
}

.requisites-table td {
  color: #fff;
  font-weight: 600;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.requisites-table tr:last-child th,
.requisites-table tr:last-child td {
  border-bottom: none;
}

@media (max-width: 768px) {
  .requisites-table,
  .requisites-table tbody,
  .requisites-table tr,
  .requisites-table th,
  .requisites-table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .requisites-table {
    background: transparent !important;
    border: none !important;
    margin: 14px 0 !important;
  }

  .requisites-table tr {
    background: var(--bg-card) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius-md) !important;
    padding: 14px 16px !important;
    margin-bottom: 10px !important;
  }

  .requisites-table th {
    padding: 0 0 6px 0 !important;
    font-size: 0.78rem !important;
    color: var(--primary) !important;
    background: transparent !important;
    border: none !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 700;
  }

  .requisites-table td {
    padding: 0 !important;
    font-size: 0.96rem !important;
    color: #ffffff !important;
    border: none !important;
    line-height: 1.45;
  }

  .btn {
    white-space: normal !important;
    text-align: center;
    line-height: 1.25;
  }

  .form-input {
    font-size: 16px !important;
  }

  .warning-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 14px;
    gap: 12px;
  }
}
