/*
Theme Name: СпецАКЗ
Theme URI: https://specakz.ru/
Author: СпецАКЗ
Author URI: https://specakz.ru/
Description: Cyber-Industrial Ultra-Modern Theme for Heavy Metal Treatment and Anti-Corrosion Protection (АКЗ).
Version: 4.0.0
License: Proprietary
Text Domain: specakz
*/

:root {
  --bg-dark: #070a0f;
  --bg-card: rgba(14, 21, 32, 0.75);
  --bg-card-hover: rgba(19, 29, 44, 0.9);
  --bg-alt: #0b1018;
  --bg-glass: rgba(10, 16, 25, 0.85);

  --primary: #0066ff;
  --primary-hover: #1a75ff;
  --primary-glow: rgba(0, 102, 255, 0.45);
  --primary-subtle: rgba(0, 102, 255, 0.12);

  --accent: #f59e0b;
  --accent-glow: rgba(245, 158, 11, 0.45);
  --accent-cyan: #00e5ff;
  --accent-red: #ef4444;
  --accent-green: #10b981;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 102, 255, 0.35);
  --border-metal: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(0, 102, 255, 0.25), rgba(255, 255, 255, 0.05));

  --font-main: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 102, 255, 0.3);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-main);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  position: relative;
  overflow-x: hidden;
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 102, 255, 0.16), transparent 50%),
    radial-gradient(circle at 100% 35%, rgba(245, 158, 11, 0.06), transparent 40%),
    radial-gradient(circle at 0% 70%, rgba(0, 229, 255, 0.05), transparent 35%),
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  background-attachment: fixed;
}

/* Subtle industrial grid lines overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
  pointer-events: none;
  z-index: 0;
}

/* CONTAINER */
.wrap {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* TOP STATUS TICKER */
.top-bar {
  background: rgba(6, 10, 15, 0.95);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  padding: 8px 0;
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

@keyframes pulseGreen {
  0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 10px var(--accent-green); }
  50% { transform: scale(1.3); opacity: 0.6; box-shadow: 0 0 16px var(--accent-green); }
}

.top-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.top-links a:hover {
  color: #fff;
}

.badge-link {
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
}
.badge-wa { background: rgba(37, 211, 102, 0.15); color: #25d366; border: 1px solid rgba(37, 211, 102, 0.3); }
.badge-tg { background: rgba(0, 136, 204, 0.15); color: #0088cc; border: 1px solid rgba(0, 136, 204, 0.3); }

/* HEADER & NAV (CLEAN AIR, VECTOR LOGO & GLOW) */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

.header {
  position: sticky;
  top: 0;
  background: rgba(6, 10, 16, 0.9);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  transition: all 0.3s ease;
}

.header-glow-line {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 102, 255, 0.3) 20%, rgba(0, 229, 255, 0.8) 50%, rgba(0, 102, 255, 0.3) 80%, transparent 100%);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.5), 0 2px 16px rgba(0, 102, 255, 0.3);
  pointer-events: none;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  position: relative;
}

/* BRAND VECTOR LOGO */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.logo:hover {
  transform: scale(1.02);
}

.logo-mark-wrap {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.5));
}
.logo:hover .logo-mark-wrap {
  filter: drop-shadow(0 0 14px rgba(0, 229, 255, 0.85));
}

