/* ============================================================
   CODIPRES - Main Stylesheet v2.0
   Design: Industrial Dark Premium with Red Accents
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,600&family=Barlow:wght@300;400;500;600&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --red: #c0232c;
  --red-dark: #8b0000;
  --red-light: #e0333e;
  --red-glow: rgba(192,35,44,0.35);
  --black: #080808;
  --dark: #0e0e0e;
  --dark2: #161616;
  --dark3: #1e1e1e;
  --gray: #2a2a2a;
  --gray2: #3a3a3a;
  --light-gray: #777;
  --silver: #aaa;
  --white: #f0f0f0;
  --pure-white: #fff;
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
  --font-tech: 'Rajdhani', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 10px 40px rgba(0,0,0,0.7);
  --shadow-red: 0 0 40px rgba(192,35,44,0.25);
  --border: 1px solid rgba(255,255,255,0.06);
  --border-red: 1px solid rgba(192,35,44,0.35);
  --radius: 4px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  line-height: 1.6;
}
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--dark); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }
::selection { background: var(--red); color: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }
h1 { font-size: clamp(2.8rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.9rem); }
p { font-size: 1rem; color: var(--silver); line-height: 1.75; }

/* ===== ANIMATED GRID BACKGROUND ===== */
.grid-bg {
  background-image:
    linear-gradient(rgba(192,35,44,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,35,44,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  background-attachment: fixed;
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed; inset: 0;
  background: #000;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  gap: 28px;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-logo {
  width: 220px;
  animation: logoPulse 1.5s ease-in-out infinite alternate;
}
@keyframes logoPulse {
  from { opacity: 0.7; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}
.loading-bar-wrap {
  width: 200px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px; overflow: hidden;
}
.loading-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--red), var(--red-light));
  border-radius: 2px;
  animation: loadBar 1.8s ease forwards;
  box-shadow: 0 0 12px var(--red);
}
@keyframes loadBar { to { width: 100%; } }
.loading-text {
  font-family: var(--font-tech);
  color: var(--light-gray);
  font-size: 0.75rem;
  letter-spacing: 6px;
  text-transform: uppercase;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(192,35,44,0.15);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(8,8,8,0.98);
  border-bottom-color: var(--red);
  box-shadow: 0 4px 30px rgba(0,0,0,0.9);
}
.nav-inner {
  max-width: 1300px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo img { height: 44px; width: auto; max-width: 180px; }
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 900;
  letter-spacing: 2px; color: var(--white);
  display: none;
}
.nav-logo-text span { color: var(--red); }
.nav-links {
  list-style: none; display: flex;
  align-items: center; gap: 6px;
}
.nav-links a {
  padding: 6px 14px;
  font-family: var(--font-tech);
  font-size: 0.9rem; font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--silver);
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: 0; left: 50%; right: 50%;
  height: 2px; background: var(--red);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { left: 14px; right: 14px; }
.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  border-radius: var(--radius) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--red-light) !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 6px;
  flex-direction: column; gap: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none; flex-direction: column;
  background: var(--dark); border-top: var(--border-red);
  padding: 12px 0;
}
.mobile-menu a {
  padding: 12px 24px;
  font-family: var(--font-tech);
  font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--silver);
  border-bottom: var(--border);
}
.mobile-menu a:hover { color: var(--red); padding-left: 32px; }
.mobile-menu.open { display: flex; }

/* ===== HERO SECTION ===== */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding-top: 70px;
}
.hero-bg {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(192,35,44,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(192,35,44,0.06) 0%, transparent 50%),
    var(--black);
}
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=1920&q=60');
  background-size: cover; background-position: center;
  opacity: 0.08;
  filter: saturate(0);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1300px; margin: 0 auto;
  padding: 0 24px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 60px;
}
.hero-left { display: flex; flex-direction: column; gap: 24px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(192,35,44,0.15);
  border: var(--border-red);
  border-radius: 2px;
  font-family: var(--font-tech);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red-light); width: fit-content;
}
.hero-badge::before {
  content: ''; width: 8px; height: 8px;
  background: var(--red);
  border-radius: 50%;
  animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; box-shadow: 0 0 6px var(--red); }
  50% { opacity: 0.3; box-shadow: none; }
}
.hero h1 {
  color: var(--pure-white);
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero h1 .accent { color: var(--red); }
.hero h1 .thin { font-weight: 300; font-style: italic; color: var(--silver); }
.hero-desc {
  font-size: 1.05rem; max-width: 500px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats {
  display: flex; gap: 32px; margin-top: 8px;
  padding-top: 24px;
  border-top: var(--border);
}
.h-stat { display: flex; flex-direction: column; gap: 2px; }
.h-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 900;
  color: var(--red); line-height: 1;
}
.h-stat-label {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--light-gray);
}

