/* ==========================================
   СПК — Сталепромышленная Компания Казахстан
   Premium Industrial Website Styles
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #1A2A3A;
  --silver: #C0C0C0;
  --orange: #CC0000;
  --bg: #FFFFFF;
  --charcoal: #F0F2F5;
  --white: #FFFFFF;
  --text: #1a2a6c;
  --grey: #6B7280;
  --card-bg: rgba(235, 240, 252, 0.9);
  --glass: rgba(240,244,255,0.85);
  --border: rgba(0,0,0,0.1);
  --glow: rgba(204,0,0,0.3);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'Montserrat', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }
input, textarea, select { font-family: var(--font-body); }

/* ==========================================
   LOADER
   ========================================== */
#loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner { text-align: center; }

.loader-svg { width: 200px; margin-bottom: 2rem; }

.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto 1rem;
}
.loader-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), #ff2222);
  border-radius: 2px;
  animation: loadFill 2s ease forwards;
}
@keyframes loadFill { to { width: 100%; } }

.loader-text {
  color: var(--grey);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ==========================================
   CUSTOM CURSOR
   ========================================== */
#cursor, #cursor-trail { display: none; }

/* ==========================================
   TOPBAR
   ========================================== */
#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: #1a2a6c; color: rgba(255,255,255,0.85);
  font-size: 0.75rem; padding: 0.35rem 0; line-height: 1;
}
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.topbar-inner a { color: var(--orange); font-weight: 600; transition: opacity .2s; }
.topbar-inner a:hover { opacity: .8; }
@media (max-width: 600px) {
  #topbar { display: none; }
}

/* ==========================================
   NAVIGATION
   ========================================== */
#navbar {
  position: fixed; top: 26px; left: 0; right: 0; z-index: 1000;
  padding: 1rem 0;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}
#navbar.scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.nav-container {
  max-width: 1280px; margin: 0 auto;
  padding: 0 2rem;
  display: flex; align-items: center; gap: 2rem;
}
.nav-logo { display: flex; align-items: center; }
.nav-logo svg { height: 40px; width: auto; }

/* Real logo image */
.nav-logo-img {
  height: 100px;
  width: auto;
  display: block;
  transition: opacity 0.2s;
}
.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.footer-logo-img {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.contact-info-logo {
  height: 70px;
  width: auto;
  display: block;
  margin-bottom: 1.5rem;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  color: var(--grey); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.5px; text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; background: var(--orange);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  background: var(--orange); color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: 4px;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  background: #aa0000;
  box-shadow: 0 4px 20px rgba(204,0,0,0.4);
  transform: translateY(-1px);
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px 9px;
  margin-left: auto;
  flex-shrink: 0;
  background: var(--orange);
  border-radius: 6px;
  border: none;
  cursor: pointer;
}
.nav-burger span {
  display: block; height: 2px; width: 100%; background: #ffffff;
  border-radius: 1px;
  transition: all 0.3s ease;
}
.nav-burger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-burger.active span:nth-child(2) { opacity: 0; }
.nav-burger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none; flex-direction: column;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem 2rem;
  gap: 1rem;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--grey); font-size: 1rem; font-weight: 500; padding: 0.5rem 0; }
.mobile-menu a:hover { color: var(--orange); }

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem; border-radius: 4px;
  font-family: var(--font-body); font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.5px; text-transform: uppercase;
  transition: all 0.3s ease; cursor: pointer; position: relative;
  overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.btn:hover::before { transform: translateX(0); }

.btn-primary {
  background: var(--orange); color: var(--white);
  box-shadow: 0 4px 20px rgba(255,107,0,0.2);
}
.btn-primary:hover {
  background: #aa0000;
  box-shadow: 0 8px 32px rgba(204,0,0,0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent; color: var(--text);
  border: 1.5px solid rgba(26,42,108,0.25);
}
.btn-secondary:hover {
  border-color: var(--orange); color: var(--orange);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* ==========================================
   HERO SECTION
   ========================================== */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#heroCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 0;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(13,13,13,0.75) 0%,
    rgba(26,42,58,0.4) 50%,
    rgba(13,13,13,0.8) 100%
  );
}
.hero-particles {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
}
.spark {
  position: absolute; width: 2px; height: 2px;
  background: var(--orange); border-radius: 50%;
  animation: sparkFly var(--dur) linear infinite var(--delay);
  opacity: 0;
}
@keyframes sparkFly {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  10% { opacity: 1; }
  90% { opacity: 0.3; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0); }
}