.logo-svg {
  width: 38px;
  height: 38px;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.logo-title-row {
  display: flex;
  align-items: baseline;
  gap: 1px;
}

.logo-name-spec {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1;
}

.logo-name-akz {
  font-family: var(--font-head);
  font-size: 21px;
  font-weight: 900;
  background: linear-gradient(135deg, #00f0ff 0%, #0066ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: 0.5px;
  line-height: 1;
}

.logo-desc {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-dim);
  font-weight: 700;
  line-height: 1.1;
}

/* SPACIOUS GROUPED MENU (PLENTY OF AIR) */
.menu {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.2s ease;
  position: relative;
}
.nav-link:hover {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover::after,
.nav-item:hover .nav-link::after {
  transform: scaleX(1);
}

.chevron {
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-item:hover .chevron {
  transform: rotate(180deg);
  opacity: 1;
  color: var(--primary);
}

/* FLOATING GLASS DROPDOWN */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  width: 290px;
  background: rgba(8, 13, 21, 0.97);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 102, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none; /* Crucial: no document overflow when closed */
  z-index: 120;
}

.nav-dropdown.dropdown-right {
  left: auto;
  right: 0;
}

.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-item:hover .nav-dropdown {
  display: block;
  animation: dropFade 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes dropFade {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.dropdown-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.drop-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: #fff;
  transition: all 0.2s ease;
  background: transparent;
}
.drop-item:hover {
  background: rgba(0, 102, 255, 0.15);
  transform: translateX(3px);
}

.drop-icon {
  font-size: 15px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}

.drop-title {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.drop-desc {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.2;
  margin-top: 1px;
}

.drop-highlight {
  background: rgba(245, 158, 11, 0.08);
}
.drop-highlight .drop-title {
  color: #fbbf24;
}

/* NAV ACTIONS */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  align-items: flex-end;
}

.nav-phone-live {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 2px;
}

.phone-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 6px var(--accent-green);
  animation: pulseGreen 2s infinite ease-in-out;
}

.phone-live-txt {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #34d399;
}

.nav-phone-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.2px;
  line-height: 1;
  transition: color 0.2s;
}
.nav-phone:hover .nav-phone-num {
  color: var(--primary);
}

.btn-header-cta {
  padding: 9px 20px;
  font-size: 13px;
  font-weight: 800;
  background: linear-gradient(135deg, #fc5d00 0%, #ff7700 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 4px 18px rgba(252, 93, 0, 0.45);
  border-radius: var(--radius-sm);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(252, 93, 0, 0.65);
  background: linear-gradient(135deg, #ff6b00 0%, #ff8800 100%) !important;
}

.burger-btn {
  display: none;
  width: 42px;
  height: 42px;
  background: rgba(15, 23, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  transition: all 0.25s ease;
}
.burger-btn:hover {
  background: rgba(25, 35, 52, 0.95);
  border-color: rgba(252, 93, 0, 0.5);
}
.burger-btn span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.burger-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: #fc5d00;
}
.burger-btn.open span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.burger-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: #fc5d00;
}
/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 800;
  font-family: var(--font-head);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #0066ff, #004ecc);
  color: #fff;
  box-shadow: 0 4px 20px var(--primary-glow);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1a75ff, #005ce6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.6);
  color: #fff;
}

.btn-outline {
  background: rgba(15, 23, 36, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #070a0f;
  font-weight: 900;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.btn-accent:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
  color: #070a0f;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 12px;
}
.btn-full {
  width: 100%;
}

/* CAD CORNER BOX (Apex Industrial styling) */
.cad-box {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  transition: all 0.3s ease;
}

.cad-box::before, .cad-box::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--primary);
  opacity: 0.6;
  pointer-events: none;
  transition: opacity 0.3s, border-color 0.3s;
}

.cad-box::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--primary);
  border-left: 2px solid var(--primary);
  border-top-left-radius: var(--radius-md);
}

.cad-box::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  border-bottom-right-radius: var(--radius-md);
}

.cad-box:hover::before, .cad-box:hover::after {
  opacity: 1;
  border-color: var(--accent);
}

/* HERO SECTION */
.hero {
  position: relative;
  padding: 80px 0 100px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

/* HTML5 SPARKS CANVAS */
#sparks-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid var(--primary-glow);
  color: #60a5fa;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(34px, 4.4vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 .highlight {
  background: linear-gradient(90deg, #60a5fa, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 580px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-specs-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.h-spec-item {
  display: flex;
  flex-direction: column;
}

.h-spec-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
}