.hero-right { position: relative; display: flex; justify-content: center; }
.hero-gear-wrap {
  position: relative; width: 420px; height: 420px;
  display: flex; align-items: center; justify-content: center;
}
.hero-gear-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192,35,44,0.2);
  animation: ringRotate 20s linear infinite;
}
.hero-gear-ring:nth-child(1) { width: 400px; height: 400px; animation-duration: 25s; }
.hero-gear-ring:nth-child(2) { width: 310px; height: 310px; animation-duration: 18s; animation-direction: reverse; border-color: rgba(255,255,255,0.06); }
.hero-gear-ring:nth-child(3) { width: 220px; height: 220px; animation-duration: 12s; border-color: rgba(192,35,44,0.3); }
.hero-gear-ring::after {
  content: '';
  position: absolute; top: -4px; left: 50%;
  width: 7px; height: 7px;
  background: var(--red);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 10px var(--red);
}
@keyframes ringRotate { to { transform: rotate(360deg); } }
.hero-gear-img {
  position: relative; z-index: 2;
  width: 180px; height: 180px;
  background: url('https://images.unsplash.com/photo-1558618666-fcd25c85cd64?auto=format&fit=crop&w=400&q=80') center/cover;
  border-radius: 50%;
  border: 3px solid var(--red);
  box-shadow: 0 0 60px rgba(192,35,44,0.4);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-tech);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  border: none; cursor: pointer;
  border-radius: var(--radius);
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute; top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  transition: 0.4s ease;
  transform: skewX(-15deg);
}
.btn:hover::before { left: 100%; }
.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: 0 4px 20px rgba(192,35,44,0.4);
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(192,35,44,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover {
  border-color: var(--red);
  color: var(--red-light);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: 0.8rem; }
.btn svg, .btn i { width: 18px; height: 18px; }

/* ===== SECTIONS ===== */
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }
.container { max-width: 1300px; margin: 0 auto; padding: 0 24px; }
.section-header { margin-bottom: 60px; }
.section-label {
  display: inline-flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  font-family: var(--font-tech);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 4px; text-transform: uppercase;
  color: var(--red);
}
.section-label::before {
  content: ''; display: block;
  width: 30px; height: 2px;
  background: var(--red);
}
.section-header h2 { color: var(--pure-white); text-transform: uppercase; }
.section-header .sub { max-width: 580px; margin-top: 16px; }
.text-center { text-align: center; }
.text-center .sub { margin: 16px auto 0; }
.text-center .section-label { justify-content: center; }