.hero-content {
  position: relative; z-index: 3;
  text-align: center; padding: 2rem;
  max-width: 900px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.4);
  color: var(--orange);
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease 0.3s both;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.5vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: 3px;
  color: var(--white);
  animation: fadeInUp 1s ease 0.5s both;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
  margin-bottom: 0.5rem;
}
.accent-text {
  color: var(--orange);
  -webkit-text-stroke: 0px;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255,255,255,0.92);
  margin: 1.5rem auto 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  animation: fadeInUp 1s ease 0.7s both;
}
.hero-btns {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.9s both;
}

.hero-scroll-indicator {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%); z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  animation: fadeInUp 1s ease 1.2s both;
}
.hero-scroll-indicator span {
  font-size: 0.7rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--grey);
}
.scroll-arrow {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ==========================================
   SECTIONS
   ========================================== */
.section { padding: 6rem 0; }
.section-dark { background: #EEF1F8; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; }

.section-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: 2px;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 1rem;
}
.section-sub {
  color: var(--grey); font-size: 1rem; line-height: 1.7;
  max-width: 560px;
}
.section-header { margin-bottom: 3.5rem; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ==========================================
   REVEAL ANIMATIONS
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease calc(var(--delay, 0s)), transform 0.8s ease calc(var(--delay, 0s));
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-right { transform: translateX(40px); }
.reveal-right.revealed { transform: translateX(0); }

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  margin-bottom: 4rem;
}
.about-text {
  color: var(--grey); line-height: 1.9; font-size: 1rem;
  margin-bottom: 1rem;
}

/* About Image */
.about-image-container {
  border-radius: 16px; overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.about-3d-warehouse { width: 100%; height: 100%; }
.warehouse-scene {
  width: 100%; height: 100%;
  position: relative;
  perspective: 800px;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 20px;
}
.warehouse-floor {
  position: absolute; bottom: 0; left: 0; right: 0; height: 60px;
  background: linear-gradient(180deg, transparent, rgba(26,42,58,0.6));
  border-top: 1px solid rgba(192,192,192,0.08);
}
.warehouse-beams {
  display: flex; gap: 8px; align-items: flex-end;
  position: absolute; bottom: 40px;
  transform: rotateX(15deg) translateZ(0);
}
.w-beam {
  background: linear-gradient(90deg, #2a4a6a, #3a5a7a, #2a4a6a);
  border-radius: 2px;
  box-shadow: 0 0 10px rgba(192,192,192,0.08), inset 0 1px 0 rgba(255,255,255,0.1);
  animation: floatBeam var(--beam-dur, 4s) ease-in-out infinite var(--beam-delay, 0s);
}
.w-beam-1 { width: 12px; height: 120px; --beam-dur: 4s; --beam-delay: 0s; }
.w-beam-2 { width: 12px; height: 160px; --beam-dur: 4.5s; --beam-delay: 0.5s; }
.w-beam-3 { width: 14px; height: 200px; --beam-dur: 3.8s; --beam-delay: 1s; }
.w-beam-4 { width: 12px; height: 140px; --beam-dur: 4.2s; --beam-delay: 0.3s; }
.w-beam-5 { width: 12px; height: 110px; --beam-dur: 5s; --beam-delay: 0.7s; }

.warehouse-pipes {
  display: flex; gap: 6px;
  position: absolute; bottom: 50px; left: 50%;
  transform: translateX(-50%) rotateX(25deg);
}
.w-pipe {
  border-radius: 50%;
  background: radial-gradient(circle, #4a6a8a, #2a3a4a);
  box-shadow: 0 0 8px rgba(192,192,192,0.1);
  animation: floatBeam var(--p-dur, 5s) ease-in-out infinite var(--p-delay, 0s);
}
.w-pipe-1 { width: 24px; height: 24px; --p-dur: 5s; --p-delay: 0.2s; }
.w-pipe-2 { width: 32px; height: 32px; --p-dur: 4.5s; --p-delay: 0.8s; }
.w-pipe-3 { width: 20px; height: 20px; --p-dur: 5.5s; --p-delay: 0.4s; }

.warehouse-glow {
  position: absolute; top: 30%; left: 50%;
  transform: translate(-50%,-50%);
  width: 200px; height: 100px;
  background: radial-gradient(ellipse, rgba(26,42,108,0.12), transparent);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes floatBeam {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
}

/* Counters */
.counters-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.counter-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: 12px; padding: 2rem 1.5rem; text-align: center;
  position: relative; overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.counter-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), transparent);
}
.counter-card:hover { transform: translateY(-4px); border-color: rgba(204,0,0,0.3); box-shadow: 0 8px 30px rgba(204,0,0,0.1); }
.counter-number {
  font-family: var(--font-display);
  font-size: 3.5rem; color: var(--orange); line-height: 1;
  display: inline;
}
.counter-suffix {
  font-family: var(--font-display);
  font-size: 2.5rem; color: var(--orange);
  display: inline;
}
.counter-label {
  color: var(--grey); font-size: 0.85rem; margin-top: 0.5rem;
  font-weight: 500; line-height: 1.4;
}
.counter-icon { font-size: 2.5rem; }

/* ==========================================
   PRODUCTS SECTION
   ========================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
}
.product-card {
  background: rgba(26, 42, 58, 0.3);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem 1.25rem 1.5rem;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.23,1,0.32,1),
              border-color 0.3s, box-shadow 0.4s;
  transform-style: preserve-3d;
}
.product-card:hover {
  transform: translateY(-10px) rotateX(4deg) rotateY(2deg);
  border-color: rgba(204,0,0,0.45);
  box-shadow: 0 20px 50px rgba(204,0,0,0.15), 0 0 0 1px rgba(204,0,0,0.1);
}
.product-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(204,0,0,0.05), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.product-card:hover .product-glow { opacity: 1; }

/* 3D Product Icons */
.product-3d-wrap {
  height: 80px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem; perspective: 300px;
}
.product-icon-3d {
  transform-style: preserve-3d;
  transition: transform 0.5s ease;
}
.product-card:hover .product-icon-3d { transform: rotateY(20deg) rotateX(10deg); }

/* I-Beam */
.ibeam { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.ibeam-top, .ibeam-bot { width: 50px; height: 8px; background: linear-gradient(90deg, #5a6a7a, #8a9aaa, #5a6a7a); border-radius: 2px; }
.ibeam-web { width: 8px; height: 30px; background: linear-gradient(180deg, #4a5a6a, #7a8a9a, #4a5a6a); border-radius: 1px; }

/* Rebar */
.rebar-bundle { display: flex; gap: 4px; align-items: flex-end; }
.rebar { width: 8px; border-radius: 4px; background: linear-gradient(180deg, #8a6a4a, #c09060, #8a6a4a); }
.r1 { height: 55px; }
.r2 { height: 65px; }
.r3 { height: 55px; }
.r4 { height: 45px; }

/* Profile pipe */
.profile-pipe { position: relative; }
.pp-outer { width: 55px; height: 45px; border: 5px solid #5a7a9a; border-radius: 3px; background: rgba(90,122,154,0.1); }
.pp-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 30px; height: 22px; border: 3px solid rgba(90,122,154,0.6); border-radius: 2px; }

/* Galvanized pipe */
.galv-pipe { position: relative; }
.gp-body { width: 60px; height: 25px; background: linear-gradient(90deg, #a0b0c0, #d0e0f0, #a0b0c0); border-radius: 12px; }
.gp-end { position: absolute; right: -4px; top: 50%; transform: translateY(-50%); width: 20px; height: 25px; background: radial-gradient(circle, #c0d0e0, #8090a0); border-radius: 50%; }
.gp-shine { position: absolute; top: 4px; left: 8px; width: 20px; height: 4px; background: rgba(255,255,255,0.4); border-radius: 2px; }

/* Welded pipes */
.weld-pipes { display: flex; flex-direction: column; gap: 4px; }
.wp-pipe { height: 18px; background: linear-gradient(90deg, #6a8aaa, #9abaca, #6a8aaa); border-radius: 9px; }
.wp1 { width: 60px; }
.wp2 { width: 50px; margin-left: 5px; }

/* Seamless pipe */
.seamless-pipe { position: relative; width: 65px; height: 35px; }
.sp-outer { width: 65px; height: 35px; background: linear-gradient(180deg, #7a9aaa, #4a6a7a, #2a4a5a); border-radius: 50%; }
.sp-inner { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 30px; height: 16px; background: #0d1520; border-radius: 50%; }
.sp-side { position: absolute; top: 0; right: -5px; width: 15px; height: 35px; background: linear-gradient(90deg, #5a7a8a, #7a9aaa); border-radius: 0 50% 50% 0; }

/* Angle bar */
.angle-bar { position: relative; width: 50px; height: 50px; }
.ab-h { position: absolute; bottom: 0; left: 0; right: 0; height: 10px; background: linear-gradient(180deg, #8090a0, #5a6a7a); border-radius: 2px; }
.ab-v { position: absolute; bottom: 0; left: 0; width: 10px; height: 100%; background: linear-gradient(90deg, #5a6a7a, #8090a0); border-radius: 2px; }

/* Wire coil */
.wire-coil { display: flex; flex-direction: column; gap: 3px; }
.wc-ring {
  border-radius: 50%; border: 5px solid;
  border-color: #8090a0 transparent #5a6a7a transparent;
}
.wc-r1 { width: 55px; height: 30px; }
.wc-r2 { width: 45px; height: 25px; margin: 0 auto; }
.wc-r3 { width: 35px; height: 20px; margin: 0 auto; }

/* Round bar */
.round-bar { display: flex; align-items: center; gap: 4px; }
.rb-body { width: 50px; height: 20px; background: linear-gradient(180deg, #9aaa9a, #6a7a6a, #4a5a4a); border-radius: 10px; }
.rb-end { width: 16px; height: 20px; background: radial-gradient(circle, #8a9a8a, #5a6a5a); border-radius: 50%; margin-left: -6px; }

/* Welded mesh */
.weld-mesh { position: relative; width: 55px; height: 55px; }
.mesh-h, .mesh-v { position: absolute; background: #7a8a9a; border-radius: 1px; }
.mesh-h { width: 100%; height: 4px; }
.mh1 { top: 8px; } .mh2 { top: 24px; } .mh3 { top: 40px; }
.mesh-v { width: 4px; height: 100%; }
.mv1 { left: 8px; } .mv2 { left: 24px; } .mv3 { left: 40px; }

/* Chain mesh */
.chain-mesh { position: relative; width: 55px; height: 55px; overflow: hidden; }
.cm-wire {
  position: absolute; width: 3px; background: #8090a0;
  transform-origin: top;
}
.cw1 { height: 55px; left: 5px; transform: rotate(30deg); }
.cw2 { height: 55px; left: 15px; transform: rotate(-30deg); }
.cw3 { height: 55px; left: 25px; transform: rotate(30deg); }
.cw4 { height: 55px; left: 35px; transform: rotate(-30deg); }
.cw5 { height: 55px; left: 45px; transform: rotate(30deg); }

/* Profiled sheet */
.prof-sheet { position: relative; width: 70px; height: 45px; overflow: hidden; }
.ps-wave {
  position: absolute; height: 100%; width: 20px;
  border-radius: 50%;
  background: linear-gradient(180deg, #aabbc0, #7a8a90, #aabbc0);
}
.ps-w1 { left: 2px; }
.ps-w2 { left: 24px; }
.ps-w3 { left: 46px; }
.ps-shine { position: absolute; top: 0; left: 0; right: 0; height: 5px; background: rgba(255,255,255,0.2); border-radius: 2px; }

/* Channel bar */
.channel-bar { position: relative; width: 50px; height: 50px; }
.cb-base { position: absolute; bottom: 0; left: 0; right: 0; height: 10px; background: linear-gradient(90deg, #7a8a9a, #5a6a7a); border-radius: 2px; }
.cb-left { position: absolute; left: 0; bottom: 0; width: 10px; height: 100%; background: linear-gradient(90deg, #5a6a7a, #7a8a9a); border-radius: 2px; }
.cb-right { position: absolute; right: 0; bottom: 0; width: 10px; height: 60%; background: linear-gradient(90deg, #7a8a9a, #5a6a7a); border-radius: 2px; opacity: 0.6; }

/* Hot sheet */
.hot-sheet { position: relative; width: 65px; height: 50px; }
.hs-layer { position: absolute; left: 0; right: 0; height: 14px; border-radius: 2px; }
.hs-l1 { bottom: 0; background: linear-gradient(90deg, #5a6a7a, #8090a0, #5a6a7a); }
.hs-l2 { bottom: 5px; left: 3px; right: 3px; background: linear-gradient(90deg, #6a7a8a, #90a0b0, #6a7a8a); }
.hs-l3 { bottom: 10px; left: 6px; right: 6px; background: linear-gradient(90deg, #7a8a9a, #a0b0c0, #7a8a9a); }
.hs-glow { position: absolute; bottom: -4px; left: 30%; right: 30%; height: 3px; background: rgba(255,150,0,0.4); filter: blur(2px); border-radius: 1px; }

.product-info h3 {
  font-size: 0.95rem; font-weight: 700; color: var(--text);
  margin-bottom: 0.5rem; line-height: 1.3;
}
.product-info p {
  font-size: 0.8rem; color: var(--grey); line-height: 1.6;
  display: none; animation: fadeIn 0.3s ease;
}
.product-card:hover .product-info p { display: block; }

/* ==========================================
   WHY US SECTION
   ========================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.why-card {
  padding: 2rem 1.75rem; border-radius: 16px;
  border: 1px solid var(--border);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  position: relative; overflow: hidden;
}
.glass {
  background: rgba(240,244,255,0.85);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(26,42,108,0.06);
}
.why-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.why-card:hover { transform: translateY(-6px); border-color: rgba(204,0,0,0.25); box-shadow: 0 12px 40px rgba(26,42,108,0.1); }
.why-card:hover::before { opacity: 1; }
.why-icon { font-size: 2.5rem; margin-bottom: 1.2rem; display: block; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.75rem; line-height: 1.4; }
.why-card p { font-size: 0.875rem; color: var(--grey); line-height: 1.7; }

/* ==========================================
   GEOGRAPHY SECTION
   ========================================== */
.geo-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 4rem; align-items: center; }
.geo-map-container { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); background: #eef1f8; }
.kz-map { width: 100%; }
.kz-border { filter: drop-shadow(0 0 8px rgba(26,42,58,0.5)); }
.route-line { animation: dashAnim 3s linear infinite; }
@keyframes dashAnim { to { stroke-dashoffset: -48; } }
.pulse-ring { animation: pulseRing 2s ease-out infinite; }
.pulse-ring-2 { animation: pulseRing 2s ease-out infinite 0.5s; }
@keyframes pulseRing { 0% { r: 5; opacity: 0.5; } 100% { r: 18; opacity: 0; } }

.geo-info h3 { font-size: 1.6rem; font-weight: 700; color: var(--text); margin-bottom: 1.5rem; }
.geo-list { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 2rem; }
.geo-list li { display: flex; align-items: center; gap: 0.75rem; color: var(--grey); font-size: 0.95rem; }
.geo-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }
.geo-hq {
  display: flex; gap: 1rem; align-items: center;
  background: rgba(204,0,0,0.06); border: 1px solid rgba(204,0,0,0.2);
  border-radius: 10px; padding: 1rem 1.25rem;
}
.geo-hq-icon { font-size: 1.8rem; }
.geo-hq strong { display: block; color: var(--text); font-size: 0.95rem; margin-bottom: 0.25rem; }
.geo-hq span { color: var(--grey); font-size: 0.85rem; }

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

/* Form */
.contact-form-wrap {
  background: rgba(235,240,252,0.8);
  border: 1px solid var(--border);
  border-radius: 16px; padding: 2.5rem;
}
.form-group { position: relative; margin-bottom: 1.25rem; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; background: rgba(255,255,255,0.9);
  border: 1px solid var(--border); border-radius: 8px;
  padding: 0.9rem 1rem; color: var(--text); font-size: 0.9rem;
  transition: border-color 0.3s, background 0.3s;
  outline: none; appearance: none;
}
.form-group select option { background: #ffffff; color: var(--text); }
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--orange);
  background: rgba(204,0,0,0.03);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(176,176,176,0.5); }
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success { text-align: center; padding: 3rem 2rem; }
.success-icon { font-size: 3rem; margin-bottom: 1rem; }
.form-success h3 { font-size: 1.5rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.form-success p { color: var(--grey); }

/* Contact Info */
.contact-info-header { margin-bottom: 1rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon { font-size: 1.4rem; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; color: var(--text); font-size: 0.85rem; font-weight: 600; margin-bottom: 0.35rem; text-transform: uppercase; letter-spacing: 0.5px; }
.contact-item span, .contact-item a { display: block; color: var(--grey); font-size: 0.9rem; line-height: 1.6; transition: color 0.2s; }
.contact-item a:hover { color: var(--orange); }
.contact-social { display: flex; gap: 1rem; flex-wrap: wrap; }
.social-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.25rem; border-radius: 8px;
  font-size: 0.875rem; font-weight: 600;
  transition: all 0.3s;
  border: 1px solid var(--border);
  color: var(--text);
}
.social-btn svg { width: 18px; height: 18px; }
.whatsapp-btn { background: rgba(37,211,102,0.12); border-color: rgba(37,211,102,0.3); }
.whatsapp-btn:hover { background: rgba(37,211,102,0.2); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37,211,102,0.2); }

/* ==========================================
   FOOTER
   ========================================== */
#footer {
  background: #1a2a6c; border-top: 1px solid rgba(255,255,255,0.1);
  padding: 4rem 0 2rem;
  width: 100%; box-sizing: border-box;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { color: var(--grey); font-size: 0.875rem; line-height: 1.7; max-width: 260px; }
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-links a { color: var(--grey); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--orange); }
.footer-contacts { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-contacts h4 { color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.footer-contacts p, .footer-contacts a { color: var(--grey); font-size: 0.875rem; transition: color 0.2s; }
.footer-contacts a:hover { color: var(--orange); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1rem; }
.footer-social a { color: var(--grey); transition: color 0.2s; display: flex; align-items: center; }
.footer-social a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1.5rem; text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.8rem; }

/* ==========================================
   FAQ
   ========================================== */
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
  font-size: 1rem; font-weight: 700; color: var(--text);
  margin: 0 0 0.6rem; line-height: 1.5;
}
.faq-a p {
  color: var(--grey); font-size: 0.93rem; line-height: 1.8; margin: 0;
}
.faq-a a { color: var(--orange); }

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 58px; height: 58px;
  background: #25D366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.3s, box-shadow 0.3s;
}
.whatsapp-float svg { width: 30px; height: 30px; color: white; }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.5); }
.wa-tooltip {
  position: absolute; right: 70px;
  background: rgba(26,42,108,0.9); color: var(--white);
  padding: 0.4rem 0.8rem; border-radius: 6px;
  font-size: 0.8rem; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; }

/* ==========================================
   ANIMATIONS
   ========================================== */
/* ==========================================
   LOGOS TICKER / MARQUEE
   ========================================== */
.logos-ticker-wrapper {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-ticker-wrapper::before,
.logos-ticker-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.logos-ticker-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg), transparent);
}
.logos-ticker-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg), transparent);
}
.logos-ticker-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.logos-ticker-track:hover {
  animation-play-state: paused;
}
.logos-ticker-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 160px;
  height: 100px;
  padding: 0.75rem 1.25rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: background 0.3s, border-color 0.3s;
}
.logos-ticker-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--orange);
}
.logos-ticker-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: filter 0.3s;
}
.logos-ticker-item:hover img {
  filter: brightness(1.1);
}
.logo-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.68rem;
  color: var(--grey);
  text-align: center;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* ==========================================
   HOME PAGE GRIDS (class-based, no inline styles)
   ========================================== */
.counters-3col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
  margin: 0 auto;
}
.home-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  align-items: stretch;
}

/* ==========================================
   RESPONSIVE
   ========================================== */

/* --- Large tablet --- */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Tablet --- */
@media (max-width: 900px) {
  .section { padding: 4rem 0; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image-container { height: auto; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-3col { grid-template-columns: repeat(3, 1fr); }
  .home-products-grid { grid-template-columns: repeat(2, 1fr); }
  .geo-layout { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo-img { height: 65px; max-width: 200px; object-fit: contain; object-position: left; }
  .nav-container { gap: 1rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- Mobile --- */
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .container { padding: 0 1rem; }

  /* Nav */
  .nav-logo-img { height: 52px; max-width: 160px; object-fit: contain; object-position: left; }
  .nav-container { padding: 0 1rem; gap: 0.75rem; }

  /* Hero */
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .hero-content { padding: 1.25rem 1rem; }

  /* Counters */
  .counters-3col { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
  .counter-card { padding: 1rem 0.75rem; }
  .counter-number { font-size: 2.2rem; }
  .counter-suffix { font-size: 1.6rem; }
  .counter-label { font-size: 0.75rem; }
  .counter-icon { font-size: 1.8rem; }

  /* Products home grid */
  .home-products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }

  /* Catalog cards in home grid */
  .home-products-grid .catalog-card-icon { height: 120px; }
  .home-products-grid .catalog-card-body { padding: 1rem; }
  .home-products-grid .catalog-card h3 { font-size: 0.9rem; }
  .home-products-grid .catalog-card p { font-size: 0.78rem; }

  /* Why section */
  .why-grid { grid-template-columns: 1fr; }

  /* Geo */
  .geo-info h3 { font-size: 1.3rem; }

  /* Contact */
  .contact-form-wrap { padding: 1.5rem 1.1rem; }
  .contact-layout { gap: 2rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* Typography */
  .section-title { font-size: clamp(1.6rem, 6vw, 2.5rem); }
  .section-sub { font-size: 0.9rem; }
  .hero-sub { font-size: 0.95rem; margin: 1rem auto 1.75rem; }

  /* Products grid (assortiment page) */
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 0.875rem; }
  .product-card { padding: 1.25rem 0.875rem 1rem; }

  /* Prevent iOS zoom on inputs (font-size must be >= 16px) */
  .form-group input,
  .form-group textarea,
  .form-group select,
  .order-form input,
  .order-form select,
  .order-form textarea { font-size: 16px; }

  /* Cookie banner */
  #cookie-banner { padding: 1rem; gap: 0.75rem; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }

  /* WhatsApp float — smaller on mobile */
  .whatsapp-float { width: 50px; height: 50px; bottom: 1.25rem; right: 1.25rem; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* --- Small mobile --- */
@media (max-width: 420px) {
  .section { padding: 2.5rem 0; }
  .section-title { font-size: 1.55rem; }
  .hero-title { font-size: clamp(1.4rem, 7vw, 2rem); letter-spacing: 1px; }
  .nav-logo-img { height: 44px; max-width: 140px; }
  .counters-3col { gap: 0.5rem; }
  .counter-card { padding: 0.875rem 0.5rem; }
  .counter-number { font-size: 1.9rem; }
  .counter-suffix { font-size: 1.4rem; }
  .counter-label { font-size: 0.7rem; }
  .home-products-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
}

/* ==========================================
   LEGAL PAGES
   ========================================== */
.legal-doc h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--text);
  margin: 2.5rem 0 1rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.legal-doc p {
  color: var(--grey);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: .95rem;
}
.legal-doc ul {
  color: var(--grey);
  line-height: 1.9;
  font-size: .95rem;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.legal-doc ul li { margin-bottom: .4rem; }
.legal-doc a { color: var(--orange); }
.legal-doc a:hover { text-decoration: underline; }

/* ==========================================
   COOKIE BANNER
   ========================================== */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: rgba(10, 10, 10, 0.97);
  border-top: 1px solid rgba(255,107,0,0.3);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  backdrop-filter: blur(10px);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
}
#cookie-banner.visible { transform: translateY(0); }
#cookie-banner p {
  color: rgba(255,255,255,0.75);
  font-size: .85rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
  min-width: 200px;
}
#cookie-banner p a { color: var(--orange); text-decoration: underline; }
.cookie-btns {
  display: flex;
  gap: .75rem;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.cookie-btn-accept {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: .6rem 1.4rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: .5px;
  transition: background .2s;
}
.cookie-btn-accept:hover { background: #e05e00; }
.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: .6rem 1.2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: .82rem;
  cursor: pointer;
  letter-spacing: .5px;
  transition: border-color .2s, color .2s;
}
.cookie-btn-decline:hover { border-color: rgba(255,255,255,.5); color: rgba(255,255,255,.8); }
@media (max-width: 600px) {
  #cookie-banner { padding: 1rem; gap: 1rem; }
  .cookie-btns { width: 100%; }
  .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}