.h-spec-lbl {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* HERO RIGHT VISUAL (3D STEEL CYBER-CARD) */
.hero-card {
  padding: 30px;
  background: linear-gradient(145deg, rgba(16, 25, 38, 0.85), rgba(9, 14, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 102, 255, 0.15);
  position: relative;
}

.hc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.hc-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hc-badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 800;
}

.hc-beam-visual {
  height: 140px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 30% 30%, #3a4759, #1b2430 80%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.hc-beam-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: metalShine 3s infinite linear;
}

.beam-cross-sec {
  width: 70%;
  height: 60px;
  border: 4px solid #64748b;
  border-left-width: 14px;
  border-right-width: 14px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.beam-cross-sec::before {
  content: 'ГОСТ Р ИСО 8501-1: Sa 2.5';
  font-family: var(--font-head);
  font-size: 11px;
  color: #93c5fd;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.hc-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.hc-f-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-muted);
}
.hc-f-row span:last-child {
  color: #fff;
  font-weight: 700;
  font-family: var(--font-head);
}

/* SECTION COMMON */
section {
  padding: 90px 0;
  position: relative;
  z-index: 2;
}

.alt-bg {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sec-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 54px;
}

.sec-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--primary-subtle);
  border: 1px solid var(--primary-glow);
  color: #60a5fa;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 14px;
}

.sec-head h2 {
  font-family: var(--font-head);
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.sec-head p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.6;
}

/* THEMATIC SVG ICONS */
.ind-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(0, 102, 255, 0.4));
  transition: transform 0.3s ease;
}

.ind-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.12), rgba(15, 23, 36, 0.9));
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.ind-icon-box::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: -1;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--primary-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 102, 255, 0.18);
}

.service-card:hover .ind-icon-box {
  transform: scale(1.08);
  border-color: var(--accent);
}
.service-card:hover .ind-icon {
  transform: rotate(-4deg);
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 13px;
}

.service-price {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 800;
  color: var(--accent);
}

/* BEFORE / AFTER SLIDER 4.0 */
.ba-section {
  max-width: 980px;
  margin: 0 auto;
}

.ba-container {
  position: relative;
  width: 100%;
  height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 30px rgba(0, 102, 255, 0.2);
  user-select: none;
  cursor: ew-resize;
}

.ba-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba-before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
  border-right: 3px solid var(--primary);
  box-shadow: 2px 0 15px rgba(0, 102, 255, 0.6);
}

.ba-before .ba-img {
  max-width: none;
  height: 100%;
  object-fit: cover;
}

.ba-badge {
  position: absolute;
  top: 20px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  z-index: 6;
  backdrop-filter: blur(8px);
  white-space: nowrap !important;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  user-select: none;
}
.ba-badge-before {
  left: 20px;
  background: rgba(220, 38, 38, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}
.ba-badge-after {
  right: 20px;
  background: rgba(16, 185, 129, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #0040aa);
  border: 3px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 0 25px rgba(0, 102, 255, 0.9), 0 4px 15px rgba(0, 0, 0, 0.7);
  z-index: 10;
  cursor: ew-resize;
  pointer-events: none;
}

/* 3D AKZ LAYER BUILDER */
.builder-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.builder-step {
  margin-bottom: 24px;
}
.builder-step-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.builder-step-title span {
  color: var(--primary);
}

.builder-pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-pill {
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 36, 0.7);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.builder-pill:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.builder-pill.active {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.25), rgba(0, 102, 255, 0.08));
  border-color: var(--primary);
  color: #fff;
  box-shadow: 0 0 15px var(--primary-subtle);
}

/* Visual Layer Sandwich Preview */
.builder-preview {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 18, 0.9);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.layer-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0;
}