/* ===== ABOUT PREVIEW ===== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(30%);
}
.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--red);
  padding: 20px 24px;
  text-align: center;
}
.about-img-badge .num {
  font-family: var(--font-display);
  font-size: 2.5rem; font-weight: 900;
  color: #fff; line-height: 1;
}
.about-img-badge .label {
  font-size: 0.7rem; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.about-text { display: flex; flex-direction: column; gap: 20px; }
.about-features { display: flex; flex-direction: column; gap: 14px; margin-top: 8px; }
.about-feat {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 16px; background: var(--dark2);
  border: var(--border); border-left: 3px solid var(--red);
  transition: var(--transition);
}
.about-feat:hover { background: var(--dark3); transform: translateX(4px); }
.about-feat-icon {
  width: 36px; height: 36px; min-width: 36px;
  background: rgba(192,35,44,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.about-feat-text h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--white);
  margin-bottom: 4px;
}
.about-feat-text p { font-size: 0.85rem; }

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--dark2);
  border-top: var(--border-red);
  border-bottom: var(--border-red);
  padding: 50px 0;
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center; padding: 20px;
  border-right: var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: 3.5rem; font-weight: 900;
  color: var(--red); line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-tech);
  font-size: 0.8rem; letter-spacing: 2px;
  text-transform: uppercase; color: var(--silver);
  margin-top: 8px; display: block;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.product-card {
  position: relative; overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  display: block;
  text-decoration: none;
}
.product-card-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 0.6s ease;
  filter: saturate(60%);
}
.product-card:hover .product-card-bg { transform: scale(1.08); filter: saturate(80%); }
.product-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  transition: var(--transition);
}
.product-card:hover .product-card-overlay {
  background: linear-gradient(to top, rgba(192,35,44,0.85) 0%, rgba(0,0,0,0.5) 60%, transparent 100%);
}
.product-card-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
}
.product-card-num {
  font-family: var(--font-display);
  font-size: 0.7rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--red);
  opacity: 0.8;
}
.product-card-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 800;
  text-transform: uppercase;
  color: #fff; line-height: 1.1;
}
.product-card-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  transform: translateY(10px);
  opacity: 0;
  margin-top: 4px;
}
.product-card:hover .product-card-arrow {
  transform: translateY(0); opacity: 1;
  background: var(--red); border-color: var(--red);
}

/* ===== REFERENCES / LOGOS ===== */
.refs-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
}
.ref-card {
  background: var(--dark2);
  padding: 36px 24px;
  display: flex; flex-direction: column;
  align-items: center; gap: 16px;
  transition: var(--transition);
  text-align: center;
}
.ref-card:hover { background: var(--dark3); transform: translateY(-4px); }
.ref-logo-wrap {
  height: 64px; display: flex;
  align-items: center; justify-content: center;
}
.ref-logo-wrap img {
  max-height: 52px; max-width: 140px;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.7);
  transition: var(--transition);
}
.ref-card:hover .ref-logo-wrap img {
  filter: brightness(0) invert(1) opacity(1);
}
.ref-name {
  font-family: var(--font-tech);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--light-gray);
}
.ref-cat {
  font-size: 0.75rem; color: var(--red);
  letter-spacing: 1px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.testimonial-card {
  background: var(--dark2);
  border: var(--border);
  padding: 28px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: rgba(192,35,44,0.3); transform: translateY(-4px); }
.testimonial-card::before {
  content: '"';
  position: absolute; top: 16px; right: 20px;
  font-size: 5rem; font-family: Georgia, serif;
  color: rgba(192,35,44,0.15); line-height: 1;
}
.testimonial-text { font-style: italic; margin-bottom: 20px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gray); border: 2px solid var(--red);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800;
  color: var(--red); font-size: 1rem;
}
.testimonial-info h5 { font-size: 0.9rem; color: var(--white); margin-bottom: 2px; }
.testimonial-info span { font-size: 0.75rem; color: var(--light-gray); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  padding: 80px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-banner > * { position: relative; }
.cta-banner h2 { color: #fff; text-transform: uppercase; margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 32px; }
.btn-white {
  background: #fff; color: var(--red);
  font-weight: 700;
}
.btn-white:hover { background: rgba(255,255,255,0.9); transform: translateY(-2px); }

/* ===== FOOTER ===== */
.footer {
  background: #000;
  border-top: var(--border-red);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 50px;
}
.footer-brand img { height: 48px; margin-bottom: 20px; }
.footer-brand p { font-size: 0.9rem; max-width: 280px; }
.footer-col h4 {
  font-family: var(--font-tech);
  font-size: 0.8rem; font-weight: 700;
  letter-spacing: 3px; text-transform: uppercase;
  color: var(--red); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.88rem; color: var(--silver);
  display: flex; align-items: center; gap: 8px;
}
.footer-links a::before {
  content: '▸'; color: var(--red); font-size: 0.7rem;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.85rem; color: var(--silver);
}
.footer-contact-item .icon { color: var(--red); font-size: 0.9rem; margin-top: 2px; }
.footer-bottom {
  border-top: var(--border);
  padding: 20px 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: var(--light-gray);
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 34px; height: 34px;
  background: var(--dark2);
  border: var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--silver);
  border-radius: var(--radius);
  transition: var(--transition);
}
.footer-social:hover { background: var(--red); border-color: var(--red); color: #fff; }

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999;
  display: flex; align-items: center; gap: 12px;
  flex-direction: row-reverse;
}
.whatsapp-btn {
  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.5);
  transition: var(--transition);
  cursor: pointer; text-decoration: none;
  animation: waBounce 3s ease-in-out infinite;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37,211,102,0.6);
}
.whatsapp-btn svg { width: 30px; height: 30px; }
@keyframes waBounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.whatsapp-label {
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(37,211,102,0.3);
  color: #fff; padding: 8px 16px;
  border-radius: 30px; font-size: 0.82rem;
  font-family: var(--font-tech); font-weight: 600;
  opacity: 0; transform: translateX(10px);
  transition: var(--transition); pointer-events: none;
  white-space: nowrap;
}
.whatsapp-float:hover .whatsapp-label { opacity: 1; transform: translateX(0); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 140px 0 70px;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(192,35,44,0.12) 0%, transparent 60%),
    var(--dark);
  border-bottom: var(--border-red);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0;
  width: 40%;
  background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?auto=format&fit=crop&w=800&q=40') center/cover;
  opacity: 0.04; filter: saturate(0);
}
.page-hero-content { position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--light-gray);
  margin-bottom: 16px; font-family: var(--font-tech);
  text-transform: uppercase; letter-spacing: 1px;
}
.breadcrumb a:hover { color: var(--red); }
.breadcrumb span { color: var(--red); }
.page-hero h1 { color: var(--pure-white); text-transform: uppercase; }
.page-hero .sub { max-width: 600px; margin-top: 16px; }