.layer-band {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.15), 0 4px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.band-top { background: linear-gradient(90deg, #3b82f6, #1d4ed8); color: #fff; border: 1px solid #60a5fa; }
.band-barrier { background: linear-gradient(90deg, #475569, #334155); color: #e2e8f0; border: 1px solid #64748b; }
.band-primer { background: linear-gradient(90deg, #d97706, #b45309); color: #fff; border: 1px solid #f59e0b; }
.band-steel { background: linear-gradient(90deg, #1e293b, #0f172a); color: #94a3b8; border: 1px solid #334155; }

.builder-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.bm-val {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
}
.bm-lbl {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 2px;
}

/* RAL COLOR PALETTE WITH SURFACE TEXTURE */
.ral-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.ral-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.ral-card {
  padding: 14px 10px;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 36, 0.6);
  border: 1px solid var(--border);
  text-align: center;
  cursor: pointer;
  transition: all 0.25s;
}

.ral-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.ral-card.active {
  border-color: var(--primary);
  background: rgba(0, 102, 255, 0.15);
  box-shadow: 0 0 15px var(--primary-subtle);
}

.ral-color-chip {
  width: 100%;
  height: 48px;
  border-radius: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.ral-code {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  display: block;
}

.ral-title {
  font-size: 11px;
  color: var(--text-dim);
  display: block;
}

/* Realistic 3D RAL Steel Beam preview */
.ral-sample-card {
  padding: 28px;
  border-radius: var(--radius-md);
  background: rgba(7, 11, 18, 0.9);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ral-metal-beam {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  transition: background 0.4s ease, box-shadow 0.4s ease, filter 0.3s;
  position: relative;
  overflow: hidden;
}

.ral-metal-beam::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, transparent 40%, rgba(0, 0, 0, 0.4) 100%);
}

.ral-texture-switch {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.texture-btn {
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 800;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
}
.texture-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* BENTO GRID (PRODUCTION POWER 4.0) */
.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-card {
  padding: 32px 28px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
}

.bento-card.wide {
  grid-column: span 2;
  background: linear-gradient(145deg, rgba(16, 26, 42, 0.8), rgba(9, 14, 22, 0.9));
  border-color: rgba(0, 102, 255, 0.25);
}

.bento-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #fff, #93c5fd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bento-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}

.bento-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CALCULATOR 4.0 */
.calc-box {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border);
}

.calc-group {
  margin-bottom: 22px;
}

.calc-label {
  display: block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 8px;
}

.calc-select, .calc-input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(8, 12, 19, 0.85);
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.calc-select:focus, .calc-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-subtle);
}

.calc-range-wrapper {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-range {
  flex-grow: 1;
  -webkit-appearance: none;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  outline: none;
}
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
  cursor: pointer;
}

.calc-result {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(6, 10, 16, 0.95);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.calc-res-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.calc-res-val {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 900;
  color: #fff;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(90deg, #ffffff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.3));
}

.calc-res-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* TABLES (PRICES & STANDARDS) */
.tablebox {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

thead {
  background: rgba(6, 10, 16, 0.9);
}

th {
  padding: 16px 20px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  border-bottom: 1px solid var(--border);
}

td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
}

tr:last-child td {
  border-bottom: none;
}

tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.sa-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 12px;
}
.sa-1 { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); }
.sa-2 { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.sa-25 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.sa-3 { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }

/* WORKFLOW STEPS */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
  transition: all 0.3s;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--primary-glow);
}

.step-num {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 12px;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.step p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ADVANTAGES */
.feat {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.feat-item {
  padding: 32px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s;
}

.feat-item:hover {
  border-color: var(--primary-glow);
  transform: translateY(-2px);
}

.feat-item h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.feat-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* GALLERY WITH FILTERS & LIGHTBOX */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.g-tab {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 36, 0.6);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
}

.g-tab:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.g-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  height: 250px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 36px;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* FAQ ACCORDION */
.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.25s;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.faq-q {
  padding: 20px 24px;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s;
}

.faq-a {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-item.open {
  border-color: var(--primary-glow);
}

/* ORDER & LEAD FORM */
.cta-sec {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(16, 26, 42, 0.9), rgba(9, 14, 22, 0.95));
  border: 1px solid var(--border-glow);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 102, 255, 0.2);
}

.cta-sec h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 14px;
  line-height: 1.2;
}

.cta-sec p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-muted);
}
.contact-row a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}
.contact-row a:hover {
  color: var(--primary);
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-input, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(8, 12, 19, 0.9);
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font-main);
  font-size: 14px;
  outline: none;
  transition: all 0.2s;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-subtle);
}

.form-alert {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  display: none;
}
.form-alert.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.form-alert.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #f87171;
}

/* FOOTER */
footer {
  background: #040609;
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
  position: relative;
  z-index: 2;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.foot-grid h4 {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  margin-bottom: 16px;
}

.foot-grid a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 8px;
  transition: color 0.2s;
}
.foot-grid a:hover {
  color: #fff;
}

.foot-bot {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 12px;
}

/* FLOATING CONTACT BUTTON */
.float-contact {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 90;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  text-decoration: none;
  transition: transform 0.25s;
}

.float-btn:hover {
  transform: scale(1.1);
}

/* RESPONSIVE BREAKPOINTS */
/* RESPONSIVE LAYOUT (CLEAN & BALANCED) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-specs-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .builder-box, .ral-box, .calc-box, .cta-sec { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card.wide { grid-column: span 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .menu { gap: 14px; }
  .nav-link { font-size: 13px; }
}

@media (max-width: 960px) {
  .menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 10, 16, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    padding: 24px;
    gap: 10px;
    overflow-y: auto;
    display: none;
    z-index: 150;
    border-top: 1px solid var(--border);
  }
  .menu.open {
    display: flex;
  }
  .nav-item {
    width: 100%;
  }
  .nav-link {
    width: 100%;
    justify-content: space-between;
    font-size: 15px;
    padding: 12px 14px;
    background: rgba(15, 23, 36, 0.6);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
  }
  .nav-dropdown {
    position: static;
    display: block;
    width: 100%;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 4px 0 6px 10px;
  }
  .burger-btn {
    display: flex;
  }
  .btn-header-cta {
    display: none;
  }
}

@media (max-width: 640px) {
  .nav-phone {
    display: none;
  }
  .top-links a:nth-child(3) {
    display: none;
  }
  .services-grid, .bento, .feat, .gallery, .steps {
    grid-template-columns: 1fr;
  }
  .bento-card.wide {
    grid-column: span 1;
  }
  .foot-grid {
    grid-template-columns: 1fr;
  }
  .ral-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ba-container {
    height: 280px;
  }
}


/* =========================================================
   LIGHT / ZEBRA CONTRAST SECTIONS (.sec-light)
   ========================================================= */
/* =========================================================
   LIGHT SECTIONS (.sec-light) - BRUSHED STEEL TEXTURE
   ========================================================= */
.sec-light {
  background-color: #f1f4f8 !important;
  color: #0f172a !important;
  border-top: 1px solid #cbd5e1;
  border-bottom: 1px solid #cbd5e1;
  position: relative;
  z-index: 2;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -1px 0 rgba(255, 255, 255, 0.6);
}

.sec-light::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    /* Мягкие промышленные световые рефлексы */
    radial-gradient(circle at 12% 18%, rgba(0, 102, 255, 0.045), transparent 45%),
    radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.03), transparent 45%),
    /* Анизотропный металлический световой градиент */
    linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(241, 245, 249, 0.35) 30%, rgba(226, 232, 240, 0.55) 60%, rgba(255, 255, 255, 0.8) 100%),
    /* Тончайшие направленные микро-штрихи сатинированной шлифовки стали */
    repeating-linear-gradient(135deg, rgba(100, 116, 139, 0.075) 0px, rgba(100, 116, 139, 0.075) 1px, transparent 1px, transparent 6px),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0px, rgba(255, 255, 255, 0.35) 1px, transparent 1px, transparent 12px);
  pointer-events: none;
  opacity: 0.95;
}

.sec-light .wrap {
  position: relative;
  z-index: 2;
}

.sec-light .sec-tag {
  background: rgba(0, 102, 255, 0.08) !important;
  border-color: rgba(0, 102, 255, 0.25) !important;
  color: #0052cc !important;
}

.sec-light .sec-head h2 {
  color: #0f172a !important;
}

.sec-light .sec-head p {
  color: #475569 !important;
}