/* ===== ABOUT PAGE ===== */
.timeline { position: relative; padding: 0 0 0 40px; }
.timeline::before {
  content: '';
  position: absolute; left: 7px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--red), transparent);
}
.timeline-item {
  position: relative; margin-bottom: 40px;
  padding-left: 20px;
}
.timeline-dot {
  position: absolute; left: -40px; top: 4px;
  width: 14px; height: 14px;
  background: var(--red); border-radius: 50%;
  box-shadow: 0 0 12px var(--red);
}
.timeline-year {
  font-family: var(--font-display); font-size: 0.85rem;
  font-weight: 700; letter-spacing: 3px;
  color: var(--red); text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h4 { color: var(--white); margin-bottom: 6px; font-size: 1.1rem; }
.timeline-item p { font-size: 0.9rem; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.value-card {
  background: var(--dark2);
  border: var(--border);
  border-top: 3px solid var(--red);
  padding: 32px 24px;
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-red); }
.value-icon {
  width: 52px; height: 52px;
  background: rgba(192,35,44,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 16px;
}
.value-card h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; text-transform: uppercase;
  color: var(--white); margin-bottom: 10px;
}

/* ===== PRODUCTS PAGE ===== */
.filters {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 8px 18px;
  background: var(--dark2);
  border: var(--border);
  color: var(--silver);
  font-family: var(--font-tech);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase;
  cursor: pointer; border-radius: var(--radius);
  transition: var(--transition);
}
.filter-btn.active, .filter-btn:hover { background: var(--red); border-color: var(--red); color: #fff; }

.products-list { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.product-list-card {
  background: var(--dark2);
  border: var(--border);
  overflow: hidden;
  transition: var(--transition);
  text-decoration: none; display: block;
  position: relative;
}
.product-list-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--red); transform: scaleY(0);
  transition: var(--transition);
}
.product-list-card:hover::after { transform: scaleY(1); }
.product-list-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(192,35,44,0.3); }
.product-list-img {
  height: 200px;
  overflow: hidden;
}
.product-list-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: 0.6s ease;
  filter: grayscale(20%);
}
.product-list-card:hover .product-list-img img { transform: scale(1.06); filter: none; }
.product-list-body { padding: 24px; }
.product-list-cat {
  font-size: 0.7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--red);
  margin-bottom: 8px; font-family: var(--font-tech);
}
.product-list-body h3 { font-size: 1.3rem; color: var(--white); margin-bottom: 10px; }
.product-list-body p { font-size: 0.88rem; }