/* Light Cards */
.sec-light .service-card,
.sec-light .bento-card,
.sec-light .builder-box,
.sec-light .feat-item,
.sec-light .tablebox,
.sec-light .faq-item {
  background: #ffffff !important;
  border: 1px solid #e2e8f0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

.sec-light .cad-box::before,
.sec-light .cad-box::after {
  border-color: #0066ff !important;
  opacity: 0.5 !important;
}

.sec-light .service-card:hover,
.sec-light .bento-card:hover,
.sec-light .feat-item:hover,
.sec-light .faq-item:hover {
  background: #ffffff !important;
  border-color: #0066ff !important;
  box-shadow: 0 12px 30px rgba(0, 102, 255, 0.12) !important;
  transform: translateY(-4px) !important;
}

.sec-light .service-card h3,
.sec-light .bento-title,
.sec-light .feat-item h3,
.sec-light .faq-q,
.sec-light .builder-step-title {
  color: #0f172a !important;
}

.sec-light .service-card p,
.sec-light .bento-desc,
.sec-light .feat-item p,
.sec-light .faq-a {
  color: #475569 !important;
}

.sec-light .service-meta {
  border-top-color: #e2e8f0 !important;
  color: #64748b !important;
}

.sec-light .ind-icon-box {
  background: linear-gradient(135deg, rgba(0, 102, 255, 0.08), rgba(241, 245, 249, 0.9)) !important;
  border: 1px solid rgba(0, 102, 255, 0.25) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}

.sec-light .bento-num {
  background: linear-gradient(90deg, #0f172a, #0052cc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

.sec-light .bento-card.wide {
  background: linear-gradient(145deg, #ffffff, #f1f5f9) !important;
  border-color: #cbd5e1 !important;
}

/* Light Tables */
.sec-light thead {
  background: #f1f5f9 !important;
}

.sec-light th {
  color: #0f172a !important;
  border-bottom: 2px solid #cbd5e1 !important;
}

.sec-light td {
  color: #334155 !important;
  border-bottom: 1px solid #e2e8f0 !important;
}

.sec-light tr:hover td {
  background: rgba(0, 102, 255, 0.04) !important;
  color: #0f172a !important;
}

/* Light Builder preview */
.sec-light .builder-pill {
  background: #f1f5f9 !important;
  border: 1px solid #cbd5e1 !important;
  color: #334155 !important;
}
.sec-light .builder-pill:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}
.sec-light .builder-pill.active {
  background: #0066ff !important;
  border-color: #0066ff !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.3) !important;
}

.sec-light .builder-preview {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
}
.sec-light .builder-preview h4 {
  color: #0f172a !important;
}

.sec-light .band-steel {
  background: linear-gradient(90deg, #475569, #334155) !important;
  color: #fff !important;
}

.sec-light .bm-lbl {
  color: #64748b !important;
}

.sec-light .faq-item {
  border: 1px solid #e2e8f0 !important;
}
.sec-light .faq-item.open {
  border-color: #0066ff !important;
  box-shadow: 0 4px 15px rgba(0, 102, 255, 0.08) !important;
}


/* =========================================================
   SERVICES HUB & DETAIL PAGES STYLES
   ========================================================= */

.page-hero {
  position: relative;
  padding: 60px 0 70px;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: #00f0ff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumbs a:hover {
  text-decoration: underline;
  opacity: 0.8;
}

.bc-sep {
  color: rgba(255, 255, 255, 0.25);
  font-size: 11px;
}

.bc-current {
  color: #ffffff;
  font-weight: 700;
}

.page-hero-grid,
.srv-hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hub-hero-stats {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  padding: 28px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
}

.h-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.h-stat-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
  border-radius: 8px;
  text-align: center;
}

.h-stat-val {
  font-size: 26px;
  font-weight: 900;
  color: #00f0ff;
  display: block;
  line-height: 1.1;
}

.h-stat-lbl {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-top: 6px;
  display: block;
}

.hub-badge-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  color: #cbd5e1;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.h-mini-badge {
  font-weight: 600;
  color: #e2e8f0;
}

/* Services Hub Cards */
.services-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
}

.service-hub-card {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.service-hub-card:hover {
  transform: translateY(-6px);
  border-color: #0066ff !important;
  box-shadow: 0 16px 36px rgba(0, 102, 255, 0.14) !important;
}

.sh-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #090e17;
}

.sh-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-hub-card:hover .sh-img-wrap img {
  transform: scale(1.07);
}

.sh-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(9, 14, 23, 0.88);
  backdrop-filter: blur(8px);
  color: #00f0ff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 240, 255, 0.35);
}