/* ===== PRODUCT DETAIL PAGE ===== */
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 380px;
  gap: 50px; align-items: start;
}
.product-gallery { display: flex; flex-direction: column; gap: 12px; }
.product-main-img {
  width: 100%; aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  border: var(--border);
}
.product-thumbs { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.product-thumb {
  aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer; transition: var(--transition);
  filter: grayscale(40%);
}
.product-thumb.active, .product-thumb:hover {
  border-color: var(--red); filter: none;
}
.product-info { display: flex; flex-direction: column; gap: 24px; }
.product-info h1 { font-size: 2.4rem; color: var(--pure-white); text-transform: uppercase; }
.product-specs {
  background: var(--dark2);
  border: var(--border);
  border-left: 3px solid var(--red);
}
.spec-row {
  display: flex; padding: 12px 20px;
  border-bottom: var(--border);
  font-size: 0.88rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-label { width: 160px; min-width: 160px; color: var(--light-gray); font-weight: 500; }
.spec-val { color: var(--white); }
.product-sidebar { display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--dark2);
  border: var(--border);
  padding: 24px;
}
.sidebar-card h4 {
  font-family: var(--font-display);
  font-size: 1rem; text-transform: uppercase;
  color: var(--white); margin-bottom: 16px;
  padding-bottom: 12px; border-bottom: var(--border);
}

/* ===== CONTACT PAGE ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: start; }
.contact-form {
  background: var(--dark2);
  border: var(--border);
  padding: 40px;
}
.form-title {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  text-transform: uppercase;
  color: var(--white); margin-bottom: 6px;
}
.form-sub { font-size: 0.88rem; margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-label {
  font-family: var(--font-tech); font-size: 0.75rem;
  font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--silver);
}
.form-input, .form-select, .form-textarea {
  background: var(--dark3);
  border: var(--border);
  color: var(--white);
  padding: 13px 16px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border-radius: var(--radius);
  transition: var(--transition);
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,35,44,0.15);
}
.form-textarea { resize: vertical; min-height: 130px; }
.form-select { appearance: none; cursor: pointer; }
.form-submit {
  width: 100%; margin-top: 8px;
  padding: 16px;
  background: var(--red);
  color: #fff;
  border: none; cursor: pointer;
  font-family: var(--font-tech);
  font-size: 0.9rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.form-submit:hover { background: var(--red-light); transform: translateY(-2px); }
.form-submit:disabled { opacity: 0.7; cursor: not-allowed; }
.form-success {
  display: none; margin-top: 16px; padding: 16px;
  background: rgba(37,211,102,0.1);
  border: 1px solid rgba(37,211,102,0.3);
  color: #25d366; border-radius: var(--radius);
  font-size: 0.88rem;
}
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info-card {
  background: var(--dark2); border: var(--border);
  padding: 24px;
  display: flex; align-items: flex-start; gap: 16px;
}
.ci-icon {
  width: 46px; height: 46px; min-width: 46px;
  background: rgba(192,35,44,0.15);
  border: var(--border-red);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.ci-text h4 { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--red); margin-bottom: 6px; font-family: var(--font-tech); }
.ci-text p, .ci-text a { font-size: 0.9rem; color: var(--silver); }
.ci-text a:hover { color: var(--white); }
.map-wrap {
  border: var(--border); border-radius: var(--radius);
  overflow: hidden; height: 220px;
}
.map-wrap iframe { width: 100%; height: 100%; border: none; filter: grayscale(80%) invert(90%); }

/* ===== ADMIN PAGE ===== */
/* (in admin.css) */

/* ===== ANIMATIONS (scroll reveal) ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .refs-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .products-grid { grid-template-columns: 1fr; }
  .products-list { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { flex-wrap: wrap; gap: 20px; }
  .section { padding: 70px 0; }
  .refs-grid { grid-template-columns: repeat(2,1fr); }
}