.sh-price-badge {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--primary);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 102, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.sh-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.sh-title {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sh-title a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}

.sh-title a:hover {
  color: #0066ff;
}

.sh-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 18px;
  flex: 1;
}

.sh-specs-list {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.sh-spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.sh-sp-lbl {
  color: #64748b;
}

.sh-sp-val {
  color: #0f172a;
  font-weight: 700;
  text-align: right;
}

.sh-foot {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: auto;
}

/* Service Detail Landing Styles */
.srv-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 26px;
}

.srv-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  backdrop-filter: blur(8px);
}

.srv-hero-visual {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 380px;
  cursor: pointer;
  background: #090e17;
  border: 1px solid var(--border);
}

.srv-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.srv-hero-visual:hover .srv-hero-img {
  transform: scale(1.05);
}

.srv-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.88));
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
}

.specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.spec-card-item {
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  padding: 22px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
}

.sci-val {
  font-size: 21px;
  font-weight: 900;
  color: #0052cc;
  display: block;
  margin-bottom: 6px;
}

.sci-lbl {
  font-size: 12px;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.adv-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.adv-point {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.adv-icon {
  color: #0066ff;
  font-weight: 900;
  font-size: 16px;
  line-height: 1.4;
  flex-shrink: 0;
}

.adv-text {
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

.calc-row-2col {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .page-hero-grid,
  .srv-hero-grid,
  .calc-row-2col,
  .adv-grid-2col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .services-hub-grid {
    grid-template-columns: 1fr;
  }

  .srv-hero-visual {
    height: 260px;
  }
}


/* ChatGPT Industrial Logo styles */
.logo-main-img {
  height: 38px;
  width: auto;
  display: block;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.logo:hover .logo-main-img {
  transform: scale(1.03);
}

.logo-sub-desc {
  display: flex;
  flex-direction: column;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: #94a3b8;
  font-weight: 700;
  line-height: 1.3;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 12px;
}

@media (max-width: 768px) {
  .logo-sub-desc {
    display: none;
  }
  .logo-main-img {
    height: 32px;
  }
}

/* HIGH-TECH I-BEAM SCANNER VISUAL */
.hc-beam-visual {
  height: 154px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 50% 40%, #1e293b, #090d14 85%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.6);
}

.beam-scanner-line {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, transparent, #fc5d00, #00f0ff, transparent);
  box-shadow: 0 0 16px #00f0ff, 0 0 30px #fc5d00;
  animation: beamScan 3.5s infinite ease-in-out;
  z-index: 4;
  pointer-events: none;
}

@keyframes beamScan {
  0% { left: 5%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { left: 95%; opacity: 0; }
}

.beam-profile-wrap {
  width: 220px;
  height: 74px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.beam-flange {
  width: 100%;
  height: 12px;
  background: linear-gradient(180deg, #94a3b8, #475569);
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.beam-web {
  width: 18px;
  height: 50px;
  background: linear-gradient(90deg, #475569, #64748b, #475569);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.3);
}

.beam-spec-tag {
  position: absolute;
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.6px;
  color: #ffffff;
  background: rgba(10, 16, 26, 0.92);
  border: 1px solid rgba(0, 240, 255, 0.4);
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}

.beam-status-pill {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  background: rgba(255, 255, 255, 0.04);
  padding: 3px 10px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 2;
}

.beam-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fc5d00;
  box-shadow: 0 0 8px #fc5d00;
  animation: pulseGreen 2s infinite ease-in-out;
}
